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

from arista.tag.v1.services import gen_pb2 as arista_dot_tag_dot_v1_dot_services_dot_gen__pb2


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

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

    Args:
      channel: A grpc.Channel.
    """
    self.GetOne = channel.unary_unary(
        '/arista.tag.v1.DeviceTagService/GetOne',
        request_serializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.DeviceTagRequest.SerializeToString,
        response_deserializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.DeviceTagResponse.FromString,
        )
    self.GetAll = channel.unary_stream(
        '/arista.tag.v1.DeviceTagService/GetAll',
        request_serializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.DeviceTagStreamRequest.SerializeToString,
        response_deserializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.DeviceTagStreamResponse.FromString,
        )
    self.Subscribe = channel.unary_stream(
        '/arista.tag.v1.DeviceTagService/Subscribe',
        request_serializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.DeviceTagStreamRequest.SerializeToString,
        response_deserializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.DeviceTagStreamResponse.FromString,
        )


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

  def GetOne(self, request, context):
    """GetOne returns a unary model as specified by the key in the request.
    The key must be provided and all fields populated (unless otherwise specified).
    """
    context.set_code(grpc.StatusCode.UNIMPLEMENTED)
    context.set_details('Method not implemented!')
    raise NotImplementedError('Method not implemented!')

  def GetAll(self, request, context):
    """GetAll returns all entities for this model, with optional filtering.
    """
    context.set_code(grpc.StatusCode.UNIMPLEMENTED)
    context.set_details('Method not implemented!')
    raise NotImplementedError('Method not implemented!')

  def Subscribe(self, request, context):
    """Subscribe first returns all initial state known to the system,
    then will send deltas as entities are changed.
    """
    context.set_code(grpc.StatusCode.UNIMPLEMENTED)
    context.set_details('Method not implemented!')
    raise NotImplementedError('Method not implemented!')


def add_DeviceTagServiceServicer_to_server(servicer, server):
  rpc_method_handlers = {
      'GetOne': grpc.unary_unary_rpc_method_handler(
          servicer.GetOne,
          request_deserializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.DeviceTagRequest.FromString,
          response_serializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.DeviceTagResponse.SerializeToString,
      ),
      'GetAll': grpc.unary_stream_rpc_method_handler(
          servicer.GetAll,
          request_deserializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.DeviceTagStreamRequest.FromString,
          response_serializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.DeviceTagStreamResponse.SerializeToString,
      ),
      'Subscribe': grpc.unary_stream_rpc_method_handler(
          servicer.Subscribe,
          request_deserializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.DeviceTagStreamRequest.FromString,
          response_serializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.DeviceTagStreamResponse.SerializeToString,
      ),
  }
  generic_handler = grpc.method_handlers_generic_handler(
      'arista.tag.v1.DeviceTagService', rpc_method_handlers)
  server.add_generic_rpc_handlers((generic_handler,))


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

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

    Args:
      channel: A grpc.Channel.
    """
    self.GetOne = channel.unary_unary(
        '/arista.tag.v1.DeviceTagAssignmentConfigService/GetOne',
        request_serializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.DeviceTagAssignmentConfigRequest.SerializeToString,
        response_deserializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.DeviceTagAssignmentConfigResponse.FromString,
        )
    self.GetAll = channel.unary_stream(
        '/arista.tag.v1.DeviceTagAssignmentConfigService/GetAll',
        request_serializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.DeviceTagAssignmentConfigStreamRequest.SerializeToString,
        response_deserializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.DeviceTagAssignmentConfigStreamResponse.FromString,
        )
    self.Subscribe = channel.unary_stream(
        '/arista.tag.v1.DeviceTagAssignmentConfigService/Subscribe',
        request_serializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.DeviceTagAssignmentConfigStreamRequest.SerializeToString,
        response_deserializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.DeviceTagAssignmentConfigStreamResponse.FromString,
        )
    self.Set = channel.unary_unary(
        '/arista.tag.v1.DeviceTagAssignmentConfigService/Set',
        request_serializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.DeviceTagAssignmentConfigSetRequest.SerializeToString,
        response_deserializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.DeviceTagAssignmentConfigSetResponse.FromString,
        )
    self.Delete = channel.unary_unary(
        '/arista.tag.v1.DeviceTagAssignmentConfigService/Delete',
        request_serializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.DeviceTagAssignmentConfigDeleteRequest.SerializeToString,
        response_deserializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.DeviceTagAssignmentConfigDeleteResponse.FromString,
        )


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

  def GetOne(self, request, context):
    """GetOne returns a unary model as specified by the key in the request.
    The key must be provided and all fields populated (unless otherwise specified).
    """
    context.set_code(grpc.StatusCode.UNIMPLEMENTED)
    context.set_details('Method not implemented!')
    raise NotImplementedError('Method not implemented!')

  def GetAll(self, request, context):
    """GetAll returns all entities for this model, with optional filtering.
    """
    context.set_code(grpc.StatusCode.UNIMPLEMENTED)
    context.set_details('Method not implemented!')
    raise NotImplementedError('Method not implemented!')

  def Subscribe(self, request, context):
    """Subscribe first returns all initial state known to the system,
    then will send deltas as entities are changed.
    """
    context.set_code(grpc.StatusCode.UNIMPLEMENTED)
    context.set_details('Method not implemented!')
    raise NotImplementedError('Method not implemented!')

  def Set(self, request, context):
    """Set allows setting values for the entity specified by the key in the request.
    The key must be provided and all fields set (unless otherwise specified).
    """
    context.set_code(grpc.StatusCode.UNIMPLEMENTED)
    context.set_details('Method not implemented!')
    raise NotImplementedError('Method not implemented!')

  def Delete(self, request, context):
    """Delete will remove the entity specified by the key within the request.
    The key must be provided and all fields populated (unless otherwise specified).
    """
    context.set_code(grpc.StatusCode.UNIMPLEMENTED)
    context.set_details('Method not implemented!')
    raise NotImplementedError('Method not implemented!')


