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)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonInstanceGroupsStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
create(InstanceGroupsStubSettings settings)
public static final HttpJsonInstanceGroupsStub create(InstanceGroupsStubSettings settings)
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
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.
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.
Methods
addInstancesCallable()
public UnaryCallable<AddInstancesInstanceGroupRequest,Operation> addInstancesCallable()
Overrides
addInstancesOperationCallable()
public OperationCallable<AddInstancesInstanceGroupRequest,Operation,Operation> addInstancesOperationCallable()
Overrides
aggregatedListCallable()
public UnaryCallable<AggregatedListInstanceGroupsRequest,InstanceGroupAggregatedList> aggregatedListCallable()
Overrides
aggregatedListPagedCallable()
public UnaryCallable<AggregatedListInstanceGroupsRequest,InstanceGroupsClient.AggregatedListPagedResponse> aggregatedListPagedCallable()
Overrides
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
Overrides
deleteCallable()
public UnaryCallable<DeleteInstanceGroupRequest,Operation> deleteCallable()
Overrides
deleteOperationCallable()
public OperationCallable<DeleteInstanceGroupRequest,Operation,Operation> deleteOperationCallable()
Overrides
getCallable()
public UnaryCallable<GetInstanceGroupRequest,InstanceGroup> getCallable()
Overrides
insertCallable()
public UnaryCallable<InsertInstanceGroupRequest,Operation> insertCallable()
Overrides
insertOperationCallable()
public OperationCallable<InsertInstanceGroupRequest,Operation,Operation> insertOperationCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listCallable()
public UnaryCallable<ListInstanceGroupsRequest,InstanceGroupList> listCallable()
Overrides
listInstancesCallable()
public UnaryCallable<ListInstancesInstanceGroupsRequest,InstanceGroupsListInstances> listInstancesCallable()
Overrides
listInstancesPagedCallable()
public UnaryCallable<ListInstancesInstanceGroupsRequest,InstanceGroupsClient.ListInstancesPagedResponse> listInstancesPagedCallable()
Overrides
listPagedCallable()
public UnaryCallable<ListInstanceGroupsRequest,InstanceGroupsClient.ListPagedResponse> listPagedCallable()
Overrides
removeInstancesCallable()
public UnaryCallable<RemoveInstancesInstanceGroupRequest,Operation> removeInstancesCallable()
Overrides
removeInstancesOperationCallable()
public OperationCallable<RemoveInstancesInstanceGroupRequest,Operation,Operation> removeInstancesOperationCallable()
Overrides
setNamedPortsCallable()
public UnaryCallable<SetNamedPortsInstanceGroupRequest,Operation> setNamedPortsCallable()
Overrides
setNamedPortsOperationCallable()
public OperationCallable<SetNamedPortsInstanceGroupRequest,Operation,Operation> setNamedPortsOperationCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()