public static enum Shared.UUID.ValueCase extends java.lang.Enum<Shared.UUID.ValueCase> implements com.google.protobuf.Internal.EnumLite
| Enum Constant and Description |
|---|
STRING |
STRUCTURED |
VALUE_NOT_SET |
| Modifier and Type | Method and Description |
|---|---|
static Shared.UUID.ValueCase |
forNumber(int value) |
int |
getNumber() |
static Shared.UUID.ValueCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Shared.UUID.ValueCase |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Shared.UUID.ValueCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Shared.UUID.ValueCase STRUCTURED
public static final Shared.UUID.ValueCase STRING
public static final Shared.UUID.ValueCase VALUE_NOT_SET
public static Shared.UUID.ValueCase[] values()
for (Shared.UUID.ValueCase c : Shared.UUID.ValueCase.values()) System.out.println(c);
public static Shared.UUID.ValueCase valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null@Deprecated public static Shared.UUID.ValueCase valueOf(int value)
forNumber(int) instead.value - The number of the enum to look for.public static Shared.UUID.ValueCase forNumber(int value)
public int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLite