code: def ParseLines(self, lines, message):
      
      self._allow_multiple_scalars = False
      self._ParseOrMerge(lines, message)
      return message
docs: Parses a text representation of a protocol message into a message.