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.EnumLite
Descriptors.EnumValueDescriptor getValueDescriptor()
Descriptors.EnumDescriptor getDescriptorForType()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.