(self, text, message)
return self.ParseLines(text.split('\n'), message)
Parses a text representation of a protocol message into a message.
Parses a text representation of a protocol message into a message.
Parses a text representation of a protocol message into a message .
def ParseFromString(self, text, message):
    """Parses a text representation of a protocol message into a message."""
    if not isinstance(text, str):
      text = text.decode('utf-8')
    return self.ParseLines(text.split('\n'), message)
def ParseFromString ( self , text , message ) : if not isinstance ( text , str ) : text = text . decode ( 'utf-8' ) return self . ParseLines ( text . split ( '\n' ) , message )