Public Member Functions | List of all members
com.google.protobuf.ProtocolMessageEnum Interface Reference
Inheritance diagram for com.google.protobuf.ProtocolMessageEnum:
Inheritance graph
[legend]

Public Member Functions

EnumDescriptor getDescriptorForType ()
 
int getNumber ()
 
EnumValueDescriptor getValueDescriptor ()
 

Detailed Description

Interface of useful methods added to all enums generated by the protocol compiler.

Definition at line 37 of file ProtocolMessageEnum.java.

Member Function Documentation

◆ getDescriptorForType()

EnumDescriptor com.google.protobuf.ProtocolMessageEnum.getDescriptorForType ( )

Return the enum type's descriptor, which contains information about each defined value, etc.

◆ getNumber()

int com.google.protobuf.ProtocolMessageEnum.getNumber ( )

Return the value's numeric value as defined in the .proto file.

Implements com.google.protobuf.Internal.EnumLite.

◆ getValueDescriptor()

EnumValueDescriptor com.google.protobuf.ProtocolMessageEnum.getValueDescriptor ( )

Return the value's descriptor, which contains information such as value name, number, and type.


The documentation for this interface was generated from the following file:


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:07