public class GrpcSnapshotsV1Beta3Stub extends SnapshotsV1Beta3Stub
gRPC stub implementation for the SnapshotsV1Beta3 service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final GrpcSnapshotsV1Beta3Stub create(ClientContext clientContext)
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcSnapshotsV1Beta3Stub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
create(SnapshotsV1Beta3StubSettings settings)
public static final GrpcSnapshotsV1Beta3Stub create(SnapshotsV1Beta3StubSettings settings)
Constructors
GrpcSnapshotsV1Beta3Stub(SnapshotsV1Beta3StubSettings settings, ClientContext clientContext)
protected GrpcSnapshotsV1Beta3Stub(SnapshotsV1Beta3StubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcSnapshotsV1Beta3Stub, using the given settings. This is protected
so that it is easy to make a subclass, but otherwise, the static factory methods should be
preferred.
GrpcSnapshotsV1Beta3Stub(SnapshotsV1Beta3StubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcSnapshotsV1Beta3Stub(SnapshotsV1Beta3StubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcSnapshotsV1Beta3Stub, using the given settings. This is protected
so that it is easy to make a subclass, but otherwise, the static factory methods should be
preferred.
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
Overrides
deleteSnapshotCallable()
public UnaryCallable<DeleteSnapshotRequest,DeleteSnapshotResponse> deleteSnapshotCallable()
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
getSnapshotCallable()
public UnaryCallable<GetSnapshotRequest,Snapshot> getSnapshotCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listSnapshotsCallable()
public UnaryCallable<ListSnapshotsRequest,ListSnapshotsResponse> listSnapshotsCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()