public static enum UnittestProto.TestDynamicExtensions.DynamicEnumType extends java.lang.Enum<UnittestProto.TestDynamicExtensions.DynamicEnumType> implements com.google.protobuf.ProtocolMessageEnum
protobuf_unittest.TestDynamicExtensions.DynamicEnumType
Enum Constant and Description |
---|
DYNAMIC_BAR
DYNAMIC_BAR = 2201; |
DYNAMIC_BAZ
DYNAMIC_BAZ = 2202; |
DYNAMIC_FOO
DYNAMIC_FOO = 2200; |
Modifier and Type | Field and Description |
---|---|
static int |
DYNAMIC_BAR_VALUE
DYNAMIC_BAR = 2201; |
static int |
DYNAMIC_BAZ_VALUE
DYNAMIC_BAZ = 2202; |
static int |
DYNAMIC_FOO_VALUE
DYNAMIC_FOO = 2200; |
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<UnittestProto.TestDynamicExtensions.DynamicEnumType> |
internalGetValueMap() |
static UnittestProto.TestDynamicExtensions.DynamicEnumType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static UnittestProto.TestDynamicExtensions.DynamicEnumType |
valueOf(int value) |
static UnittestProto.TestDynamicExtensions.DynamicEnumType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UnittestProto.TestDynamicExtensions.DynamicEnumType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UnittestProto.TestDynamicExtensions.DynamicEnumType DYNAMIC_FOO
DYNAMIC_FOO = 2200;
public static final UnittestProto.TestDynamicExtensions.DynamicEnumType DYNAMIC_BAR
DYNAMIC_BAR = 2201;
public static final UnittestProto.TestDynamicExtensions.DynamicEnumType DYNAMIC_BAZ
DYNAMIC_BAZ = 2202;
public static final int DYNAMIC_FOO_VALUE
DYNAMIC_FOO = 2200;
public static final int DYNAMIC_BAR_VALUE
DYNAMIC_BAR = 2201;
public static final int DYNAMIC_BAZ_VALUE
DYNAMIC_BAZ = 2202;
public static UnittestProto.TestDynamicExtensions.DynamicEnumType[] values()
for (UnittestProto.TestDynamicExtensions.DynamicEnumType c : UnittestProto.TestDynamicExtensions.DynamicEnumType.values()) System.out.println(c);
public static UnittestProto.TestDynamicExtensions.DynamicEnumType 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 UnittestProto.TestDynamicExtensions.DynamicEnumType valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<UnittestProto.TestDynamicExtensions.DynamicEnumType> 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 UnittestProto.TestDynamicExtensions.DynamicEnumType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)