Package com.google.protobuf
Interface Internal.EnumLiteMap<T extends Internal.EnumLite>
-
- All Known Implementing Classes:
Descriptors.EnumDescriptor
- Enclosing class:
- Internal
public static interface Internal.EnumLiteMap<T extends Internal.EnumLite>Interface for an object which maps integers toInternal.EnumLites.Descriptors.EnumDescriptorimplements this interface by mapping numbers toDescriptors.EnumValueDescriptors. Additionally, every generated enum type has a static method internalGetValueMap() which returns an implementation of this type that maps numbers to enum values.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TfindValueByNumber(int number)
-
-
-
Method Detail
-
findValueByNumber
T findValueByNumber(int number)
-
-