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