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
Returns
Exceptions
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonDisksStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(DisksStubSettings settings)
public static final HttpJsonDisksStub create(DisksStubSettings settings)
Parameter
Returns
Exceptions
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
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
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
Methods
addResourcePoliciesCallable()
public UnaryCallable<AddResourcePoliciesDiskRequest,Operation> addResourcePoliciesCallable()
Returns
Overrides
addResourcePoliciesOperationCallable()
public OperationCallable<AddResourcePoliciesDiskRequest,Operation,Operation> addResourcePoliciesOperationCallable()
Returns
Overrides
aggregatedListCallable()
public UnaryCallable<AggregatedListDisksRequest,DiskAggregatedList> aggregatedListCallable()
Returns
Overrides
aggregatedListPagedCallable()
public UnaryCallable<AggregatedListDisksRequest,DisksClient.AggregatedListPagedResponse> aggregatedListPagedCallable()
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<CreateSnapshotDiskRequest,Operation> createSnapshotCallable()
Returns
Overrides
createSnapshotOperationCallable()
public OperationCallable<CreateSnapshotDiskRequest,Operation,Operation> createSnapshotOperationCallable()
Returns
Overrides
deleteCallable()
public UnaryCallable<DeleteDiskRequest,Operation> deleteCallable()
Returns
Overrides
deleteOperationCallable()
public OperationCallable<DeleteDiskRequest,Operation,Operation> deleteOperationCallable()
Returns
Overrides
getCallable()
public UnaryCallable<GetDiskRequest,Disk> getCallable()
Returns
Overrides
getIamPolicyCallable()
public UnaryCallable<GetIamPolicyDiskRequest,Policy> getIamPolicyCallable()
Returns
Overrides
insertCallable()
public UnaryCallable<InsertDiskRequest,Operation> insertCallable()
Returns
Overrides
insertOperationCallable()
public OperationCallable<InsertDiskRequest,Operation,Operation> insertOperationCallable()
Returns
Overrides
isShutdown()
public boolean isShutdown()
Returns
isTerminated()
public boolean isTerminated()
Returns
listCallable()
public UnaryCallable<ListDisksRequest,DiskList> listCallable()
Returns
Overrides
listPagedCallable()
public UnaryCallable<ListDisksRequest,DisksClient.ListPagedResponse> listPagedCallable()
Returns
Overrides
removeResourcePoliciesCallable()
public UnaryCallable<RemoveResourcePoliciesDiskRequest,Operation> removeResourcePoliciesCallable()
Returns
Overrides
removeResourcePoliciesOperationCallable()
public OperationCallable<RemoveResourcePoliciesDiskRequest,Operation,Operation> removeResourcePoliciesOperationCallable()
Returns
Overrides
resizeCallable()
public UnaryCallable<ResizeDiskRequest,Operation> resizeCallable()
Returns
Overrides
resizeOperationCallable()
public OperationCallable<ResizeDiskRequest,Operation,Operation> resizeOperationCallable()
Returns
Overrides
setIamPolicyCallable()
public UnaryCallable<SetIamPolicyDiskRequest,Policy> setIamPolicyCallable()
Returns
Overrides
setLabelsCallable()
public UnaryCallable<SetLabelsDiskRequest,Operation> setLabelsCallable()
Returns
Overrides
setLabelsOperationCallable()
public OperationCallable<SetLabelsDiskRequest,Operation,Operation> setLabelsOperationCallable()
Returns
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
testIamPermissionsCallable()
public UnaryCallable<TestIamPermissionsDiskRequest,TestPermissionsResponse> testIamPermissionsCallable()
Returns
Overrides