Class HttpJsonRegionDisksStub (1.17.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
NameDescription
clientContextClientContext
Returns Exceptions
TypeDescription
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(RegionDisksStubSettings settings)

public static final HttpJsonRegionDisksStub create(RegionDisksStubSettings settings)
Parameter
NameDescription
settingsRegionDisksStubSettings
Returns Exceptions
TypeDescription
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
TypeDescription
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
NameDescription
settingsRegionDisksStubSettings
clientContextClientContext

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
NameDescription
settingsRegionDisksStubSettings
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory

Methods

addResourcePoliciesCallable()

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

addResourcePoliciesOperationCallable()

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

awaitTermination(long duration, TimeUnit unit)

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

close()

public final void close()
Overrides

createSnapshotCallable()

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

createSnapshotOperationCallable()

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

deleteCallable()

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

deleteOperationCallable()

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

getCallable()

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

getIamPolicyCallable()

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

insertCallable()

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

insertOperationCallable()

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

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listCallable()

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

listPagedCallable()

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

removeResourcePoliciesCallable()

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

removeResourcePoliciesOperationCallable()

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

resizeCallable()

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

resizeOperationCallable()

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

setIamPolicyCallable()

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

setLabelsCallable()

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

setLabelsOperationCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

testIamPermissionsCallable()

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