# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
import grpc

from ..uac import Collaborator_pb2 as uac_dot_Collaborator__pb2
from ..uac import UACService_pb2 as uac_dot_UACService__pb2


class CollaboratorServiceStub(object):
  # missing associated documentation comment in .proto file
  pass

  def __init__(self, channel):
    """Constructor.

    Args:
      channel: A grpc.Channel.
    """
    self.getResources = channel.unary_unary(
        '/ai.verta.uac.CollaboratorService/getResources',
        request_serializer=uac_dot_Collaborator__pb2.GetResources.SerializeToString,
        response_deserializer=uac_dot_Collaborator__pb2.GetResources.Response.FromString,
        )
    self.getResourcesSpecialPersonalWorkspace = channel.unary_unary(
        '/ai.verta.uac.CollaboratorService/getResourcesSpecialPersonalWorkspace',
        request_serializer=uac_dot_Collaborator__pb2.GetResources.SerializeToString,
        response_deserializer=uac_dot_Collaborator__pb2.GetResources.Response.FromString,
        )
    self.setResource = channel.unary_unary(
        '/ai.verta.uac.CollaboratorService/setResource',
        request_serializer=uac_dot_Collaborator__pb2.SetResource.SerializeToString,
        response_deserializer=uac_dot_Collaborator__pb2.SetResource.Response.FromString,
        )
    self.deleteResources = channel.unary_unary(
        '/ai.verta.uac.CollaboratorService/deleteResources',
        request_serializer=uac_dot_Collaborator__pb2.DeleteResources.SerializeToString,
        response_deserializer=uac_dot_Collaborator__pb2.DeleteResources.Response.FromString,
        )
    self.getResourceAdmins = channel.unary_unary(
        '/ai.verta.uac.CollaboratorService/getResourceAdmins',
        request_serializer=uac_dot_Collaborator__pb2.GetResourceAdmins.SerializeToString,
        response_deserializer=uac_dot_Collaborator__pb2.ResourceAdmins.FromString,
        )
    self.addResourceAdmins = channel.unary_unary(
        '/ai.verta.uac.CollaboratorService/addResourceAdmins',
        request_serializer=uac_dot_Collaborator__pb2.ModifyResourceAdmins.SerializeToString,
        response_deserializer=uac_dot_UACService__pb2.Empty.FromString,
        )
    self.removeResourceAdmins = channel.unary_unary(
        '/ai.verta.uac.CollaboratorService/removeResourceAdmins',
        request_serializer=uac_dot_Collaborator__pb2.ModifyResourceAdmins.SerializeToString,
        response_deserializer=uac_dot_UACService__pb2.Empty.FromString,
        )
    self.addOrUpdateProjectCollaborator = channel.unary_unary(
        '/ai.verta.uac.CollaboratorService/addOrUpdateProjectCollaborator',
        request_serializer=uac_dot_Collaborator__pb2.AddCollaboratorRequest.SerializeToString,
        response_deserializer=uac_dot_Collaborator__pb2.AddCollaboratorRequest.Response.FromString,
        )
    self.removeProjectCollaborator = channel.unary_unary(
        '/ai.verta.uac.CollaboratorService/removeProjectCollaborator',
        request_serializer=uac_dot_Collaborator__pb2.RemoveCollaborator.SerializeToString,
        response_deserializer=uac_dot_Collaborator__pb2.RemoveCollaborator.Response.FromString,
        )
    self.getProjectCollaborators = channel.unary_unary(
        '/ai.verta.uac.CollaboratorService/getProjectCollaborators',
        request_serializer=uac_dot_Collaborator__pb2.GetCollaborator.SerializeToString,
        response_deserializer=uac_dot_Collaborator__pb2.GetCollaborator.Response.FromString,
        )
    self.addOrUpdateDatasetCollaborator = channel.unary_unary(
        '/ai.verta.uac.CollaboratorService/addOrUpdateDatasetCollaborator',
        request_serializer=uac_dot_Collaborator__pb2.AddCollaboratorRequest.SerializeToString,
        response_deserializer=uac_dot_Collaborator__pb2.AddCollaboratorRequest.Response.FromString,
        )
    self.removeDatasetCollaborator = channel.unary_unary(
        '/ai.verta.uac.CollaboratorService/removeDatasetCollaborator',
        request_serializer=uac_dot_Collaborator__pb2.RemoveCollaborator.SerializeToString,
        response_deserializer=uac_dot_Collaborator__pb2.RemoveCollaborator.Response.FromString,
        )
    self.getDatasetCollaborators = channel.unary_unary(
        '/ai.verta.uac.CollaboratorService/getDatasetCollaborators',
        request_serializer=uac_dot_Collaborator__pb2.GetCollaborator.SerializeToString,
        response_deserializer=uac_dot_Collaborator__pb2.GetCollaborator.Response.FromString,
        )
    self.addOrUpdateRepositoryCollaborator = channel.unary_unary(
        '/ai.verta.uac.CollaboratorService/addOrUpdateRepositoryCollaborator',
        request_serializer=uac_dot_Collaborator__pb2.AddCollaboratorRequest.SerializeToString,
        response_deserializer=uac_dot_Collaborator__pb2.AddCollaboratorRequest.Response.FromString,
        )
    self.removeRepositoryCollaborator = channel.unary_unary(
        '/ai.verta.uac.CollaboratorService/removeRepositoryCollaborator',
        request_serializer=uac_dot_Collaborator__pb2.RemoveCollaborator.SerializeToString,
        response_deserializer=uac_dot_Collaborator__pb2.RemoveCollaborator.Response.FromString,
        )
    self.getRepositoryCollaborators = channel.unary_unary(
        '/ai.verta.uac.CollaboratorService/getRepositoryCollaborators',
        request_serializer=uac_dot_Collaborator__pb2.GetCollaborator.SerializeToString,
        response_deserializer=uac_dot_Collaborator__pb2.GetCollaborator.Response.FromString,
        )
    self.addOrUpdateEndpointCollaborator = channel.unary_unary(
        '/ai.verta.uac.CollaboratorService/addOrUpdateEndpointCollaborator',
        request_serializer=uac_dot_Collaborator__pb2.AddCollaboratorRequest.SerializeToString,
        response_deserializer=uac_dot_Collaborator__pb2.AddCollaboratorRequest.Response.FromString,
        )
    self.removeEndpointCollaborator = channel.unary_unary(
        '/ai.verta.uac.CollaboratorService/removeEndpointCollaborator',
        request_serializer=uac_dot_Collaborator__pb2.RemoveCollaborator.SerializeToString,
        response_deserializer=uac_dot_Collaborator__pb2.RemoveCollaborator.Response.FromString,
        )
    self.getEndpointCollaborators = channel.unary_unary(
        '/ai.verta.uac.CollaboratorService/getEndpointCollaborators',
        request_serializer=uac_dot_Collaborator__pb2.GetCollaborator.SerializeToString,
        response_deserializer=uac_dot_Collaborator__pb2.GetCollaborator.Response.FromString,
        )
    self.addOrUpdateEndpointCollaboratorCommonService = channel.unary_unary(
        '/ai.verta.uac.CollaboratorService/addOrUpdateEndpointCollaboratorCommonService',
        request_serializer=uac_dot_Collaborator__pb2.AddCollaboratorRequest.SerializeToString,
        response_deserializer=uac_dot_Collaborator__pb2.AddCollaboratorRequest.Response.FromString,
        )
    self.removeEndpointCollaboratorCommonService = channel.unary_unary(
        '/ai.verta.uac.CollaboratorService/removeEndpointCollaboratorCommonService',
        request_serializer=uac_dot_Collaborator__pb2.RemoveCollaborator.SerializeToString,
        response_deserializer=uac_dot_Collaborator__pb2.RemoveCollaborator.Response.FromString,
        )
    self.getEndpointCollaboratorsCommonService = channel.unary_unary(
        '/ai.verta.uac.CollaboratorService/getEndpointCollaboratorsCommonService',
        request_serializer=uac_dot_Collaborator__pb2.GetCollaborator.SerializeToString,
        response_deserializer=uac_dot_Collaborator__pb2.GetCollaborator.Response.FromString,
        )
    self.addOrUpdateRegisteredModelCollaborator = channel.unary_unary(
        '/ai.verta.uac.CollaboratorService/addOrUpdateRegisteredModelCollaborator',
        request_serializer=uac_dot_Collaborator__pb2.AddCollaboratorRequest.SerializeToString,
        response_deserializer=uac_dot_Collaborator__pb2.AddCollaboratorRequest.Response.FromString,
        )
    self.removeRegisteredModelCollaborator = channel.unary_unary(
        '/ai.verta.uac.CollaboratorService/removeRegisteredModelCollaborator',
        request_serializer=uac_dot_Collaborator__pb2.RemoveCollaborator.SerializeToString,
        response_deserializer=uac_dot_Collaborator__pb2.RemoveCollaborator.Response.FromString,
        )
    self.getRegisteredModelCollaborators = channel.unary_unary(
        '/ai.verta.uac.CollaboratorService/getRegisteredModelCollaborators',
        request_serializer=uac_dot_Collaborator__pb2.GetCollaborator.SerializeToString,
        response_deserializer=uac_dot_Collaborator__pb2.GetCollaborator.Response.FromString,
        )
    self.addOrUpdateMonitoredEntityCollaborator = channel.unary_unary(
        '/ai.verta.uac.CollaboratorService/addOrUpdateMonitoredEntityCollaborator',
        request_serializer=uac_dot_Collaborator__pb2.AddCollaboratorRequest.SerializeToString,
        response_deserializer=uac_dot_Collaborator__pb2.AddCollaboratorRequest.Response.FromString,
        )
    self.removeMonitoredEntityCollaborator = channel.unary_unary(
        '/ai.verta.uac.CollaboratorService/removeMonitoredEntityCollaborator',
        request_serializer=uac_dot_Collaborator__pb2.RemoveCollaborator.SerializeToString,
        response_deserializer=uac_dot_Collaborator__pb2.RemoveCollaborator.Response.FromString,
        )
    self.getMonitoredEntityCollaborators = channel.unary_unary(
        '/ai.verta.uac.CollaboratorService/getMonitoredEntityCollaborators',
        request_serializer=uac_dot_Collaborator__pb2.GetCollaborator.SerializeToString,
        response_deserializer=uac_dot_Collaborator__pb2.GetCollaborator.Response.FromString,
        )


