def METHOD_NAME(servicer, server):
  rpc_method_handlers = {
      'storeArtifact': grpc.unary_unary_rpc_method_handler(
          servicer.storeArtifact,
          request_deserializer=artifactstore_dot_ArtifactStore__pb2.StoreArtifact.FromString,
          response_serializer=artifactstore_dot_ArtifactStore__pb2.StoreArtifact.Response.SerializeToString,
      ),
      'storeArtifactWithStream': grpc.unary_unary_rpc_method_handler(
          servicer.storeArtifactWithStream,
          request_deserializer=artifactstore_dot_ArtifactStore__pb2.StoreArtifactWithStream.FromString,
          response_serializer=artifactstore_dot_ArtifactStore__pb2.StoreArtifactWithStream.Response.SerializeToString,
      ),
      'getArtifact': grpc.unary_unary_rpc_method_handler(
          servicer.getArtifact,
          request_deserializer=artifactstore_dot_ArtifactStore__pb2.GetArtifact.FromString,
          response_serializer=artifactstore_dot_ArtifactStore__pb2.GetArtifact.Response.SerializeToString,
      ),
      'deleteArtifact': grpc.unary_unary_rpc_method_handler(
          servicer.deleteArtifact,
          request_deserializer=artifactstore_dot_ArtifactStore__pb2.DeleteArtifact.FromString,
          response_serializer=artifactstore_dot_ArtifactStore__pb2.DeleteArtifact.Response.SerializeToString,
      ),
  }
  generic_handler = grpc.method_handlers_generic_handler(
      'ai.verta.artifactstore.ArtifactStore', rpc_method_handlers)
  server.add_generic_rpc_handlers((generic_handler,))