@BetaApi @Generated(value="by gapic-generator-java") public class GrpcSnapshotsV1Beta3Stub extends SnapshotsV1Beta3Stub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
GrpcSnapshotsV1Beta3Stub(SnapshotsV1Beta3StubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcSnapshotsV1Beta3Stub, using the given settings.
|
protected |
GrpcSnapshotsV1Beta3Stub(SnapshotsV1Beta3StubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcSnapshotsV1Beta3Stub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcSnapshotsV1Beta3Stub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static GrpcSnapshotsV1Beta3Stub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) |
static GrpcSnapshotsV1Beta3Stub |
create(SnapshotsV1Beta3StubSettings settings) |
com.google.api.gax.rpc.UnaryCallable<DeleteSnapshotRequest,DeleteSnapshotResponse> |
deleteSnapshotCallable() |
com.google.longrunning.stub.GrpcOperationsStub |
getOperationsStub() |
com.google.api.gax.rpc.UnaryCallable<GetSnapshotRequest,Snapshot> |
getSnapshotCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
com.google.api.gax.rpc.UnaryCallable<ListSnapshotsRequest,ListSnapshotsResponse> |
listSnapshotsCallable() |
void |
shutdown() |
void |
shutdownNow() |
protected GrpcSnapshotsV1Beta3Stub(SnapshotsV1Beta3StubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected GrpcSnapshotsV1Beta3Stub(SnapshotsV1Beta3StubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final GrpcSnapshotsV1Beta3Stub create(SnapshotsV1Beta3StubSettings settings) throws IOException
IOExceptionpublic static final GrpcSnapshotsV1Beta3Stub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final GrpcSnapshotsV1Beta3Stub 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<GetSnapshotRequest,Snapshot> getSnapshotCallable()
getSnapshotCallable in class SnapshotsV1Beta3Stubpublic com.google.api.gax.rpc.UnaryCallable<DeleteSnapshotRequest,DeleteSnapshotResponse> deleteSnapshotCallable()
deleteSnapshotCallable in class SnapshotsV1Beta3Stubpublic com.google.api.gax.rpc.UnaryCallable<ListSnapshotsRequest,ListSnapshotsResponse> listSnapshotsCallable()
listSnapshotsCallable in class SnapshotsV1Beta3Stubpublic final void close()
close in interface AutoCloseableclose in class SnapshotsV1Beta3Stubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2024 Google LLC. All rights reserved.