public static enum Model.ModelSpec.VersionChoiceCase extends java.lang.Enum<Model.ModelSpec.VersionChoiceCase> implements com.google.protobuf.Internal.EnumLite
| Enum Constant and Description |
|---|
VERSION |
VERSION_LABEL |
VERSIONCHOICE_NOT_SET |
| Modifier and Type | Method and Description |
|---|---|
static Model.ModelSpec.VersionChoiceCase |
forNumber(int value) |
int |
getNumber() |
static Model.ModelSpec.VersionChoiceCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Model.ModelSpec.VersionChoiceCase |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Model.ModelSpec.VersionChoiceCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Model.ModelSpec.VersionChoiceCase VERSION
public static final Model.ModelSpec.VersionChoiceCase VERSION_LABEL
public static final Model.ModelSpec.VersionChoiceCase VERSIONCHOICE_NOT_SET
public static Model.ModelSpec.VersionChoiceCase[] values()
for (Model.ModelSpec.VersionChoiceCase c : Model.ModelSpec.VersionChoiceCase.values()) System.out.println(c);
public static Model.ModelSpec.VersionChoiceCase 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 Model.ModelSpec.VersionChoiceCase valueOf(int value)
forNumber(int) instead.value - The number of the enum to look for.public static Model.ModelSpec.VersionChoiceCase forNumber(int value)
public int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLite