# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
"""Client and server classes corresponding to protobuf-defined services."""
import grpc

from agentic_mesh_protocol.setup.v1 import setup_pb2 as agentic__mesh__protocol_dot_setup_dot_v1_dot_setup__pb2


class SetupServiceStub(object):
    """SetupService
    Provides operations for setups and setup versions.
    """

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

        Args:
            channel: A grpc.Channel.
        """
        self.CreateSetup = channel.unary_unary(
                '/agentic_mesh_protocol.setup.v1.SetupService/CreateSetup',
                request_serializer=agentic__mesh__protocol_dot_setup_dot_v1_dot_setup__pb2.CreateSetupRequest.SerializeToString,
                response_deserializer=agentic__mesh__protocol_dot_setup_dot_v1_dot_setup__pb2.CreateSetupResponse.FromString,
                _registered_method=True)
        self.GetSetup = channel.unary_unary(
                '/agentic_mesh_protocol.setup.v1.SetupService/GetSetup',
                request_serializer=agentic__mesh__protocol_dot_setup_dot_v1_dot_setup__pb2.GetSetupRequest.SerializeToString,
                response_deserializer=agentic__mesh__protocol_dot_setup_dot_v1_dot_setup__pb2.GetSetupResponse.FromString,
                _registered_method=True)
        self.UpdateSetup = channel.unary_unary(
                '/agentic_mesh_protocol.setup.v1.SetupService/UpdateSetup',
                request_serializer=agentic__mesh__protocol_dot_setup_dot_v1_dot_setup__pb2.UpdateSetupRequest.SerializeToString,
                response_deserializer=agentic__mesh__protocol_dot_setup_dot_v1_dot_setup__pb2.UpdateSetupResponse.FromString,
                _registered_method=True)
        self.DeleteSetup = channel.unary_unary(
                '/agentic_mesh_protocol.setup.v1.SetupService/DeleteSetup',
                request_serializer=agentic__mesh__protocol_dot_setup_dot_v1_dot_setup__pb2.DeleteSetupRequest.SerializeToString,
                response_deserializer=agentic__mesh__protocol_dot_setup_dot_v1_dot_setup__pb2.DeleteSetupResponse.FromString,
                _registered_method=True)
        self.CreateSetupVersion = channel.unary_unary(
                '/agentic_mesh_protocol.setup.v1.SetupService/CreateSetupVersion',
                request_serializer=agentic__mesh__protocol_dot_setup_dot_v1_dot_setup__pb2.CreateSetupVersionRequest.SerializeToString,
                response_deserializer=agentic__mesh__protocol_dot_setup_dot_v1_dot_setup__pb2.CreateSetupVersionResponse.FromString,
                _registered_method=True)
        self.GetSetupVersion = channel.unary_unary(
                '/agentic_mesh_protocol.setup.v1.SetupService/GetSetupVersion',
                request_serializer=agentic__mesh__protocol_dot_setup_dot_v1_dot_setup__pb2.GetSetupVersionRequest.SerializeToString,
                response_deserializer=agentic__mesh__protocol_dot_setup_dot_v1_dot_setup__pb2.GetSetupVersionResponse.FromString,
                _registered_method=True)
        self.SearchSetupVersions = channel.unary_unary(
                '/agentic_mesh_protocol.setup.v1.SetupService/SearchSetupVersions',
                request_serializer=agentic__mesh__protocol_dot_setup_dot_v1_dot_setup__pb2.SearchSetupVersionsRequest.SerializeToString,
                response_deserializer=agentic__mesh__protocol_dot_setup_dot_v1_dot_setup__pb2.SearchSetupVersionsResponse.FromString,
                _registered_method=True)
        self.UpdateSetupVersion = channel.unary_unary(
                '/agentic_mesh_protocol.setup.v1.SetupService/UpdateSetupVersion',
                request_serializer=agentic__mesh__protocol_dot_setup_dot_v1_dot_setup__pb2.UpdateSetupVersionRequest.SerializeToString,
                response_deserializer=agentic__mesh__protocol_dot_setup_dot_v1_dot_setup__pb2.UpdateSetupVersionResponse.FromString,
                _registered_method=True)
        self.DeleteSetupVersion = channel.unary_unary(
                '/agentic_mesh_protocol.setup.v1.SetupService/DeleteSetupVersion',
                request_serializer=agentic__mesh__protocol_dot_setup_dot_v1_dot_setup__pb2.DeleteSetupVersionRequest.SerializeToString,
                response_deserializer=agentic__mesh__protocol_dot_setup_dot_v1_dot_setup__pb2.DeleteSetupVersionResponse.FromString,
                _registered_method=True)
        self.ListSetups = channel.unary_unary(
                '/agentic_mesh_protocol.setup.v1.SetupService/ListSetups',
                request_serializer=agentic__mesh__protocol_dot_setup_dot_v1_dot_setup__pb2.ListSetupsRequest.SerializeToString,
                response_deserializer=agentic__mesh__protocol_dot_setup_dot_v1_dot_setup__pb2.ListSetupsResponse.FromString,
                _registered_method=True)


class SetupServiceServicer(object):
    """SetupService
    Provides operations for setups and setup versions.
    """

    def CreateSetup(self, request, context):
        """CreateSetup creates a new setup.
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def GetSetup(self, request, context):
        """GetSetup retrieves a setup by its unique identifier.
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def UpdateSetup(self, request, context):
        """UpdateSetup updates an existing setup.
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def DeleteSetup(self, request, context):
        """DeleteSetup deletes a setup.
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def CreateSetupVersion(self, request, context):
        """CreateSetupVersion creates a new setup version.
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def GetSetupVersion(self, request, context):
        """GetSetupVersion retrieves a setup version by its unique identifier.
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def SearchSetupVersions(self, request, context):
        """SearchSetupVersions searches for setup versions based on provided filters.
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def UpdateSetupVersion(self, request, context):
        """UpdateSetupVersion updates an existing setup version.
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def DeleteSetupVersion(self, request, context):
        """DeleteSetupVersion deletes a setup version.
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def ListSetups(self, request, context):
        """ListSetups retrieves a paginated list of setups, filtered by organisation or owner.
        """
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')


