Class HttpJsonRegionDisksStub (1.57.0)

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.

Inheritance

java.lang.Object > RegionDisksStub > HttpJsonRegionDisksStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(RegionDisksStubSettings settings)

public static final HttpJsonRegionDisksStub create(RegionDisksStubSettings settings)
Parameter
Name Description
settings RegionDisksStubSettings
Returns
Type Description
HttpJsonRegionDisksStub
Exceptions
Type Description
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Type Description
List<ApiMethodDescriptor>

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
Name Description
settings RegionDisksStubSettings
clientContext ClientContext

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
Name Description
settings RegionDisksStubSettings
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory

Methods

addResourcePoliciesCallable()

public UnaryCallable<AddResourcePoliciesRegionDiskRequest,Operation> addResourcePoliciesCallable()
Returns
Type Description
UnaryCallable<AddResourcePoliciesRegionDiskRequest,Operation>
Overrides

addResourcePoliciesOperationCallable()

public OperationCallable<AddResourcePoliciesRegionDiskRequest,Operation,Operation> addResourcePoliciesOperationCallable()
Returns
Type Description
OperationCallable<AddResourcePoliciesRegionDiskRequest,Operation,Operation>
Overrides

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

bulkInsertCallable()

public UnaryCallable<BulkInsertRegionDiskRequest,Operation> bulkInsertCallable()
Returns
Type Description
UnaryCallable<BulkInsertRegionDiskRequest,Operation>
Overrides

bulkInsertOperationCallable()

public OperationCallable<BulkInsertRegionDiskRequest,Operation,Operation> bulkInsertOperationCallable()
Returns
Type Description
OperationCallable<BulkInsertRegionDiskRequest,Operation,Operation>
Overrides

close()

public final void close()
Overrides

createSnapshotCallable()

public UnaryCallable<CreateSnapshotRegionDiskRequest,Operation> createSnapshotCallable()
Returns
Type Description
UnaryCallable<CreateSnapshotRegionDiskRequest,Operation>
Overrides

createSnapshotOperationCallable()

public OperationCallable<CreateSnapshotRegionDiskRequest,Operation,Operation> createSnapshotOperationCallable()
Returns
Type Description
OperationCallable<CreateSnapshotRegionDiskRequest,Operation,Operation>
Overrides

deleteCallable()

public UnaryCallable<DeleteRegionDiskRequest,Operation> deleteCallable()
Returns
Type Description
UnaryCallable<DeleteRegionDiskRequest,Operation>
Overrides

deleteOperationCallable()

public OperationCallable<DeleteRegionDiskRequest,Operation,Operation> deleteOperationCallable()
Returns
Type Description
OperationCallable<DeleteRegionDiskRequest,Operation,Operation>
Overrides

getCallable()

public UnaryCallable<GetRegionDiskRequest,Disk> getCallable()
Returns
Type Description
UnaryCallable<GetRegionDiskRequest,Disk>
Overrides

getIamPolicyCallable()

public UnaryCallable<GetIamPolicyRegionDiskRequest,Policy> getIamPolicyCallable()
Returns
Type Description
UnaryCallable<GetIamPolicyRegionDiskRequest,Policy>
Overrides

insertCallable()

public UnaryCallable<InsertRegionDiskRequest,Operation> insertCallable()
Returns
Type Description
UnaryCallable<InsertRegionDiskRequest,Operation>
Overrides

insertOperationCallable()

public OperationCallable<InsertRegionDiskRequest,Operation,Operation> insertOperationCallable()
Returns
Type Description
OperationCallable<InsertRegionDiskRequest,Operation,Operation>
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listCallable()

public UnaryCallable<ListRegionDisksRequest,DiskList> listCallable()
Returns
Type Description
UnaryCallable<ListRegionDisksRequest,DiskList>
Overrides

listPagedCallable()

public UnaryCallable<ListRegionDisksRequest,RegionDisksClient.ListPagedResponse> listPagedCallable()
Returns
Type Description
UnaryCallable<ListRegionDisksRequest,ListPagedResponse>
Overrides

removeResourcePoliciesCallable()

