public class HttpJsonTargetTcpProxiesStub extends TargetTcpProxiesStub
REST stub implementation for the TargetTcpProxies service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonTargetTcpProxiesStub create(ClientContext clientContext)
Parameter
Returns
Exceptions
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonTargetTcpProxiesStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(TargetTcpProxiesStubSettings settings)
public static final HttpJsonTargetTcpProxiesStub create(TargetTcpProxiesStubSettings settings)
Parameter
Returns
Exceptions
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Constructors
HttpJsonTargetTcpProxiesStub(TargetTcpProxiesStubSettings settings, ClientContext clientContext)
protected HttpJsonTargetTcpProxiesStub(TargetTcpProxiesStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonTargetTcpProxiesStub, 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
HttpJsonTargetTcpProxiesStub(TargetTcpProxiesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonTargetTcpProxiesStub(TargetTcpProxiesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonTargetTcpProxiesStub, 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
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
close()
public final void close()
Overrides
deleteCallable()
public UnaryCallable<DeleteTargetTcpProxyRequest,Operation> deleteCallable()
Returns
Overrides
deleteOperationCallable()
public OperationCallable<DeleteTargetTcpProxyRequest,Operation,Operation> deleteOperationCallable()
Returns
Overrides
getCallable()
public UnaryCallable<GetTargetTcpProxyRequest,TargetTcpProxy> getCallable()
Returns
Overrides
insertCallable()
public UnaryCallable<InsertTargetTcpProxyRequest,Operation> insertCallable()
Returns
Overrides
insertOperationCallable()
public OperationCallable<InsertTargetTcpProxyRequest,Operation,Operation> insertOperationCallable()
Returns
Overrides
isShutdown()
public boolean isShutdown()
Returns
isTerminated()
public boolean isTerminated()
Returns
listCallable()
public UnaryCallable<ListTargetTcpProxiesRequest,TargetTcpProxyList> listCallable()
Returns
Overrides
listPagedCallable()
public UnaryCallable<ListTargetTcpProxiesRequest,TargetTcpProxiesClient.ListPagedResponse> listPagedCallable()
Returns
Overrides
setBackendServiceCallable()
public UnaryCallable<SetBackendServiceTargetTcpProxyRequest,Operation> setBackendServiceCallable()
Returns
Overrides
setBackendServiceOperationCallable()
public OperationCallable<SetBackendServiceTargetTcpProxyRequest,Operation,Operation> setBackendServiceOperationCallable()
Returns
Overrides
public UnaryCallable<SetProxyHeaderTargetTcpProxyRequest,Operation> setProxyHeaderCallable()
Returns
Overrides
public OperationCallable<SetProxyHeaderTargetTcpProxyRequest,Operation,Operation> setProxyHeaderOperationCallable()
Returns
Overrides
shutdown()
shutdownNow()
public void shutdownNow()