• 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.automl.v1beta1.stub;
18 
19 import static com.google.cloud.automl.v1beta1.AutoMlClient.ListColumnSpecsPagedResponse;
20 import static com.google.cloud.automl.v1beta1.AutoMlClient.ListDatasetsPagedResponse;
21 import static com.google.cloud.automl.v1beta1.AutoMlClient.ListModelEvaluationsPagedResponse;
22 import static com.google.cloud.automl.v1beta1.AutoMlClient.ListModelsPagedResponse;
23 import static com.google.cloud.automl.v1beta1.AutoMlClient.ListTableSpecsPagedResponse;
24 
25 import com.google.api.core.BetaApi;
26 import com.google.api.gax.core.BackgroundResource;
27 import com.google.api.gax.rpc.OperationCallable;
28 import com.google.api.gax.rpc.UnaryCallable;
29 import com.google.cloud.automl.v1beta1.AnnotationSpec;
30 import com.google.cloud.automl.v1beta1.ColumnSpec;
31 import com.google.cloud.automl.v1beta1.CreateDatasetRequest;
32 import com.google.cloud.automl.v1beta1.CreateModelRequest;
33 import com.google.cloud.automl.v1beta1.Dataset;
34 import com.google.cloud.automl.v1beta1.DeleteDatasetRequest;
35 import com.google.cloud.automl.v1beta1.DeleteModelRequest;
36 import com.google.cloud.automl.v1beta1.DeployModelRequest;
37 import com.google.cloud.automl.v1beta1.ExportDataRequest;
38 import com.google.cloud.automl.v1beta1.ExportEvaluatedExamplesRequest;
39 import com.google.cloud.automl.v1beta1.ExportModelRequest;
40 import com.google.cloud.automl.v1beta1.GetAnnotationSpecRequest;
41 import com.google.cloud.automl.v1beta1.GetColumnSpecRequest;
42 import com.google.cloud.automl.v1beta1.GetDatasetRequest;
43 import com.google.cloud.automl.v1beta1.GetModelEvaluationRequest;
44 import com.google.cloud.automl.v1beta1.GetModelRequest;
45 import com.google.cloud.automl.v1beta1.GetTableSpecRequest;
46 import com.google.cloud.automl.v1beta1.ImportDataRequest;
47 import com.google.cloud.automl.v1beta1.ListColumnSpecsRequest;
48 import com.google.cloud.automl.v1beta1.ListColumnSpecsResponse;
49 import com.google.cloud.automl.v1beta1.ListDatasetsRequest;
50 import com.google.cloud.automl.v1beta1.ListDatasetsResponse;
51 import com.google.cloud.automl.v1beta1.ListModelEvaluationsRequest;
52 import com.google.cloud.automl.v1beta1.ListModelEvaluationsResponse;
53 import com.google.cloud.automl.v1beta1.ListModelsRequest;
54 import com.google.cloud.automl.v1beta1.ListModelsResponse;
55 import com.google.cloud.automl.v1beta1.ListTableSpecsRequest;
56 import com.google.cloud.automl.v1beta1.ListTableSpecsResponse;
57 import com.google.cloud.automl.v1beta1.Model;
58 import com.google.cloud.automl.v1beta1.ModelEvaluation;
59 import com.google.cloud.automl.v1beta1.OperationMetadata;
60 import com.google.cloud.automl.v1beta1.TableSpec;
61 import com.google.cloud.automl.v1beta1.UndeployModelRequest;
62 import com.google.cloud.automl.v1beta1.UpdateColumnSpecRequest;
63 import com.google.cloud.automl.v1beta1.UpdateDatasetRequest;
64 import com.google.cloud.automl.v1beta1.UpdateTableSpecRequest;
65 import com.google.longrunning.Operation;
66 import com.google.longrunning.stub.OperationsStub;
67 import com.google.protobuf.Empty;
68 import javax.annotation.Generated;
69 
70 // AUTO-GENERATED DOCUMENTATION AND CLASS.
71 /**
72  * Base stub class for the AutoMl service API.
73  *
74  * <p>This class is for advanced usage and reflects the underlying API directly.
75  */
76 @BetaApi
77 @Generated("by gapic-generator-java")
78 public abstract class AutoMlStub implements BackgroundResource {
79 
getOperationsStub()80   public OperationsStub getOperationsStub() {
81     return null;
82   }
83 
getHttpJsonOperationsStub()84   public com.google.api.gax.httpjson.longrunning.stub.OperationsStub getHttpJsonOperationsStub() {
85     return null;
86   }
87 
createDatasetCallable()88   public UnaryCallable<CreateDatasetRequest, Dataset> createDatasetCallable() {
89     throw new UnsupportedOperationException("Not implemented: createDatasetCallable()");
90   }
91 
getDatasetCallable()92   public UnaryCallable<GetDatasetRequest, Dataset> getDatasetCallable() {
93     throw new UnsupportedOperationException("Not implemented: getDatasetCallable()");
94   }
95 
listDatasetsPagedCallable()96   public UnaryCallable<ListDatasetsRequest, ListDatasetsPagedResponse> listDatasetsPagedCallable() {
97     throw new UnsupportedOperationException("Not implemented: listDatasetsPagedCallable()");
98   }
99 
listDatasetsCallable()100   public UnaryCallable<ListDatasetsRequest, ListDatasetsResponse> listDatasetsCallable() {
101     throw new UnsupportedOperationException("Not implemented: listDatasetsCallable()");
102   }
103 
updateDatasetCallable()104   public UnaryCallable<UpdateDatasetRequest, Dataset> updateDatasetCallable() {
105     throw new UnsupportedOperationException("Not implemented: updateDatasetCallable()");
106   }
107 
108   public OperationCallable<DeleteDatasetRequest, Empty, OperationMetadata>
deleteDatasetOperationCallable()109       deleteDatasetOperationCallable() {
110     throw new UnsupportedOperationException("Not implemented: deleteDatasetOperationCallable()");
111   }
112 
deleteDatasetCallable()113   public UnaryCallable<DeleteDatasetRequest, Operation> deleteDatasetCallable() {
114     throw new UnsupportedOperationException("Not implemented: deleteDatasetCallable()");
115   }
116 
117   public OperationCallable<ImportDataRequest, Empty, OperationMetadata>
importDataOperationCallable()118       importDataOperationCallable() {
119     throw new UnsupportedOperationException("Not implemented: importDataOperationCallable()");
120   }
121 
importDataCallable()122   public UnaryCallable<ImportDataRequest, Operation> importDataCallable() {
123     throw new UnsupportedOperationException("Not implemented: importDataCallable()");
124   }
125 
126   public OperationCallable<ExportDataRequest, Empty, OperationMetadata>
exportDataOperationCallable()127       exportDataOperationCallable() {
128     throw new UnsupportedOperationException("Not implemented: exportDataOperationCallable()");
129   }
130 
exportDataCallable()131   public UnaryCallable<ExportDataRequest, Operation> exportDataCallable() {
132     throw new UnsupportedOperationException("Not implemented: exportDataCallable()");
133   }
134 
getAnnotationSpecCallable()135   public UnaryCallable<GetAnnotationSpecRequest, AnnotationSpec> getAnnotationSpecCallable() {
136     throw new UnsupportedOperationException("Not implemented: getAnnotationSpecCallable()");
137   }
138 
getTableSpecCallable()139   public UnaryCallable<GetTableSpecRequest, TableSpec> getTableSpecCallable() {
140     throw new UnsupportedOperationException("Not implemented: getTableSpecCallable()");
141   }
142 
143   public UnaryCallable<ListTableSpecsRequest, ListTableSpecsPagedResponse>
listTableSpecsPagedCallable()144       listTableSpecsPagedCallable() {
145     throw new UnsupportedOperationException("Not implemented: listTableSpecsPagedCallable()");
146   }
147 
listTableSpecsCallable()148   public UnaryCallable<ListTableSpecsRequest, ListTableSpecsResponse> listTableSpecsCallable() {
149     throw new UnsupportedOperationException("Not implemented: listTableSpecsCallable()");
150   }
151 
updateTableSpecCallable()152   public UnaryCallable<UpdateTableSpecRequest, TableSpec> updateTableSpecCallable() {
153     throw new UnsupportedOperationException("Not implemented: updateTableSpecCallable()");
154   }
155 
getColumnSpecCallable()156   public UnaryCallable<GetColumnSpecRequest, ColumnSpec> getColumnSpecCallable() {
157     throw new UnsupportedOperationException("Not implemented: getColumnSpecCallable()");
158   }
159 
160   public UnaryCallable<ListColumnSpecsRequest, ListColumnSpecsPagedResponse>
listColumnSpecsPagedCallable()161       listColumnSpecsPagedCallable() {
162     throw new UnsupportedOperationException("Not implemented: listColumnSpecsPagedCallable()");
163   }
164 
listColumnSpecsCallable()165   public UnaryCallable<ListColumnSpecsRequest, ListColumnSpecsResponse> listColumnSpecsCallable() {
166     throw new UnsupportedOperationException("Not implemented: listColumnSpecsCallable()");
167   }
168 
updateColumnSpecCallable()169   public UnaryCallable<UpdateColumnSpecRequest, ColumnSpec> updateColumnSpecCallable() {
170     throw new UnsupportedOperationException("Not implemented: updateColumnSpecCallable()");
171   }
172 
173   public OperationCallable<CreateModelRequest, Model, OperationMetadata>
createModelOperationCallable()174       createModelOperationCallable() {
175     throw new UnsupportedOperationException("Not implemented: createModelOperationCallable()");
176   }
177 
createModelCallable()178   public UnaryCallable<CreateModelRequest, Operation> createModelCallable() {
179     throw new UnsupportedOperationException("Not implemented: createModelCallable()");
180   }
181 
getModelCallable()182   public UnaryCallable<GetModelRequest, Model> getModelCallable() {
183     throw new UnsupportedOperationException("Not implemented: getModelCallable()");
184   }
185 
listModelsPagedCallable()186   public UnaryCallable<ListModelsRequest, ListModelsPagedResponse> listModelsPagedCallable() {
187     throw new UnsupportedOperationException("Not implemented: listModelsPagedCallable()");
188   }
189 
listModelsCallable()190   public UnaryCallable<ListModelsRequest, ListModelsResponse> listModelsCallable() {
191     throw new UnsupportedOperationException("Not implemented: listModelsCallable()");
192   }
193 
194   public OperationCallable<DeleteModelRequest, Empty, OperationMetadata>
deleteModelOperationCallable()195       deleteModelOperationCallable() {
196     throw new UnsupportedOperationException("Not implemented: deleteModelOperationCallable()");
197   }
198 
deleteModelCallable()199   public UnaryCallable<DeleteModelRequest, Operation> deleteModelCallable() {
200     throw new UnsupportedOperationException("Not implemented: deleteModelCallable()");
201   }
202 
203   public OperationCallable<DeployModelRequest, Empty, OperationMetadata>
deployModelOperationCallable()204       deployModelOperationCallable() {
205     throw new UnsupportedOperationException("Not implemented: deployModelOperationCallable()");
206   }
207 
deployModelCallable()208   public UnaryCallable<DeployModelRequest, Operation> deployModelCallable() {
209     throw new UnsupportedOperationException("Not implemented: deployModelCallable()");
210   }
211 
212   public OperationCallable<UndeployModelRequest, Empty, OperationMetadata>
undeployModelOperationCallable()213       undeployModelOperationCallable() {
214     throw new UnsupportedOperationException("Not implemented: undeployModelOperationCallable()");
215   }
216 
undeployModelCallable()217   public UnaryCallable<UndeployModelRequest, Operation> undeployModelCallable() {
218     throw new UnsupportedOperationException("Not implemented: undeployModelCallable()");
219   }
220 
221   public OperationCallable<ExportModelRequest, Empty, OperationMetadata>
exportModelOperationCallable()222       exportModelOperationCallable() {
223     throw new UnsupportedOperationException("Not implemented: exportModelOperationCallable()");
224   }
225 
exportModelCallable()226   public UnaryCallable<ExportModelRequest, Operation> exportModelCallable() {
227     throw new UnsupportedOperationException("Not implemented: exportModelCallable()");
228   }
229 
230   public OperationCallable<ExportEvaluatedExamplesRequest, Empty, OperationMetadata>
exportEvaluatedExamplesOperationCallable()231       exportEvaluatedExamplesOperationCallable() {
232     throw new UnsupportedOperationException(
233         "Not implemented: exportEvaluatedExamplesOperationCallable()");
234   }
235 
236   public UnaryCallable<ExportEvaluatedExamplesRequest, Operation>
exportEvaluatedExamplesCallable()237       exportEvaluatedExamplesCallable() {
238     throw new UnsupportedOperationException("Not implemented: exportEvaluatedExamplesCallable()");
239   }
240 
getModelEvaluationCallable()241   public UnaryCallable<GetModelEvaluationRequest, ModelEvaluation> getModelEvaluationCallable() {
242     throw new UnsupportedOperationException("Not implemented: getModelEvaluationCallable()");
243   }
244 
245   public UnaryCallable<ListModelEvaluationsRequest, ListModelEvaluationsPagedResponse>
listModelEvaluationsPagedCallable()246       listModelEvaluationsPagedCallable() {
247     throw new UnsupportedOperationException("Not implemented: listModelEvaluationsPagedCallable()");
248   }
249 
250   public UnaryCallable<ListModelEvaluationsRequest, ListModelEvaluationsResponse>
listModelEvaluationsCallable()251       listModelEvaluationsCallable() {
252     throw new UnsupportedOperationException("Not implemented: listModelEvaluationsCallable()");
253   }
254 
255   @Override
close()256   public abstract void close();
257 }
258