public static enum UnittestNoGenericServices.TestEnum extends java.lang.Enum<UnittestNoGenericServices.TestEnum> implements com.google.protobuf.ProtocolMessageEnum
google.protobuf.no_generic_services_test.TestEnum
Enum Constant and Description |
---|
FOO
FOO = 1; |
Modifier and Type | Field and Description |
---|---|
static int |
FOO_VALUE
FOO = 1; |
Modifier and Type | Method and Description |
---|---|
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<UnittestNoGenericServices.TestEnum> |
internalGetValueMap() |
static UnittestNoGenericServices.TestEnum |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static UnittestNoGenericServices.TestEnum |
valueOf(int value) |
static UnittestNoGenericServices.TestEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UnittestNoGenericServices.TestEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UnittestNoGenericServices.TestEnum FOO
FOO = 1;
public static final int FOO_VALUE
FOO = 1;
public static UnittestNoGenericServices.TestEnum[] values()
for (UnittestNoGenericServices.TestEnum c : UnittestNoGenericServices.TestEnum.values()) System.out.println(c);
public static UnittestNoGenericServices.TestEnum 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
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
public static UnittestNoGenericServices.TestEnum valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<UnittestNoGenericServices.TestEnum> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static UnittestNoGenericServices.TestEnum valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)