Class HttpJsonRegionZonesStub (1.49.0)

public class HttpJsonRegionZonesStub extends RegionZonesStub

REST stub implementation for the RegionZones service API.

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

Inheritance

java.lang.Object > RegionZonesStub > HttpJsonRegionZonesStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(RegionZonesStubSettings settings)

public static final HttpJsonRegionZonesStub create(RegionZonesStubSettings settings)
Parameter
NameDescription
settingsRegionZonesStubSettings
Returns
TypeDescription
HttpJsonRegionZonesStub
Exceptions
TypeDescription
IOException

getMethodDescriptors()

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

Constructors

HttpJsonRegionZonesStub(RegionZonesStubSettings settings, ClientContext clientContext)

protected HttpJsonRegionZonesStub(RegionZonesStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonRegionZonesStub, 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
settingsRegionZonesStubSettings
clientContextClientContext

HttpJsonRegionZonesStub(RegionZonesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonRegionZonesStub(RegionZonesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonRegionZonesStub, 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
settingsRegionZonesStubSettings
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

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listCallable()

public UnaryCallable<ListRegionZonesRequest,ZoneList> listCallable()
Returns
TypeDescription
UnaryCallable<ListRegionZonesRequest,ZoneList>
Overrides

listPagedCallable()

public UnaryCallable<ListRegionZonesRequest,RegionZonesClient.ListPagedResponse> listPagedCallable()
Returns
TypeDescription
UnaryCallable<ListRegionZonesRequest,ListPagedResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()