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)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonRegionDisksStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
create(RegionDisksStubSettings settings)
public static final HttpJsonRegionDisksStub create(RegionDisksStubSettings settings)
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
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.
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.
Methods
addResourcePoliciesCallable()
public UnaryCallable<AddResourcePoliciesRegionDiskRequest,Operation> addResourcePoliciesCallable()
Overrides
addResourcePoliciesOperationCallable()
public OperationCallable<AddResourcePoliciesRegionDiskRequest,Operation,Operation> addResourcePoliciesOperationCallable()
Overrides
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
Overrides
createSnapshotCallable()
public UnaryCallable<CreateSnapshotRegionDiskRequest,Operation> createSnapshotCallable()
Overrides
createSnapshotOperationCallable()
public OperationCallable<CreateSnapshotRegionDiskRequest,Operation,Operation> createSnapshotOperationCallable()
Overrides
deleteCallable()
public UnaryCallable<DeleteRegionDiskRequest,Operation> deleteCallable()
Overrides
deleteOperationCallable()
public OperationCallable<DeleteRegionDiskRequest,Operation,Operation> deleteOperationCallable()
Overrides
getCallable()
public UnaryCallable<GetRegionDiskRequest,Disk> getCallable()
Overrides
getIamPolicyCallable()
public UnaryCallable<GetIamPolicyRegionDiskRequest,Policy> getIamPolicyCallable()
Overrides
insertCallable()
public UnaryCallable<InsertRegionDiskRequest,Operation> insertCallable()
Overrides
insertOperationCallable()
public OperationCallable<InsertRegionDiskRequest,Operation,Operation> insertOperationCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listCallable()
public UnaryCallable<ListRegionDisksRequest,DiskList> listCallable()
Overrides
listPagedCallable()
public UnaryCallable<ListRegionDisksRequest,RegionDisksClient.ListPagedResponse> listPagedCallable()
Overrides
removeResourcePoliciesCallable()
public UnaryCallable<RemoveResourcePoliciesRegionDiskRequest,Operation> removeResourcePoliciesCallable()
Overrides
removeResourcePoliciesOperationCallable()
public OperationCallable<RemoveResourcePoliciesRegionDiskRequest,Operation,Operation> removeResourcePoliciesOperationCallable()
Overrides
resizeCallable()
public UnaryCallable<ResizeRegionDiskRequest,Operation> resizeCallable()
Overrides
resizeOperationCallable()
public OperationCallable<ResizeRegionDiskRequest,Operation,Operation> resizeOperationCallable()
Overrides
setIamPolicyCallable()
public UnaryCallable<SetIamPolicyRegionDiskRequest,Policy> setIamPolicyCallable()
Overrides
setLabelsCallable()
public UnaryCallable<SetLabelsRegionDiskRequest,Operation> setLabelsCallable()
Overrides
setLabelsOperationCallable()
public OperationCallable<SetLabelsRegionDiskRequest,Operation,Operation> setLabelsOperationCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
testIamPermissionsCallable()
public UnaryCallable<TestIamPermissionsRegionDiskRequest,TestPermissionsResponse> testIamPermissionsCallable()
Overrides
updateCallable()
public UnaryCallable<UpdateRegionDiskRequest,Operation> updateCallable()
Overrides
updateOperationCallable()
public OperationCallable<UpdateRegionDiskRequest,Operation,Operation> updateOperationCallable()
Overrides