public static enum GlossaryEntry.DataCase extends Enum<GlossaryEntry.DataCase> implements com.google.protobuf.Internal.EnumLite
| Enum Constant and Description |
|---|
DATA_NOT_SET |
TERMS_PAIR |
TERMS_SET |
| Modifier and Type | Method and Description |
|---|---|
static GlossaryEntry.DataCase |
forNumber(int value) |
int |
getNumber() |
static GlossaryEntry.DataCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static GlossaryEntry.DataCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GlossaryEntry.DataCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GlossaryEntry.DataCase TERMS_PAIR
public static final GlossaryEntry.DataCase TERMS_SET
public static final GlossaryEntry.DataCase DATA_NOT_SET
public static GlossaryEntry.DataCase[] values()
for (GlossaryEntry.DataCase c : GlossaryEntry.DataCase.values()) System.out.println(c);
public static GlossaryEntry.DataCase valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null@Deprecated public static GlossaryEntry.DataCase valueOf(int value)
forNumber(int) instead.value - The number of the enum to look for.public static GlossaryEntry.DataCase forNumber(int value)
public int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLiteCopyright © 2024 Google LLC. All rights reserved.