def add_DeviceTagAssignmentConfigServiceServicer_to_server(servicer, server):
  rpc_method_handlers = {
      'GetOne': grpc.unary_unary_rpc_method_handler(
          servicer.GetOne,
          request_deserializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.DeviceTagAssignmentConfigRequest.FromString,
          response_serializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.DeviceTagAssignmentConfigResponse.SerializeToString,
      ),
      'GetAll': grpc.unary_stream_rpc_method_handler(
          servicer.GetAll,
          request_deserializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.DeviceTagAssignmentConfigStreamRequest.FromString,
          response_serializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.DeviceTagAssignmentConfigStreamResponse.SerializeToString,
      ),
      'Subscribe': grpc.unary_stream_rpc_method_handler(
          servicer.Subscribe,
          request_deserializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.DeviceTagAssignmentConfigStreamRequest.FromString,
          response_serializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.DeviceTagAssignmentConfigStreamResponse.SerializeToString,
      ),
      'Set': grpc.unary_unary_rpc_method_handler(
          servicer.Set,
          request_deserializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.DeviceTagAssignmentConfigSetRequest.FromString,
          response_serializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.DeviceTagAssignmentConfigSetResponse.SerializeToString,
      ),
      'Delete': grpc.unary_unary_rpc_method_handler(
          servicer.Delete,
          request_deserializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.DeviceTagAssignmentConfigDeleteRequest.FromString,
          response_serializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.DeviceTagAssignmentConfigDeleteResponse.SerializeToString,
      ),
  }
  generic_handler = grpc.method_handlers_generic_handler(
      'arista.tag.v1.DeviceTagAssignmentConfigService', rpc_method_handlers)
  server.add_generic_rpc_handlers((generic_handler,))


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

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

    Args:
      channel: A grpc.Channel.
    """
    self.GetOne = channel.unary_unary(
        '/arista.tag.v1.DeviceTagConfigService/GetOne',
        request_serializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.DeviceTagConfigRequest.SerializeToString,
        response_deserializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.DeviceTagConfigResponse.FromString,
        )
    self.GetAll = channel.unary_stream(
        '/arista.tag.v1.DeviceTagConfigService/GetAll',
        request_serializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.DeviceTagConfigStreamRequest.SerializeToString,
        response_deserializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.DeviceTagConfigStreamResponse.FromString,
        )
    self.Subscribe = channel.unary_stream(
        '/arista.tag.v1.DeviceTagConfigService/Subscribe',
        request_serializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.DeviceTagConfigStreamRequest.SerializeToString,
        response_deserializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.DeviceTagConfigStreamResponse.FromString,
        )
    self.Set = channel.unary_unary(
        '/arista.tag.v1.DeviceTagConfigService/Set',
        request_serializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.DeviceTagConfigSetRequest.SerializeToString,
        response_deserializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.DeviceTagConfigSetResponse.FromString,
        )
    self.Delete = channel.unary_unary(
        '/arista.tag.v1.DeviceTagConfigService/Delete',
        request_serializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.DeviceTagConfigDeleteRequest.SerializeToString,
        response_deserializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.DeviceTagConfigDeleteResponse.FromString,
        )


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

  def GetOne(self, request, context):
    """GetOne returns a unary model as specified by the key in the request.
    The key must be provided and all fields populated (unless otherwise specified).
    """
    context.set_code(grpc.StatusCode.UNIMPLEMENTED)
    context.set_details('Method not implemented!')
    raise NotImplementedError('Method not implemented!')

  def GetAll(self, request, context):
    """GetAll returns all entities for this model, with optional filtering.
    """
    context.set_code(grpc.StatusCode.UNIMPLEMENTED)
    context.set_details('Method not implemented!')
    raise NotImplementedError('Method not implemented!')

  def Subscribe(self, request, context):
    """Subscribe first returns all initial state known to the system,
    then will send deltas as entities are changed.
    """
    context.set_code(grpc.StatusCode.UNIMPLEMENTED)
    context.set_details('Method not implemented!')
    raise NotImplementedError('Method not implemented!')

  def Set(self, request, context):
    """Set allows setting values for the entity specified by the key in the request.
    The key must be provided and all fields set (unless otherwise specified).
    """
    context.set_code(grpc.StatusCode.UNIMPLEMENTED)
    context.set_details('Method not implemented!')
    raise NotImplementedError('Method not implemented!')

  def Delete(self, request, context):
    """Delete will remove the entity specified by the key within the request.
    The key must be provided and all fields populated (unless otherwise specified).
    """
    context.set_code(grpc.StatusCode.UNIMPLEMENTED)
    context.set_details('Method not implemented!')
    raise NotImplementedError('Method not implemented!')


def add_DeviceTagConfigServiceServicer_to_server(servicer, server):
  rpc_method_handlers = {
      'GetOne': grpc.unary_unary_rpc_method_handler(
          servicer.GetOne,
          request_deserializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.DeviceTagConfigRequest.FromString,
          response_serializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.DeviceTagConfigResponse.SerializeToString,
      ),
      'GetAll': grpc.unary_stream_rpc_method_handler(
          servicer.GetAll,
          request_deserializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.DeviceTagConfigStreamRequest.FromString,
          response_serializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.DeviceTagConfigStreamResponse.SerializeToString,
      ),
      'Subscribe': grpc.unary_stream_rpc_method_handler(
          servicer.Subscribe,
          request_deserializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.DeviceTagConfigStreamRequest.FromString,
          response_serializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.DeviceTagConfigStreamResponse.SerializeToString,
      ),
      'Set': grpc.unary_unary_rpc_method_handler(
          servicer.Set,
          request_deserializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.DeviceTagConfigSetRequest.FromString,
          response_serializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.DeviceTagConfigSetResponse.SerializeToString,
      ),
      'Delete': grpc.unary_unary_rpc_method_handler(
          servicer.Delete,
          request_deserializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.DeviceTagConfigDeleteRequest.FromString,
          response_serializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.DeviceTagConfigDeleteResponse.SerializeToString,
      ),
  }
  generic_handler = grpc.method_handlers_generic_handler(
      'arista.tag.v1.DeviceTagConfigService', rpc_method_handlers)
  server.add_generic_rpc_handlers((generic_handler,))


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

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

    Args:
      channel: A grpc.Channel.
    """
    self.GetOne = channel.unary_unary(
        '/arista.tag.v1.InterfaceTagService/GetOne',
        request_serializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.InterfaceTagRequest.SerializeToString,
        response_deserializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.InterfaceTagResponse.FromString,
        )
    self.GetAll = channel.unary_stream(
        '/arista.tag.v1.InterfaceTagService/GetAll',
        request_serializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.InterfaceTagStreamRequest.SerializeToString,
        response_deserializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.InterfaceTagStreamResponse.FromString,
        )
    self.Subscribe = channel.unary_stream(
        '/arista.tag.v1.InterfaceTagService/Subscribe',
        request_serializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.InterfaceTagStreamRequest.SerializeToString,
        response_deserializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.InterfaceTagStreamResponse.FromString,
        )


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

  def GetOne(self, request, context):
    """GetOne returns a unary model as specified by the key in the request.
    The key must be provided and all fields populated (unless otherwise specified).
    """
    context.set_code(grpc.StatusCode.UNIMPLEMENTED)
    context.set_details('Method not implemented!')
    raise NotImplementedError('Method not implemented!')

  def GetAll(self, request, context):
    """GetAll returns all entities for this model, with optional filtering.
    """
    context.set_code(grpc.StatusCode.UNIMPLEMENTED)
    context.set_details('Method not implemented!')
    raise NotImplementedError('Method not implemented!')

  def Subscribe(self, request, context):
    """Subscribe first returns all initial state known to the system,
    then will send deltas as entities are changed.
    """
    context.set_code(grpc.StatusCode.UNIMPLEMENTED)
    context.set_details('Method not implemented!')
    raise NotImplementedError('Method not implemented!')


