code: def from_pb(cls, pb):
          
          obj = cls._from_pb(pb)
          obj._pb = pb
          return obj
docs: Instantiate the object from a protocol buffer.
  
          Args:
              pb (protobuf)
  
          Save a reference to the protocol buffer on the object.