public interface ProtocolMessageEnum extends 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 Internal.EnumLiteDescriptors.EnumValueDescriptor getValueDescriptor()
Descriptors.EnumDescriptor getDescriptorForType()