Class GrpcSnapshotsV1Beta3Stub (0.49.0)

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.

Inheritance

java.lang.Object > SnapshotsV1Beta3Stub > GrpcSnapshotsV1Beta3Stub

Static Methods

create(ClientContext clientContext)

public static final GrpcSnapshotsV1Beta3Stub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
GrpcSnapshotsV1Beta3Stub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcSnapshotsV1Beta3Stub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory GrpcStubCallableFactory
Returns
Type Description
GrpcSnapshotsV1Beta3Stub
Exceptions
Type Description
IOException

create(SnapshotsV1Beta3StubSettings settings)

public static final GrpcSnapshotsV1Beta3Stub create(SnapshotsV1Beta3StubSettings settings)
Parameter
Name Description
settings SnapshotsV1Beta3StubSettings
Returns
Type Description
GrpcSnapshotsV1Beta3Stub
Exceptions
Type Description
IOException

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.

Parameters
Name Description
settings SnapshotsV1Beta3StubSettings
clientContext ClientContext

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.

Parameters
Name Description
settings SnapshotsV1Beta3StubSettings
clientContext ClientContext
callableFactory GrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

close()

public final void close()
Overrides

deleteSnapshotCallable()

public UnaryCallable<DeleteSnapshotRequest,DeleteSnapshotResponse> deleteSnapshotCallable()
Returns
Type Description
UnaryCallable<DeleteSnapshotRequest,DeleteSnapshotResponse>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub

getSnapshotCallable()

public UnaryCallable<GetSnapshotRequest,Snapshot> getSnapshotCallable()
Returns
Type Description
UnaryCallable<GetSnapshotRequest,Snapshot>
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listSnapshotsCallable()

public UnaryCallable<ListSnapshotsRequest,ListSnapshotsResponse> listSnapshotsCallable()
Returns
Type Description
UnaryCallable<ListSnapshotsRequest,ListSnapshotsResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()