def add_InterfaceTagServiceServicer_to_server(servicer, server):
  rpc_method_handlers = {
      'GetOne': grpc.unary_unary_rpc_method_handler(
          servicer.GetOne,
          request_deserializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.InterfaceTagRequest.FromString,
          response_serializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.InterfaceTagResponse.SerializeToString,
      ),
      'GetAll': grpc.unary_stream_rpc_method_handler(
          servicer.GetAll,
          request_deserializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.InterfaceTagStreamRequest.FromString,
          response_serializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.InterfaceTagStreamResponse.SerializeToString,
      ),
      'Subscribe': grpc.unary_stream_rpc_method_handler(
          servicer.Subscribe,
          request_deserializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.InterfaceTagStreamRequest.FromString,
          response_serializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.InterfaceTagStreamResponse.SerializeToString,
      ),
  }
  generic_handler = grpc.method_handlers_generic_handler(
      'arista.tag.v1.InterfaceTagService', rpc_method_handlers)
  server.add_generic_rpc_handlers((generic_handler,))


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

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

    Args:
      channel: A grpc.Channel.
    """
    self.GetOne = channel.unary_unary(
        '/arista.tag.v1.InterfaceTagAssignmentConfigService/GetOne',
        request_serializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.InterfaceTagAssignmentConfigRequest.SerializeToString,
        response_deserializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.InterfaceTagAssignmentConfigResponse.FromString,
        )
    self.GetAll = channel.unary_stream(
        '/arista.tag.v1.InterfaceTagAssignmentConfigService/GetAll',
        request_serializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.InterfaceTagAssignmentConfigStreamRequest.SerializeToString,
        response_deserializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.InterfaceTagAssignmentConfigStreamResponse.FromString,
        )
    self.Subscribe = channel.unary_stream(
        '/arista.tag.v1.InterfaceTagAssignmentConfigService/Subscribe',
        request_serializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.InterfaceTagAssignmentConfigStreamRequest.SerializeToString,
        response_deserializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.InterfaceTagAssignmentConfigStreamResponse.FromString,
        )
    self.Set = channel.unary_unary(
        '/arista.tag.v1.InterfaceTagAssignmentConfigService/Set',
        request_serializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.InterfaceTagAssignmentConfigSetRequest.SerializeToString,
        response_deserializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.InterfaceTagAssignmentConfigSetResponse.FromString,
        )
    self.Delete = channel.unary_unary(
        '/arista.tag.v1.InterfaceTagAssignmentConfigService/Delete',
        request_serializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.InterfaceTagAssignmentConfigDeleteRequest.SerializeToString,
        response_deserializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.InterfaceTagAssignmentConfigDeleteResponse.FromString,
        )


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

  def GetOne(self, request, context):
    """GetOne returns a unary model as specified by the key in the request.
    The key must be provided and all fields populated (unless otherwise specified).
    """
    context.set_code(grpc.StatusCode.UNIMPLEMENTED)
    context.set_details('Method not implemented!')
    raise NotImplementedError('Method not implemented!')

  def GetAll(self, request, context):
    """GetAll returns all entities for this model, with optional filtering.
    """
    context.set_code(grpc.StatusCode.UNIMPLEMENTED)
    context.set_details('Method not implemented!')
    raise NotImplementedError('Method not implemented!')

  def Subscribe(self, request, context):
    """Subscribe first returns all initial state known to the system,
    then will send deltas as entities are changed.
    """
    context.set_code(grpc.StatusCode.UNIMPLEMENTED)
    context.set_details('Method not implemented!')
    raise NotImplementedError('Method not implemented!')

  def Set(self, request, context):
    """Set allows setting values for the entity specified by the key in the request.
    The key must be provided and all fields set (unless otherwise specified).
    """
    context.set_code(grpc.StatusCode.UNIMPLEMENTED)
    context.set_details('Method not implemented!')
    raise NotImplementedError('Method not implemented!')

  def Delete(self, request, context):
    """Delete will remove the entity specified by the key within the request.
    The key must be provided and all fields populated (unless otherwise specified).
    """
    context.set_code(grpc.StatusCode.UNIMPLEMENTED)
    context.set_details('Method not implemented!')
    raise NotImplementedError('Method not implemented!')


def add_InterfaceTagAssignmentConfigServiceServicer_to_server(servicer, server):
  rpc_method_handlers = {
      'GetOne': grpc.unary_unary_rpc_method_handler(
          servicer.GetOne,
          request_deserializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.InterfaceTagAssignmentConfigRequest.FromString,
          response_serializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.InterfaceTagAssignmentConfigResponse.SerializeToString,
      ),
      'GetAll': grpc.unary_stream_rpc_method_handler(
          servicer.GetAll,
          request_deserializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.InterfaceTagAssignmentConfigStreamRequest.FromString,
          response_serializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.InterfaceTagAssignmentConfigStreamResponse.SerializeToString,
      ),
      'Subscribe': grpc.unary_stream_rpc_method_handler(
          servicer.Subscribe,
          request_deserializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.InterfaceTagAssignmentConfigStreamRequest.FromString,
          response_serializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.InterfaceTagAssignmentConfigStreamResponse.SerializeToString,
      ),
      'Set': grpc.unary_unary_rpc_method_handler(
          servicer.Set,
          request_deserializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.InterfaceTagAssignmentConfigSetRequest.FromString,
          response_serializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.InterfaceTagAssignmentConfigSetResponse.SerializeToString,
      ),
      'Delete': grpc.unary_unary_rpc_method_handler(
          servicer.Delete,
          request_deserializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.InterfaceTagAssignmentConfigDeleteRequest.FromString,
          response_serializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.InterfaceTagAssignmentConfigDeleteResponse.SerializeToString,
      ),
  }
  generic_handler = grpc.method_handlers_generic_handler(
      'arista.tag.v1.InterfaceTagAssignmentConfigService', rpc_method_handlers)
  server.add_generic_rpc_handlers((generic_handler,))


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

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

    Args:
      channel: A grpc.Channel.
    """
    self.GetOne = channel.unary_unary(
        '/arista.tag.v1.InterfaceTagConfigService/GetOne',
        request_serializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.InterfaceTagConfigRequest.SerializeToString,
        response_deserializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.InterfaceTagConfigResponse.FromString,
        )
    self.GetAll = channel.unary_stream(
        '/arista.tag.v1.InterfaceTagConfigService/GetAll',
        request_serializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.InterfaceTagConfigStreamRequest.SerializeToString,
        response_deserializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.InterfaceTagConfigStreamResponse.FromString,
        )
    self.Subscribe = channel.unary_stream(
        '/arista.tag.v1.InterfaceTagConfigService/Subscribe',
        request_serializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.InterfaceTagConfigStreamRequest.SerializeToString,
        response_deserializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.InterfaceTagConfigStreamResponse.FromString,
        )
    self.Set = channel.unary_unary(
        '/arista.tag.v1.InterfaceTagConfigService/Set',
        request_serializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.InterfaceTagConfigSetRequest.SerializeToString,
        response_deserializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.InterfaceTagConfigSetResponse.FromString,
        )
    self.Delete = channel.unary_unary(
        '/arista.tag.v1.InterfaceTagConfigService/Delete',
        request_serializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.InterfaceTagConfigDeleteRequest.SerializeToString,
        response_deserializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.InterfaceTagConfigDeleteResponse.FromString,
        )


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

  def GetOne(self, request, context):
    """GetOne returns a unary model as specified by the key in the request.
    The key must be provided and all fields populated (unless otherwise specified).
    """
    context.set_code(grpc.StatusCode.UNIMPLEMENTED)
    context.set_details('Method not implemented!')
    raise NotImplementedError('Method not implemented!')

  def GetAll(self, request, context):
    """GetAll returns all entities for this model, with optional filtering.
    """
    context.set_code(grpc.StatusCode.UNIMPLEMENTED)
    context.set_details('Method not implemented!')
    raise NotImplementedError('Method not implemented!')

  def Subscribe(self, request, context):
    """Subscribe first returns all initial state known to the system,
    then will send deltas as entities are changed.
    """
    context.set_code(grpc.StatusCode.UNIMPLEMENTED)
    context.set_details('Method not implemented!')
    raise NotImplementedError('Method not implemented!')

  def Set(self, request, context):
    """Set allows setting values for the entity specified by the key in the request.
    The key must be provided and all fields set (unless otherwise specified).
    """
    context.set_code(grpc.StatusCode.UNIMPLEMENTED)
    context.set_details('Method not implemented!')
    raise NotImplementedError('Method not implemented!')

  def Delete(self, request, context):
    """Delete will remove the entity specified by the key within the request.
    The key must be provided and all fields populated (unless otherwise specified).
    """
    context.set_code(grpc.StatusCode.UNIMPLEMENTED)
    context.set_details('Method not implemented!')
    raise NotImplementedError('Method not implemented!')