class CollaboratorServiceServicer(object):
  # missing associated documentation comment in .proto file
  pass

  def getResources(self, request, context):
    """The caller must have permission to GET the resource accordingly
    """
    context.set_code(grpc.StatusCode.UNIMPLEMENTED)
    context.set_details('Method not implemented!')
    raise NotImplementedError('Method not implemented!')

  def getResourcesSpecialPersonalWorkspace(self, request, context):
    """The caller must have permission to GET the resource accordingly
    gets resources that is available in personal workspace (all except organization workspace resources)
    """
    context.set_code(grpc.StatusCode.UNIMPLEMENTED)
    context.set_details('Method not implemented!')
    raise NotImplementedError('Method not implemented!')

  def setResource(self, request, context):
    """The caller must have permission to CREATE or UPDATE the resource accordingly
    """
    context.set_code(grpc.StatusCode.UNIMPLEMENTED)
    context.set_details('Method not implemented!')
    raise NotImplementedError('Method not implemented!')

  def deleteResources(self, request, context):
    """The caller must have permission to DELETE the resource accordingly
    """
    context.set_code(grpc.StatusCode.UNIMPLEMENTED)
    context.set_details('Method not implemented!')
    raise NotImplementedError('Method not implemented!')

  def getResourceAdmins(self, request, context):
    # missing associated documentation comment in .proto file
    pass
    context.set_code(grpc.StatusCode.UNIMPLEMENTED)
    context.set_details('Method not implemented!')
    raise NotImplementedError('Method not implemented!')

  def addResourceAdmins(self, request, context):
    # missing associated documentation comment in .proto file
    pass
    context.set_code(grpc.StatusCode.UNIMPLEMENTED)
    context.set_details('Method not implemented!')
    raise NotImplementedError('Method not implemented!')

  def removeResourceAdmins(self, request, context):
    # missing associated documentation comment in .proto file
    pass
    context.set_code(grpc.StatusCode.UNIMPLEMENTED)
    context.set_details('Method not implemented!')
    raise NotImplementedError('Method not implemented!')

  def addOrUpdateProjectCollaborator(self, request, context):
    # missing associated documentation comment in .proto file
    pass
    context.set_code(grpc.StatusCode.UNIMPLEMENTED)
    context.set_details('Method not implemented!')
    raise NotImplementedError('Method not implemented!')

  def removeProjectCollaborator(self, request, context):
    # missing associated documentation comment in .proto file
    pass
    context.set_code(grpc.StatusCode.UNIMPLEMENTED)
    context.set_details('Method not implemented!')
    raise NotImplementedError('Method not implemented!')

  def getProjectCollaborators(self, request, context):
    # missing associated documentation comment in .proto file
    pass
    context.set_code(grpc.StatusCode.UNIMPLEMENTED)
    context.set_details('Method not implemented!')
    raise NotImplementedError('Method not implemented!')

  def addOrUpdateDatasetCollaborator(self, request, context):
    # missing associated documentation comment in .proto file
    pass
    context.set_code(grpc.StatusCode.UNIMPLEMENTED)
    context.set_details('Method not implemented!')
    raise NotImplementedError('Method not implemented!')

  def removeDatasetCollaborator(self, request, context):
    # missing associated documentation comment in .proto file
    pass
    context.set_code(grpc.StatusCode.UNIMPLEMENTED)
    context.set_details('Method not implemented!')
    raise NotImplementedError('Method not implemented!')

  def getDatasetCollaborators(self, request, context):
    # missing associated documentation comment in .proto file
    pass
    context.set_code(grpc.StatusCode.UNIMPLEMENTED)
    context.set_details('Method not implemented!')
    raise NotImplementedError('Method not implemented!')

  def addOrUpdateRepositoryCollaborator(self, request, context):
    # missing associated documentation comment in .proto file
    pass
    context.set_code(grpc.StatusCode.UNIMPLEMENTED)
    context.set_details('Method not implemented!')
    raise NotImplementedError('Method not implemented!')

  def removeRepositoryCollaborator(self, request, context):
    # missing associated documentation comment in .proto file
    pass
    context.set_code(grpc.StatusCode.UNIMPLEMENTED)
    context.set_details('Method not implemented!')
    raise NotImplementedError('Method not implemented!')

  def getRepositoryCollaborators(self, request, context):
    # missing associated documentation comment in .proto file
    pass
    context.set_code(grpc.StatusCode.UNIMPLEMENTED)
    context.set_details('Method not implemented!')
    raise NotImplementedError('Method not implemented!')

  def addOrUpdateEndpointCollaborator(self, request, context):
    # missing associated documentation comment in .proto file
    pass
    context.set_code(grpc.StatusCode.UNIMPLEMENTED)
    context.set_details('Method not implemented!')
    raise NotImplementedError('Method not implemented!')

  def removeEndpointCollaborator(self, request, context):
    # missing associated documentation comment in .proto file
    pass
    context.set_code(grpc.StatusCode.UNIMPLEMENTED)
    context.set_details('Method not implemented!')
    raise NotImplementedError('Method not implemented!')

  def getEndpointCollaborators(self, request, context):
    # missing associated documentation comment in .proto file
    pass
    context.set_code(grpc.StatusCode.UNIMPLEMENTED)
    context.set_details('Method not implemented!')
    raise NotImplementedError('Method not implemented!')

  def addOrUpdateEndpointCollaboratorCommonService(self, request, context):
    # missing associated documentation comment in .proto file
    pass
    context.set_code(grpc.StatusCode.UNIMPLEMENTED)
    context.set_details('Method not implemented!')
    raise NotImplementedError('Method not implemented!')

  def removeEndpointCollaboratorCommonService(self, request, context):
    # missing associated documentation comment in .proto file
    pass
    context.set_code(grpc.StatusCode.UNIMPLEMENTED)
    context.set_details('Method not implemented!')
    raise NotImplementedError('Method not implemented!')

  def getEndpointCollaboratorsCommonService(self, request, context):
    # missing associated documentation comment in .proto file
    pass
    context.set_code(grpc.StatusCode.UNIMPLEMENTED)
    context.set_details('Method not implemented!')
    raise NotImplementedError('Method not implemented!')

  def addOrUpdateRegisteredModelCollaborator(self, request, context):
    # missing associated documentation comment in .proto file
    pass
    context.set_code(grpc.StatusCode.UNIMPLEMENTED)
    context.set_details('Method not implemented!')
    raise NotImplementedError('Method not implemented!')

  def removeRegisteredModelCollaborator(self, request, context):
    # missing associated documentation comment in .proto file
    pass
    context.set_code(grpc.StatusCode.UNIMPLEMENTED)
    context.set_details('Method not implemented!')
    raise NotImplementedError('Method not implemented!')

  def getRegisteredModelCollaborators(self, request, context):
    # missing associated documentation comment in .proto file
    pass
    context.set_code(grpc.StatusCode.UNIMPLEMENTED)
    context.set_details('Method not implemented!')
    raise NotImplementedError('Method not implemented!')

  def addOrUpdateMonitoredEntityCollaborator(self, request, context):
    # missing associated documentation comment in .proto file
    pass
    context.set_code(grpc.StatusCode.UNIMPLEMENTED)
    context.set_details('Method not implemented!')
    raise NotImplementedError('Method not implemented!')

  def removeMonitoredEntityCollaborator(self, request, context):
    # missing associated documentation comment in .proto file
    pass
    context.set_code(grpc.StatusCode.UNIMPLEMENTED)
    context.set_details('Method not implemented!')
    raise NotImplementedError('Method not implemented!')

  def getMonitoredEntityCollaborators(self, request, context):
    # missing associated documentation comment in .proto file
    pass
    context.set_code(grpc.StatusCode.UNIMPLEMENTED)
    context.set_details('Method not implemented!')
    raise NotImplementedError('Method not implemented!')


