|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ProtocolMessageEnum
Interface of useful methods added to all enums generated by the protocol compiler.
Method Summary | |
---|---|
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. |
Method Detail |
---|
int getNumber()
Descriptors.EnumValueDescriptor getValueDescriptor()
Descriptors.EnumDescriptor getDescriptorForType()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |