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

from ..monitoring import DataMonitoringService_pb2 as monitoring_dot_DataMonitoringService__pb2


class DataMonitoringServiceStub(object):
  """Service definitions
  """

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

    Args:
      channel: A grpc.Channel.
    """
    self.createMonitoredEntity = channel.unary_unary(
        '/ai.verta.monitoring.DataMonitoringService/createMonitoredEntity',
        request_serializer=monitoring_dot_DataMonitoringService__pb2.CreateMonitoredEntityRequest.SerializeToString,
        response_deserializer=monitoring_dot_DataMonitoringService__pb2.CreateMonitoredEntityRequest.Response.FromString,
        )
    self.updateMonitoredEntity = channel.unary_unary(
        '/ai.verta.monitoring.DataMonitoringService/updateMonitoredEntity',
        request_serializer=monitoring_dot_DataMonitoringService__pb2.UpdateMonitoredEntityRequest.SerializeToString,
        response_deserializer=monitoring_dot_DataMonitoringService__pb2.UpdateMonitoredEntityRequest.Response.FromString,
        )
    self.findMonitoredEntity = channel.unary_unary(
        '/ai.verta.monitoring.DataMonitoringService/findMonitoredEntity',
        request_serializer=monitoring_dot_DataMonitoringService__pb2.FindMonitoredEntityRequest.SerializeToString,
        response_deserializer=monitoring_dot_DataMonitoringService__pb2.FindMonitoredEntityRequest.Response.FromString,
        )
    self.deleteMonitoredEntity = channel.unary_unary(
        '/ai.verta.monitoring.DataMonitoringService/deleteMonitoredEntity',
        request_serializer=monitoring_dot_DataMonitoringService__pb2.DeleteMonitoredEntityRequest.SerializeToString,
        response_deserializer=monitoring_dot_DataMonitoringService__pb2.DeleteMonitoredEntityRequest.Response.FromString,
        )
    self.getProfiler = channel.unary_unary(
        '/ai.verta.monitoring.DataMonitoringService/getProfiler',
        request_serializer=monitoring_dot_DataMonitoringService__pb2.GetProfilerRequest.SerializeToString,
        response_deserializer=monitoring_dot_DataMonitoringService__pb2.GetProfilerRequest.Response.FromString,
        )
    self.createProfiler = channel.unary_unary(
        '/ai.verta.monitoring.DataMonitoringService/createProfiler',
        request_serializer=monitoring_dot_DataMonitoringService__pb2.CreateProfilerRequest.SerializeToString,
        response_deserializer=monitoring_dot_DataMonitoringService__pb2.CreateProfilerRequest.Response.FromString,
        )
    self.updateProfiler = channel.unary_unary(
        '/ai.verta.monitoring.DataMonitoringService/updateProfiler',
        request_serializer=monitoring_dot_DataMonitoringService__pb2.UpdateProfilerRequest.SerializeToString,
        response_deserializer=monitoring_dot_DataMonitoringService__pb2.UpdateProfilerRequest.Response.FromString,
        )
    self.listProfilers = channel.unary_unary(
        '/ai.verta.monitoring.DataMonitoringService/listProfilers',
        request_serializer=monitoring_dot_DataMonitoringService__pb2.ListProfilersRequest.SerializeToString,
        response_deserializer=monitoring_dot_DataMonitoringService__pb2.ListProfilersRequest.Response.FromString,
        )
    self.deleteProfiler = channel.unary_unary(
        '/ai.verta.monitoring.DataMonitoringService/deleteProfiler',
        request_serializer=monitoring_dot_DataMonitoringService__pb2.DeleteProfilerRequest.SerializeToString,
        response_deserializer=monitoring_dot_DataMonitoringService__pb2.DeleteProfilerRequest.Response.FromString,
        )
    self.getProfilerStatus = channel.unary_unary(
        '/ai.verta.monitoring.DataMonitoringService/getProfilerStatus',
        request_serializer=monitoring_dot_DataMonitoringService__pb2.GetProfilerStatusRequest.SerializeToString,
        response_deserializer=monitoring_dot_DataMonitoringService__pb2.GetProfilerStatusRequest.Response.FromString,
        )
    self.findProfilersForMonitoredEntity = channel.unary_unary(
        '/ai.verta.monitoring.DataMonitoringService/findProfilersForMonitoredEntity',
        request_serializer=monitoring_dot_DataMonitoringService__pb2.FindProfilersForMonitoredEntityRequest.SerializeToString,
        response_deserializer=monitoring_dot_DataMonitoringService__pb2.FindProfilersForMonitoredEntityRequest.Response.FromString,
        )
    self.enableProfiler = channel.unary_unary(
        '/ai.verta.monitoring.DataMonitoringService/enableProfiler',
        request_serializer=monitoring_dot_DataMonitoringService__pb2.EnableProfilerRequest.SerializeToString,
        response_deserializer=monitoring_dot_DataMonitoringService__pb2.EnableProfilerRequest.Response.FromString,
        )
    self.disableProfiler = channel.unary_unary(
        '/ai.verta.monitoring.DataMonitoringService/disableProfiler',
        request_serializer=monitoring_dot_DataMonitoringService__pb2.DisableProfilerRequest.SerializeToString,
        response_deserializer=monitoring_dot_DataMonitoringService__pb2.DisableProfilerRequest.Response.FromString,
        )


class DataMonitoringServiceServicer(object):
  """Service definitions
  """

  def createMonitoredEntity(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 updateMonitoredEntity(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 findMonitoredEntity(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 deleteMonitoredEntity(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 getProfiler(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 createProfiler(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 updateProfiler(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 listProfilers(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 deleteProfiler(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 getProfilerStatus(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 findProfilersForMonitoredEntity(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 enableProfiler(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 disableProfiler(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_DataMonitoringServiceServicer_to_server(servicer, server):
  rpc_method_handlers = {
      'createMonitoredEntity': grpc.unary_unary_rpc_method_handler(
          servicer.createMonitoredEntity,
          request_deserializer=monitoring_dot_DataMonitoringService__pb2.CreateMonitoredEntityRequest.FromString,
          response_serializer=monitoring_dot_DataMonitoringService__pb2.CreateMonitoredEntityRequest.Response.SerializeToString,
      ),
      'updateMonitoredEntity': grpc.unary_unary_rpc_method_handler(
          servicer.updateMonitoredEntity,
          request_deserializer=monitoring_dot_DataMonitoringService__pb2.UpdateMonitoredEntityRequest.FromString,
          response_serializer=monitoring_dot_DataMonitoringService__pb2.UpdateMonitoredEntityRequest.Response.SerializeToString,
      ),
      'findMonitoredEntity': grpc.unary_unary_rpc_method_handler(
          servicer.findMonitoredEntity,
          request_deserializer=monitoring_dot_DataMonitoringService__pb2.FindMonitoredEntityRequest.FromString,
          response_serializer=monitoring_dot_DataMonitoringService__pb2.FindMonitoredEntityRequest.Response.SerializeToString,
      ),
      'deleteMonitoredEntity': grpc.unary_unary_rpc_method_handler(
          servicer.deleteMonitoredEntity,
          request_deserializer=monitoring_dot_DataMonitoringService__pb2.DeleteMonitoredEntityRequest.FromString,
          response_serializer=monitoring_dot_DataMonitoringService__pb2.DeleteMonitoredEntityRequest.Response.SerializeToString,
      ),
      'getProfiler': grpc.unary_unary_rpc_method_handler(
          servicer.getProfiler,
          request_deserializer=monitoring_dot_DataMonitoringService__pb2.GetProfilerRequest.FromString,
          response_serializer=monitoring_dot_DataMonitoringService__pb2.GetProfilerRequest.Response.SerializeToString,
      ),
      'createProfiler': grpc.unary_unary_rpc_method_handler(
          servicer.createProfiler,
          request_deserializer=monitoring_dot_DataMonitoringService__pb2.CreateProfilerRequest.FromString,
          response_serializer=monitoring_dot_DataMonitoringService__pb2.CreateProfilerRequest.Response.SerializeToString,
      ),
      'updateProfiler': grpc.unary_unary_rpc_method_handler(
          servicer.updateProfiler,
          request_deserializer=monitoring_dot_DataMonitoringService__pb2.UpdateProfilerRequest.FromString,
          response_serializer=monitoring_dot_DataMonitoringService__pb2.UpdateProfilerRequest.Response.SerializeToString,
      ),
      'listProfilers': grpc.unary_unary_rpc_method_handler(
          servicer.listProfilers,
          request_deserializer=monitoring_dot_DataMonitoringService__pb2.ListProfilersRequest.FromString,
          response_serializer=monitoring_dot_DataMonitoringService__pb2.ListProfilersRequest.Response.SerializeToString,
      ),
      'deleteProfiler': grpc.unary_unary_rpc_method_handler(
          servicer.deleteProfiler,
          request_deserializer=monitoring_dot_DataMonitoringService__pb2.DeleteProfilerRequest.FromString,
          response_serializer=monitoring_dot_DataMonitoringService__pb2.DeleteProfilerRequest.Response.SerializeToString,
      ),
      'getProfilerStatus': grpc.unary_unary_rpc_method_handler(
          servicer.getProfilerStatus,
          request_deserializer=monitoring_dot_DataMonitoringService__pb2.GetProfilerStatusRequest.FromString,
          response_serializer=monitoring_dot_DataMonitoringService__pb2.GetProfilerStatusRequest.Response.SerializeToString,
      ),
      'findProfilersForMonitoredEntity': grpc.unary_unary_rpc_method_handler(
          servicer.findProfilersForMonitoredEntity,
          request_deserializer=monitoring_dot_DataMonitoringService__pb2.FindProfilersForMonitoredEntityRequest.FromString,
          response_serializer=monitoring_dot_DataMonitoringService__pb2.FindProfilersForMonitoredEntityRequest.Response.SerializeToString,
      ),
      'enableProfiler': grpc.unary_unary_rpc_method_handler(
          servicer.enableProfiler,
          request_deserializer=monitoring_dot_DataMonitoringService__pb2.EnableProfilerRequest.FromString,
          response_serializer=monitoring_dot_DataMonitoringService__pb2.EnableProfilerRequest.Response.SerializeToString,
      ),
      'disableProfiler': grpc.unary_unary_rpc_method_handler(
          servicer.disableProfiler,
          request_deserializer=monitoring_dot_DataMonitoringService__pb2.DisableProfilerRequest.FromString,
          response_serializer=monitoring_dot_DataMonitoringService__pb2.DisableProfilerRequest.Response.SerializeToString,
      ),
  }
  generic_handler = grpc.method_handlers_generic_handler(
      'ai.verta.monitoring.DataMonitoringService', rpc_method_handlers)
  server.add_generic_rpc_handlers((generic_handler,))
