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