• 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.vision.v1p4beta1.stub;
18 
19 import com.google.api.core.BetaApi;
20 import com.google.api.gax.core.BackgroundResource;
21 import com.google.api.gax.rpc.OperationCallable;
22 import com.google.api.gax.rpc.UnaryCallable;
23 import com.google.cloud.vision.v1p4beta1.AsyncBatchAnnotateFilesRequest;
24 import com.google.cloud.vision.v1p4beta1.AsyncBatchAnnotateFilesResponse;
25 import com.google.cloud.vision.v1p4beta1.AsyncBatchAnnotateImagesRequest;
26 import com.google.cloud.vision.v1p4beta1.AsyncBatchAnnotateImagesResponse;
27 import com.google.cloud.vision.v1p4beta1.BatchAnnotateFilesRequest;
28 import com.google.cloud.vision.v1p4beta1.BatchAnnotateFilesResponse;
29 import com.google.cloud.vision.v1p4beta1.BatchAnnotateImagesRequest;
30 import com.google.cloud.vision.v1p4beta1.BatchAnnotateImagesResponse;
31 import com.google.cloud.vision.v1p4beta1.OperationMetadata;
32 import com.google.longrunning.Operation;
33 import com.google.longrunning.stub.OperationsStub;
34 import javax.annotation.Generated;
35 
36 // AUTO-GENERATED DOCUMENTATION AND CLASS.
37 /**
38  * Base stub class for the ImageAnnotator service API.
39  *
40  * <p>This class is for advanced usage and reflects the underlying API directly.
41  */
42 @BetaApi
43 @Generated("by gapic-generator-java")
44 public abstract class ImageAnnotatorStub implements BackgroundResource {
45 
getOperationsStub()46   public OperationsStub getOperationsStub() {
47     return null;
48   }
49 
getHttpJsonOperationsStub()50   public com.google.api.gax.httpjson.longrunning.stub.OperationsStub getHttpJsonOperationsStub() {
51     return null;
52   }
53 
54   public UnaryCallable<BatchAnnotateImagesRequest, BatchAnnotateImagesResponse>
batchAnnotateImagesCallable()55       batchAnnotateImagesCallable() {
56     throw new UnsupportedOperationException("Not implemented: batchAnnotateImagesCallable()");
57   }
58 
59   public UnaryCallable<BatchAnnotateFilesRequest, BatchAnnotateFilesResponse>
batchAnnotateFilesCallable()60       batchAnnotateFilesCallable() {
61     throw new UnsupportedOperationException("Not implemented: batchAnnotateFilesCallable()");
62   }
63 
64   public OperationCallable<
65           AsyncBatchAnnotateImagesRequest, AsyncBatchAnnotateImagesResponse, OperationMetadata>
asyncBatchAnnotateImagesOperationCallable()66       asyncBatchAnnotateImagesOperationCallable() {
67     throw new UnsupportedOperationException(
68         "Not implemented: asyncBatchAnnotateImagesOperationCallable()");
69   }
70 
71   public UnaryCallable<AsyncBatchAnnotateImagesRequest, Operation>
asyncBatchAnnotateImagesCallable()72       asyncBatchAnnotateImagesCallable() {
73     throw new UnsupportedOperationException("Not implemented: asyncBatchAnnotateImagesCallable()");
74   }
75 
76   public OperationCallable<
77           AsyncBatchAnnotateFilesRequest, AsyncBatchAnnotateFilesResponse, OperationMetadata>
asyncBatchAnnotateFilesOperationCallable()78       asyncBatchAnnotateFilesOperationCallable() {
79     throw new UnsupportedOperationException(
80         "Not implemented: asyncBatchAnnotateFilesOperationCallable()");
81   }
82 
83   public UnaryCallable<AsyncBatchAnnotateFilesRequest, Operation>
asyncBatchAnnotateFilesCallable()84       asyncBatchAnnotateFilesCallable() {
85     throw new UnsupportedOperationException("Not implemented: asyncBatchAnnotateFilesCallable()");
86   }
87 
88   @Override
close()89   public abstract void close();
90 }
91