text: # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
  """Client and server classes corresponding to protobuf-defined services."""
  import grpc
  
  from ondewo.nlu import webhook_pb2 as ondewo_dot_nlu_dot_webhook__pb2
  
  
  class WebhookStub(object):
      """service to send requests to a webhook server
      """
  
      def __init__(self, channel):
          """Constructor.
  
          Args:
              channel: A grpc.Channel.
          """
          self.ResponseRefinement = channel.unary_unary(
                  '/ondewo.nlu.Webhook/ResponseRefinement',
                  request_serializer=ondewo_dot_nlu_dot_webhook__pb2.WebhookRequest.SerializeToString,
                  response_deserializer=ondewo_dot_nlu_dot_webhook__pb2.WebhookResponse.FromString,
                  )
          self.SlotFilling = channel.unary_unary(
                  '/ondewo.nlu.Webhook/SlotFilling',
                  request_serializer=ondewo_dot_nlu_dot_webhook__pb2.WebhookRequest.SerializeToString,
                  response_deserializer=ondewo_dot_nlu_dot_webhook__pb2.WebhookResponse.FromString,
                  )
          self.Ping = channel.unary_unary(
                  '/ondewo.nlu.Webhook/Ping',
                  request_serializer=ondewo_dot_nlu_dot_webhook__pb2.PingRequest.SerializeToString,
                  response_deserializer=ondewo_dot_nlu_dot_webhook__pb2.PingResponse.FromString,
                  )
  
  
  class WebhookServicer(object):
      """service to send requests to a webhook server
      """
  
      def ResponseRefinement(self, request, context):
          """send a request for /response_refinement/ to the webhook server
          fulfillment messages can be overwritten by the webhook server
          """
          context.set_code(grpc.StatusCode.UNIMPLEMENTED)
          context.set_details('Method not implemented!')
          raise NotImplementedError('Method not implemented!')
  
      def SlotFilling(self, request, context):
          """send a request for /slot_filling/ to the webhook server
          parameter values can be provided &
          context information can be changed by the webhook server
          """
          context.set_code(grpc.StatusCode.UNIMPLEMENTED)
          context.set_details('Method not implemented!')
          raise NotImplementedError('Method not implemented!')
  
      def Ping(self, request, context):
          """send a Ping to the webhook server to check server health
          will return True if http status_code==200 is detected in the response
          """
          context.set_code(grpc.StatusCode.UNIMPLEMENTED)
          context.set_details('Method not implemented!')
          raise NotImplementedError('Method not implemented!')
  
  
  def add_WebhookServicer_to_server(servicer, server):
      rpc_method_handlers = {
              'ResponseRefinement': grpc.unary_unary_rpc_method_handler(
                      servicer.ResponseRefinement,
                      request_deserializer=ondewo_dot_nlu_dot_webhook__pb2.WebhookRequest.FromString,
                      response_serializer=ondewo_dot_nlu_dot_webhook__pb2.WebhookResponse.SerializeToString,
              ),
              'SlotFilling': grpc.unary_unary_rpc_method_handler(
                      servicer.SlotFilling,
                      request_deserializer=ondewo_dot_nlu_dot_webhook__pb2.WebhookRequest.FromString,
                      response_serializer=ondewo_dot_nlu_dot_webhook__pb2.WebhookResponse.SerializeToString,
              ),
              'Ping': grpc.unary_unary_rpc_method_handler(
                      servicer.Ping,
                      request_deserializer=ondewo_dot_nlu_dot_webhook__pb2.PingRequest.FromString,
                      response_serializer=ondewo_dot_nlu_dot_webhook__pb2.PingResponse.SerializeToString,
              ),
      }
      generic_handler = grpc.method_handlers_generic_handler(
              'ondewo.nlu.Webhook', rpc_method_handlers)
      server.add_generic_rpc_handlers((generic_handler,))
  
  
   # This class is part of an EXPERIMENTAL API.
  class Webhook(object):
      """service to send requests to a webhook server
      """
  
      @staticmethod
      def ResponseRefinement(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, '/ondewo.nlu.Webhook/ResponseRefinement',
              ondewo_dot_nlu_dot_webhook__pb2.WebhookRequest.SerializeToString,
              ondewo_dot_nlu_dot_webhook__pb2.WebhookResponse.FromString,
              options, channel_credentials,
              insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
  
      @staticmethod
      def SlotFilling(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, '/ondewo.nlu.Webhook/SlotFilling',
              ondewo_dot_nlu_dot_webhook__pb2.WebhookRequest.SerializeToString,
              ondewo_dot_nlu_dot_webhook__pb2.WebhookResponse.FromString,
              options, channel_credentials,
              insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
  
      @staticmethod
      def Ping(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, '/ondewo.nlu.Webhook/Ping',
              ondewo_dot_nlu_dot_webhook__pb2.PingRequest.SerializeToString,
              ondewo_dot_nlu_dot_webhook__pb2.PingResponse.FromString,
              options, channel_credentials,
              insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
  