@BetaApi @Generated(value="by gapic-generator-java") public class GrpcImageVersionsStub extends ImageVersionsStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
GrpcImageVersionsStub(ImageVersionsStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcImageVersionsStub, using the given settings.
|
protected |
GrpcImageVersionsStub(ImageVersionsStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcImageVersionsStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcImageVersionsStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static GrpcImageVersionsStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) |
static GrpcImageVersionsStub |
create(ImageVersionsStubSettings settings) |
com.google.longrunning.stub.GrpcOperationsStub |
getOperationsStub() |
boolean |
isShutdown() |
boolean |
isTerminated() |
com.google.api.gax.rpc.UnaryCallable<ListImageVersionsRequest,ListImageVersionsResponse> |
listImageVersionsCallable() |
com.google.api.gax.rpc.UnaryCallable<ListImageVersionsRequest,ImageVersionsClient.ListImageVersionsPagedResponse> |
listImageVersionsPagedCallable() |
void |
shutdown() |
void |
shutdownNow() |
protected GrpcImageVersionsStub(ImageVersionsStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected GrpcImageVersionsStub(ImageVersionsStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final GrpcImageVersionsStub create(ImageVersionsStubSettings settings) throws IOException
IOExceptionpublic static final GrpcImageVersionsStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final GrpcImageVersionsStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
public com.google.api.gax.rpc.UnaryCallable<ListImageVersionsRequest,ListImageVersionsResponse> listImageVersionsCallable()
listImageVersionsCallable in class ImageVersionsStubpublic com.google.api.gax.rpc.UnaryCallable<ListImageVersionsRequest,ImageVersionsClient.ListImageVersionsPagedResponse> listImageVersionsPagedCallable()
listImageVersionsPagedCallable in class ImageVersionsStubpublic final void close()
close in interface AutoCloseableclose in class ImageVersionsStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2023 Google LLC. All rights reserved.