parameters: (text,
            message,
            allow_unknown_extension=False,
            allow_field_number=False,
            descriptor_pool=None,
            allow_unknown_field=False)
return_statement: return ParseLines(text.split(b'\n' if isinstance(text, bytes) else u'\n'),
                      message,
                      allow_unknown_extension,
                      allow_field_number,
                      descriptor_pool=descriptor_pool,
                      allow_unknown_field=allow_unknown_field)
docstring: Parses a text representation of a protocol message into a message.
  
    NOTE: for historical reasons this function does not clear the input
    message. This is different from what the binary msg.ParseFrom(...) does.
    If text contains a field already set in message, the value is appended if the
    field is repeated. Otherwise, an error is raised.
  
    Example::
  
      a = MyProto()
      a.repeated_field.append('test')
      b = MyProto()
  
      # Repeated fields are combined
      text_format.Parse(repr(a), b)
      text_format.Parse(repr(a), b) # repeated_field contains ["test", "test"]
  
      # Non-repeated fields cannot be overwritten
      a.singular_field = 1
      b.singular_field = 2
      text_format.Parse(repr(a), b) # ParseError
  
      # Binary version:
      b.ParseFromString(a.SerializeToString()) # repeated_field is now "test"
  
    Caller is responsible for clearing the message as needed.
  
    Args:
      text (str): Message text representation.
      message (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.
      descriptor_pool (DescriptorPool): Descriptor pool used to resolve Any types.
      allow_unknown_field: if True, skip over unknown field and keep
        parsing. Avoid to use this option if possible. It may hide some
        errors (e.g. spelling error on field name)
  
    Returns:
      Message: The same message passed as argument.
  
    Raises:
      ParseError: On text parsing problems.
docstring_summary: Parses a text representation of a protocol message into a message.
docstring_tokens: Parses a text representation of a protocol message into a message .
function: def Parse(text,
            message,
            allow_unknown_extension=False,
            allow_field_number=False,
            descriptor_pool=None,
            allow_unknown_field=False):
    """Parses a text representation of a protocol message into a message.
  
    NOTE: for historical reasons this function does not clear the input
    message. This is different from what the binary msg.ParseFrom(...) does.
    If text contains a field already set in message, the value is appended if the
    field is repeated. Otherwise, an error is raised.
  
    Example::
  
      a = MyProto()
      a.repeated_field.append('test')
      b = MyProto()
  
      # Repeated fields are combined
      text_format.Parse(repr(a), b)
      text_format.Parse(repr(a), b) # repeated_field contains ["test", "test"]
  
      # Non-repeated fields cannot be overwritten
      a.singular_field = 1
      b.singular_field = 2
      text_format.Parse(repr(a), b) # ParseError
  
      # Binary version:
      b.ParseFromString(a.SerializeToString()) # repeated_field is now "test"
  
    Caller is responsible for clearing the message as needed.
  
    Args:
      text (str): Message text representation.
      message (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.
      descriptor_pool (DescriptorPool): Descriptor pool used to resolve Any types.
      allow_unknown_field: if True, skip over unknown field and keep
        parsing. Avoid to use this option if possible. It may hide some
        errors (e.g. spelling error on field name)
  
    Returns:
      Message: The same message passed as argument.
  
    Raises:
      ParseError: On text parsing problems.
    """
    return ParseLines(text.split(b'\n' if isinstance(text, bytes) else u'\n'),
                      message,
                      allow_unknown_extension,
                      allow_field_number,
                      descriptor_pool=descriptor_pool,
                      allow_unknown_field=allow_unknown_field)
function_tokens: def Parse ( text , message , allow_unknown_extension = False , allow_field_number = False , descriptor_pool = None , allow_unknown_field = False ) : return ParseLines ( text . split ( b'\n' if isinstance ( text , bytes ) else u'\n' ) , message , allow_unknown_extension , allow_field_number , descriptor_pool = descriptor_pool , allow_unknown_field = allow_unknown_field )