Class HttpJsonRegionHealthChecksStub (1.26.0)

public class HttpJsonRegionHealthChecksStub extends RegionHealthChecksStub

REST stub implementation for the RegionHealthChecks service API.

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

Inheritance

java.lang.Object > RegionHealthChecksStub > HttpJsonRegionHealthChecksStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(RegionHealthChecksStubSettings settings)

public static final HttpJsonRegionHealthChecksStub create(RegionHealthChecksStubSettings settings)
Parameter
NameDescription
settingsRegionHealthChecksStubSettings
Returns
TypeDescription
HttpJsonRegionHealthChecksStub
Exceptions
TypeDescription
IOException

getMethodDescriptors()

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

Constructors

HttpJsonRegionHealthChecksStub(RegionHealthChecksStubSettings settings, ClientContext clientContext)

protected HttpJsonRegionHealthChecksStub(RegionHealthChecksStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonRegionHealthChecksStub, 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
settingsRegionHealthChecksStubSettings
clientContextClientContext

HttpJsonRegionHealthChecksStub(RegionHealthChecksStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonRegionHealthChecksStub(RegionHealthChecksStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonRegionHealthChecksStub, 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
settingsRegionHealthChecksStubSettings
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<DeleteRegionHealthCheckRequest,Operation> deleteCallable()
Returns
TypeDescription
UnaryCallable<DeleteRegionHealthCheckRequest,Operation>
Overrides

deleteOperationCallable()

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

getCallable()

public UnaryCallable<GetRegionHealthCheckRequest,HealthCheck> getCallable()
Returns
TypeDescription
UnaryCallable<GetRegionHealthCheckRequest,HealthCheck>
Overrides

insertCallable()

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

insertOperationCallable()

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

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listCallable()

public UnaryCallable<ListRegionHealthChecksRequest,HealthCheckList> listCallable()
Returns
TypeDescription
UnaryCallable<ListRegionHealthChecksRequest,HealthCheckList>
Overrides

listPagedCallable()

public UnaryCallable<ListRegionHealthChecksRequest,RegionHealthChecksClient.ListPagedResponse> listPagedCallable()
Returns
TypeDescription
UnaryCallable<ListRegionHealthChecksRequest,ListPagedResponse>
Overrides

patchCallable()

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

patchOperationCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateCallable()

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

updateOperationCallable()

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