<filename>venv/lib/python3.8/site-packages/spaceone/api/power_scheduler/v1/schedule_pb2_grpc.py
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
"""Client and server classes corresponding to protobuf-defined services."""
import grpc

from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
from spaceone.api.power_scheduler.v1 import schedule_pb2 as spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2


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

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

        Args:
            channel: A grpc.Channel.
        """
        self.create = channel.unary_unary(
                '/spaceone.api.power_scheduler.v1.Schedule/create',
                request_serializer=spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.CreateScheduleRequest.SerializeToString,
                response_deserializer=spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ScheduleInfo.FromString,
                )
        self.update = channel.unary_unary(
                '/spaceone.api.power_scheduler.v1.Schedule/update',
                request_serializer=spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.UpdateScheduleRequest.SerializeToString,
                response_deserializer=spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ScheduleInfo.FromString,
                )
        self.enable = channel.unary_unary(
                '/spaceone.api.power_scheduler.v1.Schedule/enable',
                request_serializer=spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ScheduleRequest.SerializeToString,
                response_deserializer=spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ScheduleInfo.FromString,
                )
        self.disable = channel.unary_unary(
                '/spaceone.api.power_scheduler.v1.Schedule/disable',
                request_serializer=spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ScheduleRequest.SerializeToString,
                response_deserializer=spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ScheduleInfo.FromString,
                )
        self.append_resource_group = channel.unary_unary(
                '/spaceone.api.power_scheduler.v1.Schedule/append_resource_group',
                request_serializer=spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.CreateResourceGroupRequest.SerializeToString,
                response_deserializer=spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ScheduleInfo.FromString,
                )
        self.update_resource_group = channel.unary_unary(
                '/spaceone.api.power_scheduler.v1.Schedule/update_resource_group',
                request_serializer=spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ResourceGroupRequest.SerializeToString,
                response_deserializer=spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ScheduleInfo.FromString,
                )
        self.remove_resource_group = channel.unary_unary(
                '/spaceone.api.power_scheduler.v1.Schedule/remove_resource_group',
                request_serializer=spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ResourceGroupRequest.SerializeToString,
                response_deserializer=spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ScheduleInfo.FromString,
                )
        self.delete = channel.unary_unary(
                '/spaceone.api.power_scheduler.v1.Schedule/delete',
                request_serializer=spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ScheduleRequest.SerializeToString,
                response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
                )
        self.get = channel.unary_unary(
                '/spaceone.api.power_scheduler.v1.Schedule/get',
                request_serializer=spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.GetScheduleRequest.SerializeToString,
                response_deserializer=spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ScheduleInfo.FromString,
                )
        self.list = channel.unary_unary(
                '/spaceone.api.power_scheduler.v1.Schedule/list',
                request_serializer=spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ScheduleQuery.SerializeToString,
                response_deserializer=spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.SchedulesInfo.FromString,
                )
        self.stat = channel.unary_unary(
                '/spaceone.api.power_scheduler.v1.Schedule/stat',
                request_serializer=spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ScheduleStatQuery.SerializeToString,
                response_deserializer=google_dot_protobuf_dot_struct__pb2.Struct.FromString,
                )


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

    def create(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 update(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 enable(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 disable(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 append_resource_group(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 update_resource_group(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 remove_resource_group(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 get(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 list(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 stat(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_ScheduleServicer_to_server(servicer, server):
    rpc_method_handlers = {
            'create': grpc.unary_unary_rpc_method_handler(
                    servicer.create,
                    request_deserializer=spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.CreateScheduleRequest.FromString,
                    response_serializer=spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ScheduleInfo.SerializeToString,
            ),
            'update': grpc.unary_unary_rpc_method_handler(
                    servicer.update,
                    request_deserializer=spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.UpdateScheduleRequest.FromString,
                    response_serializer=spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ScheduleInfo.SerializeToString,
            ),
            'enable': grpc.unary_unary_rpc_method_handler(
                    servicer.enable,
                    request_deserializer=spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ScheduleRequest.FromString,
                    response_serializer=spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ScheduleInfo.SerializeToString,
            ),
            'disable': grpc.unary_unary_rpc_method_handler(
                    servicer.disable,
                    request_deserializer=spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ScheduleRequest.FromString,
                    response_serializer=spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ScheduleInfo.SerializeToString,
            ),
            'append_resource_group': grpc.unary_unary_rpc_method_handler(
                    servicer.append_resource_group,
                    request_deserializer=spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.CreateResourceGroupRequest.FromString,
                    response_serializer=spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ScheduleInfo.SerializeToString,
            ),
            'update_resource_group': grpc.unary_unary_rpc_method_handler(
                    servicer.update_resource_group,
                    request_deserializer=spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ResourceGroupRequest.FromString,
                    response_serializer=spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ScheduleInfo.SerializeToString,
            ),
            'remove_resource_group': grpc.unary_unary_rpc_method_handler(
                    servicer.remove_resource_group,
                    request_deserializer=spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ResourceGroupRequest.FromString,
                    response_serializer=spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ScheduleInfo.SerializeToString,
            ),
            'delete': grpc.unary_unary_rpc_method_handler(
                    servicer.delete,
                    request_deserializer=spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ScheduleRequest.FromString,
                    response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
            ),
            'get': grpc.unary_unary_rpc_method_handler(
                    servicer.get,
                    request_deserializer=spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.GetScheduleRequest.FromString,
                    response_serializer=spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ScheduleInfo.SerializeToString,
            ),
            'list': grpc.unary_unary_rpc_method_handler(
                    servicer.list,
                    request_deserializer=spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ScheduleQuery.FromString,
                    response_serializer=spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.SchedulesInfo.SerializeToString,
            ),
            'stat': grpc.unary_unary_rpc_method_handler(
                    servicer.stat,
                    request_deserializer=spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ScheduleStatQuery.FromString,
                    response_serializer=google_dot_protobuf_dot_struct__pb2.Struct.SerializeToString,
            ),
    }
    generic_handler = grpc.method_handlers_generic_handler(
            'spaceone.api.power_scheduler.v1.Schedule', rpc_method_handlers)
    server.add_generic_rpc_handlers((generic_handler,))


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

    @staticmethod
    def create(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, '/spaceone.api.power_scheduler.v1.Schedule/create',
            spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.CreateScheduleRequest.SerializeToString,
            spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ScheduleInfo.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

    @staticmethod
    def update(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, '/spaceone.api.power_scheduler.v1.Schedule/update',
            spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.UpdateScheduleRequest.SerializeToString,
            spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ScheduleInfo.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

    @staticmethod
    def enable(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, '/spaceone.api.power_scheduler.v1.Schedule/enable',
            spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ScheduleRequest.SerializeToString,
            spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ScheduleInfo.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

    @staticmethod
    def disable(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, '/spaceone.api.power_scheduler.v1.Schedule/disable',
            spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ScheduleRequest.SerializeToString,
            spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ScheduleInfo.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

    @staticmethod
    def append_resource_group(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, '/spaceone.api.power_scheduler.v1.Schedule/append_resource_group',
            spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.CreateResourceGroupRequest.SerializeToString,
            spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ScheduleInfo.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

    @staticmethod
    def update_resource_group(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, '/spaceone.api.power_scheduler.v1.Schedule/update_resource_group',
            spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ResourceGroupRequest.SerializeToString,
            spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ScheduleInfo.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

    @staticmethod
    def remove_resource_group(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, '/spaceone.api.power_scheduler.v1.Schedule/remove_resource_group',
            spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ResourceGroupRequest.SerializeToString,
            spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ScheduleInfo.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, '/spaceone.api.power_scheduler.v1.Schedule/delete',
            spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ScheduleRequest.SerializeToString,
            google_dot_protobuf_dot_empty__pb2.Empty.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

    @staticmethod
    def get(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, '/spaceone.api.power_scheduler.v1.Schedule/get',
            spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.GetScheduleRequest.SerializeToString,
            spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ScheduleInfo.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

    @staticmethod
    def list(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, '/spaceone.api.power_scheduler.v1.Schedule/list',
            spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ScheduleQuery.SerializeToString,
            spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.SchedulesInfo.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

    @staticmethod
    def stat(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, '/spaceone.api.power_scheduler.v1.Schedule/stat',
            spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ScheduleStatQuery.SerializeToString,
            google_dot_protobuf_dot_struct__pb2.Struct.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

<filename>venv/lib/python3.8/site-packages/spaceone/api/power_scheduler/v1/schedule_pb2_grpc.py
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
"""Client and server classes corresponding to protobuf-defined services."""
import grpc

from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
from spaceone.api.power_scheduler.v1 import schedule_pb2 as spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2


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

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

        Args:
            channel: A grpc.Channel.
        """
        self.create = channel.unary_unary(
                '/spaceone.api.power_scheduler.v1.Schedule/create',
                request_serializer=spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.CreateScheduleRequest.SerializeToString,
                response_deserializer=spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ScheduleInfo.FromString,
                )
        self.update = channel.unary_unary(
                '/spaceone.api.power_scheduler.v1.Schedule/update',
                request_serializer=spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.UpdateScheduleRequest.SerializeToString,
                response_deserializer=spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ScheduleInfo.FromString,
                )
        self.enable = channel.unary_unary(
                '/spaceone.api.power_scheduler.v1.Schedule/enable',
                request_serializer=spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ScheduleRequest.SerializeToString,
                response_deserializer=spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ScheduleInfo.FromString,
                )
        self.disable = channel.unary_unary(
                '/spaceone.api.power_scheduler.v1.Schedule/disable',
                request_serializer=spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ScheduleRequest.SerializeToString,
                response_deserializer=spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ScheduleInfo.FromString,
                )
        self.append_resource_group = channel.unary_unary(
                '/spaceone.api.power_scheduler.v1.Schedule/append_resource_group',
                request_serializer=spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.CreateResourceGroupRequest.SerializeToString,
                response_deserializer=spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ScheduleInfo.FromString,
                )
        self.update_resource_group = channel.unary_unary(
                '/spaceone.api.power_scheduler.v1.Schedule/update_resource_group',
                request_serializer=spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ResourceGroupRequest.SerializeToString,
                response_deserializer=spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ScheduleInfo.FromString,
                )
        self.remove_resource_group = channel.unary_unary(
                '/spaceone.api.power_scheduler.v1.Schedule/remove_resource_group',
                request_serializer=spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ResourceGroupRequest.SerializeToString,
                response_deserializer=spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ScheduleInfo.FromString,
                )
        self.delete = channel.unary_unary(
                '/spaceone.api.power_scheduler.v1.Schedule/delete',
                request_serializer=spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ScheduleRequest.SerializeToString,
                response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
                )
        self.get = channel.unary_unary(
                '/spaceone.api.power_scheduler.v1.Schedule/get',
                request_serializer=spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.GetScheduleRequest.SerializeToString,
                response_deserializer=spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ScheduleInfo.FromString,
                )
        self.list = channel.unary_unary(
                '/spaceone.api.power_scheduler.v1.Schedule/list',
                request_serializer=spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ScheduleQuery.SerializeToString,
                response_deserializer=spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.SchedulesInfo.FromString,
                )
        self.stat = channel.unary_unary(
                '/spaceone.api.power_scheduler.v1.Schedule/stat',
                request_serializer=spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ScheduleStatQuery.SerializeToString,
                response_deserializer=google_dot_protobuf_dot_struct__pb2.Struct.FromString,
                )


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

    def create(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 update(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 enable(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 disable(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 append_resource_group(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 update_resource_group(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 remove_resource_group(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 get(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 list(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 stat(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_ScheduleServicer_to_server(servicer, server):
    rpc_method_handlers = {
            'create': grpc.unary_unary_rpc_method_handler(
                    servicer.create,
                    request_deserializer=spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.CreateScheduleRequest.FromString,
                    response_serializer=spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ScheduleInfo.SerializeToString,
            ),
            'update': grpc.unary_unary_rpc_method_handler(
                    servicer.update,
                    request_deserializer=spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.UpdateScheduleRequest.FromString,
                    response_serializer=spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ScheduleInfo.SerializeToString,
            ),
            'enable': grpc.unary_unary_rpc_method_handler(
                    servicer.enable,
                    request_deserializer=spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ScheduleRequest.FromString,
                    response_serializer=spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ScheduleInfo.SerializeToString,
            ),
            'disable': grpc.unary_unary_rpc_method_handler(
                    servicer.disable,
                    request_deserializer=spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ScheduleRequest.FromString,
                    response_serializer=spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ScheduleInfo.SerializeToString,
            ),
            'append_resource_group': grpc.unary_unary_rpc_method_handler(
                    servicer.append_resource_group,
                    request_deserializer=spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.CreateResourceGroupRequest.FromString,
                    response_serializer=spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ScheduleInfo.SerializeToString,
            ),
            'update_resource_group': grpc.unary_unary_rpc_method_handler(
                    servicer.update_resource_group,
                    request_deserializer=spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ResourceGroupRequest.FromString,
                    response_serializer=spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ScheduleInfo.SerializeToString,
            ),
            'remove_resource_group': grpc.unary_unary_rpc_method_handler(
                    servicer.remove_resource_group,
                    request_deserializer=spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ResourceGroupRequest.FromString,
                    response_serializer=spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ScheduleInfo.SerializeToString,
            ),
            'delete': grpc.unary_unary_rpc_method_handler(
                    servicer.delete,
                    request_deserializer=spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ScheduleRequest.FromString,
                    response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
            ),
            'get': grpc.unary_unary_rpc_method_handler(
                    servicer.get,
                    request_deserializer=spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.GetScheduleRequest.FromString,
                    response_serializer=spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ScheduleInfo.SerializeToString,
            ),
            'list': grpc.unary_unary_rpc_method_handler(
                    servicer.list,
                    request_deserializer=spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ScheduleQuery.FromString,
                    response_serializer=spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.SchedulesInfo.SerializeToString,
            ),
            'stat': grpc.unary_unary_rpc_method_handler(
                    servicer.stat,
                    request_deserializer=spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ScheduleStatQuery.FromString,
                    response_serializer=google_dot_protobuf_dot_struct__pb2.Struct.SerializeToString,
            ),
    }
    generic_handler = grpc.method_handlers_generic_handler(
            'spaceone.api.power_scheduler.v1.Schedule', rpc_method_handlers)
    server.add_generic_rpc_handlers((generic_handler,))


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

    @staticmethod
    def create(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, '/spaceone.api.power_scheduler.v1.Schedule/create',
            spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.CreateScheduleRequest.SerializeToString,
            spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ScheduleInfo.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

    @staticmethod
    def update(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, '/spaceone.api.power_scheduler.v1.Schedule/update',
            spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.UpdateScheduleRequest.SerializeToString,
            spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ScheduleInfo.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

    @staticmethod
    def enable(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, '/spaceone.api.power_scheduler.v1.Schedule/enable',
            spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ScheduleRequest.SerializeToString,
            spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ScheduleInfo.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

    @staticmethod
    def disable(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, '/spaceone.api.power_scheduler.v1.Schedule/disable',
            spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ScheduleRequest.SerializeToString,
            spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ScheduleInfo.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

    @staticmethod
    def append_resource_group(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, '/spaceone.api.power_scheduler.v1.Schedule/append_resource_group',
            spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.CreateResourceGroupRequest.SerializeToString,
            spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ScheduleInfo.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

    @staticmethod
    def update_resource_group(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, '/spaceone.api.power_scheduler.v1.Schedule/update_resource_group',
            spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ResourceGroupRequest.SerializeToString,
            spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ScheduleInfo.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

    @staticmethod
    def remove_resource_group(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, '/spaceone.api.power_scheduler.v1.Schedule/remove_resource_group',
            spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ResourceGroupRequest.SerializeToString,
            spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ScheduleInfo.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, '/spaceone.api.power_scheduler.v1.Schedule/delete',
            spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ScheduleRequest.SerializeToString,
            google_dot_protobuf_dot_empty__pb2.Empty.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

    @staticmethod
    def get(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, '/spaceone.api.power_scheduler.v1.Schedule/get',
            spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.GetScheduleRequest.SerializeToString,
            spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ScheduleInfo.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

    @staticmethod
    def list(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, '/spaceone.api.power_scheduler.v1.Schedule/list',
            spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ScheduleQuery.SerializeToString,
            spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.SchedulesInfo.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

    @staticmethod
    def stat(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, '/spaceone.api.power_scheduler.v1.Schedule/stat',
            spaceone_dot_api_dot_power__scheduler_dot_v1_dot_schedule__pb2.ScheduleStatQuery.SerializeToString,
            google_dot_protobuf_dot_struct__pb2.Struct.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! Client and server classes corresponding to protobuf-defined services. Missing associated documentation comment in .proto file. Constructor.          Args:             channel: A grpc.Channel. Missing associated documentation comment in .proto file. Missing associated documentation comment in .proto file. Missing associated documentation comment in .proto file. Missing associated documentation comment in .proto file. Missing associated documentation comment in .proto file. Missing associated documentation comment in .proto file. Missing associated documentation comment in .proto file. Missing associated documentation comment in .proto file. Missing associated documentation comment in .proto file. Missing associated documentation comment in .proto file. Missing associated documentation comment in .proto file. Missing associated documentation comment in .proto file. # This class is part of an EXPERIMENTAL API. Missing associated documentation comment in .proto file.