public static enum UnittestLite.TestAllTypesLite.NestedEnum extends java.lang.Enum<UnittestLite.TestAllTypesLite.NestedEnum> implements com.google.protobuf.Internal.EnumLite
protobuf_unittest.TestAllTypesLite.NestedEnum
Enum Constant and Description |
---|
BAR
BAR = 2; |
BAZ
BAZ = 3; |
FOO
FOO = 1; |
Modifier and Type | Field and Description |
---|---|
static int |
BAR_VALUE
BAR = 2; |
static int |
BAZ_VALUE
BAZ = 3; |
static int |
FOO_VALUE
FOO = 1; |
Modifier and Type | Method and Description |
---|---|
int |
getNumber() |
static com.google.protobuf.Internal.EnumLiteMap<UnittestLite.TestAllTypesLite.NestedEnum> |
internalGetValueMap() |
static UnittestLite.TestAllTypesLite.NestedEnum |
valueOf(int value) |
static UnittestLite.TestAllTypesLite.NestedEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UnittestLite.TestAllTypesLite.NestedEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UnittestLite.TestAllTypesLite.NestedEnum FOO
FOO = 1;
public static final UnittestLite.TestAllTypesLite.NestedEnum BAR
BAR = 2;
public static final UnittestLite.TestAllTypesLite.NestedEnum BAZ
BAZ = 3;
public static final int FOO_VALUE
FOO = 1;
public static final int BAR_VALUE
BAR = 2;
public static final int BAZ_VALUE
BAZ = 3;
public static UnittestLite.TestAllTypesLite.NestedEnum[] values()
for (UnittestLite.TestAllTypesLite.NestedEnum c : UnittestLite.TestAllTypesLite.NestedEnum.values()) System.out.println(c);
public static UnittestLite.TestAllTypesLite.NestedEnum 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 nullpublic final int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
public static UnittestLite.TestAllTypesLite.NestedEnum valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<UnittestLite.TestAllTypesLite.NestedEnum> internalGetValueMap()