public class HttpJsonTargetPoolsStub extends TargetPoolsStub
REST stub implementation for the TargetPools service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonTargetPoolsStub create(ClientContext clientContext)
Parameter
Returns
Exceptions
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonTargetPoolsStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(TargetPoolsStubSettings settings)
public static final HttpJsonTargetPoolsStub create(TargetPoolsStubSettings settings)
Parameter
Returns
Exceptions
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Constructors
HttpJsonTargetPoolsStub(TargetPoolsStubSettings settings, ClientContext clientContext)
protected HttpJsonTargetPoolsStub(TargetPoolsStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonTargetPoolsStub, 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
HttpJsonTargetPoolsStub(TargetPoolsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonTargetPoolsStub(TargetPoolsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonTargetPoolsStub, 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
addHealthCheckCallable()
public UnaryCallable<AddHealthCheckTargetPoolRequest,Operation> addHealthCheckCallable()
Returns
Overrides
addHealthCheckOperationCallable()
public OperationCallable<AddHealthCheckTargetPoolRequest,Operation,Operation> addHealthCheckOperationCallable()
Returns
Overrides
addInstanceCallable()
public UnaryCallable<AddInstanceTargetPoolRequest,Operation> addInstanceCallable()
Returns
Overrides
addInstanceOperationCallable()
public OperationCallable<AddInstanceTargetPoolRequest,Operation,Operation> addInstanceOperationCallable()
Returns
Overrides
aggregatedListCallable()
public UnaryCallable<AggregatedListTargetPoolsRequest,TargetPoolAggregatedList> aggregatedListCallable()
Returns
Overrides
aggregatedListPagedCallable()
public UnaryCallable<AggregatedListTargetPoolsRequest,TargetPoolsClient.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<DeleteTargetPoolRequest,Operation> deleteCallable()
Returns
Overrides
deleteOperationCallable()
public OperationCallable<DeleteTargetPoolRequest,Operation,Operation> deleteOperationCallable()
Returns
Overrides
getCallable()
public UnaryCallable<GetTargetPoolRequest,TargetPool> getCallable()
Returns
Overrides
getHealthCallable()
public UnaryCallable<GetHealthTargetPoolRequest,TargetPoolInstanceHealth> getHealthCallable()
Returns
Overrides
insertCallable()
public UnaryCallable<InsertTargetPoolRequest,Operation> insertCallable()
Returns
Overrides
insertOperationCallable()
public OperationCallable<InsertTargetPoolRequest,Operation,Operation> insertOperationCallable()
Returns
Overrides
isShutdown()
public boolean isShutdown()
Returns
isTerminated()
public boolean isTerminated()
Returns
listCallable()
public UnaryCallable<ListTargetPoolsRequest,TargetPoolList> listCallable()
Returns
Overrides
listPagedCallable()
public UnaryCallable<ListTargetPoolsRequest,TargetPoolsClient.ListPagedResponse> listPagedCallable()
Returns
Overrides
removeHealthCheckCallable()
public UnaryCallable<RemoveHealthCheckTargetPoolRequest,Operation> removeHealthCheckCallable()
Returns
Overrides
removeHealthCheckOperationCallable()
public OperationCallable<RemoveHealthCheckTargetPoolRequest,Operation,Operation> removeHealthCheckOperationCallable()
Returns
Overrides
removeInstanceCallable()
public UnaryCallable<RemoveInstanceTargetPoolRequest,Operation> removeInstanceCallable()
Returns
Overrides
removeInstanceOperationCallable()
public OperationCallable<RemoveInstanceTargetPoolRequest,Operation,Operation> removeInstanceOperationCallable()
Returns
Overrides
setBackupCallable()
public UnaryCallable<SetBackupTargetPoolRequest,Operation> setBackupCallable()
Returns
Overrides
setBackupOperationCallable()
public OperationCallable<SetBackupTargetPoolRequest,Operation,Operation> setBackupOperationCallable()
Returns
Overrides
shutdown()
shutdownNow()
public void shutdownNow()