Class HttpJsonTargetTcpProxiesStub (1.51.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
NameDescription
clientContextClientContext
Returns
TypeDescription
HttpJsonTargetTcpProxiesStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonTargetTcpProxiesStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory
Returns
TypeDescription
HttpJsonTargetTcpProxiesStub
Exceptions
TypeDescription
IOException

create(TargetTcpProxiesStubSettings settings)

public static final HttpJsonTargetTcpProxiesStub create(TargetTcpProxiesStubSettings settings)
Parameter
NameDescription
settingsTargetTcpProxiesStubSettings
Returns
TypeDescription
HttpJsonTargetTcpProxiesStub
Exceptions
TypeDescription
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
TypeDescription
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
NameDescription
settingsTargetTcpProxiesStubSettings
clientContextClientContext

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
NameDescription
settingsTargetTcpProxiesStubSettings
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory

Methods

aggregatedListCallable()

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

aggregatedListPagedCallable()

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

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

close()

public final void close()
Overrides

deleteCallable()

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

deleteOperationCallable()

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

getCallable()

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

insertCallable()

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

insertOperationCallable()

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

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listCallable()

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

listPagedCallable()

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

setBackendServiceCallable()

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

setBackendServiceOperationCallable()

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

setProxyHeaderCallable()

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

setProxyHeaderOperationCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()