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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(RegionInstanceGroupsStubSettings settings)

public static final HttpJsonRegionInstanceGroupsStub create(RegionInstanceGroupsStubSettings settings)
Parameter
NameDescription
settingsRegionInstanceGroupsStubSettings
Returns
TypeDescription
HttpJsonRegionInstanceGroupsStub
Exceptions
TypeDescription
IOException

getMethodDescriptors()

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

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

Methods

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

getCallable()

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

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listCallable()

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

listInstancesCallable()

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

listInstancesPagedCallable()

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

listPagedCallable()

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

setNamedPortsCallable()

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

setNamedPortsOperationCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()