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

from arista.inventory.v1.services import gen_pb2 as arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2


class DeviceServiceStub(object):
    """Missing associated documentation comment in .proto file."""

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

        Args:
            channel: A grpc.Channel.
        """
        self.GetOne = channel.unary_unary(
                '/arista.inventory.v1.DeviceService/GetOne',
                request_serializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceRequest.SerializeToString,
                response_deserializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceResponse.FromString,
                )
        self.GetAll = channel.unary_stream(
                '/arista.inventory.v1.DeviceService/GetAll',
                request_serializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceStreamRequest.SerializeToString,
                response_deserializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceStreamResponse.FromString,
                )
        self.Subscribe = channel.unary_stream(
                '/arista.inventory.v1.DeviceService/Subscribe',
                request_serializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceStreamRequest.SerializeToString,
                response_deserializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceStreamResponse.FromString,
                )


class DeviceServiceServicer(object):
    """Missing associated documentation comment in .proto file."""

    def GetOne(self, request, context):
        """Missing associated documentation comment in .proto file."""
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def GetAll(self, request, context):
        """Missing associated documentation comment in .proto file."""
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def Subscribe(self, request, context):
        """Missing associated documentation comment in .proto file."""
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')


def add_DeviceServiceServicer_to_server(servicer, server):
    rpc_method_handlers = {
            'GetOne': grpc.unary_unary_rpc_method_handler(
                    servicer.GetOne,
                    request_deserializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceRequest.FromString,
                    response_serializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceResponse.SerializeToString,
            ),
            'GetAll': grpc.unary_stream_rpc_method_handler(
                    servicer.GetAll,
                    request_deserializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceStreamRequest.FromString,
                    response_serializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceStreamResponse.SerializeToString,
            ),
            'Subscribe': grpc.unary_stream_rpc_method_handler(
                    servicer.Subscribe,
                    request_deserializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceStreamRequest.FromString,
                    response_serializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceStreamResponse.SerializeToString,
            ),
    }
    generic_handler = grpc.method_handlers_generic_handler(
            'arista.inventory.v1.DeviceService', rpc_method_handlers)
    server.add_generic_rpc_handlers((generic_handler,))


 # This class is part of an EXPERIMENTAL API.
class DeviceService(object):
    """Missing associated documentation comment in .proto file."""

    @staticmethod
    def GetOne(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, '/arista.inventory.v1.DeviceService/GetOne',
            arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceRequest.SerializeToString,
            arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceResponse.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

    @staticmethod
    def GetAll(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_stream(request, target, '/arista.inventory.v1.DeviceService/GetAll',
            arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceStreamRequest.SerializeToString,
            arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceStreamResponse.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

    @staticmethod
    def Subscribe(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_stream(request, target, '/arista.inventory.v1.DeviceService/Subscribe',
            arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceStreamRequest.SerializeToString,
            arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceStreamResponse.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)


class DeviceDecommissioningServiceStub(object):
    """Missing associated documentation comment in .proto file."""

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

        Args:
            channel: A grpc.Channel.
        """
        self.GetOne = channel.unary_unary(
                '/arista.inventory.v1.DeviceDecommissioningService/GetOne',
                request_serializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceDecommissioningRequest.SerializeToString,
                response_deserializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceDecommissioningResponse.FromString,
                )
        self.GetAll = channel.unary_stream(
                '/arista.inventory.v1.DeviceDecommissioningService/GetAll',
                request_serializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceDecommissioningStreamRequest.SerializeToString,
                response_deserializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceDecommissioningStreamResponse.FromString,
                )
        self.Subscribe = channel.unary_stream(
                '/arista.inventory.v1.DeviceDecommissioningService/Subscribe',
                request_serializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceDecommissioningStreamRequest.SerializeToString,
                response_deserializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceDecommissioningStreamResponse.FromString,
                )


class DeviceDecommissioningServiceServicer(object):
    """Missing associated documentation comment in .proto file."""

    def GetOne(self, request, context):
        """Missing associated documentation comment in .proto file."""
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def GetAll(self, request, context):
        """Missing associated documentation comment in .proto file."""
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def Subscribe(self, request, context):
        """Missing associated documentation comment in .proto file."""
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')


