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

import schema_pb2 as schema__pb2


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

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

    Args:
      channel: A grpc.Channel.
    """
    self.Create = channel.unary_unary(
        '/proto2.CreateServices/Create',
        request_serializer=schema__pb2.CreateServicesRequest.SerializeToString,
        response_deserializer=schema__pb2.CreateServicesResponse.FromString,
        )


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

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


def add_CreateServicesServicer_to_server(servicer, server):
  rpc_method_handlers = {
      'Create': grpc.unary_unary_rpc_method_handler(
          servicer.Create,
          request_deserializer=schema__pb2.CreateServicesRequest.FromString,
          response_serializer=schema__pb2.CreateServicesResponse.SerializeToString,
      ),
  }
  generic_handler = grpc.method_handlers_generic_handler(
      'proto2.CreateServices', rpc_method_handlers)
  server.add_generic_rpc_handlers((generic_handler,))


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

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

    Args:
      channel: A grpc.Channel.
    """
    self.Get = channel.unary_unary(
        '/proto2.GetServices/Get',
        request_serializer=schema__pb2.GetServicesRequest.SerializeToString,
        response_deserializer=schema__pb2.GetServicesResponse.FromString,
        )


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

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


def add_GetServicesServicer_to_server(servicer, server):
  rpc_method_handlers = {
      'Get': grpc.unary_unary_rpc_method_handler(
          servicer.Get,
          request_deserializer=schema__pb2.GetServicesRequest.FromString,
          response_serializer=schema__pb2.GetServicesResponse.SerializeToString,
      ),
  }
  generic_handler = grpc.method_handlers_generic_handler(
      'proto2.GetServices', rpc_method_handlers)
  server.add_generic_rpc_handlers((generic_handler,))


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

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

    Args:
      channel: A grpc.Channel.
    """
    self.Get = channel.unary_unary(
        '/proto2.GetServiceById/Get',
        request_serializer=schema__pb2.GetServiceByIdRequest.SerializeToString,
        response_deserializer=schema__pb2.GetServiceByIdResponse.FromString,
        )


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

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


def add_GetServiceByIdServicer_to_server(servicer, server):
  rpc_method_handlers = {
      'Get': grpc.unary_unary_rpc_method_handler(
          servicer.Get,
          request_deserializer=schema__pb2.GetServiceByIdRequest.FromString,
          response_serializer=schema__pb2.GetServiceByIdResponse.SerializeToString,
      ),
  }
  generic_handler = grpc.method_handlers_generic_handler(
      'proto2.GetServiceById', rpc_method_handlers)
  server.add_generic_rpc_handlers((generic_handler,))


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

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

    Args:
      channel: A grpc.Channel.
    """
    self.Update = channel.unary_unary(
        '/proto2.UpdateServices/Update',
        request_serializer=schema__pb2.UpdateServicesRequest.SerializeToString,
        response_deserializer=schema__pb2.UpdateServicesResponse.FromString,
        )


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

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


def add_UpdateServicesServicer_to_server(servicer, server):
  rpc_method_handlers = {
      'Update': grpc.unary_unary_rpc_method_handler(
          servicer.Update,
          request_deserializer=schema__pb2.UpdateServicesRequest.FromString,
          response_serializer=schema__pb2.UpdateServicesResponse.SerializeToString,
      ),
  }
  generic_handler = grpc.method_handlers_generic_handler(
      'proto2.UpdateServices', rpc_method_handlers)
  server.add_generic_rpc_handlers((generic_handler,))


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

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

    Args:
      channel: A grpc.Channel.
    """
    self.Delete = channel.unary_unary(
        '/proto2.DeleteServices/Delete',
        request_serializer=schema__pb2.DeleteServicesRequest.SerializeToString,
        response_deserializer=schema__pb2.DeleteServicesResponse.FromString,
        )


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

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


def add_DeleteServicesServicer_to_server(servicer, server):
  rpc_method_handlers = {
      'Delete': grpc.unary_unary_rpc_method_handler(
          servicer.Delete,
          request_deserializer=schema__pb2.DeleteServicesRequest.FromString,
          response_serializer=schema__pb2.DeleteServicesResponse.SerializeToString,
      ),
  }
  generic_handler = grpc.method_handlers_generic_handler(
      'proto2.DeleteServices', rpc_method_handlers)
  server.add_generic_rpc_handlers((generic_handler,))


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

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

    Args:
      channel: A grpc.Channel.
    """
    self.Watch = channel.unary_stream(
        '/proto2.WatchServices/Watch',
        request_serializer=schema__pb2.GetServicesRequest.SerializeToString,
        response_deserializer=schema__pb2.GetServicesResponse.FromString,
        )


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

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


def add_WatchServicesServicer_to_server(servicer, server):
  rpc_method_handlers = {
      'Watch': grpc.unary_stream_rpc_method_handler(
          servicer.Watch,
          request_deserializer=schema__pb2.GetServicesRequest.FromString,
          response_serializer=schema__pb2.GetServicesResponse.SerializeToString,
      ),
  }
  generic_handler = grpc.method_handlers_generic_handler(
      'proto2.WatchServices', rpc_method_handlers)
  server.add_generic_rpc_handlers((generic_handler,))


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

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

    Args:
      channel: A grpc.Channel.
    """
    self.Stream = channel.unary_stream(
        '/proto2.StreamServices/Stream',
        request_serializer=schema__pb2.GetServicesRequest.SerializeToString,
        response_deserializer=schema__pb2.GetServicesResponse.FromString,
        )


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

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


def add_StreamServicesServicer_to_server(servicer, server):
  rpc_method_handlers = {
      'Stream': grpc.unary_stream_rpc_method_handler(
          servicer.Stream,
          request_deserializer=schema__pb2.GetServicesRequest.FromString,
          response_serializer=schema__pb2.GetServicesResponse.SerializeToString,
      ),
  }
  generic_handler = grpc.method_handlers_generic_handler(
      'proto2.StreamServices', rpc_method_handlers)
  server.add_generic_rpc_handlers((generic_handler,))
