@classmethod
  def FromTextFormat(cls, text):
    tmp = cls.protobuf()  # pylint: disable=not-callable
    text_format.Merge(text, tmp)

    return cls(tmp.SerializeToString())
Parse this object from a text representation.
dataset/ETHPy150Open google/grr/grr/lib/rdfvalues/structs.py/RDFProtoStruct.FromTextFormat