Class HttpJsonTargetHttpProxiesStub (1.61.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
Name Description
clientContext ClientContext
Returns
Type Description
HttpJsonTargetHttpProxiesStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonTargetHttpProxiesStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory
Returns
Type Description
HttpJsonTargetHttpProxiesStub
Exceptions
Type Description
IOException

create(TargetHttpProxiesStubSettings settings)

public static final HttpJsonTargetHttpProxiesStub create(TargetHttpProxiesStubSettings settings)
Parameter
Name Description
settings TargetHttpProxiesStubSettings
Returns
Type Description
HttpJsonTargetHttpProxiesStub
Exceptions
Type Description
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Type Description
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
Name Description
settings TargetHttpProxiesStubSettings
clientContext ClientContext

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
Name Description
settings TargetHttpProxiesStubSettings
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory

Methods

aggregatedListCallable()

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

aggregatedListPagedCallable()

public UnaryCallable<AggregatedListTargetHttpProxiesRequest,TargetHttpProxiesClient.AggregatedListPagedResponse> aggregatedListPagedCallable()
Returns
Type Description
UnaryCallable<AggregatedListTargetHttpProxiesRequest,AggregatedListPagedResponse>
Overrides

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

close()

public final void close()
Overrides

deleteCallable()

public UnaryCallable<DeleteTargetHttpProxyRequest,Operation> deleteCallable()
Returns
Type Description
UnaryCallable<DeleteTargetHttpProxyRequest,Operation>
Overrides

deleteOperationCallable()

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

getCallable()

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

insertCallable()

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

insertOperationCallable()

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

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listCallable()

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

listPagedCallable()

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

patchCallable()

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

patchOperationCallable()

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

setUrlMapCallable()

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

setUrlMapOperationCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()