code: def AsPrimitiveProto(self):
      
      if self.protobuf:
        result = self.protobuf()
        result.ParseFromString(self.SerializeToString())
        return result
docs: Return an old style protocol buffer object.