def METHOD_NAME(servicer, server):
  rpc_method_handlers = {
      'createEvent': grpc.unary_unary_rpc_method_handler(
          servicer.createEvent,
          request_deserializer=events_dot_Event__pb2.CreateEventRequest.FromString,
          response_serializer=common_dot_CommonService__pb2.Empty.SerializeToString,
      ),
      'createWebhook': grpc.unary_unary_rpc_method_handler(
          servicer.createWebhook,
          request_deserializer=events_dot_Event__pb2.CreateWebhookRequest.FromString,
          response_serializer=events_dot_Event__pb2.Webhook.SerializeToString,
      ),
      'updateWebhook': grpc.unary_unary_rpc_method_handler(
          servicer.updateWebhook,
          request_deserializer=events_dot_Event__pb2.UpdateWebhookRequest.FromString,
          response_serializer=events_dot_Event__pb2.Webhook.SerializeToString,
      ),
      'findWebhook': grpc.unary_unary_rpc_method_handler(
          servicer.findWebhook,
          request_deserializer=events_dot_Event__pb2.FindWebhookRequest.FromString,
          response_serializer=events_dot_Event__pb2.FindWebhookRequest.Response.SerializeToString,
      ),
      'deleteWebhook': grpc.unary_unary_rpc_method_handler(
          servicer.deleteWebhook,
          request_deserializer=events_dot_Event__pb2.DeleteWebhookRequest.FromString,
          response_serializer=common_dot_CommonService__pb2.Empty.SerializeToString,
      ),
      'findWebhookCall': grpc.unary_unary_rpc_method_handler(
          servicer.findWebhookCall,
          request_deserializer=events_dot_Event__pb2.FindWebhookCallRequest.FromString,
          response_serializer=events_dot_Event__pb2.FindWebhookCallRequest.Response.SerializeToString,
      ),
      'retriggerWebhookCall': grpc.unary_unary_rpc_method_handler(
          servicer.retriggerWebhookCall,
          request_deserializer=events_dot_Event__pb2.RetriggerWebhookCallRequest.FromString,
          response_serializer=events_dot_Event__pb2.WebhookCall.SerializeToString,
      ),
      'triggerTest': grpc.unary_unary_rpc_method_handler(
          servicer.triggerTest,
          request_deserializer=events_dot_Event__pb2.TestWebhookRequest.FromString,
          response_serializer=events_dot_Event__pb2.TestWebhookRequest.Response.SerializeToString,
      ),
  }
  generic_handler = grpc.method_handlers_generic_handler(
      'ai.verta.events.EventService', rpc_method_handlers)
  server.add_generic_rpc_handlers((generic_handler,))