Class HttpJsonRegionUrlMapsStub (1.26.0)

public class HttpJsonRegionUrlMapsStub extends RegionUrlMapsStub

REST stub implementation for the RegionUrlMaps service API.

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

Inheritance

java.lang.Object > RegionUrlMapsStub > HttpJsonRegionUrlMapsStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(RegionUrlMapsStubSettings settings)

public static final HttpJsonRegionUrlMapsStub create(RegionUrlMapsStubSettings settings)
Parameter
NameDescription
settingsRegionUrlMapsStubSettings
Returns
TypeDescription
HttpJsonRegionUrlMapsStub
Exceptions
TypeDescription
IOException

getMethodDescriptors()

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

Constructors

HttpJsonRegionUrlMapsStub(RegionUrlMapsStubSettings settings, ClientContext clientContext)

protected HttpJsonRegionUrlMapsStub(RegionUrlMapsStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonRegionUrlMapsStub, 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
settingsRegionUrlMapsStubSettings
clientContextClientContext

HttpJsonRegionUrlMapsStub(RegionUrlMapsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonRegionUrlMapsStub(RegionUrlMapsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonRegionUrlMapsStub, 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
settingsRegionUrlMapsStubSettings
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory

Methods

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<DeleteRegionUrlMapRequest,Operation> deleteCallable()
Returns
TypeDescription
UnaryCallable<DeleteRegionUrlMapRequest,Operation>
Overrides

deleteOperationCallable()

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

getCallable()

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

insertCallable()

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

insertOperationCallable()

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

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listCallable()

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

listPagedCallable()

public UnaryCallable<ListRegionUrlMapsRequest,RegionUrlMapsClient.ListPagedResponse> listPagedCallable()
Returns
TypeDescription
UnaryCallable<ListRegionUrlMapsRequest,ListPagedResponse>
Overrides

patchCallable()

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

patchOperationCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateCallable()

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

updateOperationCallable()

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

validateCallable()

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