Text format parser for protocol message.
|
|
__init__(self,
allow_unknown_extension=False,
allow_field_number=False,
descriptor_pool=None,
allow_unknown_field=False)
x.__init__(...) initializes x; see help(type(x)) for signature |
source code
|
|
|
|
ParseLines(self,
lines,
message)
Parses a text representation of a protocol message into a message. |
source code
|
|
|
|
MergeLines(self,
lines,
message)
Merges a text representation of a protocol message into a message. |
source code
|
|
|
|
|
|
|
|
|
|
_ConsumeAnyTypeUrl(self,
tokenizer)
Consumes a google.protobuf.Any type URL and returns the type name. |
source code
|
|
|
|
|
|
|
|
|
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|