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 © 2008-2014 Google. All Rights Reserved.