public class HttpJsonRegionDisksStub extends RegionDisksStub
REST stub implementation for the RegionDisks service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonRegionDisksStub create(ClientContext clientContext)
Parameter
Returns
Exceptions
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonRegionDisksStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(RegionDisksStubSettings settings)
public static final HttpJsonRegionDisksStub create(RegionDisksStubSettings settings)
Parameter
Returns
Exceptions
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Constructors
HttpJsonRegionDisksStub(RegionDisksStubSettings settings, ClientContext clientContext)
protected HttpJsonRegionDisksStub(RegionDisksStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonRegionDisksStub, 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
HttpJsonRegionDisksStub(RegionDisksStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonRegionDisksStub(RegionDisksStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonRegionDisksStub, 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
addResourcePoliciesCallable()
public UnaryCallable<AddResourcePoliciesRegionDiskRequest,Operation> addResourcePoliciesCallable()
Returns
Overrides
addResourcePoliciesOperationCallable()
public OperationCallable<AddResourcePoliciesRegionDiskRequest,Operation,Operation> addResourcePoliciesOperationCallable()
Returns
Overrides
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
close()
public final void close()
Overrides
createSnapshotCallable()
public UnaryCallable<CreateSnapshotRegionDiskRequest,Operation> createSnapshotCallable()
Returns
Overrides
createSnapshotOperationCallable()
public OperationCallable<CreateSnapshotRegionDiskRequest,Operation,Operation> createSnapshotOperationCallable()
Returns
Overrides
deleteCallable()
public UnaryCallable<DeleteRegionDiskRequest,Operation> deleteCallable()
Returns
Overrides
deleteOperationCallable()
public OperationCallable<DeleteRegionDiskRequest,Operation,Operation> deleteOperationCallable()
Returns
Overrides
getCallable()
public UnaryCallable<GetRegionDiskRequest,Disk> getCallable()
Returns
Overrides
getIamPolicyCallable()
public UnaryCallable<GetIamPolicyRegionDiskRequest,Policy> getIamPolicyCallable()
Returns
Overrides
insertCallable()
public UnaryCallable<InsertRegionDiskRequest,Operation> insertCallable()
Returns
Overrides
insertOperationCallable()
public OperationCallable<InsertRegionDiskRequest,Operation,Operation> insertOperationCallable()
Returns
Overrides
isShutdown()
public boolean isShutdown()
Returns
isTerminated()
public boolean isTerminated()
Returns
listCallable()
public UnaryCallable<ListRegionDisksRequest,DiskList> listCallable()
Returns
Overrides
listPagedCallable()
public UnaryCallable<ListRegionDisksRequest,RegionDisksClient.ListPagedResponse> listPagedCallable()
Returns
Overrides
removeResourcePoliciesCallable()
public UnaryCallable<RemoveResourcePoliciesRegionDiskRequest,Operation> removeResourcePoliciesCallable()
Returns
Overrides
removeResourcePoliciesOperationCallable()
public OperationCallable<RemoveResourcePoliciesRegionDiskRequest,Operation,Operation> removeResourcePoliciesOperationCallable()
Returns
Overrides
resizeCallable()
public UnaryCallable<ResizeRegionDiskRequest,Operation> resizeCallable()
Returns
Overrides
resizeOperationCallable()
public OperationCallable<ResizeRegionDiskRequest,Operation,Operation> resizeOperationCallable()
Returns
Overrides
setIamPolicyCallable()
public UnaryCallable<SetIamPolicyRegionDiskRequest,Policy> setIamPolicyCallable()
Returns
Overrides
setLabelsCallable()
public UnaryCallable<SetLabelsRegionDiskRequest,Operation> setLabelsCallable()
Returns
Overrides
setLabelsOperationCallable()
public OperationCallable<SetLabelsRegionDiskRequest,Operation,Operation> setLabelsOperationCallable()
Returns
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
testIamPermissionsCallable()
public UnaryCallable<TestIamPermissionsRegionDiskRequest,TestPermissionsResponse> testIamPermissionsCallable()
Returns
Overrides