goog.proto2.Descriptor |
messageType
: function(new:goog.proto2.Message)
Constructor for
the message class that this descriptor describes.
|
metadata
: !goog.proto2.Metadata
The metadata about the message that
will be used to construct this descriptor.
|
fields
: Array.<!goog.proto2.FieldDescriptor>
The fields of the
message described by this descriptor.
|
Creates an instance of the message type that this descriptor
describes.
Returns: !goog.proto2.Message
The instance of the message.
|
code » | ||
Returns the field matching the given name, if any. Note that
this method searches over the *original* name of the field,
not the camelCase version.
Arguments:
Returns: goog.proto2.FieldDescriptor
The field found, if any.
|
code » | ||
Returns the field matching the given tag number, if any.
Returns: goog.proto2.FieldDescriptor
The field found, if any.
|
code » | ||
Returns the descriptor of the containing message type or null if none.
Returns: goog.proto2.Descriptor
The descriptor.
|
code » | ||
Returns the fields in the message described by this descriptor ordered by
tag.
|
code » | ||
Returns the fields in the message as a key/value map, where the key is
the tag number of the field. DO NOT MODIFY THE RETURNED OBJECT. We return
the actual, internal, fields map for performance reasons, and changing the
map can result in undefined behavior of this library.
|
code » | ||
Returns the full name of the message, if any.
Returns: ?string
The name.
|
code » | ||
Returns the name of the message, if any.
Returns: ?string
The name.
|
code » |