def ParseLines(self, lines, message):
    """Parses a text representation of a protocol message into a message."""
    self._allow_multiple_scalars = False
    self._ParseOrMerge(lines, message)
    return message
Parses a text representation of a protocol message into a message.
deps/protobuf/python/google/protobuf/text_format.py