public class HttpJsonInstanceGroupsStub extends InstanceGroupsStub
REST stub implementation for the InstanceGroups service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonInstanceGroupsStub create(ClientContext clientContext)
Parameter
Returns
Exceptions
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonInstanceGroupsStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(InstanceGroupsStubSettings settings)
public static final HttpJsonInstanceGroupsStub create(InstanceGroupsStubSettings settings)
Parameter
Returns
Exceptions
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Constructors
HttpJsonInstanceGroupsStub(InstanceGroupsStubSettings settings, ClientContext clientContext)
protected HttpJsonInstanceGroupsStub(InstanceGroupsStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonInstanceGroupsStub, 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
HttpJsonInstanceGroupsStub(InstanceGroupsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonInstanceGroupsStub(InstanceGroupsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonInstanceGroupsStub, 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
addInstancesCallable()
public UnaryCallable<AddInstancesInstanceGroupRequest,Operation> addInstancesCallable()
Returns
Overrides
addInstancesOperationCallable()
public OperationCallable<AddInstancesInstanceGroupRequest,Operation,Operation> addInstancesOperationCallable()
Returns
Overrides
aggregatedListCallable()
public UnaryCallable<AggregatedListInstanceGroupsRequest,InstanceGroupAggregatedList> aggregatedListCallable()
Returns
Overrides
aggregatedListPagedCallable()
public UnaryCallable<AggregatedListInstanceGroupsRequest,InstanceGroupsClient.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
deleteCallable()
public UnaryCallable<DeleteInstanceGroupRequest,Operation> deleteCallable()
Returns
Overrides
deleteOperationCallable()
public OperationCallable<DeleteInstanceGroupRequest,Operation,Operation> deleteOperationCallable()
Returns
Overrides
getCallable()
public UnaryCallable<GetInstanceGroupRequest,InstanceGroup> getCallable()
Returns
Overrides
insertCallable()
public UnaryCallable<InsertInstanceGroupRequest,Operation> insertCallable()
Returns
Overrides
insertOperationCallable()
public OperationCallable<InsertInstanceGroupRequest,Operation,Operation> insertOperationCallable()
Returns
Overrides
isShutdown()
public boolean isShutdown()
Returns
isTerminated()
public boolean isTerminated()
Returns
listCallable()
public UnaryCallable<ListInstanceGroupsRequest,InstanceGroupList> listCallable()
Returns
Overrides
listInstancesCallable()
public UnaryCallable<ListInstancesInstanceGroupsRequest,InstanceGroupsListInstances> listInstancesCallable()
Returns
Overrides
listInstancesPagedCallable()
public UnaryCallable<ListInstancesInstanceGroupsRequest,InstanceGroupsClient.ListInstancesPagedResponse> listInstancesPagedCallable()
Returns
Overrides
listPagedCallable()
public UnaryCallable<ListInstanceGroupsRequest,InstanceGroupsClient.ListPagedResponse> listPagedCallable()
Returns
Overrides
removeInstancesCallable()
public UnaryCallable<RemoveInstancesInstanceGroupRequest,Operation> removeInstancesCallable()
Returns
Overrides
removeInstancesOperationCallable()
public OperationCallable<RemoveInstancesInstanceGroupRequest,Operation,Operation> removeInstancesOperationCallable()
Returns
Overrides
setNamedPortsCallable()
public UnaryCallable<SetNamedPortsInstanceGroupRequest,Operation> setNamedPortsCallable()
Returns
Overrides
setNamedPortsOperationCallable()
public OperationCallable<SetNamedPortsInstanceGroupRequest,Operation,Operation> setNamedPortsOperationCallable()
Returns
Overrides
shutdown()
shutdownNow()
public void shutdownNow()