Classes | |
class | Descriptor |
class | DescriptorPool |
class | DescriptorValidationException |
class | EnumDescriptor |
class | EnumValueDescriptor |
class | FieldDescriptor |
class | FileDescriptor |
class | GenericDescriptor |
class | MethodDescriptor |
class | OneofDescriptor |
class | ServiceDescriptor |
Static Private Member Functions | |
static String | computeFullName (final FileDescriptor file, final Descriptor parent, final String name) |
Static Private Attributes | |
static final Logger | logger = Logger.getLogger(Descriptors.class.getName()) |
Contains a collection of classes which describe protocol message types.
Every message type has a Descriptor, which lists all its fields and other information about a type. You can get a message type's descriptor by calling
, or (given a message object of the type)
. Furthermore, each message is associated with a {} for a relevant .proto file. You can obtain it by calling Descriptor.getFile() . A FileDescriptor} contains descriptors for all the messages defined in that file, and file descriptors for all the imported .proto files. Descriptors are built from DescriptorProtos, as defined in
.
Definition at line 80 of file Descriptors.java.
|
inlinestaticprivate |
Definition at line 2103 of file Descriptors.java.
|
staticprivate |
Definition at line 81 of file Descriptors.java.