Class HttpJsonRegionDisksStub (1.11.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
TypeDescription
HttpJsonRegionDisksStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(RegionDisksStubSettings settings)

public static final HttpJsonRegionDisksStub create(RegionDisksStubSettings settings)
Parameter
NameDescription
settingsRegionDisksStubSettings
Returns
TypeDescription
HttpJsonRegionDisksStub
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
TypeDescription
UnaryCallable<AddResourcePoliciesRegionDiskRequest,Operation>
Overrides

addResourcePoliciesOperationCallable()

public OperationCallable<AddResourcePoliciesRegionDiskRequest,Operation,Operation> addResourcePoliciesOperationCallable()
Returns
TypeDescription
OperationCallable<AddResourcePoliciesRegionDiskRequest,Operation,Operation>
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
TypeDescription
UnaryCallable<CreateSnapshotRegionDiskRequest,Operation>
Overrides

createSnapshotOperationCallable()

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

deleteCallable()

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

deleteOperationCallable()

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

getCallable()

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

getIamPolicyCallable()

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

insertCallable()

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

insertOperationCallable()

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

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listCallable()

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

listPagedCallable()

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

removeResourcePoliciesCallable()

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

removeResourcePoliciesOperationCallable()

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

resizeCallable()

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

resizeOperationCallable()

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

setIamPolicyCallable()

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

setLabelsCallable()

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

setLabelsOperationCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

testIamPermissionsCallable()

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