Class HttpJsonRegionInstanceGroupsStub (1.54.0)

public class HttpJsonRegionInstanceGroupsStub extends RegionInstanceGroupsStub

REST stub implementation for the RegionInstanceGroups service API.

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

Inheritance

java.lang.Object > RegionInstanceGroupsStub > HttpJsonRegionInstanceGroupsStub

Static Methods

create(ClientContext clientContext)

public static final HttpJsonRegionInstanceGroupsStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
HttpJsonRegionInstanceGroupsStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonRegionInstanceGroupsStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory
Returns
Type Description
HttpJsonRegionInstanceGroupsStub
Exceptions
Type Description
IOException

create(RegionInstanceGroupsStubSettings settings)

public static final HttpJsonRegionInstanceGroupsStub create(RegionInstanceGroupsStubSettings settings)
Parameter
Name Description
settings RegionInstanceGroupsStubSettings
Returns
Type Description
HttpJsonRegionInstanceGroupsStub
Exceptions
Type Description
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Type Description
List<ApiMethodDescriptor>

Constructors

HttpJsonRegionInstanceGroupsStub(RegionInstanceGroupsStubSettings settings, ClientContext clientContext)

protected HttpJsonRegionInstanceGroupsStub(RegionInstanceGroupsStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonRegionInstanceGroupsStub, 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 RegionInstanceGroupsStubSettings
clientContext ClientContext

HttpJsonRegionInstanceGroupsStub(RegionInstanceGroupsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonRegionInstanceGroupsStub(RegionInstanceGroupsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonRegionInstanceGroupsStub, 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 RegionInstanceGroupsStubSettings
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory

Methods

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

close()

public final void close()
Overrides

getCallable()

public UnaryCallable<GetRegionInstanceGroupRequest,InstanceGroup> getCallable()
Returns
Type Description
UnaryCallable<GetRegionInstanceGroupRequest,InstanceGroup>
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listCallable()

public UnaryCallable<ListRegionInstanceGroupsRequest,RegionInstanceGroupList> listCallable()
Returns
Type Description
UnaryCallable<ListRegionInstanceGroupsRequest,RegionInstanceGroupList>
Overrides

listInstancesCallable()

public UnaryCallable<ListInstancesRegionInstanceGroupsRequest,RegionInstanceGroupsListInstances> listInstancesCallable()
Returns
Type Description
UnaryCallable<ListInstancesRegionInstanceGroupsRequest,RegionInstanceGroupsListInstances>
Overrides

listInstancesPagedCallable()

public UnaryCallable<ListInstancesRegionInstanceGroupsRequest,RegionInstanceGroupsClient.ListInstancesPagedResponse> listInstancesPagedCallable()
Returns
Type Description
UnaryCallable<ListInstancesRegionInstanceGroupsRequest,ListInstancesPagedResponse>
Overrides

listPagedCallable()

public UnaryCallable<ListRegionInstanceGroupsRequest,RegionInstanceGroupsClient.ListPagedResponse> listPagedCallable()
Returns
Type Description
UnaryCallable<ListRegionInstanceGroupsRequest,ListPagedResponse>
Overrides

setNamedPortsCallable()

public UnaryCallable<SetNamedPortsRegionInstanceGroupRequest,Operation> setNamedPortsCallable()
Returns
Type Description
UnaryCallable<SetNamedPortsRegionInstanceGroupRequest,Operation>
Overrides

setNamedPortsOperationCallable()

public OperationCallable<SetNamedPortsRegionInstanceGroupRequest,Operation,Operation> setNamedPortsOperationCallable()
Returns
Type Description
OperationCallable<SetNamedPortsRegionInstanceGroupRequest,Operation,Operation>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()