@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,
ClientContext clientContext)
Constructs an instance of GrpcImageAnnotatorStub, using the given settings.
|
protected |
GrpcImageAnnotatorStub(ImageAnnotatorStubSettings settings,
ClientContext clientContext,
GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcImageAnnotatorStub, using the given settings.
|
getHttpJsonOperationsStub
protected GrpcImageAnnotatorStub(ImageAnnotatorStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected GrpcImageAnnotatorStub(ImageAnnotatorStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public static final GrpcImageAnnotatorStub create(ImageAnnotatorStubSettings settings) throws IOException
IOException
public static final GrpcImageAnnotatorStub create(ClientContext clientContext) throws IOException
IOException
public static final GrpcImageAnnotatorStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public GrpcOperationsStub getOperationsStub()
getOperationsStub
in class ImageAnnotatorStub
public UnaryCallable<BatchAnnotateImagesRequest,BatchAnnotateImagesResponse> batchAnnotateImagesCallable()
batchAnnotateImagesCallable
in class ImageAnnotatorStub
public UnaryCallable<BatchAnnotateFilesRequest,BatchAnnotateFilesResponse> batchAnnotateFilesCallable()
batchAnnotateFilesCallable
in class ImageAnnotatorStub
public UnaryCallable<AsyncBatchAnnotateImagesRequest,Operation> asyncBatchAnnotateImagesCallable()
asyncBatchAnnotateImagesCallable
in class ImageAnnotatorStub
public OperationCallable<AsyncBatchAnnotateImagesRequest,AsyncBatchAnnotateImagesResponse,OperationMetadata> asyncBatchAnnotateImagesOperationCallable()
asyncBatchAnnotateImagesOperationCallable
in class ImageAnnotatorStub
public UnaryCallable<AsyncBatchAnnotateFilesRequest,Operation> asyncBatchAnnotateFilesCallable()
asyncBatchAnnotateFilesCallable
in class ImageAnnotatorStub
public OperationCallable<AsyncBatchAnnotateFilesRequest,AsyncBatchAnnotateFilesResponse,OperationMetadata> asyncBatchAnnotateFilesOperationCallable()
asyncBatchAnnotateFilesOperationCallable
in class ImageAnnotatorStub
public final void close()
close
in interface AutoCloseable
close
in class ImageAnnotatorStub
public void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
InterruptedException
Copyright © 2022 Google LLC. All rights reserved.