Class HttpJsonTargetHttpProxiesStub (1.38.0)

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
TypeDescription
HttpJsonTargetHttpProxiesStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(TargetHttpProxiesStubSettings settings)

public static final HttpJsonTargetHttpProxiesStub create(TargetHttpProxiesStubSettings settings)
Parameter
NameDescription
settingsTargetHttpProxiesStubSettings
Returns
TypeDescription
HttpJsonTargetHttpProxiesStub
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
TypeDescription
UnaryCallable<AggregatedListTargetHttpProxiesRequest,TargetHttpProxyAggregatedList>
Overrides

aggregatedListPagedCallable()

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

deleteOperationCallable()

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

getCallable()

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

insertCallable()

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

insertOperationCallable()

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

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listCallable()

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

listPagedCallable()

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

patchCallable()

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

patchOperationCallable()

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

setUrlMapCallable()

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

setUrlMapOperationCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()