Class HttpJsonRegionTargetHttpProxiesStub (1.20.0)

public class HttpJsonRegionTargetHttpProxiesStub extends RegionTargetHttpProxiesStub

REST stub implementation for the RegionTargetHttpProxies service API.

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

Inheritance

java.lang.Object > RegionTargetHttpProxiesStub > HttpJsonRegionTargetHttpProxiesStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(RegionTargetHttpProxiesStubSettings settings)

public static final HttpJsonRegionTargetHttpProxiesStub create(RegionTargetHttpProxiesStubSettings settings)
Parameter
NameDescription
settingsRegionTargetHttpProxiesStubSettings
Returns
TypeDescription
HttpJsonRegionTargetHttpProxiesStub
Exceptions
TypeDescription
IOException

getMethodDescriptors()

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

Constructors

HttpJsonRegionTargetHttpProxiesStub(RegionTargetHttpProxiesStubSettings settings, ClientContext clientContext)

protected HttpJsonRegionTargetHttpProxiesStub(RegionTargetHttpProxiesStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonRegionTargetHttpProxiesStub, 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
settingsRegionTargetHttpProxiesStubSettings
clientContextClientContext

HttpJsonRegionTargetHttpProxiesStub(RegionTargetHttpProxiesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonRegionTargetHttpProxiesStub(RegionTargetHttpProxiesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonRegionTargetHttpProxiesStub, 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
settingsRegionTargetHttpProxiesStubSettings
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<DeleteRegionTargetHttpProxyRequest,Operation> deleteCallable()
Returns
TypeDescription
UnaryCallable<DeleteRegionTargetHttpProxyRequest,Operation>
Overrides

deleteOperationCallable()

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

getCallable()

public UnaryCallable<GetRegionTargetHttpProxyRequest,TargetHttpProxy> getCallable()
Returns
TypeDescription
UnaryCallable<GetRegionTargetHttpProxyRequest,TargetHttpProxy>
Overrides

insertCallable()

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

insertOperationCallable()

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

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listCallable()

public UnaryCallable<ListRegionTargetHttpProxiesRequest,TargetHttpProxyList> listCallable()
Returns
TypeDescription
UnaryCallable<ListRegionTargetHttpProxiesRequest,TargetHttpProxyList>
Overrides

listPagedCallable()

public UnaryCallable<ListRegionTargetHttpProxiesRequest,RegionTargetHttpProxiesClient.ListPagedResponse> listPagedCallable()
Returns
TypeDescription
UnaryCallable<ListRegionTargetHttpProxiesRequest,ListPagedResponse>
Overrides

setUrlMapCallable()

public UnaryCallable<SetUrlMapRegionTargetHttpProxyRequest,Operation> setUrlMapCallable()
Returns
TypeDescription
UnaryCallable<SetUrlMapRegionTargetHttpProxyRequest,Operation>
Overrides

setUrlMapOperationCallable()

public OperationCallable<SetUrlMapRegionTargetHttpProxyRequest,Operation,Operation> setUrlMapOperationCallable()
Returns
TypeDescription
OperationCallable<SetUrlMapRegionTargetHttpProxyRequest,Operation,Operation>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()