goog.proto2.Serializer | |
goog.proto2.TextFormatSerializer | goog.proto2.Serializer |
opt_ignoreMissingFields
: boolean=
If true, then fields that cannot be
found on the proto when parsing the text format will be ignored.
|
opt_useEnumValues
: boolean=
If true, serialization code for enums
will use enum integer values instead of human-readable symbolic names.
|
Deserializes a message from text format and places the data in the message.
Arguments:
Returns: ?string
The parse error or null on success.
|
code » | ||||
![]()
Prints the serialized value for the given field to the printer.
Arguments:
|
code » | ||||
![]()
Prints the serialized field to the printer.
Arguments:
|
code » | ||||
Serializes a message to a string.
Arguments:
Returns: string
The serialized form of the message.
|
code » | ||||
![]()
Serializes the message and prints the text form into the given printer.
Arguments:
|
code » | ||||
![]()
Serializes an unknown field. When parsed from the JsPb object format, this
manifests as either a primitive type, an array, or a raw object with integer
keys. There is no descriptor available to interpret the types of nested
messages.
Arguments:
|
code » |
Deserializes a message from the expected format.
Arguments:
Returns: !goog.proto2.Message
The message created.
|
code » | |||
![]()
Deserializes a message from the expected format and places the
data in the message.
Arguments:
|
code » | |||
![]()
Returns the deserialized form of the given value for the given field if the
field is a Message or Group and returns the value, converted or unchanged,
for primitive field types otherwise.
Arguments:
Returns: *
The value.
|
code » | |||
![]()
Returns the serialized form of the given value for the given field
if the field is a Message or Group and returns the value unchanged
otherwise.
Arguments:
Returns: *
The value.
|
code » | |||
![]()
Serializes a message to the expected format.
Arguments:
Returns: *
The serialized form of the message.
|
code » |
![]()
No description.
|
Code » |