@Generated(value="by gapic-generator-java") public class GrpcImageAnnotatorStub extends ImageAnnotatorStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
GrpcImageAnnotatorStub(ImageAnnotatorStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcImageAnnotatorStub, using the given settings.
|
protected |
GrpcImageAnnotatorStub(ImageAnnotatorStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcImageAnnotatorStub, using the given settings.
|
getHttpJsonOperationsStubprotected GrpcImageAnnotatorStub(ImageAnnotatorStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected GrpcImageAnnotatorStub(ImageAnnotatorStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final GrpcImageAnnotatorStub create(ImageAnnotatorStubSettings settings) throws IOException
IOExceptionpublic static final GrpcImageAnnotatorStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final GrpcImageAnnotatorStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
getOperationsStub in class ImageAnnotatorStubpublic com.google.api.gax.rpc.UnaryCallable<BatchAnnotateImagesRequest,BatchAnnotateImagesResponse> batchAnnotateImagesCallable()
batchAnnotateImagesCallable in class ImageAnnotatorStubpublic com.google.api.gax.rpc.UnaryCallable<BatchAnnotateFilesRequest,BatchAnnotateFilesResponse> batchAnnotateFilesCallable()
batchAnnotateFilesCallable in class ImageAnnotatorStubpublic com.google.api.gax.rpc.UnaryCallable<AsyncBatchAnnotateImagesRequest,com.google.longrunning.Operation> asyncBatchAnnotateImagesCallable()
asyncBatchAnnotateImagesCallable in class ImageAnnotatorStubpublic com.google.api.gax.rpc.OperationCallable<AsyncBatchAnnotateImagesRequest,AsyncBatchAnnotateImagesResponse,OperationMetadata> asyncBatchAnnotateImagesOperationCallable()
asyncBatchAnnotateImagesOperationCallable in class ImageAnnotatorStubpublic com.google.api.gax.rpc.UnaryCallable<AsyncBatchAnnotateFilesRequest,com.google.longrunning.Operation> asyncBatchAnnotateFilesCallable()
asyncBatchAnnotateFilesCallable in class ImageAnnotatorStubpublic com.google.api.gax.rpc.OperationCallable<AsyncBatchAnnotateFilesRequest,AsyncBatchAnnotateFilesResponse,OperationMetadata> asyncBatchAnnotateFilesOperationCallable()
asyncBatchAnnotateFilesOperationCallable in class ImageAnnotatorStubpublic final void close()
close in interface AutoCloseableclose in class ImageAnnotatorStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2025 Google LLC. All rights reserved.