public static interface Internal.EnumLiteMap<T extends Internal.EnumLite>
Internal.EnumLite
s.
Descriptors.EnumDescriptor implements this interface by mapping numbers
to Descriptors.EnumValueDescriptors. Additionally, every generated enum
type has a static method internalGetValueMap() which returns an
implementation of this type that maps numbers to enum values.Modifier and Type | Method and Description |
---|---|
T |
findValueByNumber(int number) |
T findValueByNumber(int number)