public class HttpJsonRegionInstantSnapshotsStub extends RegionInstantSnapshotsStub
REST stub implementation for the RegionInstantSnapshots service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonRegionInstantSnapshotsStub create(ClientContext clientContext)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonRegionInstantSnapshotsStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
create(RegionInstantSnapshotsStubSettings settings)
public static final HttpJsonRegionInstantSnapshotsStub create(RegionInstantSnapshotsStubSettings settings)
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Constructors
HttpJsonRegionInstantSnapshotsStub(RegionInstantSnapshotsStubSettings settings, ClientContext clientContext)
protected HttpJsonRegionInstantSnapshotsStub(RegionInstantSnapshotsStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonRegionInstantSnapshotsStub, 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.
HttpJsonRegionInstantSnapshotsStub(RegionInstantSnapshotsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonRegionInstantSnapshotsStub(RegionInstantSnapshotsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonRegionInstantSnapshotsStub, 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
deleteCallable()
public UnaryCallable<DeleteRegionInstantSnapshotRequest,Operation> deleteCallable()
Overrides
deleteOperationCallable()
public OperationCallable<DeleteRegionInstantSnapshotRequest,Operation,Operation> deleteOperationCallable()
Overrides
getCallable()
public UnaryCallable<GetRegionInstantSnapshotRequest,InstantSnapshot> getCallable()
Overrides
getIamPolicyCallable()
public UnaryCallable<GetIamPolicyRegionInstantSnapshotRequest,Policy> getIamPolicyCallable()
Overrides
insertCallable()
public UnaryCallable<InsertRegionInstantSnapshotRequest,Operation> insertCallable()
Overrides
insertOperationCallable()
public OperationCallable<InsertRegionInstantSnapshotRequest,Operation,Operation> insertOperationCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listCallable()
public UnaryCallable<ListRegionInstantSnapshotsRequest,InstantSnapshotList> listCallable()
Overrides
listPagedCallable()
public UnaryCallable<ListRegionInstantSnapshotsRequest,RegionInstantSnapshotsClient.ListPagedResponse> listPagedCallable()
Overrides
setIamPolicyCallable()
public UnaryCallable<SetIamPolicyRegionInstantSnapshotRequest,Policy> setIamPolicyCallable()
Overrides
setLabelsCallable()
public UnaryCallable<SetLabelsRegionInstantSnapshotRequest,Operation> setLabelsCallable()
Overrides
setLabelsOperationCallable()
public OperationCallable<SetLabelsRegionInstantSnapshotRequest,Operation,Operation> setLabelsOperationCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
testIamPermissionsCallable()
public UnaryCallable<TestIamPermissionsRegionInstantSnapshotRequest,TestPermissionsResponse> testIamPermissionsCallable()
Overrides