# 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 lara_django_samples_grpc.v1 import lara_django_samples_pb2 as lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2


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

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

        Args:
            channel: A grpc.Channel.
        """
        self.Create = channel.unary_unary(
                '/lara_django.lara_django_samples.ExtraDataController/Create',
                request_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.ExtraDataRequest.SerializeToString,
                response_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.ExtraDataResponse.FromString,
                _registered_method=True)
        self.Destroy = channel.unary_unary(
                '/lara_django.lara_django_samples.ExtraDataController/Destroy',
                request_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.ExtraDataDestroyRequest.SerializeToString,
                response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
                _registered_method=True)
        self.DownloadFile = channel.unary_stream(
                '/lara_django.lara_django_samples.ExtraDataController/DownloadFile',
                request_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.FileDownloadInfo.SerializeToString,
                response_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.FileDownloadChunk.FromString,
                _registered_method=True)
        self.DownloadImage = channel.unary_stream(
                '/lara_django.lara_django_samples.ExtraDataController/DownloadImage',
                request_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.ImageDownloadInfo.SerializeToString,
                response_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.ImageDownloadChunk.FromString,
                _registered_method=True)
        self.List = channel.unary_unary(
                '/lara_django.lara_django_samples.ExtraDataController/List',
                request_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.ExtraDataListRequest.SerializeToString,
                response_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.ExtraDataListResponse.FromString,
                _registered_method=True)
        self.PartialUpdate = channel.unary_unary(
                '/lara_django.lara_django_samples.ExtraDataController/PartialUpdate',
                request_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.ExtraDataPartialUpdateRequest.SerializeToString,
                response_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.ExtraDataResponse.FromString,
                _registered_method=True)
        self.Retrieve = channel.unary_unary(
                '/lara_django.lara_django_samples.ExtraDataController/Retrieve',
                request_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.ExtraDataRetrieveRequest.SerializeToString,
                response_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.ExtraDataResponse.FromString,
                _registered_method=True)
        self.RetrieveByNameNamespace = channel.unary_unary(
                '/lara_django.lara_django_samples.ExtraDataController/RetrieveByNameNamespace',
                request_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.ExtraDataRetrieveByNameNSRequest.SerializeToString,
                response_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.ExtraDataResponse.FromString,
                _registered_method=True)
        self.Stream = channel.unary_stream(
                '/lara_django.lara_django_samples.ExtraDataController/Stream',
                request_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.ExtraDataStreamRequest.SerializeToString,
                response_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.ExtraDataResponse.FromString,
                _registered_method=True)
        self.Update = channel.unary_unary(
                '/lara_django.lara_django_samples.ExtraDataController/Update',
                request_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.ExtraDataRequest.SerializeToString,
                response_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.ExtraDataResponse.FromString,
                _registered_method=True)
        self.UploadFile = channel.stream_unary(
                '/lara_django.lara_django_samples.ExtraDataController/UploadFile',
                request_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.FileUploadChunk.SerializeToString,
                response_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.FileUploadInfo.FromString,
                _registered_method=True)
        self.UploadImage = channel.stream_unary(
                '/lara_django.lara_django_samples.ExtraDataController/UploadImage',
                request_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.ImageUploadChunk.SerializeToString,
                response_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.ImageUploadInfo.FromString,
                _registered_method=True)


class ExtraDataControllerServicer(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 Destroy(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 DownloadFile(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 DownloadImage(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 PartialUpdate(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 Retrieve(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 RetrieveByNameNamespace(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 Stream(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 UploadFile(self, request_iterator, 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 UploadImage(self, request_iterator, 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_ExtraDataControllerServicer_to_server(servicer, server):
    rpc_method_handlers = {
            'Create': grpc.unary_unary_rpc_method_handler(
                    servicer.Create,
                    request_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.ExtraDataRequest.FromString,
                    response_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.ExtraDataResponse.SerializeToString,
            ),
            'Destroy': grpc.unary_unary_rpc_method_handler(
                    servicer.Destroy,
                    request_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.ExtraDataDestroyRequest.FromString,
                    response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
            ),
            'DownloadFile': grpc.unary_stream_rpc_method_handler(
                    servicer.DownloadFile,
                    request_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.FileDownloadInfo.FromString,
                    response_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.FileDownloadChunk.SerializeToString,
            ),
            'DownloadImage': grpc.unary_stream_rpc_method_handler(
                    servicer.DownloadImage,
                    request_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.ImageDownloadInfo.FromString,
                    response_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.ImageDownloadChunk.SerializeToString,
            ),
            'List': grpc.unary_unary_rpc_method_handler(
                    servicer.List,
                    request_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.ExtraDataListRequest.FromString,
                    response_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.ExtraDataListResponse.SerializeToString,
            ),
            'PartialUpdate': grpc.unary_unary_rpc_method_handler(
                    servicer.PartialUpdate,
                    request_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.ExtraDataPartialUpdateRequest.FromString,
                    response_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.ExtraDataResponse.SerializeToString,
            ),
            'Retrieve': grpc.unary_unary_rpc_method_handler(
                    servicer.Retrieve,
                    request_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.ExtraDataRetrieveRequest.FromString,
                    response_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.ExtraDataResponse.SerializeToString,
            ),
            'RetrieveByNameNamespace': grpc.unary_unary_rpc_method_handler(
                    servicer.RetrieveByNameNamespace,
                    request_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.ExtraDataRetrieveByNameNSRequest.FromString,
                    response_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.ExtraDataResponse.SerializeToString,
            ),
            'Stream': grpc.unary_stream_rpc_method_handler(
                    servicer.Stream,
                    request_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.ExtraDataStreamRequest.FromString,
                    response_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.ExtraDataResponse.SerializeToString,
            ),
            'Update': grpc.unary_unary_rpc_method_handler(
                    servicer.Update,
                    request_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.ExtraDataRequest.FromString,
                    response_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.ExtraDataResponse.SerializeToString,
            ),
            'UploadFile': grpc.stream_unary_rpc_method_handler(
                    servicer.UploadFile,
                    request_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.FileUploadChunk.FromString,
                    response_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.FileUploadInfo.SerializeToString,
            ),
            'UploadImage': grpc.stream_unary_rpc_method_handler(
                    servicer.UploadImage,
                    request_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.ImageUploadChunk.FromString,
                    response_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.ImageUploadInfo.SerializeToString,
            ),
    }
    generic_handler = grpc.method_handlers_generic_handler(
            'lara_django.lara_django_samples.ExtraDataController', rpc_method_handlers)
    server.add_generic_rpc_handlers((generic_handler,))
    server.add_registered_method_handlers('lara_django.lara_django_samples.ExtraDataController', rpc_method_handlers)


 # This class is part of an EXPERIMENTAL API.
class ExtraDataController(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,
            '/lara_django.lara_django_samples.ExtraDataController/Create',
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.ExtraDataRequest.SerializeToString,
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.ExtraDataResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def Destroy(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,
            '/lara_django.lara_django_samples.ExtraDataController/Destroy',
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.ExtraDataDestroyRequest.SerializeToString,
            google_dot_protobuf_dot_empty__pb2.Empty.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def DownloadFile(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_stream(
            request,
            target,
            '/lara_django.lara_django_samples.ExtraDataController/DownloadFile',
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.FileDownloadInfo.SerializeToString,
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.FileDownloadChunk.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def DownloadImage(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_stream(
            request,
            target,
            '/lara_django.lara_django_samples.ExtraDataController/DownloadImage',
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.ImageDownloadInfo.SerializeToString,
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.ImageDownloadChunk.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @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,
            '/lara_django.lara_django_samples.ExtraDataController/List',
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.ExtraDataListRequest.SerializeToString,
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.ExtraDataListResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def PartialUpdate(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,
            '/lara_django.lara_django_samples.ExtraDataController/PartialUpdate',
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.ExtraDataPartialUpdateRequest.SerializeToString,
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.ExtraDataResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def Retrieve(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,
            '/lara_django.lara_django_samples.ExtraDataController/Retrieve',
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.ExtraDataRetrieveRequest.SerializeToString,
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.ExtraDataResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def RetrieveByNameNamespace(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,
            '/lara_django.lara_django_samples.ExtraDataController/RetrieveByNameNamespace',
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.ExtraDataRetrieveByNameNSRequest.SerializeToString,
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.ExtraDataResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def Stream(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_stream(
            request,
            target,
            '/lara_django.lara_django_samples.ExtraDataController/Stream',
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.ExtraDataStreamRequest.SerializeToString,
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.ExtraDataResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @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,
            '/lara_django.lara_django_samples.ExtraDataController/Update',
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.ExtraDataRequest.SerializeToString,
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.ExtraDataResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def UploadFile(request_iterator,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.stream_unary(
            request_iterator,
            target,
            '/lara_django.lara_django_samples.ExtraDataController/UploadFile',
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.FileUploadChunk.SerializeToString,
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.FileUploadInfo.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def UploadImage(request_iterator,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.stream_unary(
            request_iterator,
            target,
            '/lara_django.lara_django_samples.ExtraDataController/UploadImage',
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.ImageUploadChunk.SerializeToString,
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.ImageUploadInfo.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)


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

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

        Args:
            channel: A grpc.Channel.
        """
        self.List = channel.unary_unary(
                '/lara_django.lara_django_samples.SampleClassByIRIController/List',
                request_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleClassByIRIListRequest.SerializeToString,
                response_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleClassByIRIListResponse.FromString,
                _registered_method=True)
        self.Retrieve = channel.unary_unary(
                '/lara_django.lara_django_samples.SampleClassByIRIController/Retrieve',
                request_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleClassByIRIRetrieveRequest.SerializeToString,
                response_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleClassByIRIResponse.FromString,
                _registered_method=True)


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

    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 Retrieve(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_SampleClassByIRIControllerServicer_to_server(servicer, server):
    rpc_method_handlers = {
            'List': grpc.unary_unary_rpc_method_handler(
                    servicer.List,
                    request_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleClassByIRIListRequest.FromString,
                    response_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleClassByIRIListResponse.SerializeToString,
            ),
            'Retrieve': grpc.unary_unary_rpc_method_handler(
                    servicer.Retrieve,
                    request_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleClassByIRIRetrieveRequest.FromString,
                    response_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleClassByIRIResponse.SerializeToString,
            ),
    }
    generic_handler = grpc.method_handlers_generic_handler(
            'lara_django.lara_django_samples.SampleClassByIRIController', rpc_method_handlers)
    server.add_generic_rpc_handlers((generic_handler,))
    server.add_registered_method_handlers('lara_django.lara_django_samples.SampleClassByIRIController', rpc_method_handlers)


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

    @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,
            '/lara_django.lara_django_samples.SampleClassByIRIController/List',
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleClassByIRIListRequest.SerializeToString,
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleClassByIRIListResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def Retrieve(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,
            '/lara_django.lara_django_samples.SampleClassByIRIController/Retrieve',
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleClassByIRIRetrieveRequest.SerializeToString,
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleClassByIRIResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)


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

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

        Args:
            channel: A grpc.Channel.
        """
        self.Create = channel.unary_unary(
                '/lara_django.lara_django_samples.SampleClassController/Create',
                request_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleClassRequest.SerializeToString,
                response_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleClassResponse.FromString,
                _registered_method=True)
        self.Destroy = channel.unary_unary(
                '/lara_django.lara_django_samples.SampleClassController/Destroy',
                request_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleClassDestroyRequest.SerializeToString,
                response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
                _registered_method=True)
        self.List = channel.unary_unary(
                '/lara_django.lara_django_samples.SampleClassController/List',
                request_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleClassListRequest.SerializeToString,
                response_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleClassListResponse.FromString,
                _registered_method=True)
        self.PartialUpdate = channel.unary_unary(
                '/lara_django.lara_django_samples.SampleClassController/PartialUpdate',
                request_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleClassPartialUpdateRequest.SerializeToString,
                response_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleClassResponse.FromString,
                _registered_method=True)
        self.Retrieve = channel.unary_unary(
                '/lara_django.lara_django_samples.SampleClassController/Retrieve',
                request_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleClassRetrieveRequest.SerializeToString,
                response_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleClassResponse.FromString,
                _registered_method=True)
        self.Stream = channel.unary_stream(
                '/lara_django.lara_django_samples.SampleClassController/Stream',
                request_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleClassStreamRequest.SerializeToString,
                response_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleClassResponse.FromString,
                _registered_method=True)
        self.Update = channel.unary_unary(
                '/lara_django.lara_django_samples.SampleClassController/Update',
                request_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleClassRequest.SerializeToString,
                response_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleClassResponse.FromString,
                _registered_method=True)


class SampleClassControllerServicer(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 Destroy(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 PartialUpdate(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 Retrieve(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 Stream(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 add_SampleClassControllerServicer_to_server(servicer, server):
    rpc_method_handlers = {
            'Create': grpc.unary_unary_rpc_method_handler(
                    servicer.Create,
                    request_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleClassRequest.FromString,
                    response_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleClassResponse.SerializeToString,
            ),
            'Destroy': grpc.unary_unary_rpc_method_handler(
                    servicer.Destroy,
                    request_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleClassDestroyRequest.FromString,
                    response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
            ),
            'List': grpc.unary_unary_rpc_method_handler(
                    servicer.List,
                    request_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleClassListRequest.FromString,
                    response_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleClassListResponse.SerializeToString,
            ),
            'PartialUpdate': grpc.unary_unary_rpc_method_handler(
                    servicer.PartialUpdate,
                    request_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleClassPartialUpdateRequest.FromString,
                    response_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleClassResponse.SerializeToString,
            ),
            'Retrieve': grpc.unary_unary_rpc_method_handler(
                    servicer.Retrieve,
                    request_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleClassRetrieveRequest.FromString,
                    response_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleClassResponse.SerializeToString,
            ),
            'Stream': grpc.unary_stream_rpc_method_handler(
                    servicer.Stream,
                    request_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleClassStreamRequest.FromString,
                    response_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleClassResponse.SerializeToString,
            ),
            'Update': grpc.unary_unary_rpc_method_handler(
                    servicer.Update,
                    request_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleClassRequest.FromString,
                    response_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleClassResponse.SerializeToString,
            ),
    }
    generic_handler = grpc.method_handlers_generic_handler(
            'lara_django.lara_django_samples.SampleClassController', rpc_method_handlers)
    server.add_generic_rpc_handlers((generic_handler,))
    server.add_registered_method_handlers('lara_django.lara_django_samples.SampleClassController', rpc_method_handlers)


 # This class is part of an EXPERIMENTAL API.
class SampleClassController(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,
            '/lara_django.lara_django_samples.SampleClassController/Create',
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleClassRequest.SerializeToString,
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleClassResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def Destroy(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,
            '/lara_django.lara_django_samples.SampleClassController/Destroy',
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleClassDestroyRequest.SerializeToString,
            google_dot_protobuf_dot_empty__pb2.Empty.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @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,
            '/lara_django.lara_django_samples.SampleClassController/List',
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleClassListRequest.SerializeToString,
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleClassListResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def PartialUpdate(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,
            '/lara_django.lara_django_samples.SampleClassController/PartialUpdate',
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleClassPartialUpdateRequest.SerializeToString,
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleClassResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def Retrieve(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,
            '/lara_django.lara_django_samples.SampleClassController/Retrieve',
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleClassRetrieveRequest.SerializeToString,
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleClassResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def Stream(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_stream(
            request,
            target,
            '/lara_django.lara_django_samples.SampleClassController/Stream',
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleClassStreamRequest.SerializeToString,
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleClassResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @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,
            '/lara_django.lara_django_samples.SampleClassController/Update',
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleClassRequest.SerializeToString,
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleClassResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)


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

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

        Args:
            channel: A grpc.Channel.
        """
        self.Create = channel.unary_unary(
                '/lara_django.lara_django_samples.SampleController/Create',
                request_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleRequest.SerializeToString,
                response_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleResponse.FromString,
                _registered_method=True)
        self.Destroy = channel.unary_unary(
                '/lara_django.lara_django_samples.SampleController/Destroy',
                request_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleDestroyRequest.SerializeToString,
                response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
                _registered_method=True)
        self.DownloadFile = channel.unary_stream(
                '/lara_django.lara_django_samples.SampleController/DownloadFile',
                request_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.FileDownloadInfo.SerializeToString,
                response_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.FileDownloadChunk.FromString,
                _registered_method=True)
        self.DownloadImage = channel.unary_stream(
                '/lara_django.lara_django_samples.SampleController/DownloadImage',
                request_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.ImageDownloadInfo.SerializeToString,
                response_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.ImageDownloadChunk.FromString,
                _registered_method=True)
        self.List = channel.unary_unary(
                '/lara_django.lara_django_samples.SampleController/List',
                request_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleListRequest.SerializeToString,
                response_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleListResponse.FromString,
                _registered_method=True)
        self.PartialUpdate = channel.unary_unary(
                '/lara_django.lara_django_samples.SampleController/PartialUpdate',
                request_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SamplePartialUpdateRequest.SerializeToString,
                response_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleResponse.FromString,
                _registered_method=True)
        self.Retrieve = channel.unary_unary(
                '/lara_django.lara_django_samples.SampleController/Retrieve',
                request_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleRetrieveRequest.SerializeToString,
                response_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleResponse.FromString,
                _registered_method=True)
        self.RetrieveByNameNamespace = channel.unary_unary(
                '/lara_django.lara_django_samples.SampleController/RetrieveByNameNamespace',
                request_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleRetrieveByNameNSRequest.SerializeToString,
                response_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleResponse.FromString,
                _registered_method=True)
        self.Stream = channel.unary_stream(
                '/lara_django.lara_django_samples.SampleController/Stream',
                request_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleStreamRequest.SerializeToString,
                response_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleResponse.FromString,
                _registered_method=True)
        self.Update = channel.unary_unary(
                '/lara_django.lara_django_samples.SampleController/Update',
                request_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleRequest.SerializeToString,
                response_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleResponse.FromString,
                _registered_method=True)
        self.UploadFile = channel.stream_unary(
                '/lara_django.lara_django_samples.SampleController/UploadFile',
                request_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.FileUploadChunk.SerializeToString,
                response_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.FileUploadInfo.FromString,
                _registered_method=True)
        self.UploadImage = channel.stream_unary(
                '/lara_django.lara_django_samples.SampleController/UploadImage',
                request_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.ImageUploadChunk.SerializeToString,
                response_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.ImageUploadInfo.FromString,
                _registered_method=True)


class SampleControllerServicer(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 Destroy(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 DownloadFile(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 DownloadImage(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 PartialUpdate(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 Retrieve(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 RetrieveByNameNamespace(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 Stream(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 UploadFile(self, request_iterator, 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 UploadImage(self, request_iterator, 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_SampleControllerServicer_to_server(servicer, server):
    rpc_method_handlers = {
            'Create': grpc.unary_unary_rpc_method_handler(
                    servicer.Create,
                    request_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleRequest.FromString,
                    response_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleResponse.SerializeToString,
            ),
            'Destroy': grpc.unary_unary_rpc_method_handler(
                    servicer.Destroy,
                    request_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleDestroyRequest.FromString,
                    response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
            ),
            'DownloadFile': grpc.unary_stream_rpc_method_handler(
                    servicer.DownloadFile,
                    request_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.FileDownloadInfo.FromString,
                    response_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.FileDownloadChunk.SerializeToString,
            ),
            'DownloadImage': grpc.unary_stream_rpc_method_handler(
                    servicer.DownloadImage,
                    request_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.ImageDownloadInfo.FromString,
                    response_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.ImageDownloadChunk.SerializeToString,
            ),
            'List': grpc.unary_unary_rpc_method_handler(
                    servicer.List,
                    request_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleListRequest.FromString,
                    response_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleListResponse.SerializeToString,
            ),
            'PartialUpdate': grpc.unary_unary_rpc_method_handler(
                    servicer.PartialUpdate,
                    request_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SamplePartialUpdateRequest.FromString,
                    response_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleResponse.SerializeToString,
            ),
            'Retrieve': grpc.unary_unary_rpc_method_handler(
                    servicer.Retrieve,
                    request_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleRetrieveRequest.FromString,
                    response_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleResponse.SerializeToString,
            ),
            'RetrieveByNameNamespace': grpc.unary_unary_rpc_method_handler(
                    servicer.RetrieveByNameNamespace,
                    request_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleRetrieveByNameNSRequest.FromString,
                    response_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleResponse.SerializeToString,
            ),
            'Stream': grpc.unary_stream_rpc_method_handler(
                    servicer.Stream,
                    request_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleStreamRequest.FromString,
                    response_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleResponse.SerializeToString,
            ),
            'Update': grpc.unary_unary_rpc_method_handler(
                    servicer.Update,
                    request_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleRequest.FromString,
                    response_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleResponse.SerializeToString,
            ),
            'UploadFile': grpc.stream_unary_rpc_method_handler(
                    servicer.UploadFile,
                    request_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.FileUploadChunk.FromString,
                    response_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.FileUploadInfo.SerializeToString,
            ),
            'UploadImage': grpc.stream_unary_rpc_method_handler(
                    servicer.UploadImage,
                    request_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.ImageUploadChunk.FromString,
                    response_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.ImageUploadInfo.SerializeToString,
            ),
    }
    generic_handler = grpc.method_handlers_generic_handler(
            'lara_django.lara_django_samples.SampleController', rpc_method_handlers)
    server.add_generic_rpc_handlers((generic_handler,))
    server.add_registered_method_handlers('lara_django.lara_django_samples.SampleController', rpc_method_handlers)


 # This class is part of an EXPERIMENTAL API.
class SampleController(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,
            '/lara_django.lara_django_samples.SampleController/Create',
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleRequest.SerializeToString,
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def Destroy(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,
            '/lara_django.lara_django_samples.SampleController/Destroy',
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleDestroyRequest.SerializeToString,
            google_dot_protobuf_dot_empty__pb2.Empty.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def DownloadFile(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_stream(
            request,
            target,
            '/lara_django.lara_django_samples.SampleController/DownloadFile',
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.FileDownloadInfo.SerializeToString,
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.FileDownloadChunk.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def DownloadImage(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_stream(
            request,
            target,
            '/lara_django.lara_django_samples.SampleController/DownloadImage',
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.ImageDownloadInfo.SerializeToString,
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.ImageDownloadChunk.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @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,
            '/lara_django.lara_django_samples.SampleController/List',
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleListRequest.SerializeToString,
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleListResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def PartialUpdate(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,
            '/lara_django.lara_django_samples.SampleController/PartialUpdate',
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SamplePartialUpdateRequest.SerializeToString,
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def Retrieve(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,
            '/lara_django.lara_django_samples.SampleController/Retrieve',
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleRetrieveRequest.SerializeToString,
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def RetrieveByNameNamespace(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,
            '/lara_django.lara_django_samples.SampleController/RetrieveByNameNamespace',
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleRetrieveByNameNSRequest.SerializeToString,
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def Stream(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_stream(
            request,
            target,
            '/lara_django.lara_django_samples.SampleController/Stream',
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleStreamRequest.SerializeToString,
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @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,
            '/lara_django.lara_django_samples.SampleController/Update',
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleRequest.SerializeToString,
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def UploadFile(request_iterator,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.stream_unary(
            request_iterator,
            target,
            '/lara_django.lara_django_samples.SampleController/UploadFile',
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.FileUploadChunk.SerializeToString,
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.FileUploadInfo.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def UploadImage(request_iterator,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.stream_unary(
            request_iterator,
            target,
            '/lara_django.lara_django_samples.SampleController/UploadImage',
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.ImageUploadChunk.SerializeToString,
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.ImageUploadInfo.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)


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

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

        Args:
            channel: A grpc.Channel.
        """
        self.Create = channel.unary_unary(
                '/lara_django.lara_django_samples.SampleFullController/Create',
                request_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleFullRequest.SerializeToString,
                response_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleFullResponse.FromString,
                _registered_method=True)
        self.Destroy = channel.unary_unary(
                '/lara_django.lara_django_samples.SampleFullController/Destroy',
                request_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleFullDestroyRequest.SerializeToString,
                response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
                _registered_method=True)
        self.List = channel.unary_unary(
                '/lara_django.lara_django_samples.SampleFullController/List',
                request_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleFullListRequest.SerializeToString,
                response_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleFullListResponse.FromString,
                _registered_method=True)
        self.PartialUpdate = channel.unary_unary(
                '/lara_django.lara_django_samples.SampleFullController/PartialUpdate',
                request_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleFullPartialUpdateRequest.SerializeToString,
                response_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleFullResponse.FromString,
                _registered_method=True)
        self.Retrieve = channel.unary_unary(
                '/lara_django.lara_django_samples.SampleFullController/Retrieve',
                request_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleFullRetrieveRequest.SerializeToString,
                response_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleFullResponse.FromString,
                _registered_method=True)
        self.Stream = channel.unary_stream(
                '/lara_django.lara_django_samples.SampleFullController/Stream',
                request_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleFullStreamRequest.SerializeToString,
                response_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleFullResponse.FromString,
                _registered_method=True)
        self.Update = channel.unary_unary(
                '/lara_django.lara_django_samples.SampleFullController/Update',
                request_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleFullRequest.SerializeToString,
                response_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleFullResponse.FromString,
                _registered_method=True)


class SampleFullControllerServicer(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 Destroy(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 PartialUpdate(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 Retrieve(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 Stream(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 add_SampleFullControllerServicer_to_server(servicer, server):
    rpc_method_handlers = {
            'Create': grpc.unary_unary_rpc_method_handler(
                    servicer.Create,
                    request_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleFullRequest.FromString,
                    response_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleFullResponse.SerializeToString,
            ),
            'Destroy': grpc.unary_unary_rpc_method_handler(
                    servicer.Destroy,
                    request_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleFullDestroyRequest.FromString,
                    response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
            ),
            'List': grpc.unary_unary_rpc_method_handler(
                    servicer.List,
                    request_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleFullListRequest.FromString,
                    response_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleFullListResponse.SerializeToString,
            ),
            'PartialUpdate': grpc.unary_unary_rpc_method_handler(
                    servicer.PartialUpdate,
                    request_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleFullPartialUpdateRequest.FromString,
                    response_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleFullResponse.SerializeToString,
            ),
            'Retrieve': grpc.unary_unary_rpc_method_handler(
                    servicer.Retrieve,
                    request_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleFullRetrieveRequest.FromString,
                    response_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleFullResponse.SerializeToString,
            ),
            'Stream': grpc.unary_stream_rpc_method_handler(
                    servicer.Stream,
                    request_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleFullStreamRequest.FromString,
                    response_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleFullResponse.SerializeToString,
            ),
            'Update': grpc.unary_unary_rpc_method_handler(
                    servicer.Update,
                    request_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleFullRequest.FromString,
                    response_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleFullResponse.SerializeToString,
            ),
    }
    generic_handler = grpc.method_handlers_generic_handler(
            'lara_django.lara_django_samples.SampleFullController', rpc_method_handlers)
    server.add_generic_rpc_handlers((generic_handler,))
    server.add_registered_method_handlers('lara_django.lara_django_samples.SampleFullController', rpc_method_handlers)


 # This class is part of an EXPERIMENTAL API.
class SampleFullController(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,
            '/lara_django.lara_django_samples.SampleFullController/Create',
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleFullRequest.SerializeToString,
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleFullResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def Destroy(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,
            '/lara_django.lara_django_samples.SampleFullController/Destroy',
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleFullDestroyRequest.SerializeToString,
            google_dot_protobuf_dot_empty__pb2.Empty.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @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,
            '/lara_django.lara_django_samples.SampleFullController/List',
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleFullListRequest.SerializeToString,
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleFullListResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def PartialUpdate(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,
            '/lara_django.lara_django_samples.SampleFullController/PartialUpdate',
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleFullPartialUpdateRequest.SerializeToString,
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleFullResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def Retrieve(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,
            '/lara_django.lara_django_samples.SampleFullController/Retrieve',
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleFullRetrieveRequest.SerializeToString,
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleFullResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def Stream(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_stream(
            request,
            target,
            '/lara_django.lara_django_samples.SampleFullController/Stream',
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleFullStreamRequest.SerializeToString,
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleFullResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @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,
            '/lara_django.lara_django_samples.SampleFullController/Update',
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleFullRequest.SerializeToString,
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleFullResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)


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

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

        Args:
            channel: A grpc.Channel.
        """
        self.Create = channel.unary_unary(
                '/lara_django.lara_django_samples.SampleLayoutController/Create',
                request_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleLayoutRequest.SerializeToString,
                response_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleLayoutResponse.FromString,
                _registered_method=True)
        self.Destroy = channel.unary_unary(
                '/lara_django.lara_django_samples.SampleLayoutController/Destroy',
                request_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleLayoutDestroyRequest.SerializeToString,
                response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
                _registered_method=True)
        self.DownloadFile = channel.unary_stream(
                '/lara_django.lara_django_samples.SampleLayoutController/DownloadFile',
                request_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.FileDownloadInfo.SerializeToString,
                response_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.FileDownloadChunk.FromString,
                _registered_method=True)
        self.DownloadImage = channel.unary_stream(
                '/lara_django.lara_django_samples.SampleLayoutController/DownloadImage',
                request_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.ImageDownloadInfo.SerializeToString,
                response_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.ImageDownloadChunk.FromString,
                _registered_method=True)
        self.List = channel.unary_unary(
                '/lara_django.lara_django_samples.SampleLayoutController/List',
                request_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleLayoutListRequest.SerializeToString,
                response_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleLayoutListResponse.FromString,
                _registered_method=True)
        self.PartialUpdate = channel.unary_unary(
                '/lara_django.lara_django_samples.SampleLayoutController/PartialUpdate',
                request_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleLayoutPartialUpdateRequest.SerializeToString,
                response_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleLayoutResponse.FromString,
                _registered_method=True)
        self.Retrieve = channel.unary_unary(
                '/lara_django.lara_django_samples.SampleLayoutController/Retrieve',
                request_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleLayoutRetrieveRequest.SerializeToString,
                response_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleLayoutResponse.FromString,
                _registered_method=True)
        self.RetrieveByNameNamespace = channel.unary_unary(
                '/lara_django.lara_django_samples.SampleLayoutController/RetrieveByNameNamespace',
                request_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleLayoutRetrieveByNameNSRequest.SerializeToString,
                response_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleLayoutResponse.FromString,
                _registered_method=True)
        self.Stream = channel.unary_stream(
                '/lara_django.lara_django_samples.SampleLayoutController/Stream',
                request_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleLayoutStreamRequest.SerializeToString,
                response_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleLayoutResponse.FromString,
                _registered_method=True)
        self.Update = channel.unary_unary(
                '/lara_django.lara_django_samples.SampleLayoutController/Update',
                request_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleLayoutRequest.SerializeToString,
                response_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleLayoutResponse.FromString,
                _registered_method=True)
        self.UploadFile = channel.stream_unary(
                '/lara_django.lara_django_samples.SampleLayoutController/UploadFile',
                request_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.FileUploadChunk.SerializeToString,
                response_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.FileUploadInfo.FromString,
                _registered_method=True)
        self.UploadImage = channel.stream_unary(
                '/lara_django.lara_django_samples.SampleLayoutController/UploadImage',
                request_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.ImageUploadChunk.SerializeToString,
                response_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.ImageUploadInfo.FromString,
                _registered_method=True)


class SampleLayoutControllerServicer(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 Destroy(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 DownloadFile(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 DownloadImage(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 PartialUpdate(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 Retrieve(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 RetrieveByNameNamespace(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 Stream(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 UploadFile(self, request_iterator, 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 UploadImage(self, request_iterator, 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_SampleLayoutControllerServicer_to_server(servicer, server):
    rpc_method_handlers = {
            'Create': grpc.unary_unary_rpc_method_handler(
                    servicer.Create,
                    request_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleLayoutRequest.FromString,
                    response_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleLayoutResponse.SerializeToString,
            ),
            'Destroy': grpc.unary_unary_rpc_method_handler(
                    servicer.Destroy,
                    request_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleLayoutDestroyRequest.FromString,
                    response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
            ),
            'DownloadFile': grpc.unary_stream_rpc_method_handler(
                    servicer.DownloadFile,
                    request_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.FileDownloadInfo.FromString,
                    response_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.FileDownloadChunk.SerializeToString,
            ),
            'DownloadImage': grpc.unary_stream_rpc_method_handler(
                    servicer.DownloadImage,
                    request_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.ImageDownloadInfo.FromString,
                    response_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.ImageDownloadChunk.SerializeToString,
            ),
            'List': grpc.unary_unary_rpc_method_handler(
                    servicer.List,
                    request_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleLayoutListRequest.FromString,
                    response_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleLayoutListResponse.SerializeToString,
            ),
            'PartialUpdate': grpc.unary_unary_rpc_method_handler(
                    servicer.PartialUpdate,
                    request_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleLayoutPartialUpdateRequest.FromString,
                    response_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleLayoutResponse.SerializeToString,
            ),
            'Retrieve': grpc.unary_unary_rpc_method_handler(
                    servicer.Retrieve,
                    request_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleLayoutRetrieveRequest.FromString,
                    response_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleLayoutResponse.SerializeToString,
            ),
            'RetrieveByNameNamespace': grpc.unary_unary_rpc_method_handler(
                    servicer.RetrieveByNameNamespace,
                    request_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleLayoutRetrieveByNameNSRequest.FromString,
                    response_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleLayoutResponse.SerializeToString,
            ),
            'Stream': grpc.unary_stream_rpc_method_handler(
                    servicer.Stream,
                    request_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleLayoutStreamRequest.FromString,
                    response_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleLayoutResponse.SerializeToString,
            ),
            'Update': grpc.unary_unary_rpc_method_handler(
                    servicer.Update,
                    request_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleLayoutRequest.FromString,
                    response_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleLayoutResponse.SerializeToString,
            ),
            'UploadFile': grpc.stream_unary_rpc_method_handler(
                    servicer.UploadFile,
                    request_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.FileUploadChunk.FromString,
                    response_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.FileUploadInfo.SerializeToString,
            ),
            'UploadImage': grpc.stream_unary_rpc_method_handler(
                    servicer.UploadImage,
                    request_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.ImageUploadChunk.FromString,
                    response_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.ImageUploadInfo.SerializeToString,
            ),
    }
    generic_handler = grpc.method_handlers_generic_handler(
            'lara_django.lara_django_samples.SampleLayoutController', rpc_method_handlers)
    server.add_generic_rpc_handlers((generic_handler,))
    server.add_registered_method_handlers('lara_django.lara_django_samples.SampleLayoutController', rpc_method_handlers)


 # This class is part of an EXPERIMENTAL API.
class SampleLayoutController(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,
            '/lara_django.lara_django_samples.SampleLayoutController/Create',
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleLayoutRequest.SerializeToString,
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleLayoutResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def Destroy(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,
            '/lara_django.lara_django_samples.SampleLayoutController/Destroy',
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleLayoutDestroyRequest.SerializeToString,
            google_dot_protobuf_dot_empty__pb2.Empty.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def DownloadFile(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_stream(
            request,
            target,
            '/lara_django.lara_django_samples.SampleLayoutController/DownloadFile',
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.FileDownloadInfo.SerializeToString,
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.FileDownloadChunk.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def DownloadImage(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_stream(
            request,
            target,
            '/lara_django.lara_django_samples.SampleLayoutController/DownloadImage',
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.ImageDownloadInfo.SerializeToString,
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.ImageDownloadChunk.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @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,
            '/lara_django.lara_django_samples.SampleLayoutController/List',
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleLayoutListRequest.SerializeToString,
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleLayoutListResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def PartialUpdate(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,
            '/lara_django.lara_django_samples.SampleLayoutController/PartialUpdate',
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleLayoutPartialUpdateRequest.SerializeToString,
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleLayoutResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def Retrieve(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,
            '/lara_django.lara_django_samples.SampleLayoutController/Retrieve',
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleLayoutRetrieveRequest.SerializeToString,
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleLayoutResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def RetrieveByNameNamespace(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,
            '/lara_django.lara_django_samples.SampleLayoutController/RetrieveByNameNamespace',
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleLayoutRetrieveByNameNSRequest.SerializeToString,
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleLayoutResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def Stream(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_stream(
            request,
            target,
            '/lara_django.lara_django_samples.SampleLayoutController/Stream',
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleLayoutStreamRequest.SerializeToString,
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleLayoutResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @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,
            '/lara_django.lara_django_samples.SampleLayoutController/Update',
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleLayoutRequest.SerializeToString,
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleLayoutResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def UploadFile(request_iterator,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.stream_unary(
            request_iterator,
            target,
            '/lara_django.lara_django_samples.SampleLayoutController/UploadFile',
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.FileUploadChunk.SerializeToString,
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.FileUploadInfo.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def UploadImage(request_iterator,
            target,
            options=(),
            channel_credentials=None,
            call_credentials=None,
            insecure=False,
            compression=None,
            wait_for_ready=None,
            timeout=None,
            metadata=None):
        return grpc.experimental.stream_unary(
            request_iterator,
            target,
            '/lara_django.lara_django_samples.SampleLayoutController/UploadImage',
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.ImageUploadChunk.SerializeToString,
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.ImageUploadInfo.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)


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

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

        Args:
            channel: A grpc.Channel.
        """
        self.Create = channel.unary_unary(
                '/lara_django.lara_django_samples.SampleSetController/Create',
                request_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleSetRequest.SerializeToString,
                response_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleSetResponse.FromString,
                _registered_method=True)
        self.Destroy = channel.unary_unary(
                '/lara_django.lara_django_samples.SampleSetController/Destroy',
                request_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleSetDestroyRequest.SerializeToString,
                response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
                _registered_method=True)
        self.List = channel.unary_unary(
                '/lara_django.lara_django_samples.SampleSetController/List',
                request_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleSetListRequest.SerializeToString,
                response_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleSetListResponse.FromString,
                _registered_method=True)
        self.PartialUpdate = channel.unary_unary(
                '/lara_django.lara_django_samples.SampleSetController/PartialUpdate',
                request_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleSetPartialUpdateRequest.SerializeToString,
                response_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleSetResponse.FromString,
                _registered_method=True)
        self.Retrieve = channel.unary_unary(
                '/lara_django.lara_django_samples.SampleSetController/Retrieve',
                request_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleSetRetrieveRequest.SerializeToString,
                response_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleSetResponse.FromString,
                _registered_method=True)
        self.Stream = channel.unary_stream(
                '/lara_django.lara_django_samples.SampleSetController/Stream',
                request_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleSetStreamRequest.SerializeToString,
                response_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleSetResponse.FromString,
                _registered_method=True)
        self.Update = channel.unary_unary(
                '/lara_django.lara_django_samples.SampleSetController/Update',
                request_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleSetRequest.SerializeToString,
                response_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleSetResponse.FromString,
                _registered_method=True)


class SampleSetControllerServicer(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 Destroy(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 PartialUpdate(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 Retrieve(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 Stream(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 add_SampleSetControllerServicer_to_server(servicer, server):
    rpc_method_handlers = {
            'Create': grpc.unary_unary_rpc_method_handler(
                    servicer.Create,
                    request_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleSetRequest.FromString,
                    response_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleSetResponse.SerializeToString,
            ),
            'Destroy': grpc.unary_unary_rpc_method_handler(
                    servicer.Destroy,
                    request_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleSetDestroyRequest.FromString,
                    response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
            ),
            'List': grpc.unary_unary_rpc_method_handler(
                    servicer.List,
                    request_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleSetListRequest.FromString,
                    response_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleSetListResponse.SerializeToString,
            ),
            'PartialUpdate': grpc.unary_unary_rpc_method_handler(
                    servicer.PartialUpdate,
                    request_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleSetPartialUpdateRequest.FromString,
                    response_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleSetResponse.SerializeToString,
            ),
            'Retrieve': grpc.unary_unary_rpc_method_handler(
                    servicer.Retrieve,
                    request_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleSetRetrieveRequest.FromString,
                    response_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleSetResponse.SerializeToString,
            ),
            'Stream': grpc.unary_stream_rpc_method_handler(
                    servicer.Stream,
                    request_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleSetStreamRequest.FromString,
                    response_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleSetResponse.SerializeToString,
            ),
            'Update': grpc.unary_unary_rpc_method_handler(
                    servicer.Update,
                    request_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleSetRequest.FromString,
                    response_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleSetResponse.SerializeToString,
            ),
    }
    generic_handler = grpc.method_handlers_generic_handler(
            'lara_django.lara_django_samples.SampleSetController', rpc_method_handlers)
    server.add_generic_rpc_handlers((generic_handler,))
    server.add_registered_method_handlers('lara_django.lara_django_samples.SampleSetController', rpc_method_handlers)


 # This class is part of an EXPERIMENTAL API.
class SampleSetController(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,
            '/lara_django.lara_django_samples.SampleSetController/Create',
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleSetRequest.SerializeToString,
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleSetResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def Destroy(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,
            '/lara_django.lara_django_samples.SampleSetController/Destroy',
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleSetDestroyRequest.SerializeToString,
            google_dot_protobuf_dot_empty__pb2.Empty.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @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,
            '/lara_django.lara_django_samples.SampleSetController/List',
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleSetListRequest.SerializeToString,
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleSetListResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def PartialUpdate(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,
            '/lara_django.lara_django_samples.SampleSetController/PartialUpdate',
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleSetPartialUpdateRequest.SerializeToString,
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleSetResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def Retrieve(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,
            '/lara_django.lara_django_samples.SampleSetController/Retrieve',
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleSetRetrieveRequest.SerializeToString,
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleSetResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def Stream(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_stream(
            request,
            target,
            '/lara_django.lara_django_samples.SampleSetController/Stream',
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleSetStreamRequest.SerializeToString,
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleSetResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @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,
            '/lara_django.lara_django_samples.SampleSetController/Update',
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleSetRequest.SerializeToString,
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleSetResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)


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

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

        Args:
            channel: A grpc.Channel.
        """
        self.Create = channel.unary_unary(
                '/lara_django.lara_django_samples.SampleSetsSubsetController/Create',
                request_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleSetsSubsetRequest.SerializeToString,
                response_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleSetsSubsetResponse.FromString,
                _registered_method=True)
        self.Destroy = channel.unary_unary(
                '/lara_django.lara_django_samples.SampleSetsSubsetController/Destroy',
                request_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleSetsSubsetDestroyRequest.SerializeToString,
                response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
                _registered_method=True)
        self.List = channel.unary_unary(
                '/lara_django.lara_django_samples.SampleSetsSubsetController/List',
                request_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleSetsSubsetListRequest.SerializeToString,
                response_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleSetsSubsetListResponse.FromString,
                _registered_method=True)
        self.PartialUpdate = channel.unary_unary(
                '/lara_django.lara_django_samples.SampleSetsSubsetController/PartialUpdate',
                request_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleSetsSubsetPartialUpdateRequest.SerializeToString,
                response_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleSetsSubsetResponse.FromString,
                _registered_method=True)
        self.Retrieve = channel.unary_unary(
                '/lara_django.lara_django_samples.SampleSetsSubsetController/Retrieve',
                request_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleSetsSubsetRetrieveRequest.SerializeToString,
                response_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleSetsSubsetResponse.FromString,
                _registered_method=True)
        self.Stream = channel.unary_stream(
                '/lara_django.lara_django_samples.SampleSetsSubsetController/Stream',
                request_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleSetsSubsetStreamRequest.SerializeToString,
                response_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleSetsSubsetResponse.FromString,
                _registered_method=True)
        self.Update = channel.unary_unary(
                '/lara_django.lara_django_samples.SampleSetsSubsetController/Update',
                request_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleSetsSubsetRequest.SerializeToString,
                response_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleSetsSubsetResponse.FromString,
                _registered_method=True)


class SampleSetsSubsetControllerServicer(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 Destroy(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 PartialUpdate(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 Retrieve(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 Stream(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 add_SampleSetsSubsetControllerServicer_to_server(servicer, server):
    rpc_method_handlers = {
            'Create': grpc.unary_unary_rpc_method_handler(
                    servicer.Create,
                    request_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleSetsSubsetRequest.FromString,
                    response_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleSetsSubsetResponse.SerializeToString,
            ),
            'Destroy': grpc.unary_unary_rpc_method_handler(
                    servicer.Destroy,
                    request_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleSetsSubsetDestroyRequest.FromString,
                    response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
            ),
            'List': grpc.unary_unary_rpc_method_handler(
                    servicer.List,
                    request_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleSetsSubsetListRequest.FromString,
                    response_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleSetsSubsetListResponse.SerializeToString,
            ),
            'PartialUpdate': grpc.unary_unary_rpc_method_handler(
                    servicer.PartialUpdate,
                    request_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleSetsSubsetPartialUpdateRequest.FromString,
                    response_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleSetsSubsetResponse.SerializeToString,
            ),
            'Retrieve': grpc.unary_unary_rpc_method_handler(
                    servicer.Retrieve,
                    request_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleSetsSubsetRetrieveRequest.FromString,
                    response_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleSetsSubsetResponse.SerializeToString,
            ),
            'Stream': grpc.unary_stream_rpc_method_handler(
                    servicer.Stream,
                    request_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleSetsSubsetStreamRequest.FromString,
                    response_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleSetsSubsetResponse.SerializeToString,
            ),
            'Update': grpc.unary_unary_rpc_method_handler(
                    servicer.Update,
                    request_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleSetsSubsetRequest.FromString,
                    response_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleSetsSubsetResponse.SerializeToString,
            ),
    }
    generic_handler = grpc.method_handlers_generic_handler(
            'lara_django.lara_django_samples.SampleSetsSubsetController', rpc_method_handlers)
    server.add_generic_rpc_handlers((generic_handler,))
    server.add_registered_method_handlers('lara_django.lara_django_samples.SampleSetsSubsetController', rpc_method_handlers)


 # This class is part of an EXPERIMENTAL API.
class SampleSetsSubsetController(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,
            '/lara_django.lara_django_samples.SampleSetsSubsetController/Create',
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleSetsSubsetRequest.SerializeToString,
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleSetsSubsetResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def Destroy(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,
            '/lara_django.lara_django_samples.SampleSetsSubsetController/Destroy',
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleSetsSubsetDestroyRequest.SerializeToString,
            google_dot_protobuf_dot_empty__pb2.Empty.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @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,
            '/lara_django.lara_django_samples.SampleSetsSubsetController/List',
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleSetsSubsetListRequest.SerializeToString,
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleSetsSubsetListResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def PartialUpdate(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,
            '/lara_django.lara_django_samples.SampleSetsSubsetController/PartialUpdate',
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleSetsSubsetPartialUpdateRequest.SerializeToString,
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleSetsSubsetResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def Retrieve(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,
            '/lara_django.lara_django_samples.SampleSetsSubsetController/Retrieve',
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleSetsSubsetRetrieveRequest.SerializeToString,
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleSetsSubsetResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def Stream(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_stream(
            request,
            target,
            '/lara_django.lara_django_samples.SampleSetsSubsetController/Stream',
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleSetsSubsetStreamRequest.SerializeToString,
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleSetsSubsetResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @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,
            '/lara_django.lara_django_samples.SampleSetsSubsetController/Update',
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleSetsSubsetRequest.SerializeToString,
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SampleSetsSubsetResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)


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

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

        Args:
            channel: A grpc.Channel.
        """
        self.Create = channel.unary_unary(
                '/lara_django.lara_django_samples.SamplesSubsetController/Create',
                request_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SamplesSubsetRequest.SerializeToString,
                response_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SamplesSubsetResponse.FromString,
                _registered_method=True)
        self.Destroy = channel.unary_unary(
                '/lara_django.lara_django_samples.SamplesSubsetController/Destroy',
                request_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SamplesSubsetDestroyRequest.SerializeToString,
                response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
                _registered_method=True)
        self.List = channel.unary_unary(
                '/lara_django.lara_django_samples.SamplesSubsetController/List',
                request_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SamplesSubsetListRequest.SerializeToString,
                response_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SamplesSubsetListResponse.FromString,
                _registered_method=True)
        self.PartialUpdate = channel.unary_unary(
                '/lara_django.lara_django_samples.SamplesSubsetController/PartialUpdate',
                request_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SamplesSubsetPartialUpdateRequest.SerializeToString,
                response_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SamplesSubsetResponse.FromString,
                _registered_method=True)
        self.Retrieve = channel.unary_unary(
                '/lara_django.lara_django_samples.SamplesSubsetController/Retrieve',
                request_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SamplesSubsetRetrieveRequest.SerializeToString,
                response_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SamplesSubsetResponse.FromString,
                _registered_method=True)
        self.Stream = channel.unary_stream(
                '/lara_django.lara_django_samples.SamplesSubsetController/Stream',
                request_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SamplesSubsetStreamRequest.SerializeToString,
                response_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SamplesSubsetResponse.FromString,
                _registered_method=True)
        self.Update = channel.unary_unary(
                '/lara_django.lara_django_samples.SamplesSubsetController/Update',
                request_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SamplesSubsetRequest.SerializeToString,
                response_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SamplesSubsetResponse.FromString,
                _registered_method=True)


class SamplesSubsetControllerServicer(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 Destroy(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 PartialUpdate(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 Retrieve(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 Stream(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 add_SamplesSubsetControllerServicer_to_server(servicer, server):
    rpc_method_handlers = {
            'Create': grpc.unary_unary_rpc_method_handler(
                    servicer.Create,
                    request_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SamplesSubsetRequest.FromString,
                    response_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SamplesSubsetResponse.SerializeToString,
            ),
            'Destroy': grpc.unary_unary_rpc_method_handler(
                    servicer.Destroy,
                    request_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SamplesSubsetDestroyRequest.FromString,
                    response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
            ),
            'List': grpc.unary_unary_rpc_method_handler(
                    servicer.List,
                    request_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SamplesSubsetListRequest.FromString,
                    response_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SamplesSubsetListResponse.SerializeToString,
            ),
            'PartialUpdate': grpc.unary_unary_rpc_method_handler(
                    servicer.PartialUpdate,
                    request_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SamplesSubsetPartialUpdateRequest.FromString,
                    response_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SamplesSubsetResponse.SerializeToString,
            ),
            'Retrieve': grpc.unary_unary_rpc_method_handler(
                    servicer.Retrieve,
                    request_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SamplesSubsetRetrieveRequest.FromString,
                    response_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SamplesSubsetResponse.SerializeToString,
            ),
            'Stream': grpc.unary_stream_rpc_method_handler(
                    servicer.Stream,
                    request_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SamplesSubsetStreamRequest.FromString,
                    response_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SamplesSubsetResponse.SerializeToString,
            ),
            'Update': grpc.unary_unary_rpc_method_handler(
                    servicer.Update,
                    request_deserializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SamplesSubsetRequest.FromString,
                    response_serializer=lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SamplesSubsetResponse.SerializeToString,
            ),
    }
    generic_handler = grpc.method_handlers_generic_handler(
            'lara_django.lara_django_samples.SamplesSubsetController', rpc_method_handlers)
    server.add_generic_rpc_handlers((generic_handler,))
    server.add_registered_method_handlers('lara_django.lara_django_samples.SamplesSubsetController', rpc_method_handlers)


 # This class is part of an EXPERIMENTAL API.
class SamplesSubsetController(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,
            '/lara_django.lara_django_samples.SamplesSubsetController/Create',
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SamplesSubsetRequest.SerializeToString,
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SamplesSubsetResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def Destroy(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,
            '/lara_django.lara_django_samples.SamplesSubsetController/Destroy',
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SamplesSubsetDestroyRequest.SerializeToString,
            google_dot_protobuf_dot_empty__pb2.Empty.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @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,
            '/lara_django.lara_django_samples.SamplesSubsetController/List',
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SamplesSubsetListRequest.SerializeToString,
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SamplesSubsetListResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def PartialUpdate(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,
            '/lara_django.lara_django_samples.SamplesSubsetController/PartialUpdate',
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SamplesSubsetPartialUpdateRequest.SerializeToString,
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SamplesSubsetResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def Retrieve(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,
            '/lara_django.lara_django_samples.SamplesSubsetController/Retrieve',
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SamplesSubsetRetrieveRequest.SerializeToString,
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SamplesSubsetResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @staticmethod
    def Stream(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_stream(
            request,
            target,
            '/lara_django.lara_django_samples.SamplesSubsetController/Stream',
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SamplesSubsetStreamRequest.SerializeToString,
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SamplesSubsetResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)

    @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,
            '/lara_django.lara_django_samples.SamplesSubsetController/Update',
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SamplesSubsetRequest.SerializeToString,
            lara__django__samples__grpc_dot_v1_dot_lara__django__samples__pb2.SamplesSubsetResponse.FromString,
            options,
            channel_credentials,
            insecure,
            call_credentials,
            compression,
            wait_for_ready,
            timeout,
            metadata,
            _registered_method=True)