def add_CollaboratorServiceServicer_to_server(servicer, server):
  rpc_method_handlers = {
      'getResources': grpc.unary_unary_rpc_method_handler(
          servicer.getResources,
          request_deserializer=uac_dot_Collaborator__pb2.GetResources.FromString,
          response_serializer=uac_dot_Collaborator__pb2.GetResources.Response.SerializeToString,
      ),
      'getResourcesSpecialPersonalWorkspace': grpc.unary_unary_rpc_method_handler(
          servicer.getResourcesSpecialPersonalWorkspace,
          request_deserializer=uac_dot_Collaborator__pb2.GetResources.FromString,
          response_serializer=uac_dot_Collaborator__pb2.GetResources.Response.SerializeToString,
      ),
      'setResource': grpc.unary_unary_rpc_method_handler(
          servicer.setResource,
          request_deserializer=uac_dot_Collaborator__pb2.SetResource.FromString,
          response_serializer=uac_dot_Collaborator__pb2.SetResource.Response.SerializeToString,
      ),
      'deleteResources': grpc.unary_unary_rpc_method_handler(
          servicer.deleteResources,
          request_deserializer=uac_dot_Collaborator__pb2.DeleteResources.FromString,
          response_serializer=uac_dot_Collaborator__pb2.DeleteResources.Response.SerializeToString,
      ),
      'getResourceAdmins': grpc.unary_unary_rpc_method_handler(
          servicer.getResourceAdmins,
          request_deserializer=uac_dot_Collaborator__pb2.GetResourceAdmins.FromString,
          response_serializer=uac_dot_Collaborator__pb2.ResourceAdmins.SerializeToString,
      ),
      'addResourceAdmins': grpc.unary_unary_rpc_method_handler(
          servicer.addResourceAdmins,
          request_deserializer=uac_dot_Collaborator__pb2.ModifyResourceAdmins.FromString,
          response_serializer=uac_dot_UACService__pb2.Empty.SerializeToString,
      ),
      'removeResourceAdmins': grpc.unary_unary_rpc_method_handler(
          servicer.removeResourceAdmins,
          request_deserializer=uac_dot_Collaborator__pb2.ModifyResourceAdmins.FromString,
          response_serializer=uac_dot_UACService__pb2.Empty.SerializeToString,
      ),
      'addOrUpdateProjectCollaborator': grpc.unary_unary_rpc_method_handler(
          servicer.addOrUpdateProjectCollaborator,
          request_deserializer=uac_dot_Collaborator__pb2.AddCollaboratorRequest.FromString,
          response_serializer=uac_dot_Collaborator__pb2.AddCollaboratorRequest.Response.SerializeToString,
      ),
      'removeProjectCollaborator': grpc.unary_unary_rpc_method_handler(
          servicer.removeProjectCollaborator,
          request_deserializer=uac_dot_Collaborator__pb2.RemoveCollaborator.FromString,
          response_serializer=uac_dot_Collaborator__pb2.RemoveCollaborator.Response.SerializeToString,
      ),
      'getProjectCollaborators': grpc.unary_unary_rpc_method_handler(
          servicer.getProjectCollaborators,
          request_deserializer=uac_dot_Collaborator__pb2.GetCollaborator.FromString,
          response_serializer=uac_dot_Collaborator__pb2.GetCollaborator.Response.SerializeToString,
      ),
      'addOrUpdateDatasetCollaborator': grpc.unary_unary_rpc_method_handler(
          servicer.addOrUpdateDatasetCollaborator,
          request_deserializer=uac_dot_Collaborator__pb2.AddCollaboratorRequest.FromString,
          response_serializer=uac_dot_Collaborator__pb2.AddCollaboratorRequest.Response.SerializeToString,
      ),
      'removeDatasetCollaborator': grpc.unary_unary_rpc_method_handler(
          servicer.removeDatasetCollaborator,
          request_deserializer=uac_dot_Collaborator__pb2.RemoveCollaborator.FromString,
          response_serializer=uac_dot_Collaborator__pb2.RemoveCollaborator.Response.SerializeToString,
      ),
      'getDatasetCollaborators': grpc.unary_unary_rpc_method_handler(
          servicer.getDatasetCollaborators,
          request_deserializer=uac_dot_Collaborator__pb2.GetCollaborator.FromString,
          response_serializer=uac_dot_Collaborator__pb2.GetCollaborator.Response.SerializeToString,
      ),
      'addOrUpdateRepositoryCollaborator': grpc.unary_unary_rpc_method_handler(
          servicer.addOrUpdateRepositoryCollaborator,
          request_deserializer=uac_dot_Collaborator__pb2.AddCollaboratorRequest.FromString,
          response_serializer=uac_dot_Collaborator__pb2.AddCollaboratorRequest.Response.SerializeToString,
      ),
      'removeRepositoryCollaborator': grpc.unary_unary_rpc_method_handler(
          servicer.removeRepositoryCollaborator,
          request_deserializer=uac_dot_Collaborator__pb2.RemoveCollaborator.FromString,
          response_serializer=uac_dot_Collaborator__pb2.RemoveCollaborator.Response.SerializeToString,
      ),
      'getRepositoryCollaborators': grpc.unary_unary_rpc_method_handler(
          servicer.getRepositoryCollaborators,
          request_deserializer=uac_dot_Collaborator__pb2.GetCollaborator.FromString,
          response_serializer=uac_dot_Collaborator__pb2.GetCollaborator.Response.SerializeToString,
      ),
      'addOrUpdateEndpointCollaborator': grpc.unary_unary_rpc_method_handler(
          servicer.addOrUpdateEndpointCollaborator,
          request_deserializer=uac_dot_Collaborator__pb2.AddCollaboratorRequest.FromString,
          response_serializer=uac_dot_Collaborator__pb2.AddCollaboratorRequest.Response.SerializeToString,
      ),
      'removeEndpointCollaborator': grpc.unary_unary_rpc_method_handler(
          servicer.removeEndpointCollaborator,
          request_deserializer=uac_dot_Collaborator__pb2.RemoveCollaborator.FromString,
          response_serializer=uac_dot_Collaborator__pb2.RemoveCollaborator.Response.SerializeToString,
      ),
      'getEndpointCollaborators': grpc.unary_unary_rpc_method_handler(
          servicer.getEndpointCollaborators,
          request_deserializer=uac_dot_Collaborator__pb2.GetCollaborator.FromString,
          response_serializer=uac_dot_Collaborator__pb2.GetCollaborator.Response.SerializeToString,
      ),
      'addOrUpdateEndpointCollaboratorCommonService': grpc.unary_unary_rpc_method_handler(
          servicer.addOrUpdateEndpointCollaboratorCommonService,
          request_deserializer=uac_dot_Collaborator__pb2.AddCollaboratorRequest.FromString,
          response_serializer=uac_dot_Collaborator__pb2.AddCollaboratorRequest.Response.SerializeToString,
      ),
      'removeEndpointCollaboratorCommonService': grpc.unary_unary_rpc_method_handler(
          servicer.removeEndpointCollaboratorCommonService,
          request_deserializer=uac_dot_Collaborator__pb2.RemoveCollaborator.FromString,
          response_serializer=uac_dot_Collaborator__pb2.RemoveCollaborator.Response.SerializeToString,
      ),
      'getEndpointCollaboratorsCommonService': grpc.unary_unary_rpc_method_handler(
          servicer.getEndpointCollaboratorsCommonService,
          request_deserializer=uac_dot_Collaborator__pb2.GetCollaborator.FromString,
          response_serializer=uac_dot_Collaborator__pb2.GetCollaborator.Response.SerializeToString,
      ),
      'addOrUpdateRegisteredModelCollaborator': grpc.unary_unary_rpc_method_handler(
          servicer.addOrUpdateRegisteredModelCollaborator,
          request_deserializer=uac_dot_Collaborator__pb2.AddCollaboratorRequest.FromString,
          response_serializer=uac_dot_Collaborator__pb2.AddCollaboratorRequest.Response.SerializeToString,
      ),
      'removeRegisteredModelCollaborator': grpc.unary_unary_rpc_method_handler(
          servicer.removeRegisteredModelCollaborator,
          request_deserializer=uac_dot_Collaborator__pb2.RemoveCollaborator.FromString,
          response_serializer=uac_dot_Collaborator__pb2.RemoveCollaborator.Response.SerializeToString,
      ),
      'getRegisteredModelCollaborators': grpc.unary_unary_rpc_method_handler(
          servicer.getRegisteredModelCollaborators,
          request_deserializer=uac_dot_Collaborator__pb2.GetCollaborator.FromString,
          response_serializer=uac_dot_Collaborator__pb2.GetCollaborator.Response.SerializeToString,
      ),
      'addOrUpdateMonitoredEntityCollaborator': grpc.unary_unary_rpc_method_handler(
          servicer.addOrUpdateMonitoredEntityCollaborator,
          request_deserializer=uac_dot_Collaborator__pb2.AddCollaboratorRequest.FromString,
          response_serializer=uac_dot_Collaborator__pb2.AddCollaboratorRequest.Response.SerializeToString,
      ),
      'removeMonitoredEntityCollaborator': grpc.unary_unary_rpc_method_handler(
          servicer.removeMonitoredEntityCollaborator,
          request_deserializer=uac_dot_Collaborator__pb2.RemoveCollaborator.FromString,
          response_serializer=uac_dot_Collaborator__pb2.RemoveCollaborator.Response.SerializeToString,
      ),
      'getMonitoredEntityCollaborators': grpc.unary_unary_rpc_method_handler(
          servicer.getMonitoredEntityCollaborators,
          request_deserializer=uac_dot_Collaborator__pb2.GetCollaborator.FromString,
          response_serializer=uac_dot_Collaborator__pb2.GetCollaborator.Response.SerializeToString,
      ),
  }
  generic_handler = grpc.method_handlers_generic_handler(
      'ai.verta.uac.CollaboratorService', rpc_method_handlers)
  server.add_generic_rpc_handlers((generic_handler,))
