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

    Args:
      channel: A grpc.Channel.
    """
    self.ListDocuments = channel.unary_unary(
        '/google.cloud.dialogflow.v2beta1.Documents/ListDocuments',
        request_serializer=google_dot_cloud_dot_dialogflow__v2beta1_dot_proto_dot_document__pb2.ListDocumentsRequest.SerializeToString,
        response_deserializer=google_dot_cloud_dot_dialogflow__v2beta1_dot_proto_dot_document__pb2.ListDocumentsResponse.FromString,
        )
    self.GetDocument = channel.unary_unary(
        '/google.cloud.dialogflow.v2beta1.Documents/GetDocument',
        request_serializer=google_dot_cloud_dot_dialogflow__v2beta1_dot_proto_dot_document__pb2.GetDocumentRequest.SerializeToString,
        response_deserializer=google_dot_cloud_dot_dialogflow__v2beta1_dot_proto_dot_document__pb2.Document.FromString,
        )
    self.CreateDocument = channel.unary_unary(
        '/google.cloud.dialogflow.v2beta1.Documents/CreateDocument',
        request_serializer=google_dot_cloud_dot_dialogflow__v2beta1_dot_proto_dot_document__pb2.CreateDocumentRequest.SerializeToString,
        response_deserializer=google_dot_longrunning_dot_operations__pb2.Operation.FromString,
        )
    self.DeleteDocument = channel.unary_unary(
        '/google.cloud.dialogflow.v2beta1.Documents/DeleteDocument',
        request_serializer=google_dot_cloud_dot_dialogflow__v2beta1_dot_proto_dot_document__pb2.DeleteDocumentRequest.SerializeToString,
        response_deserializer=google_dot_longrunning_dot_operations__pb2.Operation.FromString,
        )
def __init__ ( self , channel ) : self . ListDocuments = channel . unary_unary ( '/google.cloud.dialogflow.v2beta1.Documents/ListDocuments' , request_serializer = google_dot_cloud_dot_dialogflow__v2beta1_dot_proto_dot_document__pb2 . ListDocumentsRequest . SerializeToString , response_deserializer = google_dot_cloud_dot_dialogflow__v2beta1_dot_proto_dot_document__pb2 . ListDocumentsResponse . FromString , ) self . GetDocument = channel . unary_unary ( '/google.cloud.dialogflow.v2beta1.Documents/GetDocument' , request_serializer = google_dot_cloud_dot_dialogflow__v2beta1_dot_proto_dot_document__pb2 . GetDocumentRequest . SerializeToString , response_deserializer = google_dot_cloud_dot_dialogflow__v2beta1_dot_proto_dot_document__pb2 . Document . FromString , ) self . CreateDocument = channel . unary_unary ( '/google.cloud.dialogflow.v2beta1.Documents/CreateDocument' , request_serializer = google_dot_cloud_dot_dialogflow__v2beta1_dot_proto_dot_document__pb2 . CreateDocumentRequest . SerializeToString , response_deserializer = google_dot_longrunning_dot_operations__pb2 . Operation . FromString , ) self . DeleteDocument = channel . unary_unary ( '/google.cloud.dialogflow.v2beta1.Documents/DeleteDocument' , request_serializer = google_dot_cloud_dot_dialogflow__v2beta1_dot_proto_dot_document__pb2 . DeleteDocumentRequest . SerializeToString , response_deserializer = google_dot_longrunning_dot_operations__pb2 . Operation . FromString , )
Constructor.

    Args:
      channel: A grpc.Channel.