@Generated(value="by gapic-generator") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") 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.
|
Modifier and Type | Method and Description |
---|---|
UnaryCallable<com.google.cloud.vision.v1p4beta1.AsyncBatchAnnotateFilesRequest,Operation> |
asyncBatchAnnotateFilesCallable() |
OperationCallable<com.google.cloud.vision.v1p4beta1.AsyncBatchAnnotateFilesRequest,com.google.cloud.vision.v1p4beta1.AsyncBatchAnnotateFilesResponse,com.google.cloud.vision.v1p4beta1.OperationMetadata> |
asyncBatchAnnotateFilesOperationCallable() |
UnaryCallable<com.google.cloud.vision.v1p4beta1.AsyncBatchAnnotateImagesRequest,Operation> |
asyncBatchAnnotateImagesCallable() |
OperationCallable<com.google.cloud.vision.v1p4beta1.AsyncBatchAnnotateImagesRequest,com.google.cloud.vision.v1p4beta1.AsyncBatchAnnotateImagesResponse,com.google.cloud.vision.v1p4beta1.OperationMetadata> |
asyncBatchAnnotateImagesOperationCallable() |
boolean |
awaitTermination(long duration,
TimeUnit unit) |
UnaryCallable<com.google.cloud.vision.v1p4beta1.BatchAnnotateFilesRequest,com.google.cloud.vision.v1p4beta1.BatchAnnotateFilesResponse> |
batchAnnotateFilesCallable() |
UnaryCallable<com.google.cloud.vision.v1p4beta1.BatchAnnotateImagesRequest,com.google.cloud.vision.v1p4beta1.BatchAnnotateImagesResponse> |
batchAnnotateImagesCallable() |
void |
close() |
static GrpcImageAnnotatorStub |
create(ClientContext clientContext) |
static GrpcImageAnnotatorStub |
create(ClientContext clientContext,
GrpcStubCallableFactory callableFactory) |
static GrpcImageAnnotatorStub |
create(ImageAnnotatorStubSettings settings) |
GrpcOperationsStub |
getOperationsStub() |
boolean |
isShutdown() |
boolean |
isTerminated() |
void |
shutdown() |
void |
shutdownNow() |
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
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public GrpcOperationsStub getOperationsStub()
getOperationsStub
in class ImageAnnotatorStub
public UnaryCallable<com.google.cloud.vision.v1p4beta1.BatchAnnotateImagesRequest,com.google.cloud.vision.v1p4beta1.BatchAnnotateImagesResponse> batchAnnotateImagesCallable()
batchAnnotateImagesCallable
in class ImageAnnotatorStub
public UnaryCallable<com.google.cloud.vision.v1p4beta1.BatchAnnotateFilesRequest,com.google.cloud.vision.v1p4beta1.BatchAnnotateFilesResponse> batchAnnotateFilesCallable()
batchAnnotateFilesCallable
in class ImageAnnotatorStub
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public OperationCallable<com.google.cloud.vision.v1p4beta1.AsyncBatchAnnotateImagesRequest,com.google.cloud.vision.v1p4beta1.AsyncBatchAnnotateImagesResponse,com.google.cloud.vision.v1p4beta1.OperationMetadata> asyncBatchAnnotateImagesOperationCallable()
asyncBatchAnnotateImagesOperationCallable
in class ImageAnnotatorStub
public UnaryCallable<com.google.cloud.vision.v1p4beta1.AsyncBatchAnnotateImagesRequest,Operation> asyncBatchAnnotateImagesCallable()
asyncBatchAnnotateImagesCallable
in class ImageAnnotatorStub
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public OperationCallable<com.google.cloud.vision.v1p4beta1.AsyncBatchAnnotateFilesRequest,com.google.cloud.vision.v1p4beta1.AsyncBatchAnnotateFilesResponse,com.google.cloud.vision.v1p4beta1.OperationMetadata> asyncBatchAnnotateFilesOperationCallable()
asyncBatchAnnotateFilesOperationCallable
in class ImageAnnotatorStub
public UnaryCallable<com.google.cloud.vision.v1p4beta1.AsyncBatchAnnotateFilesRequest,Operation> asyncBatchAnnotateFilesCallable()
asyncBatchAnnotateFilesCallable
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 © 2019 Google LLC. All rights reserved.