Class HttpJsonTargetTcpProxiesStub (1.53.0)

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.

Inheritance

java.lang.Object > TargetTcpProxiesStub > HttpJsonTargetTcpProxiesStub

Static Methods

create(ClientContext clientContext)

public static final HttpJsonTargetTcpProxiesStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
HttpJsonTargetTcpProxiesStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonTargetTcpProxiesStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory
Returns
Type Description
HttpJsonTargetTcpProxiesStub
Exceptions
Type Description
IOException

create(TargetTcpProxiesStubSettings settings)

public static final HttpJsonTargetTcpProxiesStub create(TargetTcpProxiesStubSettings settings)
Parameter
Name Description
settings TargetTcpProxiesStubSettings
Returns
Type Description
HttpJsonTargetTcpProxiesStub
Exceptions
Type Description
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Type Description
List<ApiMethodDescriptor>

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
Name Description
settings TargetTcpProxiesStubSettings
clientContext ClientContext

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
Name Description
settings TargetTcpProxiesStubSettings
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory

Methods

aggregatedListCallable()

public UnaryCallable<AggregatedListTargetTcpProxiesRequest,TargetTcpProxyAggregatedList> aggregatedListCallable()
Returns
Type Description
UnaryCallable<AggregatedListTargetTcpProxiesRequest,TargetTcpProxyAggregatedList>
Overrides

aggregatedListPagedCallable()

public UnaryCallable<AggregatedListTargetTcpProxiesRequest,TargetTcpProxiesClient.AggregatedListPagedResponse> aggregatedListPagedCallable()
Returns
Type Description
UnaryCallable<AggregatedListTargetTcpProxiesRequest,AggregatedListPagedResponse>
Overrides

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

close()

public final void close()
Overrides

deleteCallable()

public UnaryCallable<DeleteTargetTcpProxyRequest,Operation> deleteCallable()
Returns
Type Description
UnaryCallable<DeleteTargetTcpProxyRequest,Operation>
Overrides

deleteOperationCallable()

public OperationCallable<DeleteTargetTcpProxyRequest,Operation,Operation> deleteOperationCallable()
Returns
Type Description
OperationCallable<DeleteTargetTcpProxyRequest,Operation,Operation>
Overrides

getCallable()

public UnaryCallable<GetTargetTcpProxyRequest,TargetTcpProxy> getCallable()
Returns
Type Description
UnaryCallable<GetTargetTcpProxyRequest,TargetTcpProxy>
Overrides

insertCallable()

public UnaryCallable<InsertTargetTcpProxyRequest,Operation> insertCallable()
Returns
Type Description
UnaryCallable<InsertTargetTcpProxyRequest,Operation>
Overrides

insertOperationCallable()

public OperationCallable<InsertTargetTcpProxyRequest,Operation,Operation> insertOperationCallable()
Returns
Type Description
OperationCallable<InsertTargetTcpProxyRequest,Operation,Operation>
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listCallable()

public UnaryCallable<ListTargetTcpProxiesRequest,TargetTcpProxyList> listCallable()
Returns
Type Description
UnaryCallable<ListTargetTcpProxiesRequest,TargetTcpProxyList>
Overrides

listPagedCallable()

public UnaryCallable<ListTargetTcpProxiesRequest,TargetTcpProxiesClient.ListPagedResponse> listPagedCallable()
Returns
Type Description
UnaryCallable<ListTargetTcpProxiesRequest,ListPagedResponse>
Overrides

setBackendServiceCallable()

public UnaryCallable<SetBackendServiceTargetTcpProxyRequest,Operation> setBackendServiceCallable()
Returns
Type Description
UnaryCallable<SetBackendServiceTargetTcpProxyRequest,Operation>
Overrides

setBackendServiceOperationCallable()

public OperationCallable<SetBackendServiceTargetTcpProxyRequest,Operation,Operation> setBackendServiceOperationCallable()
Returns
Type Description
OperationCallable<SetBackendServiceTargetTcpProxyRequest,Operation,Operation>
Overrides

setProxyHeaderCallable()

public UnaryCallable<SetProxyHeaderTargetTcpProxyRequest,Operation> setProxyHeaderCallable()
Returns
Type Description
UnaryCallable<SetProxyHeaderTargetTcpProxyRequest,Operation>
Overrides

setProxyHeaderOperationCallable()

public OperationCallable<SetProxyHeaderTargetTcpProxyRequest,Operation,Operation> setProxyHeaderOperationCallable()
Returns
Type Description
OperationCallable<SetProxyHeaderTargetTcpProxyRequest,Operation,Operation>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()