- 1.62.0 (latest)
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.1
- 1.11.0
- 1.9.1
- 1.8.1
- 1.7.2
- 1.6.0-beta
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.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonDisksStub create(ClientContext clientContext)
Parameter | |
---|---|
Name | Description |
clientContext |
ClientContext |
Returns | |
---|---|
Type | Description |
HttpJsonDisksStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonDisksStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters | |
---|---|
Name | Description |
clientContext |
ClientContext |
callableFactory |
HttpJsonStubCallableFactory |
Returns | |
---|---|
Type | Description |
HttpJsonDisksStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(DisksStubSettings settings)
public static final HttpJsonDisksStub create(DisksStubSettings settings)
Parameter | |
---|---|
Name | Description |
settings |
DisksStubSettings |
Returns | |
---|---|
Type | Description |
HttpJsonDisksStub |
Exceptions | |
---|---|
Type | Description |
IOException |
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
settings |
DisksStubSettings |
clientContext |
ClientContext |
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 | |
---|---|
Name | Description |
settings |
DisksStubSettings |
clientContext |
ClientContext |
callableFactory |
HttpJsonStubCallableFactory |
Methods
addResourcePoliciesCallable()
public UnaryCallable<AddResourcePoliciesDiskRequest,Operation> addResourcePoliciesCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<AddResourcePoliciesDiskRequest,Operation> |
addResourcePoliciesOperationCallable()
public OperationCallable<AddResourcePoliciesDiskRequest,Operation,Operation> addResourcePoliciesOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<AddResourcePoliciesDiskRequest,Operation,Operation> |
aggregatedListCallable()
public UnaryCallable<AggregatedListDisksRequest,DiskAggregatedList> aggregatedListCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<AggregatedListDisksRequest,DiskAggregatedList> |
aggregatedListPagedCallable()
public UnaryCallable<AggregatedListDisksRequest,DisksClient.AggregatedListPagedResponse> aggregatedListPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<AggregatedListDisksRequest,AggregatedListPagedResponse> |
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<BulkInsertDiskRequest,Operation> bulkInsertCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<BulkInsertDiskRequest,Operation> |
bulkInsertOperationCallable()
public OperationCallable<BulkInsertDiskRequest,Operation,Operation> bulkInsertOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<BulkInsertDiskRequest,Operation,Operation> |
close()
public final void close()
createSnapshotCallable()
public UnaryCallable<CreateSnapshotDiskRequest,Operation> createSnapshotCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateSnapshotDiskRequest,Operation> |
createSnapshotOperationCallable()
public OperationCallable<CreateSnapshotDiskRequest,Operation,Operation> createSnapshotOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateSnapshotDiskRequest,Operation,Operation> |
deleteCallable()
public UnaryCallable<DeleteDiskRequest,Operation> deleteCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteDiskRequest,Operation> |
deleteOperationCallable()
public OperationCallable<DeleteDiskRequest,Operation,Operation> deleteOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteDiskRequest,Operation,Operation> |
getCallable()
public UnaryCallable<GetDiskRequest,Disk> getCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetDiskRequest,Disk> |
getIamPolicyCallable()
public UnaryCallable<GetIamPolicyDiskRequest,Policy> getIamPolicyCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetIamPolicyDiskRequest,Policy> |
insertCallable()
public UnaryCallable<InsertDiskRequest,Operation> insertCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<InsertDiskRequest,Operation> |
insertOperationCallable()
public OperationCallable<InsertDiskRequest,Operation,Operation> insertOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<InsertDiskRequest,Operation,Operation> |
isShutdown()
public boolean isShutdown()
Returns | |
---|---|
Type | Description |
boolean |
isTerminated()
public boolean isTerminated()
Returns | |
---|---|
Type | Description |
boolean |
listCallable()
public UnaryCallable<ListDisksRequest,DiskList> listCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListDisksRequest,DiskList> |
listPagedCallable()
public UnaryCallable<ListDisksRequest,DisksClient.ListPagedResponse> listPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListDisksRequest,ListPagedResponse> |
removeResourcePoliciesCallable()
public UnaryCallable<RemoveResourcePoliciesDiskRequest,Operation> removeResourcePoliciesCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<RemoveResourcePoliciesDiskRequest,Operation> |
removeResourcePoliciesOperationCallable()
public OperationCallable<RemoveResourcePoliciesDiskRequest,Operation,Operation> removeResourcePoliciesOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<RemoveResourcePoliciesDiskRequest,Operation,Operation> |
resizeCallable()
public UnaryCallable<ResizeDiskRequest,Operation> resizeCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ResizeDiskRequest,Operation> |
resizeOperationCallable()
public OperationCallable<ResizeDiskRequest,Operation,Operation> resizeOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<ResizeDiskRequest,Operation,Operation> |
setIamPolicyCallable()
public UnaryCallable<SetIamPolicyDiskRequest,Policy> setIamPolicyCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<SetIamPolicyDiskRequest,Policy> |
setLabelsCallable()
public UnaryCallable<SetLabelsDiskRequest,Operation> setLabelsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<SetLabelsDiskRequest,Operation> |
setLabelsOperationCallable()
public OperationCallable<SetLabelsDiskRequest,Operation,Operation> setLabelsOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<SetLabelsDiskRequest,Operation,Operation> |
shutdown()
public void shutdown()
shutdownNow()
public void shutdownNow()
startAsyncReplicationCallable()
public UnaryCallable<StartAsyncReplicationDiskRequest,Operation> startAsyncReplicationCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<StartAsyncReplicationDiskRequest,Operation> |
startAsyncReplicationOperationCallable()
public OperationCallable<StartAsyncReplicationDiskRequest,Operation,Operation> startAsyncReplicationOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<StartAsyncReplicationDiskRequest,Operation,Operation> |
stopAsyncReplicationCallable()
public UnaryCallable<StopAsyncReplicationDiskRequest,Operation> stopAsyncReplicationCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<StopAsyncReplicationDiskRequest,Operation> |
stopAsyncReplicationOperationCallable()
public OperationCallable<StopAsyncReplicationDiskRequest,Operation,Operation> stopAsyncReplicationOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<StopAsyncReplicationDiskRequest,Operation,Operation> |
stopGroupAsyncReplicationCallable()
public UnaryCallable<StopGroupAsyncReplicationDiskRequest,Operation> stopGroupAsyncReplicationCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<StopGroupAsyncReplicationDiskRequest,Operation> |
stopGroupAsyncReplicationOperationCallable()
public OperationCallable<StopGroupAsyncReplicationDiskRequest,Operation,Operation> stopGroupAsyncReplicationOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<StopGroupAsyncReplicationDiskRequest,Operation,Operation> |
testIamPermissionsCallable()
public UnaryCallable<TestIamPermissionsDiskRequest,TestPermissionsResponse> testIamPermissionsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<TestIamPermissionsDiskRequest,TestPermissionsResponse> |
updateCallable()
public UnaryCallable<UpdateDiskRequest,Operation> updateCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateDiskRequest,Operation> |
updateOperationCallable()
public OperationCallable<UpdateDiskRequest,Operation,Operation> updateOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpdateDiskRequest,Operation,Operation> |