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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(RegionHealthChecksStubSettings settings)

public static final HttpJsonRegionHealthChecksStub create(RegionHealthChecksStubSettings settings)
Parameter
Name Description
settings RegionHealthChecksStubSettings
Returns
Type Description
HttpJsonRegionHealthChecksStub
Exceptions
Type Description
IOException

getMethodDescriptors()

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

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
Name Description
settings RegionHealthChecksStubSettings
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<DeleteRegionHealthCheckRequest,Operation> deleteCallable()
Returns
Type Description
UnaryCallable<DeleteRegionHealthCheckRequest,Operation>
Overrides

deleteOperationCallable()

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

getCallable()

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

insertCallable()

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

insertOperationCallable()

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

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listCallable()

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

listPagedCallable()

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

patchCallable()

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

patchOperationCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateCallable()

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

updateOperationCallable()

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