KnowledgeBasesServiceBase constructor

KnowledgeBasesServiceBase()

Implementation

KnowledgeBasesServiceBase() {
  $addMethod($grpc.ServiceMethod<$15.ListKnowledgeBasesRequest,
          $15.ListKnowledgeBasesResponse>(
      'ListKnowledgeBases',
      listKnowledgeBases_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $15.ListKnowledgeBasesRequest.fromBuffer(value),
      ($15.ListKnowledgeBasesResponse value) => value.writeToBuffer()));
  $addMethod(
      $grpc.ServiceMethod<$15.GetKnowledgeBaseRequest, $15.KnowledgeBase>(
          'GetKnowledgeBase',
          getKnowledgeBase_Pre,
          false,
          false,
          ($core.List<$core.int> value) =>
              $15.GetKnowledgeBaseRequest.fromBuffer(value),
          ($15.KnowledgeBase value) => value.writeToBuffer()));
  $addMethod(
      $grpc.ServiceMethod<$15.CreateKnowledgeBaseRequest, $15.KnowledgeBase>(
          'CreateKnowledgeBase',
          createKnowledgeBase_Pre,
          false,
          false,
          ($core.List<$core.int> value) =>
              $15.CreateKnowledgeBaseRequest.fromBuffer(value),
          ($15.KnowledgeBase value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$15.DeleteKnowledgeBaseRequest, $1.Empty>(
      'DeleteKnowledgeBase',
      deleteKnowledgeBase_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $15.DeleteKnowledgeBaseRequest.fromBuffer(value),
      ($1.Empty value) => value.writeToBuffer()));
  $addMethod(
      $grpc.ServiceMethod<$15.UpdateKnowledgeBaseRequest, $15.KnowledgeBase>(
          'UpdateKnowledgeBase',
          updateKnowledgeBase_Pre,
          false,
          false,
          ($core.List<$core.int> value) =>
              $15.UpdateKnowledgeBaseRequest.fromBuffer(value),
          ($15.KnowledgeBase value) => value.writeToBuffer()));
}