Class HttpJsonTargetHttpProxiesStub (1.8.1)

public class HttpJsonTargetHttpProxiesStub extends TargetHttpProxiesStub

REST stub implementation for the TargetHttpProxies service API.

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

Inheritance

java.lang.Object > TargetHttpProxiesStub > HttpJsonTargetHttpProxiesStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(TargetHttpProxiesStubSettings settings)

public static final HttpJsonTargetHttpProxiesStub create(TargetHttpProxiesStubSettings settings)
Parameter
NameDescription
settingsTargetHttpProxiesStubSettings
Returns Exceptions
TypeDescription
IOException

getMethodDescriptors()

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

Constructors

HttpJsonTargetHttpProxiesStub(TargetHttpProxiesStubSettings settings, ClientContext clientContext)

protected HttpJsonTargetHttpProxiesStub(TargetHttpProxiesStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonTargetHttpProxiesStub, 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
settingsTargetHttpProxiesStubSettings
clientContextClientContext

HttpJsonTargetHttpProxiesStub(TargetHttpProxiesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonTargetHttpProxiesStub(TargetHttpProxiesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonTargetHttpProxiesStub, 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
settingsTargetHttpProxiesStubSettings
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory

Methods

aggregatedListCallable()

public UnaryCallable<AggregatedListTargetHttpProxiesRequest,TargetHttpProxyAggregatedList> aggregatedListCallable()
Returns Overrides

aggregatedListPagedCallable()

public UnaryCallable<AggregatedListTargetHttpProxiesRequest,TargetHttpProxiesClient.AggregatedListPagedResponse> aggregatedListPagedCallable()
Returns 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<DeleteTargetHttpProxyRequest,Operation> deleteCallable()
Returns Overrides

deleteOperationCallable()

public OperationCallable<DeleteTargetHttpProxyRequest,Operation,Operation> deleteOperationCallable()
Returns Overrides

getCallable()

public UnaryCallable<GetTargetHttpProxyRequest,TargetHttpProxy> getCallable()
Returns Overrides

insertCallable()

public UnaryCallable<InsertTargetHttpProxyRequest,Operation> insertCallable()
Returns Overrides

insertOperationCallable()

public OperationCallable<InsertTargetHttpProxyRequest,Operation,Operation> insertOperationCallable()
Returns Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listCallable()

public UnaryCallable<ListTargetHttpProxiesRequest,TargetHttpProxyList> listCallable()
Returns Overrides

listPagedCallable()

public UnaryCallable<ListTargetHttpProxiesRequest,TargetHttpProxiesClient.ListPagedResponse> listPagedCallable()
Returns Overrides

patchCallable()

public UnaryCallable<PatchTargetHttpProxyRequest,Operation> patchCallable()
Returns Overrides

patchOperationCallable()

public OperationCallable<PatchTargetHttpProxyRequest,Operation,Operation> patchOperationCallable()
Returns Overrides

setUrlMapCallable()

public UnaryCallable<SetUrlMapTargetHttpProxyRequest,Operation> setUrlMapCallable()
Returns Overrides

setUrlMapOperationCallable()

public OperationCallable<SetUrlMapTargetHttpProxyRequest,Operation,Operation> setUrlMapOperationCallable()
Returns Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()