Interface Internal.EnumLiteMap<T> (3.19.4)

public static interface Internal.EnumLiteMap<T>

Interface for an object which maps integers to EnumLites. 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.

Type Parameter

NameDescription
T

Methods

findValueByNumber(int number)

public abstract T findValueByNumber(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
T