def add_SetupServiceServicer_to_server(servicer, server):
    rpc_method_handlers = {
            'CreateSetup': grpc.unary_unary_rpc_method_handler(
                    servicer.CreateSetup,
                    request_deserializer=agentic__mesh__protocol_dot_setup_dot_v1_dot_setup__pb2.CreateSetupRequest.FromString,
                    response_serializer=agentic__mesh__protocol_dot_setup_dot_v1_dot_setup__pb2.CreateSetupResponse.SerializeToString,
            ),
            'GetSetup': grpc.unary_unary_rpc_method_handler(
                    servicer.GetSetup,
                    request_deserializer=agentic__mesh__protocol_dot_setup_dot_v1_dot_setup__pb2.GetSetupRequest.FromString,
                    response_serializer=agentic__mesh__protocol_dot_setup_dot_v1_dot_setup__pb2.GetSetupResponse.SerializeToString,
            ),
            'UpdateSetup': grpc.unary_unary_rpc_method_handler(
                    servicer.UpdateSetup,
                    request_deserializer=agentic__mesh__protocol_dot_setup_dot_v1_dot_setup__pb2.UpdateSetupRequest.FromString,
                    response_serializer=agentic__mesh__protocol_dot_setup_dot_v1_dot_setup__pb2.UpdateSetupResponse.SerializeToString,
            ),
            'DeleteSetup': grpc.unary_unary_rpc_method_handler(
                    servicer.DeleteSetup,
                    request_deserializer=agentic__mesh__protocol_dot_setup_dot_v1_dot_setup__pb2.DeleteSetupRequest.FromString,
                    response_serializer=agentic__mesh__protocol_dot_setup_dot_v1_dot_setup__pb2.DeleteSetupResponse.SerializeToString,
            ),
            'CreateSetupVersion': grpc.unary_unary_rpc_method_handler(
                    servicer.CreateSetupVersion,
                    request_deserializer=agentic__mesh__protocol_dot_setup_dot_v1_dot_setup__pb2.CreateSetupVersionRequest.FromString,
                    response_serializer=agentic__mesh__protocol_dot_setup_dot_v1_dot_setup__pb2.CreateSetupVersionResponse.SerializeToString,
            ),
            'GetSetupVersion': grpc.unary_unary_rpc_method_handler(
                    servicer.GetSetupVersion,
                    request_deserializer=agentic__mesh__protocol_dot_setup_dot_v1_dot_setup__pb2.GetSetupVersionRequest.FromString,
                    response_serializer=agentic__mesh__protocol_dot_setup_dot_v1_dot_setup__pb2.GetSetupVersionResponse.SerializeToString,
            ),
            'SearchSetupVersions': grpc.unary_unary_rpc_method_handler(
                    servicer.SearchSetupVersions,
                    request_deserializer=agentic__mesh__protocol_dot_setup_dot_v1_dot_setup__pb2.SearchSetupVersionsRequest.FromString,
                    response_serializer=agentic__mesh__protocol_dot_setup_dot_v1_dot_setup__pb2.SearchSetupVersionsResponse.SerializeToString,
            ),
            'UpdateSetupVersion': grpc.unary_unary_rpc_method_handler(
                    servicer.UpdateSetupVersion,
                    request_deserializer=agentic__mesh__protocol_dot_setup_dot_v1_dot_setup__pb2.UpdateSetupVersionRequest.FromString,
                    response_serializer=agentic__mesh__protocol_dot_setup_dot_v1_dot_setup__pb2.UpdateSetupVersionResponse.SerializeToString,
            ),
            'DeleteSetupVersion': grpc.unary_unary_rpc_method_handler(
                    servicer.DeleteSetupVersion,
                    request_deserializer=agentic__mesh__protocol_dot_setup_dot_v1_dot_setup__pb2.DeleteSetupVersionRequest.FromString,
                    response_serializer=agentic__mesh__protocol_dot_setup_dot_v1_dot_setup__pb2.DeleteSetupVersionResponse.SerializeToString,
            ),
            'ListSetups': grpc.unary_unary_rpc_method_handler(
                    servicer.ListSetups,
                    request_deserializer=agentic__mesh__protocol_dot_setup_dot_v1_dot_setup__pb2.ListSetupsRequest.FromString,
                    response_serializer=agentic__mesh__protocol_dot_setup_dot_v1_dot_setup__pb2.ListSetupsResponse.SerializeToString,
            ),
    }
    generic_handler = grpc.method_handlers_generic_handler(
            'agentic_mesh_protocol.setup.v1.SetupService', rpc_method_handlers)
    server.add_generic_rpc_handlers((generic_handler,))
    server.add_registered_method_handlers('agentic_mesh_protocol.setup.v1.SetupService', rpc_method_handlers)


 # This class is part of an EXPERIMENTAL API.
