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)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonTargetPoolsStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
create(TargetPoolsStubSettings settings)
public static final HttpJsonTargetPoolsStub create(TargetPoolsStubSettings settings)
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
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.
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.
Methods
addHealthCheckCallable()
public UnaryCallable<AddHealthCheckTargetPoolRequest,Operation> addHealthCheckCallable()
Overrides
addHealthCheckOperationCallable()
public OperationCallable<AddHealthCheckTargetPoolRequest,Operation,Operation> addHealthCheckOperationCallable()
Overrides
addInstanceCallable()
public UnaryCallable<AddInstanceTargetPoolRequest,Operation> addInstanceCallable()
Overrides
addInstanceOperationCallable()
public OperationCallable<AddInstanceTargetPoolRequest,Operation,Operation> addInstanceOperationCallable()
Overrides
aggregatedListCallable()
public UnaryCallable<AggregatedListTargetPoolsRequest,TargetPoolAggregatedList> aggregatedListCallable()
Overrides
aggregatedListPagedCallable()
public UnaryCallable<AggregatedListTargetPoolsRequest,TargetPoolsClient.AggregatedListPagedResponse> aggregatedListPagedCallable()
Overrides
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
Overrides
deleteCallable()
public UnaryCallable<DeleteTargetPoolRequest,Operation> deleteCallable()
Overrides
deleteOperationCallable()
public OperationCallable<DeleteTargetPoolRequest,Operation,Operation> deleteOperationCallable()
Overrides
getCallable()
public UnaryCallable<GetTargetPoolRequest,TargetPool> getCallable()
Overrides
getHealthCallable()
public UnaryCallable<GetHealthTargetPoolRequest,TargetPoolInstanceHealth> getHealthCallable()
Overrides
insertCallable()
public UnaryCallable<InsertTargetPoolRequest,Operation> insertCallable()
Overrides
insertOperationCallable()
public OperationCallable<InsertTargetPoolRequest,Operation,Operation> insertOperationCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listCallable()
public UnaryCallable<ListTargetPoolsRequest,TargetPoolList> listCallable()
Overrides
listPagedCallable()
public UnaryCallable<ListTargetPoolsRequest,TargetPoolsClient.ListPagedResponse> listPagedCallable()
Overrides
removeHealthCheckCallable()
public UnaryCallable<RemoveHealthCheckTargetPoolRequest,Operation> removeHealthCheckCallable()
Overrides
removeHealthCheckOperationCallable()
public OperationCallable<RemoveHealthCheckTargetPoolRequest,Operation,Operation> removeHealthCheckOperationCallable()
Overrides
removeInstanceCallable()
public UnaryCallable<RemoveInstanceTargetPoolRequest,Operation> removeInstanceCallable()
Overrides
removeInstanceOperationCallable()
public OperationCallable<RemoveInstanceTargetPoolRequest,Operation,Operation> removeInstanceOperationCallable()
Overrides
setBackupCallable()
public UnaryCallable<SetBackupTargetPoolRequest,Operation> setBackupCallable()
Overrides
setBackupOperationCallable()
public OperationCallable<SetBackupTargetPoolRequest,Operation,Operation> setBackupOperationCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()