public class HttpJsonSnapshotsV1Beta3Stub extends SnapshotsV1Beta3Stub
REST 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 HttpJsonSnapshotsV1Beta3Stub create(ClientContext clientContext)
Parameter
Returns
Exceptions
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonSnapshotsV1Beta3Stub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(SnapshotsV1Beta3StubSettings settings)
public static final HttpJsonSnapshotsV1Beta3Stub create(SnapshotsV1Beta3StubSettings settings)
Parameter
Returns
Exceptions
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Constructors
HttpJsonSnapshotsV1Beta3Stub(SnapshotsV1Beta3StubSettings settings, ClientContext clientContext)
protected HttpJsonSnapshotsV1Beta3Stub(SnapshotsV1Beta3StubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonSnapshotsV1Beta3Stub, 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
HttpJsonSnapshotsV1Beta3Stub(SnapshotsV1Beta3StubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonSnapshotsV1Beta3Stub(SnapshotsV1Beta3StubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonSnapshotsV1Beta3Stub, 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
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
close()
public final void close()
Overrides
deleteSnapshotCallable()
public UnaryCallable<DeleteSnapshotRequest,DeleteSnapshotResponse> deleteSnapshotCallable()
Returns
Overrides
getSnapshotCallable()
public UnaryCallable<GetSnapshotRequest,Snapshot> getSnapshotCallable()
Returns
Overrides
isShutdown()
public boolean isShutdown()
Returns
isTerminated()
public boolean isTerminated()
Returns
listSnapshotsCallable()
public UnaryCallable<ListSnapshotsRequest,ListSnapshotsResponse> listSnapshotsCallable()
Returns
Overrides
shutdown()
shutdownNow()
public void shutdownNow()