• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2022 Google LLC
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      https://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 package com.google.cloud.dialogflow.v2.stub;
18 
19 import static com.google.cloud.dialogflow.v2.DocumentsClient.ListDocumentsPagedResponse;
20 import static com.google.cloud.dialogflow.v2.DocumentsClient.ListLocationsPagedResponse;
21 
22 import com.google.api.gax.core.BackgroundResource;
23 import com.google.api.gax.rpc.OperationCallable;
24 import com.google.api.gax.rpc.UnaryCallable;
25 import com.google.cloud.dialogflow.v2.CreateDocumentRequest;
26 import com.google.cloud.dialogflow.v2.DeleteDocumentRequest;
27 import com.google.cloud.dialogflow.v2.Document;
28 import com.google.cloud.dialogflow.v2.ExportDocumentRequest;
29 import com.google.cloud.dialogflow.v2.GetDocumentRequest;
30 import com.google.cloud.dialogflow.v2.ImportDocumentsRequest;
31 import com.google.cloud.dialogflow.v2.ImportDocumentsResponse;
32 import com.google.cloud.dialogflow.v2.KnowledgeOperationMetadata;
33 import com.google.cloud.dialogflow.v2.ListDocumentsRequest;
34 import com.google.cloud.dialogflow.v2.ListDocumentsResponse;
35 import com.google.cloud.dialogflow.v2.ReloadDocumentRequest;
36 import com.google.cloud.dialogflow.v2.UpdateDocumentRequest;
37 import com.google.cloud.location.GetLocationRequest;
38 import com.google.cloud.location.ListLocationsRequest;
39 import com.google.cloud.location.ListLocationsResponse;
40 import com.google.cloud.location.Location;
41 import com.google.longrunning.Operation;
42 import com.google.longrunning.stub.OperationsStub;
43 import com.google.protobuf.Empty;
44 import javax.annotation.Generated;
45 
46 // AUTO-GENERATED DOCUMENTATION AND CLASS.
47 /**
48  * Base stub class for the Documents service API.
49  *
50  * <p>This class is for advanced usage and reflects the underlying API directly.
51  */
52 @Generated("by gapic-generator-java")
53 public abstract class DocumentsStub implements BackgroundResource {
54 
getOperationsStub()55   public OperationsStub getOperationsStub() {
56     return null;
57   }
58 
getHttpJsonOperationsStub()59   public com.google.api.gax.httpjson.longrunning.stub.OperationsStub getHttpJsonOperationsStub() {
60     return null;
61   }
62 
63   public UnaryCallable<ListDocumentsRequest, ListDocumentsPagedResponse>
listDocumentsPagedCallable()64       listDocumentsPagedCallable() {
65     throw new UnsupportedOperationException("Not implemented: listDocumentsPagedCallable()");
66   }
67 
listDocumentsCallable()68   public UnaryCallable<ListDocumentsRequest, ListDocumentsResponse> listDocumentsCallable() {
69     throw new UnsupportedOperationException("Not implemented: listDocumentsCallable()");
70   }
71 
getDocumentCallable()72   public UnaryCallable<GetDocumentRequest, Document> getDocumentCallable() {
73     throw new UnsupportedOperationException("Not implemented: getDocumentCallable()");
74   }
75 
76   public OperationCallable<CreateDocumentRequest, Document, KnowledgeOperationMetadata>
createDocumentOperationCallable()77       createDocumentOperationCallable() {
78     throw new UnsupportedOperationException("Not implemented: createDocumentOperationCallable()");
79   }
80 
createDocumentCallable()81   public UnaryCallable<CreateDocumentRequest, Operation> createDocumentCallable() {
82     throw new UnsupportedOperationException("Not implemented: createDocumentCallable()");
83   }
84 
85   public OperationCallable<
86           ImportDocumentsRequest, ImportDocumentsResponse, KnowledgeOperationMetadata>
importDocumentsOperationCallable()87       importDocumentsOperationCallable() {
88     throw new UnsupportedOperationException("Not implemented: importDocumentsOperationCallable()");
89   }
90 
importDocumentsCallable()91   public UnaryCallable<ImportDocumentsRequest, Operation> importDocumentsCallable() {
92     throw new UnsupportedOperationException("Not implemented: importDocumentsCallable()");
93   }
94 
95   public OperationCallable<DeleteDocumentRequest, Empty, KnowledgeOperationMetadata>
deleteDocumentOperationCallable()96       deleteDocumentOperationCallable() {
97     throw new UnsupportedOperationException("Not implemented: deleteDocumentOperationCallable()");
98   }
99 
deleteDocumentCallable()100   public UnaryCallable<DeleteDocumentRequest, Operation> deleteDocumentCallable() {
101     throw new UnsupportedOperationException("Not implemented: deleteDocumentCallable()");
102   }
103 
104   public OperationCallable<UpdateDocumentRequest, Document, KnowledgeOperationMetadata>
updateDocumentOperationCallable()105       updateDocumentOperationCallable() {
106     throw new UnsupportedOperationException("Not implemented: updateDocumentOperationCallable()");
107   }
108 
updateDocumentCallable()109   public UnaryCallable<UpdateDocumentRequest, Operation> updateDocumentCallable() {
110     throw new UnsupportedOperationException("Not implemented: updateDocumentCallable()");
111   }
112 
113   public OperationCallable<ReloadDocumentRequest, Document, KnowledgeOperationMetadata>
reloadDocumentOperationCallable()114       reloadDocumentOperationCallable() {
115     throw new UnsupportedOperationException("Not implemented: reloadDocumentOperationCallable()");
116   }
117 
reloadDocumentCallable()118   public UnaryCallable<ReloadDocumentRequest, Operation> reloadDocumentCallable() {
119     throw new UnsupportedOperationException("Not implemented: reloadDocumentCallable()");
120   }
121 
122   public OperationCallable<ExportDocumentRequest, Document, KnowledgeOperationMetadata>
exportDocumentOperationCallable()123       exportDocumentOperationCallable() {
124     throw new UnsupportedOperationException("Not implemented: exportDocumentOperationCallable()");
125   }
126 
exportDocumentCallable()127   public UnaryCallable<ExportDocumentRequest, Operation> exportDocumentCallable() {
128     throw new UnsupportedOperationException("Not implemented: exportDocumentCallable()");
129   }
130 
131   public UnaryCallable<ListLocationsRequest, ListLocationsPagedResponse>
listLocationsPagedCallable()132       listLocationsPagedCallable() {
133     throw new UnsupportedOperationException("Not implemented: listLocationsPagedCallable()");
134   }
135 
listLocationsCallable()136   public UnaryCallable<ListLocationsRequest, ListLocationsResponse> listLocationsCallable() {
137     throw new UnsupportedOperationException("Not implemented: listLocationsCallable()");
138   }
139 
getLocationCallable()140   public UnaryCallable<GetLocationRequest, Location> getLocationCallable() {
141     throw new UnsupportedOperationException("Not implemented: getLocationCallable()");
142   }
143 
144   @Override
close()145   public abstract void close();
146 }
147