def add_InterfaceTagConfigServiceServicer_to_server(servicer, server):
  rpc_method_handlers = {
      'GetOne': grpc.unary_unary_rpc_method_handler(
          servicer.GetOne,
          request_deserializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.InterfaceTagConfigRequest.FromString,
          response_serializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.InterfaceTagConfigResponse.SerializeToString,
      ),
      'GetAll': grpc.unary_stream_rpc_method_handler(
          servicer.GetAll,
          request_deserializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.InterfaceTagConfigStreamRequest.FromString,
          response_serializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.InterfaceTagConfigStreamResponse.SerializeToString,
      ),
      'Subscribe': grpc.unary_stream_rpc_method_handler(
          servicer.Subscribe,
          request_deserializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.InterfaceTagConfigStreamRequest.FromString,
          response_serializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.InterfaceTagConfigStreamResponse.SerializeToString,
      ),
      'Set': grpc.unary_unary_rpc_method_handler(
          servicer.Set,
          request_deserializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.InterfaceTagConfigSetRequest.FromString,
          response_serializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.InterfaceTagConfigSetResponse.SerializeToString,
      ),
      'Delete': grpc.unary_unary_rpc_method_handler(
          servicer.Delete,
          request_deserializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.InterfaceTagConfigDeleteRequest.FromString,
          response_serializer=arista_dot_tag_dot_v1_dot_services_dot_gen__pb2.InterfaceTagConfigDeleteResponse.SerializeToString,
      ),
  }
  generic_handler = grpc.method_handlers_generic_handler(
      'arista.tag.v1.InterfaceTagConfigService', rpc_method_handlers)
  server.add_generic_rpc_handlers((generic_handler,))
