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