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.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonRegionHealthChecksStub create(ClientContext clientContext)
Parameter
Returns
Exceptions
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonRegionHealthChecksStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(RegionHealthChecksStubSettings settings)
public static final HttpJsonRegionHealthChecksStub create(RegionHealthChecksStubSettings settings)
Parameter
Returns
Exceptions
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
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
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
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
close()
public final void close()
Overrides
deleteCallable()
public UnaryCallable<DeleteRegionHealthCheckRequest,Operation> deleteCallable()
Returns
Overrides
deleteOperationCallable()
public OperationCallable<DeleteRegionHealthCheckRequest,Operation,Operation> deleteOperationCallable()
Returns
Overrides
getCallable()
public UnaryCallable<GetRegionHealthCheckRequest,HealthCheck> getCallable()
Returns
Overrides
insertCallable()
public UnaryCallable<InsertRegionHealthCheckRequest,Operation> insertCallable()
Returns
Overrides
insertOperationCallable()
public OperationCallable<InsertRegionHealthCheckRequest,Operation,Operation> insertOperationCallable()
Returns
Overrides
isShutdown()
public boolean isShutdown()
Returns
isTerminated()
public boolean isTerminated()
Returns
listCallable()
public UnaryCallable<ListRegionHealthChecksRequest,HealthCheckList> listCallable()
Returns
Overrides
listPagedCallable()
public UnaryCallable<ListRegionHealthChecksRequest,RegionHealthChecksClient.ListPagedResponse> listPagedCallable()
Returns
Overrides
patchCallable()
public UnaryCallable<PatchRegionHealthCheckRequest,Operation> patchCallable()
Returns
Overrides
patchOperationCallable()
public OperationCallable<PatchRegionHealthCheckRequest,Operation,Operation> patchOperationCallable()
Returns
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
updateCallable()
public UnaryCallable<UpdateRegionHealthCheckRequest,Operation> updateCallable()
Returns
Overrides
updateOperationCallable()
public OperationCallable<UpdateRegionHealthCheckRequest,Operation,Operation> updateOperationCallable()
Returns
Overrides