(lines,
               message,
               allow_unknown_extension=False,
               allow_field_number=False,
               descriptor_pool=None)
return parser.MergeLines(lines, message)
Parses a text representation of a protocol message into a message.

  Args:
    lines: An iterable of lines of a message's text representation.
    message: A protocol buffer message to merge into.
    allow_unknown_extension: if True, skip over missing extensions and keep
      parsing
    allow_field_number: if True, both field number and field name are allowed.

  Returns:
    The same message passed as argument.

  Raises:
    ParseError: On text parsing problems.
Parses a text representation of a protocol message into a message.
Parses a text representation of a protocol message into a message .
def MergeLines(lines,
               message,
               allow_unknown_extension=False,
               allow_field_number=False,
               descriptor_pool=None):
  """Parses a text representation of a protocol message into a message.

  Args:
    lines: An iterable of lines of a message's text representation.
    message: A protocol buffer message to merge into.
    allow_unknown_extension: if True, skip over missing extensions and keep
      parsing
    allow_field_number: if True, both field number and field name are allowed.

  Returns:
    The same message passed as argument.

  Raises:
    ParseError: On text parsing problems.
  """
  parser = _Parser(allow_unknown_extension,
                   allow_field_number,
                   descriptor_pool=descriptor_pool)
  return parser.MergeLines(lines, message)
def MergeLines ( lines , message , allow_unknown_extension = False , allow_field_number = False , descriptor_pool = None ) : parser = _Parser ( allow_unknown_extension , allow_field_number , descriptor_pool = descriptor_pool ) return parser . MergeLines ( lines , message )