Class HttpJsonUrlMapsStub (1.61.0)

public class HttpJsonUrlMapsStub extends UrlMapsStub

REST stub implementation for the UrlMaps service API.

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

Inheritance

java.lang.Object > UrlMapsStub > HttpJsonUrlMapsStub

Static Methods

create(ClientContext clientContext)

public static final HttpJsonUrlMapsStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
HttpJsonUrlMapsStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(UrlMapsStubSettings settings)

public static final HttpJsonUrlMapsStub create(UrlMapsStubSettings settings)
Parameter
Name Description
settings UrlMapsStubSettings
Returns
Type Description
HttpJsonUrlMapsStub
Exceptions
Type Description
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Type Description
List<ApiMethodDescriptor>

Constructors

HttpJsonUrlMapsStub(UrlMapsStubSettings settings, ClientContext clientContext)

protected HttpJsonUrlMapsStub(UrlMapsStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonUrlMapsStub, 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 UrlMapsStubSettings
clientContext ClientContext

HttpJsonUrlMapsStub(UrlMapsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonUrlMapsStub(UrlMapsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonUrlMapsStub, 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 UrlMapsStubSettings
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory

Methods

aggregatedListCallable()

public UnaryCallable<AggregatedListUrlMapsRequest,UrlMapsAggregatedList> aggregatedListCallable()
Returns
Type Description
UnaryCallable<AggregatedListUrlMapsRequest,UrlMapsAggregatedList>
Overrides

aggregatedListPagedCallable()

public UnaryCallable<AggregatedListUrlMapsRequest,UrlMapsClient.AggregatedListPagedResponse> aggregatedListPagedCallable()
Returns
Type Description
UnaryCallable<AggregatedListUrlMapsRequest,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<DeleteUrlMapRequest,Operation> deleteCallable()
Returns
Type Description
UnaryCallable<DeleteUrlMapRequest,Operation>
Overrides

deleteOperationCallable()

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

getCallable()

public UnaryCallable<GetUrlMapRequest,UrlMap> getCallable()
Returns
Type Description
UnaryCallable<GetUrlMapRequest,UrlMap>
Overrides

insertCallable()

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

insertOperationCallable()

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

invalidateCacheCallable()

public UnaryCallable<InvalidateCacheUrlMapRequest,Operation> invalidateCacheCallable()
Returns
Type Description
UnaryCallable<InvalidateCacheUrlMapRequest,Operation>
Overrides

invalidateCacheOperationCallable()

public OperationCallable<InvalidateCacheUrlMapRequest,Operation,Operation> invalidateCacheOperationCallable()
Returns
Type Description
OperationCallable<InvalidateCacheUrlMapRequest,Operation,Operation>
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listCallable()

public UnaryCallable<ListUrlMapsRequest,UrlMapList> listCallable()
Returns
Type Description
UnaryCallable<ListUrlMapsRequest,UrlMapList>
Overrides

listPagedCallable()

public UnaryCallable<ListUrlMapsRequest,UrlMapsClient.ListPagedResponse> listPagedCallable()
Returns
Type Description
UnaryCallable<ListUrlMapsRequest,ListPagedResponse>
Overrides

patchCallable()

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

patchOperationCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateCallable()

public UnaryCallable<UpdateUrlMapRequest,Operation> updateCallable()
Returns
Type Description
UnaryCallable<UpdateUrlMapRequest,Operation>
Overrides

updateOperationCallable()

public OperationCallable<UpdateUrlMapRequest,Operation,Operation> updateOperationCallable()
Returns
Type Description
OperationCallable<UpdateUrlMapRequest,Operation,Operation>
Overrides

validateCallable()

public UnaryCallable<ValidateUrlMapRequest,UrlMapsValidateResponse> validateCallable()
Returns
Type Description
UnaryCallable<ValidateUrlMapRequest,UrlMapsValidateResponse>
Overrides