def add_DeviceDecommissioningServiceServicer_to_server(servicer, server):
    rpc_method_handlers = {
            'GetOne': grpc.unary_unary_rpc_method_handler(
                    servicer.GetOne,
                    request_deserializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceDecommissioningRequest.FromString,
                    response_serializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceDecommissioningResponse.SerializeToString,
            ),
            'GetAll': grpc.unary_stream_rpc_method_handler(
                    servicer.GetAll,
                    request_deserializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceDecommissioningStreamRequest.FromString,
                    response_serializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceDecommissioningStreamResponse.SerializeToString,
            ),
            'Subscribe': grpc.unary_stream_rpc_method_handler(
                    servicer.Subscribe,
                    request_deserializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceDecommissioningStreamRequest.FromString,
                    response_serializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceDecommissioningStreamResponse.SerializeToString,
            ),
    }
    generic_handler = grpc.method_handlers_generic_handler(
            'arista.inventory.v1.DeviceDecommissioningService', rpc_method_handlers)
    server.add_generic_rpc_handlers((generic_handler,))


 # This class is part of an EXPERIMENTAL API.
class DeviceDecommissioningService(object):
    """Missing associated documentation comment in .proto file."""

    @staticmethod
    def GetOne(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, '/arista.inventory.v1.DeviceDecommissioningService/GetOne',
            arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceDecommissioningRequest.SerializeToString,
            arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceDecommissioningResponse.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

    @staticmethod
    def GetAll(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_stream(request, target, '/arista.inventory.v1.DeviceDecommissioningService/GetAll',
            arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceDecommissioningStreamRequest.SerializeToString,
            arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceDecommissioningStreamResponse.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

    @staticmethod
    def Subscribe(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_stream(request, target, '/arista.inventory.v1.DeviceDecommissioningService/Subscribe',
            arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceDecommissioningStreamRequest.SerializeToString,
            arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceDecommissioningStreamResponse.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)


class DeviceDecommissioningConfigServiceStub(object):
    """Missing associated documentation comment in .proto file."""

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

        Args:
            channel: A grpc.Channel.
        """
        self.GetOne = channel.unary_unary(
                '/arista.inventory.v1.DeviceDecommissioningConfigService/GetOne',
                request_serializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceDecommissioningConfigRequest.SerializeToString,
                response_deserializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceDecommissioningConfigResponse.FromString,
                )
        self.GetAll = channel.unary_stream(
                '/arista.inventory.v1.DeviceDecommissioningConfigService/GetAll',
                request_serializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceDecommissioningConfigStreamRequest.SerializeToString,
                response_deserializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceDecommissioningConfigStreamResponse.FromString,
                )
        self.Subscribe = channel.unary_stream(
                '/arista.inventory.v1.DeviceDecommissioningConfigService/Subscribe',
                request_serializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceDecommissioningConfigStreamRequest.SerializeToString,
                response_deserializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceDecommissioningConfigStreamResponse.FromString,
                )
        self.Set = channel.unary_unary(
                '/arista.inventory.v1.DeviceDecommissioningConfigService/Set',
                request_serializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceDecommissioningConfigSetRequest.SerializeToString,
                response_deserializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceDecommissioningConfigSetResponse.FromString,
                )
        self.Delete = channel.unary_unary(
                '/arista.inventory.v1.DeviceDecommissioningConfigService/Delete',
                request_serializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceDecommissioningConfigDeleteRequest.SerializeToString,
                response_deserializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceDecommissioningConfigDeleteResponse.FromString,
                )


class DeviceDecommissioningConfigServiceServicer(object):
    """Missing associated documentation comment in .proto file."""

    def GetOne(self, request, context):
        """Missing associated documentation comment in .proto file."""
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def GetAll(self, request, context):
        """Missing associated documentation comment in .proto file."""
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def Subscribe(self, request, context):
        """Missing associated documentation comment in .proto file."""
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def Set(self, request, context):
        """Missing associated documentation comment in .proto file."""
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def Delete(self, request, context):
        """Missing associated documentation comment in .proto file."""
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')


def add_DeviceDecommissioningConfigServiceServicer_to_server(servicer, server):
    rpc_method_handlers = {
            'GetOne': grpc.unary_unary_rpc_method_handler(
                    servicer.GetOne,
                    request_deserializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceDecommissioningConfigRequest.FromString,
                    response_serializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceDecommissioningConfigResponse.SerializeToString,
            ),
            'GetAll': grpc.unary_stream_rpc_method_handler(
                    servicer.GetAll,
                    request_deserializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceDecommissioningConfigStreamRequest.FromString,
                    response_serializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceDecommissioningConfigStreamResponse.SerializeToString,
            ),
            'Subscribe': grpc.unary_stream_rpc_method_handler(
                    servicer.Subscribe,
                    request_deserializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceDecommissioningConfigStreamRequest.FromString,
                    response_serializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceDecommissioningConfigStreamResponse.SerializeToString,
            ),
            'Set': grpc.unary_unary_rpc_method_handler(
                    servicer.Set,
                    request_deserializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceDecommissioningConfigSetRequest.FromString,
                    response_serializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceDecommissioningConfigSetResponse.SerializeToString,
            ),
            'Delete': grpc.unary_unary_rpc_method_handler(
                    servicer.Delete,
                    request_deserializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceDecommissioningConfigDeleteRequest.FromString,
                    response_serializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceDecommissioningConfigDeleteResponse.SerializeToString,
            ),
    }
    generic_handler = grpc.method_handlers_generic_handler(
            'arista.inventory.v1.DeviceDecommissioningConfigService', rpc_method_handlers)
    server.add_generic_rpc_handlers((generic_handler,))


 # This class is part of an EXPERIMENTAL API.
class DeviceDecommissioningConfigService(object):
    """Missing associated documentation comment in .proto file."""

    @staticmethod
    def GetOne(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, '/arista.inventory.v1.DeviceDecommissioningConfigService/GetOne',
            arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceDecommissioningConfigRequest.SerializeToString,
            arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceDecommissioningConfigResponse.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

    @staticmethod
    def GetAll(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_stream(request, target, '/arista.inventory.v1.DeviceDecommissioningConfigService/GetAll',
            arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceDecommissioningConfigStreamRequest.SerializeToString,
            arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceDecommissioningConfigStreamResponse.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

    @staticmethod
    def Subscribe(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_stream(request, target, '/arista.inventory.v1.DeviceDecommissioningConfigService/Subscribe',
            arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceDecommissioningConfigStreamRequest.SerializeToString,
            arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceDecommissioningConfigStreamResponse.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

    @staticmethod
    def Set(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, '/arista.inventory.v1.DeviceDecommissioningConfigService/Set',
            arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceDecommissioningConfigSetRequest.SerializeToString,
            arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceDecommissioningConfigSetResponse.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

    @staticmethod
    def Delete(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, '/arista.inventory.v1.DeviceDecommissioningConfigService/Delete',
            arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceDecommissioningConfigDeleteRequest.SerializeToString,
            arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceDecommissioningConfigDeleteResponse.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)


class DeviceOnboardingServiceStub(object):
    """Missing associated documentation comment in .proto file."""

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

        Args:
            channel: A grpc.Channel.
        """
        self.GetOne = channel.unary_unary(
                '/arista.inventory.v1.DeviceOnboardingService/GetOne',
                request_serializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceOnboardingRequest.SerializeToString,
                response_deserializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceOnboardingResponse.FromString,
                )
        self.GetAll = channel.unary_stream(
                '/arista.inventory.v1.DeviceOnboardingService/GetAll',
                request_serializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceOnboardingStreamRequest.SerializeToString,
                response_deserializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceOnboardingStreamResponse.FromString,
                )
        self.Subscribe = channel.unary_stream(
                '/arista.inventory.v1.DeviceOnboardingService/Subscribe',
                request_serializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceOnboardingStreamRequest.SerializeToString,
                response_deserializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceOnboardingStreamResponse.FromString,
                )


class DeviceOnboardingServiceServicer(object):
    """Missing associated documentation comment in .proto file."""

    def GetOne(self, request, context):
        """Missing associated documentation comment in .proto file."""
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def GetAll(self, request, context):
        """Missing associated documentation comment in .proto file."""
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def Subscribe(self, request, context):
        """Missing associated documentation comment in .proto file."""
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')


def add_DeviceOnboardingServiceServicer_to_server(servicer, server):
    rpc_method_handlers = {
            'GetOne': grpc.unary_unary_rpc_method_handler(
                    servicer.GetOne,
                    request_deserializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceOnboardingRequest.FromString,
                    response_serializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceOnboardingResponse.SerializeToString,
            ),
            'GetAll': grpc.unary_stream_rpc_method_handler(
                    servicer.GetAll,
                    request_deserializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceOnboardingStreamRequest.FromString,
                    response_serializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceOnboardingStreamResponse.SerializeToString,
            ),
            'Subscribe': grpc.unary_stream_rpc_method_handler(
                    servicer.Subscribe,
                    request_deserializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceOnboardingStreamRequest.FromString,
                    response_serializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceOnboardingStreamResponse.SerializeToString,
            ),
    }
    generic_handler = grpc.method_handlers_generic_handler(
            'arista.inventory.v1.DeviceOnboardingService', rpc_method_handlers)
    server.add_generic_rpc_handlers((generic_handler,))


 # This class is part of an EXPERIMENTAL API.
class DeviceOnboardingService(object):
    """Missing associated documentation comment in .proto file."""

    @staticmethod
    def GetOne(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, '/arista.inventory.v1.DeviceOnboardingService/GetOne',
            arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceOnboardingRequest.SerializeToString,
            arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceOnboardingResponse.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

    @staticmethod
    def GetAll(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_stream(request, target, '/arista.inventory.v1.DeviceOnboardingService/GetAll',
            arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceOnboardingStreamRequest.SerializeToString,
            arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceOnboardingStreamResponse.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

    @staticmethod
    def Subscribe(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_stream(request, target, '/arista.inventory.v1.DeviceOnboardingService/Subscribe',
            arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceOnboardingStreamRequest.SerializeToString,
            arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceOnboardingStreamResponse.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)


class DeviceOnboardingConfigServiceStub(object):
    """Missing associated documentation comment in .proto file."""

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

        Args:
            channel: A grpc.Channel.
        """
        self.GetOne = channel.unary_unary(
                '/arista.inventory.v1.DeviceOnboardingConfigService/GetOne',
                request_serializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceOnboardingConfigRequest.SerializeToString,
                response_deserializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceOnboardingConfigResponse.FromString,
                )
        self.GetAll = channel.unary_stream(
                '/arista.inventory.v1.DeviceOnboardingConfigService/GetAll',
                request_serializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceOnboardingConfigStreamRequest.SerializeToString,
                response_deserializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceOnboardingConfigStreamResponse.FromString,
                )
        self.Subscribe = channel.unary_stream(
                '/arista.inventory.v1.DeviceOnboardingConfigService/Subscribe',
                request_serializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceOnboardingConfigStreamRequest.SerializeToString,
                response_deserializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceOnboardingConfigStreamResponse.FromString,
                )
        self.Set = channel.unary_unary(
                '/arista.inventory.v1.DeviceOnboardingConfigService/Set',
                request_serializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceOnboardingConfigSetRequest.SerializeToString,
                response_deserializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceOnboardingConfigSetResponse.FromString,
                )
        self.Delete = channel.unary_unary(
                '/arista.inventory.v1.DeviceOnboardingConfigService/Delete',
                request_serializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceOnboardingConfigDeleteRequest.SerializeToString,
                response_deserializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceOnboardingConfigDeleteResponse.FromString,
                )


class DeviceOnboardingConfigServiceServicer(object):
    """Missing associated documentation comment in .proto file."""

    def GetOne(self, request, context):
        """Missing associated documentation comment in .proto file."""
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def GetAll(self, request, context):
        """Missing associated documentation comment in .proto file."""
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def Subscribe(self, request, context):
        """Missing associated documentation comment in .proto file."""
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def Set(self, request, context):
        """Missing associated documentation comment in .proto file."""
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def Delete(self, request, context):
        """Missing associated documentation comment in .proto file."""
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')


def add_DeviceOnboardingConfigServiceServicer_to_server(servicer, server):
    rpc_method_handlers = {
            'GetOne': grpc.unary_unary_rpc_method_handler(
                    servicer.GetOne,
                    request_deserializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceOnboardingConfigRequest.FromString,
                    response_serializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceOnboardingConfigResponse.SerializeToString,
            ),
            'GetAll': grpc.unary_stream_rpc_method_handler(
                    servicer.GetAll,
                    request_deserializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceOnboardingConfigStreamRequest.FromString,
                    response_serializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceOnboardingConfigStreamResponse.SerializeToString,
            ),
            'Subscribe': grpc.unary_stream_rpc_method_handler(
                    servicer.Subscribe,
                    request_deserializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceOnboardingConfigStreamRequest.FromString,
                    response_serializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceOnboardingConfigStreamResponse.SerializeToString,
            ),
            'Set': grpc.unary_unary_rpc_method_handler(
                    servicer.Set,
                    request_deserializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceOnboardingConfigSetRequest.FromString,
                    response_serializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceOnboardingConfigSetResponse.SerializeToString,
            ),
            'Delete': grpc.unary_unary_rpc_method_handler(
                    servicer.Delete,
                    request_deserializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceOnboardingConfigDeleteRequest.FromString,
                    response_serializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceOnboardingConfigDeleteResponse.SerializeToString,
            ),
    }
    generic_handler = grpc.method_handlers_generic_handler(
            'arista.inventory.v1.DeviceOnboardingConfigService', rpc_method_handlers)
    server.add_generic_rpc_handlers((generic_handler,))


 # This class is part of an EXPERIMENTAL API.
class DeviceOnboardingConfigService(object):
    """Missing associated documentation comment in .proto file."""

    @staticmethod
    def GetOne(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, '/arista.inventory.v1.DeviceOnboardingConfigService/GetOne',
            arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceOnboardingConfigRequest.SerializeToString,
            arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceOnboardingConfigResponse.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

    @staticmethod
    def GetAll(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_stream(request, target, '/arista.inventory.v1.DeviceOnboardingConfigService/GetAll',
            arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceOnboardingConfigStreamRequest.SerializeToString,
            arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceOnboardingConfigStreamResponse.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

    @staticmethod
    def Subscribe(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_stream(request, target, '/arista.inventory.v1.DeviceOnboardingConfigService/Subscribe',
            arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceOnboardingConfigStreamRequest.SerializeToString,
            arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceOnboardingConfigStreamResponse.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

    @staticmethod
    def Set(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, '/arista.inventory.v1.DeviceOnboardingConfigService/Set',
            arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceOnboardingConfigSetRequest.SerializeToString,
            arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceOnboardingConfigSetResponse.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

    @staticmethod
    def Delete(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, '/arista.inventory.v1.DeviceOnboardingConfigService/Delete',
            arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceOnboardingConfigDeleteRequest.SerializeToString,
            arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.DeviceOnboardingConfigDeleteResponse.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)


class ProvisionedDeviceServiceStub(object):
    """Missing associated documentation comment in .proto file."""

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

        Args:
            channel: A grpc.Channel.
        """
        self.GetOne = channel.unary_unary(
                '/arista.inventory.v1.ProvisionedDeviceService/GetOne',
                request_serializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.ProvisionedDeviceRequest.SerializeToString,
                response_deserializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.ProvisionedDeviceResponse.FromString,
                )
        self.GetAll = channel.unary_stream(
                '/arista.inventory.v1.ProvisionedDeviceService/GetAll',
                request_serializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.ProvisionedDeviceStreamRequest.SerializeToString,
                response_deserializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.ProvisionedDeviceStreamResponse.FromString,
                )
        self.Subscribe = channel.unary_stream(
                '/arista.inventory.v1.ProvisionedDeviceService/Subscribe',
                request_serializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.ProvisionedDeviceStreamRequest.SerializeToString,
                response_deserializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.ProvisionedDeviceStreamResponse.FromString,
                )


class ProvisionedDeviceServiceServicer(object):
    """Missing associated documentation comment in .proto file."""

    def GetOne(self, request, context):
        """Missing associated documentation comment in .proto file."""
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def GetAll(self, request, context):
        """Missing associated documentation comment in .proto file."""
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')

    def Subscribe(self, request, context):
        """Missing associated documentation comment in .proto file."""
        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
        context.set_details('Method not implemented!')
        raise NotImplementedError('Method not implemented!')


def add_ProvisionedDeviceServiceServicer_to_server(servicer, server):
    rpc_method_handlers = {
            'GetOne': grpc.unary_unary_rpc_method_handler(
                    servicer.GetOne,
                    request_deserializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.ProvisionedDeviceRequest.FromString,
                    response_serializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.ProvisionedDeviceResponse.SerializeToString,
            ),
            'GetAll': grpc.unary_stream_rpc_method_handler(
                    servicer.GetAll,
                    request_deserializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.ProvisionedDeviceStreamRequest.FromString,
                    response_serializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.ProvisionedDeviceStreamResponse.SerializeToString,
            ),
            'Subscribe': grpc.unary_stream_rpc_method_handler(
                    servicer.Subscribe,
                    request_deserializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.ProvisionedDeviceStreamRequest.FromString,
                    response_serializer=arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.ProvisionedDeviceStreamResponse.SerializeToString,
            ),
    }
    generic_handler = grpc.method_handlers_generic_handler(
            'arista.inventory.v1.ProvisionedDeviceService', rpc_method_handlers)
    server.add_generic_rpc_handlers((generic_handler,))


 # This class is part of an EXPERIMENTAL API.
class ProvisionedDeviceService(object):
    """Missing associated documentation comment in .proto file."""

    @staticmethod
    def GetOne(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, '/arista.inventory.v1.ProvisionedDeviceService/GetOne',
            arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.ProvisionedDeviceRequest.SerializeToString,
            arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.ProvisionedDeviceResponse.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

    @staticmethod
    def GetAll(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_stream(request, target, '/arista.inventory.v1.ProvisionedDeviceService/GetAll',
            arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.ProvisionedDeviceStreamRequest.SerializeToString,
            arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.ProvisionedDeviceStreamResponse.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

    @staticmethod
    def Subscribe(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_stream(request, target, '/arista.inventory.v1.ProvisionedDeviceService/Subscribe',
            arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.ProvisionedDeviceStreamRequest.SerializeToString,
            arista_dot_inventory_dot_v1_dot_services_dot_gen__pb2.ProvisionedDeviceStreamResponse.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
