webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Classes | List of all members
com.google.protobuf.Descriptors Class Reference

Classes

class  Descriptor
 
class  DescriptorValidationException
 
class  EnumDescriptor
 
class  EnumValueDescriptor
 
class  FieldDescriptor
 
class  FileDescriptor
 
class  GenericDescriptor
 
class  MethodDescriptor
 
class  OneofDescriptor
 
class  ServiceDescriptor
 

Detailed Description

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

MessageType.getDescriptor()

, or (given a message object of the type)

message.getDescriptorForType()

. Furthermore, each message is associated with a FileDescriptor 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

.

Author
kento.nosp@m.n@go.nosp@m.ogle..nosp@m.com Kenton Varda

The documentation for this class was generated from the following file: