def __setstate__(self, data):
    """Support the pickle protocol."""
    if "__pickled_rdfvalue" in data:
      self.ParseFromString(data["data"])
      self.age = RDFDatetime(data["age"])
    else:
      self.__dict__ = data
dataset/ETHPy150Open google/grr/grr/lib/rdfvalue.py/RDFValue.__setstate__/original