class SetupService(object):
    """SetupService
    Provides operations for setups and setup versions.
    """

    @staticmethod
    def CreateSetup(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(
            request,
            target,
            '/agentic_mesh_protocol.setup.v1.SetupService/CreateSetup',
            agentic__mesh__protocol_dot_setup_dot_v1_dot_setup__pb2.CreateSetupRequest.SerializeToString,
            agentic__mesh__protocol_dot_setup_dot_v1_dot_setup__pb2.CreateSetupResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def GetSetup(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(
            request,
            target,
            '/agentic_mesh_protocol.setup.v1.SetupService/GetSetup',
            agentic__mesh__protocol_dot_setup_dot_v1_dot_setup__pb2.GetSetupRequest.SerializeToString,
            agentic__mesh__protocol_dot_setup_dot_v1_dot_setup__pb2.GetSetupResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def UpdateSetup(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(
            request,
            target,
            '/agentic_mesh_protocol.setup.v1.SetupService/UpdateSetup',
            agentic__mesh__protocol_dot_setup_dot_v1_dot_setup__pb2.UpdateSetupRequest.SerializeToString,
            agentic__mesh__protocol_dot_setup_dot_v1_dot_setup__pb2.UpdateSetupResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def DeleteSetup(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(
            request,
            target,
            '/agentic_mesh_protocol.setup.v1.SetupService/DeleteSetup',
            agentic__mesh__protocol_dot_setup_dot_v1_dot_setup__pb2.DeleteSetupRequest.SerializeToString,
            agentic__mesh__protocol_dot_setup_dot_v1_dot_setup__pb2.DeleteSetupResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def CreateSetupVersion(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(
            request,
            target,
            '/agentic_mesh_protocol.setup.v1.SetupService/CreateSetupVersion',
            agentic__mesh__protocol_dot_setup_dot_v1_dot_setup__pb2.CreateSetupVersionRequest.SerializeToString,
            agentic__mesh__protocol_dot_setup_dot_v1_dot_setup__pb2.CreateSetupVersionResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def GetSetupVersion(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(
            request,
            target,
            '/agentic_mesh_protocol.setup.v1.SetupService/GetSetupVersion',
            agentic__mesh__protocol_dot_setup_dot_v1_dot_setup__pb2.GetSetupVersionRequest.SerializeToString,
            agentic__mesh__protocol_dot_setup_dot_v1_dot_setup__pb2.GetSetupVersionResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def SearchSetupVersions(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(
            request,
            target,
            '/agentic_mesh_protocol.setup.v1.SetupService/SearchSetupVersions',
            agentic__mesh__protocol_dot_setup_dot_v1_dot_setup__pb2.SearchSetupVersionsRequest.SerializeToString,
            agentic__mesh__protocol_dot_setup_dot_v1_dot_setup__pb2.SearchSetupVersionsResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def UpdateSetupVersion(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(
            request,
            target,
            '/agentic_mesh_protocol.setup.v1.SetupService/UpdateSetupVersion',
            agentic__mesh__protocol_dot_setup_dot_v1_dot_setup__pb2.UpdateSetupVersionRequest.SerializeToString,
            agentic__mesh__protocol_dot_setup_dot_v1_dot_setup__pb2.UpdateSetupVersionResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def DeleteSetupVersion(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(
            request,
            target,
            '/agentic_mesh_protocol.setup.v1.SetupService/DeleteSetupVersion',
            agentic__mesh__protocol_dot_setup_dot_v1_dot_setup__pb2.DeleteSetupVersionRequest.SerializeToString,
            agentic__mesh__protocol_dot_setup_dot_v1_dot_setup__pb2.DeleteSetupVersionResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def ListSetups(request,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.unary_unary(
            request,
            target,
            '/agentic_mesh_protocol.setup.v1.SetupService/ListSetups',
            agentic__mesh__protocol_dot_setup_dot_v1_dot_setup__pb2.ListSetupsRequest.SerializeToString,
            agentic__mesh__protocol_dot_setup_dot_v1_dot_setup__pb2.ListSetupsResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)