public UnaryCallable<RemoveResourcePoliciesRegionDiskRequest,Operation> removeResourcePoliciesCallable()
Returns
Type Description
UnaryCallable<RemoveResourcePoliciesRegionDiskRequest,Operation>
Overrides

removeResourcePoliciesOperationCallable()

public OperationCallable<RemoveResourcePoliciesRegionDiskRequest,Operation,Operation> removeResourcePoliciesOperationCallable()
Returns
Type Description
OperationCallable<RemoveResourcePoliciesRegionDiskRequest,Operation,Operation>
Overrides

resizeCallable()

public UnaryCallable<ResizeRegionDiskRequest,Operation> resizeCallable()
Returns
Type Description
UnaryCallable<ResizeRegionDiskRequest,Operation>
Overrides

resizeOperationCallable()

public OperationCallable<ResizeRegionDiskRequest,Operation,Operation> resizeOperationCallable()
Returns
Type Description
OperationCallable<ResizeRegionDiskRequest,Operation,Operation>
Overrides

setIamPolicyCallable()

public UnaryCallable<SetIamPolicyRegionDiskRequest,Policy> setIamPolicyCallable()
Returns
Type Description
UnaryCallable<SetIamPolicyRegionDiskRequest,Policy>
Overrides

setLabelsCallable()

public UnaryCallable<SetLabelsRegionDiskRequest,Operation> setLabelsCallable()
Returns
Type Description
UnaryCallable<SetLabelsRegionDiskRequest,Operation>
Overrides

setLabelsOperationCallable()

public OperationCallable<SetLabelsRegionDiskRequest,Operation,Operation> setLabelsOperationCallable()
Returns
Type Description
OperationCallable<SetLabelsRegionDiskRequest,Operation,Operation>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

startAsyncReplicationCallable()

public UnaryCallable<StartAsyncReplicationRegionDiskRequest,Operation> startAsyncReplicationCallable()
Returns
Type Description
UnaryCallable<StartAsyncReplicationRegionDiskRequest,Operation>
Overrides

startAsyncReplicationOperationCallable()

public OperationCallable<StartAsyncReplicationRegionDiskRequest,Operation,Operation> startAsyncReplicationOperationCallable()
Returns
Type Description
OperationCallable<StartAsyncReplicationRegionDiskRequest,Operation,Operation>
Overrides

stopAsyncReplicationCallable()

public UnaryCallable<StopAsyncReplicationRegionDiskRequest,Operation> stopAsyncReplicationCallable()
Returns
Type Description
UnaryCallable<StopAsyncReplicationRegionDiskRequest,Operation>
Overrides

stopAsyncReplicationOperationCallable()

public OperationCallable<StopAsyncReplicationRegionDiskRequest,Operation,Operation> stopAsyncReplicationOperationCallable()
Returns
Type Description
OperationCallable<StopAsyncReplicationRegionDiskRequest,Operation,Operation>
Overrides

stopGroupAsyncReplicationCallable()

public UnaryCallable<StopGroupAsyncReplicationRegionDiskRequest,Operation> stopGroupAsyncReplicationCallable()
Returns
Type Description
UnaryCallable<StopGroupAsyncReplicationRegionDiskRequest,Operation>
Overrides

stopGroupAsyncReplicationOperationCallable()

public OperationCallable<StopGroupAsyncReplicationRegionDiskRequest,Operation,Operation> stopGroupAsyncReplicationOperationCallable()
Returns
Type Description
OperationCallable<StopGroupAsyncReplicationRegionDiskRequest,Operation,Operation>
Overrides

testIamPermissionsCallable()

public UnaryCallable<TestIamPermissionsRegionDiskRequest,TestPermissionsResponse> testIamPermissionsCallable()
Returns
Type Description
UnaryCallable<TestIamPermissionsRegionDiskRequest,TestPermissionsResponse>
Overrides

updateCallable()

public UnaryCallable<UpdateRegionDiskRequest,Operation> updateCallable()
Returns
Type Description
UnaryCallable<UpdateRegionDiskRequest,Operation>
Overrides

updateOperationCallable()

public OperationCallable<UpdateRegionDiskRequest,Operation,Operation> updateOperationCallable()
Returns
Type Description
OperationCallable<UpdateRegionDiskRequest,Operation,Operation>
Overrides