code: def FromTextFormat(cls, text):
      
      tmp = cls.protobuf()  # pylint: disable=not-callable
      text_format.Merge(text, tmp)
  
      return cls.FromSerializedString(tmp.SerializeToString())
docs: Parse this object from a text representation.