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

from ..proto import base_pb2 as proto_dot_base__pb2
from ..proto import debug_pb2 as proto_dot_debug__pb2


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

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

        Args:
            channel: A grpc.Channel.
        """
        self.Hello = channel.unary_unary(
                '/debug.Debug/Hello',
                request_serializer=proto_dot_base__pb2.Empty.SerializeToString,
                response_deserializer=proto_dot_base__pb2.Empty.FromString,
                )
        self.Wait = channel.unary_unary(
                '/debug.Debug/Wait',
                request_serializer=proto_dot_base__pb2.Empty.SerializeToString,
                response_deserializer=proto_dot_base__pb2.Empty.FromString,
                )
        self.Run = channel.unary_unary(
                '/debug.Debug/Run',
                request_serializer=proto_dot_base__pb2.Empty.SerializeToString,
                response_deserializer=proto_dot_base__pb2.Empty.FromString,
                )
        self.Pause = channel.unary_unary(
                '/debug.Debug/Pause',
                request_serializer=proto_dot_base__pb2.Empty.SerializeToString,
                response_deserializer=proto_dot_base__pb2.Empty.FromString,
                )
        self.Stop = channel.unary_unary(
                '/debug.Debug/Stop',
                request_serializer=proto_dot_base__pb2.Empty.SerializeToString,
                response_deserializer=proto_dot_base__pb2.Empty.FromString,
                )
        self.StepIn = channel.unary_unary(
                '/debug.Debug/StepIn',
                request_serializer=proto_dot_base__pb2.Empty.SerializeToString,
                response_deserializer=proto_dot_base__pb2.Empty.FromString,
                )
        self.StepOver = channel.unary_unary(
                '/debug.Debug/StepOver',
                request_serializer=proto_dot_base__pb2.Empty.SerializeToString,
                response_deserializer=proto_dot_base__pb2.Empty.FromString,
                )
        self.StepOut = channel.unary_unary(
                '/debug.Debug/StepOut',
                request_serializer=proto_dot_base__pb2.Empty.SerializeToString,
                response_deserializer=proto_dot_base__pb2.Empty.FromString,
                )
        self.SetBreakpoint = channel.unary_unary(
                '/debug.Debug/SetBreakpoint',
                request_serializer=proto_dot_base__pb2.Address.SerializeToString,
                response_deserializer=proto_dot_base__pb2.Boolean.FromString,
                )
        self.DeleteBreakpoint = channel.unary_unary(
                '/debug.Debug/DeleteBreakpoint',
                request_serializer=proto_dot_base__pb2.Address.SerializeToString,
                response_deserializer=proto_dot_base__pb2.Boolean.FromString,
                )
        self.DisableBreakpoint = channel.unary_unary(
                '/debug.Debug/DisableBreakpoint',
                request_serializer=proto_dot_base__pb2.Address.SerializeToString,
                response_deserializer=proto_dot_base__pb2.Boolean.FromString,
                )
        self.SetHardwareBreakpoint = channel.unary_unary(
                '/debug.Debug/SetHardwareBreakpoint',
                request_serializer=proto_dot_debug__pb2.HardwareBreakpoint.SerializeToString,
                response_deserializer=proto_dot_base__pb2.Boolean.FromString,
                )
        self.DeleteHardwareBreakpoint = channel.unary_unary(
                '/debug.Debug/DeleteHardwareBreakpoint',
                request_serializer=proto_dot_base__pb2.Address.SerializeToString,
                response_deserializer=proto_dot_base__pb2.Boolean.FromString,
                )


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

    def Hello(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 Wait(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 Run(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 Pause(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 Stop(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 StepIn(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 StepOver(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 StepOut(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 SetBreakpoint(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 DeleteBreakpoint(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 DisableBreakpoint(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 SetHardwareBreakpoint(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 DeleteHardwareBreakpoint(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_DebugServicer_to_server(servicer, server):
    rpc_method_handlers = {
            'Hello': grpc.unary_unary_rpc_method_handler(
                    servicer.Hello,
                    request_deserializer=proto_dot_base__pb2.Empty.FromString,
                    response_serializer=proto_dot_base__pb2.Empty.SerializeToString,
            ),
            'Wait': grpc.unary_unary_rpc_method_handler(
                    servicer.Wait,
                    request_deserializer=proto_dot_base__pb2.Empty.FromString,
                    response_serializer=proto_dot_base__pb2.Empty.SerializeToString,
            ),
            'Run': grpc.unary_unary_rpc_method_handler(
                    servicer.Run,
                    request_deserializer=proto_dot_base__pb2.Empty.FromString,
                    response_serializer=proto_dot_base__pb2.Empty.SerializeToString,
            ),
            'Pause': grpc.unary_unary_rpc_method_handler(
                    servicer.Pause,
                    request_deserializer=proto_dot_base__pb2.Empty.FromString,
                    response_serializer=proto_dot_base__pb2.Empty.SerializeToString,
            ),
            'Stop': grpc.unary_unary_rpc_method_handler(
                    servicer.Stop,
                    request_deserializer=proto_dot_base__pb2.Empty.FromString,
                    response_serializer=proto_dot_base__pb2.Empty.SerializeToString,
            ),
            'StepIn': grpc.unary_unary_rpc_method_handler(
                    servicer.StepIn,
                    request_deserializer=proto_dot_base__pb2.Empty.FromString,
                    response_serializer=proto_dot_base__pb2.Empty.SerializeToString,
            ),
            'StepOver': grpc.unary_unary_rpc_method_handler(
                    servicer.StepOver,
                    request_deserializer=proto_dot_base__pb2.Empty.FromString,
                    response_serializer=proto_dot_base__pb2.Empty.SerializeToString,
            ),
            'StepOut': grpc.unary_unary_rpc_method_handler(
                    servicer.StepOut,
                    request_deserializer=proto_dot_base__pb2.Empty.FromString,
                    response_serializer=proto_dot_base__pb2.Empty.SerializeToString,
            ),
            'SetBreakpoint': grpc.unary_unary_rpc_method_handler(
                    servicer.SetBreakpoint,
                    request_deserializer=proto_dot_base__pb2.Address.FromString,
                    response_serializer=proto_dot_base__pb2.Boolean.SerializeToString,
            ),
            'DeleteBreakpoint': grpc.unary_unary_rpc_method_handler(
                    servicer.DeleteBreakpoint,
                    request_deserializer=proto_dot_base__pb2.Address.FromString,
                    response_serializer=proto_dot_base__pb2.Boolean.SerializeToString,
            ),
            'DisableBreakpoint': grpc.unary_unary_rpc_method_handler(
                    servicer.DisableBreakpoint,
                    request_deserializer=proto_dot_base__pb2.Address.FromString,
                    response_serializer=proto_dot_base__pb2.Boolean.SerializeToString,
            ),
            'SetHardwareBreakpoint': grpc.unary_unary_rpc_method_handler(
                    servicer.SetHardwareBreakpoint,
                    request_deserializer=proto_dot_debug__pb2.HardwareBreakpoint.FromString,
                    response_serializer=proto_dot_base__pb2.Boolean.SerializeToString,
            ),
            'DeleteHardwareBreakpoint': grpc.unary_unary_rpc_method_handler(
                    servicer.DeleteHardwareBreakpoint,
                    request_deserializer=proto_dot_base__pb2.Address.FromString,
                    response_serializer=proto_dot_base__pb2.Boolean.SerializeToString,
            ),
    }
    generic_handler = grpc.method_handlers_generic_handler(
            'debug.Debug', rpc_method_handlers)
    server.add_generic_rpc_handlers((generic_handler,))


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

    @staticmethod
    def Hello(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, '/debug.Debug/Hello',
            proto_dot_base__pb2.Empty.SerializeToString,
            proto_dot_base__pb2.Empty.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

    @staticmethod
    def Wait(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, '/debug.Debug/Wait',
            proto_dot_base__pb2.Empty.SerializeToString,
            proto_dot_base__pb2.Empty.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

    @staticmethod
    def Run(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, '/debug.Debug/Run',
            proto_dot_base__pb2.Empty.SerializeToString,
            proto_dot_base__pb2.Empty.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

    @staticmethod
    def Pause(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, '/debug.Debug/Pause',
            proto_dot_base__pb2.Empty.SerializeToString,
            proto_dot_base__pb2.Empty.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

    @staticmethod
    def Stop(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, '/debug.Debug/Stop',
            proto_dot_base__pb2.Empty.SerializeToString,
            proto_dot_base__pb2.Empty.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

    @staticmethod
    def StepIn(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, '/debug.Debug/StepIn',
            proto_dot_base__pb2.Empty.SerializeToString,
            proto_dot_base__pb2.Empty.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

    @staticmethod
    def StepOver(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, '/debug.Debug/StepOver',
            proto_dot_base__pb2.Empty.SerializeToString,
            proto_dot_base__pb2.Empty.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

    @staticmethod
    def StepOut(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, '/debug.Debug/StepOut',
            proto_dot_base__pb2.Empty.SerializeToString,
            proto_dot_base__pb2.Empty.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

    @staticmethod
    def SetBreakpoint(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, '/debug.Debug/SetBreakpoint',
            proto_dot_base__pb2.Address.SerializeToString,
            proto_dot_base__pb2.Boolean.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

    @staticmethod
    def DeleteBreakpoint(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, '/debug.Debug/DeleteBreakpoint',
            proto_dot_base__pb2.Address.SerializeToString,
            proto_dot_base__pb2.Boolean.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

    @staticmethod
    def DisableBreakpoint(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, '/debug.Debug/DisableBreakpoint',
            proto_dot_base__pb2.Address.SerializeToString,
            proto_dot_base__pb2.Boolean.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

    @staticmethod
    def SetHardwareBreakpoint(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, '/debug.Debug/SetHardwareBreakpoint',
            proto_dot_debug__pb2.HardwareBreakpoint.SerializeToString,
            proto_dot_base__pb2.Boolean.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

    @staticmethod
    def DeleteHardwareBreakpoint(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, '/debug.Debug/DeleteHardwareBreakpoint',
            proto_dot_base__pb2.Address.SerializeToString,
            proto_dot_base__pb2.Boolean.FromString,
            options, channel_credentials,
            insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
