public interface ProtocolMessageEnum
extends com.google.protobuf.Internal.EnumLite
Modifier and Type | Method and Description |
---|---|
Descriptors.EnumDescriptor |
getDescriptorForType()
Return the enum type's descriptor, which contains information about each defined value, etc.
|
int |
getNumber()
Return the value's numeric value as defined in the .proto file.
|
Descriptors.EnumValueDescriptor |
getValueDescriptor()
Return the value's descriptor, which contains information such as value name, number, and type.
|
int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
Descriptors.EnumValueDescriptor getValueDescriptor()
Descriptors.EnumDescriptor getDescriptorForType()