Class HttpJsonUrlMapsStub (1.21.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
NameDescription
clientContextClientContext
Returns
TypeDescription
HttpJsonUrlMapsStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(UrlMapsStubSettings settings)

public static final HttpJsonUrlMapsStub create(UrlMapsStubSettings settings)
Parameter
NameDescription
settingsUrlMapsStubSettings
Returns
TypeDescription
HttpJsonUrlMapsStub
Exceptions
TypeDescription
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
TypeDescription
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
NameDescription
settingsUrlMapsStubSettings
clientContextClientContext

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
NameDescription
settingsUrlMapsStubSettings
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory

Methods

aggregatedListCallable()

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

aggregatedListPagedCallable()

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

deleteOperationCallable()

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

getCallable()

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

insertCallable()

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

insertOperationCallable()

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

invalidateCacheCallable()

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

invalidateCacheOperationCallable()

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

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listCallable()

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

listPagedCallable()

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

patchCallable()

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

patchOperationCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateCallable()

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

updateOperationCallable()

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

validateCallable()

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