Class HttpJsonRegionTargetTcpProxiesStub (1.24.0)

public class HttpJsonRegionTargetTcpProxiesStub extends RegionTargetTcpProxiesStub

REST stub implementation for the RegionTargetTcpProxies service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > RegionTargetTcpProxiesStub > HttpJsonRegionTargetTcpProxiesStub

Static Methods

create(ClientContext clientContext)

public static final HttpJsonRegionTargetTcpProxiesStub create(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
HttpJsonRegionTargetTcpProxiesStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(RegionTargetTcpProxiesStubSettings settings)

public static final HttpJsonRegionTargetTcpProxiesStub create(RegionTargetTcpProxiesStubSettings settings)
Parameter
NameDescription
settingsRegionTargetTcpProxiesStubSettings
Returns
TypeDescription
HttpJsonRegionTargetTcpProxiesStub
Exceptions
TypeDescription
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
TypeDescription
List<ApiMethodDescriptor>

Constructors

HttpJsonRegionTargetTcpProxiesStub(RegionTargetTcpProxiesStubSettings settings, ClientContext clientContext)

protected HttpJsonRegionTargetTcpProxiesStub(RegionTargetTcpProxiesStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonRegionTargetTcpProxiesStub, 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
settingsRegionTargetTcpProxiesStubSettings
clientContextClientContext

HttpJsonRegionTargetTcpProxiesStub(RegionTargetTcpProxiesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonRegionTargetTcpProxiesStub(RegionTargetTcpProxiesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonRegionTargetTcpProxiesStub, 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
settingsRegionTargetTcpProxiesStubSettings
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory

Methods

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<DeleteRegionTargetTcpProxyRequest,Operation> deleteCallable()
Returns
TypeDescription
UnaryCallable<DeleteRegionTargetTcpProxyRequest,Operation>
Overrides

deleteOperationCallable()

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

getCallable()

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

insertCallable()

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

insertOperationCallable()

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

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listCallable()

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

listPagedCallable()

public UnaryCallable<ListRegionTargetTcpProxiesRequest,RegionTargetTcpProxiesClient.ListPagedResponse> listPagedCallable()
Returns
TypeDescription
UnaryCallable<ListRegionTargetTcpProxiesRequest,ListPagedResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()