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