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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(RegionUrlMapsStubSettings settings)

public static final HttpJsonRegionUrlMapsStub create(RegionUrlMapsStubSettings settings)
Parameter
Name Description
settings RegionUrlMapsStubSettings
Returns
Type Description
HttpJsonRegionUrlMapsStub
Exceptions
Type Description
IOException

getMethodDescriptors()

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

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

Methods

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

deleteOperationCallable()

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

getCallable()

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

insertCallable()

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

insertOperationCallable()

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

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listCallable()

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

listPagedCallable()

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

patchCallable()

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

patchOperationCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateCallable()

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

updateOperationCallable()

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

validateCallable()

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