def METHOD_NAME(servicer, server):
  rpc_method_handlers = {
      'getGroupById': grpc.unary_unary_rpc_method_handler(
          servicer.getGroupById,
          request_deserializer=uac_dot_GroupV2__pb2.GetGroupById.FromString,
          response_serializer=uac_dot_GroupV2__pb2.GetGroupById.Response.SerializeToString,
      ),
      'searchGroups': grpc.unary_unary_rpc_method_handler(
          servicer.searchGroups,
          request_deserializer=uac_dot_GroupV2__pb2.SearchGroups.FromString,
          response_serializer=uac_dot_GroupV2__pb2.SearchGroups.Response.SerializeToString,
      ),
      'setGroup': grpc.unary_unary_rpc_method_handler(
          servicer.setGroup,
          request_deserializer=uac_dot_GroupV2__pb2.SetGroup.FromString,
          response_serializer=uac_dot_GroupV2__pb2.SetGroup.Response.SerializeToString,
      ),
      'deleteGroup': grpc.unary_unary_rpc_method_handler(
          servicer.deleteGroup,
          request_deserializer=uac_dot_GroupV2__pb2.DeleteGroup.FromString,
          response_serializer=uac_dot_GroupV2__pb2.DeleteGroup.Response.SerializeToString,
      ),
      'addUsers': grpc.unary_unary_rpc_method_handler(
          servicer.addUsers,
          request_deserializer=uac_dot_GroupV2__pb2.AddGroupUsers.FromString,
          response_serializer=uac_dot_GroupV2__pb2.AddGroupUsers.Response.SerializeToString,
      ),
      'removeUsers': grpc.unary_unary_rpc_method_handler(
          servicer.removeUsers,
          request_deserializer=uac_dot_GroupV2__pb2.RemoveGroupUsers.FromString,
          response_serializer=uac_dot_GroupV2__pb2.RemoveGroupUsers.Response.SerializeToString,
      ),
  }
  generic_handler = grpc.method_handlers_generic_handler(
      'ai.verta.uac.GroupService', rpc_method_handlers)
  server.add_generic_rpc_handlers((generic_handler,))