@BetaApi @Generated(value="by gapic-generator-java") public class HttpJsonImageAnnotatorStub extends ImageAnnotatorStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
HttpJsonImageAnnotatorStub(ImageAnnotatorStubSettings settings,
ClientContext clientContext)
Constructs an instance of HttpJsonImageAnnotatorStub, using the given settings.
|
protected |
HttpJsonImageAnnotatorStub(ImageAnnotatorStubSettings settings,
ClientContext clientContext,
HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonImageAnnotatorStub, using the given settings.
|
Modifier and Type | Method and Description |
---|---|
UnaryCallable<AsyncBatchAnnotateFilesRequest,Operation> |
asyncBatchAnnotateFilesCallable() |
OperationCallable<AsyncBatchAnnotateFilesRequest,AsyncBatchAnnotateFilesResponse,OperationMetadata> |
asyncBatchAnnotateFilesOperationCallable() |
boolean |
awaitTermination(long duration,
TimeUnit unit) |
UnaryCallable<BatchAnnotateImagesRequest,BatchAnnotateImagesResponse> |
batchAnnotateImagesCallable() |
void |
close() |
static HttpJsonImageAnnotatorStub |
create(ClientContext clientContext) |
static HttpJsonImageAnnotatorStub |
create(ClientContext clientContext,
HttpJsonStubCallableFactory callableFactory) |
static HttpJsonImageAnnotatorStub |
create(ImageAnnotatorStubSettings settings) |
HttpJsonOperationsStub |
getHttpJsonOperationsStub() |
static List<ApiMethodDescriptor> |
getMethodDescriptors() |
boolean |
isShutdown() |
boolean |
isTerminated() |
void |
shutdown() |
void |
shutdownNow() |
getOperationsStub
protected HttpJsonImageAnnotatorStub(ImageAnnotatorStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected HttpJsonImageAnnotatorStub(ImageAnnotatorStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
public static final HttpJsonImageAnnotatorStub create(ImageAnnotatorStubSettings settings) throws IOException
IOException
public static final HttpJsonImageAnnotatorStub create(ClientContext clientContext) throws IOException
IOException
public static final HttpJsonImageAnnotatorStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
@InternalApi public static List<ApiMethodDescriptor> getMethodDescriptors()
public HttpJsonOperationsStub getHttpJsonOperationsStub()
getHttpJsonOperationsStub
in class ImageAnnotatorStub
public UnaryCallable<BatchAnnotateImagesRequest,BatchAnnotateImagesResponse> batchAnnotateImagesCallable()
batchAnnotateImagesCallable
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.