public static interface Internal.EnumLiteMap<T extends Internal.EnumLite>
Internal.EnumLite
s. Descriptors.EnumDescriptor
implements this interface by mapping numbers to Descriptors.EnumValueDescriptor
s. 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)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.