Modifier and Type | Method and Description |
---|---|
Descriptors.EnumDescriptor |
Descriptors.FileDescriptor.findEnumTypeByName(String name)
Find an enum type in the file by name.
|
Descriptors.EnumDescriptor |
Descriptors.Descriptor.findEnumTypeByName(String name)
Finds a nested enum type by name.
|
Descriptors.EnumDescriptor |
ProtocolMessageEnum.getDescriptorForType()
Return the enum type's descriptor, which contains information
about each defined value, etc.
|
Descriptors.EnumDescriptor |
Descriptors.FieldDescriptor.getEnumType()
For enum fields, gets the field's type.
|
Descriptors.EnumDescriptor |
Descriptors.EnumValueDescriptor.getType()
Get the value's enum type.
|
Modifier and Type | Method and Description |
---|---|
List<Descriptors.EnumDescriptor> |
Descriptors.FileDescriptor.getEnumTypes()
Get a list of top-level enum types declared in this file.
|
List<Descriptors.EnumDescriptor> |
Descriptors.Descriptor.getEnumTypes()
Get a list of enum types nested within this one.
|
Copyright © 2008-2014 Google. All Rights Reserved.