Class HttpJsonDisksStub (1.51.0)

public class HttpJsonDisksStub extends DisksStub

REST stub implementation for the Disks service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > DisksStub > HttpJsonDisksStub

Static Methods

create(ClientContext clientContext)

public static final HttpJsonDisksStub create(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
HttpJsonDisksStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonDisksStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory
Returns
TypeDescription
HttpJsonDisksStub
Exceptions
TypeDescription
IOException

create(DisksStubSettings settings)

public static final HttpJsonDisksStub create(DisksStubSettings settings)
Parameter
NameDescription
settingsDisksStubSettings
Returns
TypeDescription
HttpJsonDisksStub
Exceptions
TypeDescription
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
TypeDescription
List<ApiMethodDescriptor>

Constructors

HttpJsonDisksStub(DisksStubSettings settings, ClientContext clientContext)

protected HttpJsonDisksStub(DisksStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonDisksStub, 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
NameDescription
settingsDisksStubSettings
clientContextClientContext

HttpJsonDisksStub(DisksStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonDisksStub(DisksStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonDisksStub, 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
NameDescription
settingsDisksStubSettings
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory

Methods

addResourcePoliciesCallable()

public UnaryCallable<AddResourcePoliciesDiskRequest,Operation> addResourcePoliciesCallable()
Returns
TypeDescription
UnaryCallable<AddResourcePoliciesDiskRequest,Operation>
Overrides

addResourcePoliciesOperationCallable()

public OperationCallable<AddResourcePoliciesDiskRequest,Operation,Operation> addResourcePoliciesOperationCallable()
Returns
TypeDescription
OperationCallable<AddResourcePoliciesDiskRequest,Operation,Operation>
Overrides

aggregatedListCallable()

public UnaryCallable<AggregatedListDisksRequest,DiskAggregatedList> aggregatedListCallable()
Returns
TypeDescription
UnaryCallable<AggregatedListDisksRequest,DiskAggregatedList>
Overrides

aggregatedListPagedCallable()

public UnaryCallable<AggregatedListDisksRequest,DisksClient.AggregatedListPagedResponse> aggregatedListPagedCallable()
Returns
TypeDescription
UnaryCallable<AggregatedListDisksRequest,AggregatedListPagedResponse>
Overrides

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

bulkInsertCallable()

public UnaryCallable<BulkInsertDiskRequest,Operation> bulkInsertCallable()
Returns
TypeDescription
UnaryCallable<BulkInsertDiskRequest,Operation>
Overrides

bulkInsertOperationCallable()

public OperationCallable<BulkInsertDiskRequest,Operation,Operation> bulkInsertOperationCallable()
Returns
TypeDescription
OperationCallable<BulkInsertDiskRequest,Operation,Operation>
Overrides

close()

public final void close()
Overrides

createSnapshotCallable()

public UnaryCallable<CreateSnapshotDiskRequest,Operation> createSnapshotCallable()
Returns
TypeDescription
UnaryCallable<CreateSnapshotDiskRequest,Operation>
Overrides

createSnapshotOperationCallable()

public OperationCallable<CreateSnapshotDiskRequest,Operation,Operation> createSnapshotOperationCallable()
Returns
TypeDescription
OperationCallable<CreateSnapshotDiskRequest,Operation,Operation>
Overrides

deleteCallable()

public UnaryCallable<DeleteDiskRequest,Operation> deleteCallable()
Returns
TypeDescription
UnaryCallable<DeleteDiskRequest,Operation>
Overrides

deleteOperationCallable()

public OperationCallable<DeleteDiskRequest,Operation,Operation> deleteOperationCallable()
Returns
TypeDescription
OperationCallable<DeleteDiskRequest,Operation,Operation>
Overrides

getCallable()

public UnaryCallable<GetDiskRequest,Disk> getCallable()
Returns
TypeDescription
UnaryCallable<GetDiskRequest,Disk>
Overrides

getIamPolicyCallable()

public UnaryCallable<GetIamPolicyDiskRequest,Policy> getIamPolicyCallable()
Returns
TypeDescription
UnaryCallable<GetIamPolicyDiskRequest,Policy>
Overrides

insertCallable()

public UnaryCallable<InsertDiskRequest,Operation> insertCallable()
Returns
TypeDescription
UnaryCallable<InsertDiskRequest,Operation>
Overrides

insertOperationCallable()

public OperationCallable<InsertDiskRequest,Operation,Operation> insertOperationCallable()
Returns
TypeDescription
OperationCallable<InsertDiskRequest,Operation,Operation>
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listCallable()

public UnaryCallable<ListDisksRequest,DiskList> listCallable()
Returns
TypeDescription
UnaryCallable<ListDisksRequest,DiskList>
Overrides

listPagedCallable()

public UnaryCallable<ListDisksRequest,DisksClient.ListPagedResponse> listPagedCallable()
Returns
TypeDescription
UnaryCallable<ListDisksRequest,ListPagedResponse>
Overrides

removeResourcePoliciesCallable()

public UnaryCallable<RemoveResourcePoliciesDiskRequest,Operation> removeResourcePoliciesCallable()
Returns
TypeDescription
UnaryCallable<RemoveResourcePoliciesDiskRequest,Operation>
Overrides

removeResourcePoliciesOperationCallable()

public OperationCallable<RemoveResourcePoliciesDiskRequest,Operation,Operation> removeResourcePoliciesOperationCallable()
Returns
TypeDescription
OperationCallable<RemoveResourcePoliciesDiskRequest,Operation,Operation>
Overrides

resizeCallable()

public UnaryCallable<ResizeDiskRequest,Operation> resizeCallable()
Returns
TypeDescription
UnaryCallable<ResizeDiskRequest,Operation>
Overrides

resizeOperationCallable()

public OperationCallable<ResizeDiskRequest,Operation,Operation> resizeOperationCallable()
Returns
TypeDescription
OperationCallable<ResizeDiskRequest,Operation,Operation>
Overrides

setIamPolicyCallable()

public UnaryCallable<SetIamPolicyDiskRequest,Policy> setIamPolicyCallable()
Returns
TypeDescription
UnaryCallable<SetIamPolicyDiskRequest,Policy>
Overrides

setLabelsCallable()

public UnaryCallable<SetLabelsDiskRequest,Operation> setLabelsCallable()
Returns
TypeDescription
UnaryCallable<SetLabelsDiskRequest,Operation>
Overrides

setLabelsOperationCallable()

public OperationCallable<SetLabelsDiskRequest,Operation,Operation> setLabelsOperationCallable()
Returns
TypeDescription
OperationCallable<SetLabelsDiskRequest,Operation,Operation>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

startAsyncReplicationCallable()

public UnaryCallable<StartAsyncReplicationDiskRequest,Operation> startAsyncReplicationCallable()
Returns
TypeDescription
UnaryCallable<StartAsyncReplicationDiskRequest,Operation>
Overrides

startAsyncReplicationOperationCallable()

public OperationCallable<StartAsyncReplicationDiskRequest,Operation,Operation> startAsyncReplicationOperationCallable()
Returns
TypeDescription
OperationCallable<StartAsyncReplicationDiskRequest,Operation,Operation>
Overrides

stopAsyncReplicationCallable()

public UnaryCallable<StopAsyncReplicationDiskRequest,Operation> stopAsyncReplicationCallable()
Returns
TypeDescription
UnaryCallable<StopAsyncReplicationDiskRequest,Operation>
Overrides

stopAsyncReplicationOperationCallable()

public OperationCallable<StopAsyncReplicationDiskRequest,Operation,Operation> stopAsyncReplicationOperationCallable()
Returns
TypeDescription
OperationCallable<StopAsyncReplicationDiskRequest,Operation,Operation>
Overrides

stopGroupAsyncReplicationCallable()

public UnaryCallable<StopGroupAsyncReplicationDiskRequest,Operation> stopGroupAsyncReplicationCallable()
Returns
TypeDescription
UnaryCallable<StopGroupAsyncReplicationDiskRequest,Operation>
Overrides

stopGroupAsyncReplicationOperationCallable()

public OperationCallable<StopGroupAsyncReplicationDiskRequest,Operation,Operation> stopGroupAsyncReplicationOperationCallable()
Returns
TypeDescription
OperationCallable<StopGroupAsyncReplicationDiskRequest,Operation,Operation>
Overrides

testIamPermissionsCallable()

public UnaryCallable<TestIamPermissionsDiskRequest,TestPermissionsResponse> testIamPermissionsCallable()
Returns
TypeDescription
UnaryCallable<TestIamPermissionsDiskRequest,TestPermissionsResponse>
Overrides

updateCallable()

public UnaryCallable<UpdateDiskRequest,Operation> updateCallable()
Returns
TypeDescription
UnaryCallable<UpdateDiskRequest,Operation>
Overrides

updateOperationCallable()

public OperationCallable<UpdateDiskRequest,Operation,Operation> updateOperationCallable()
Returns
TypeDescription
OperationCallable<UpdateDiskRequest,Operation,Operation>
Overrides