Class HttpJsonHealthChecksStub (1.55.0)

public class HttpJsonHealthChecksStub extends HealthChecksStub

REST stub implementation for the HealthChecks service API.

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

Inheritance

java.lang.Object > HealthChecksStub > HttpJsonHealthChecksStub

Static Methods

create(ClientContext clientContext)

public static final HttpJsonHealthChecksStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
HttpJsonHealthChecksStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(HealthChecksStubSettings settings)

public static final HttpJsonHealthChecksStub create(HealthChecksStubSettings settings)
Parameter
Name Description
settings HealthChecksStubSettings
Returns
Type Description
HttpJsonHealthChecksStub
Exceptions
Type Description
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Type Description
List<ApiMethodDescriptor>

Constructors

HttpJsonHealthChecksStub(HealthChecksStubSettings settings, ClientContext clientContext)

protected HttpJsonHealthChecksStub(HealthChecksStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonHealthChecksStub, 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 HealthChecksStubSettings
clientContext ClientContext

HttpJsonHealthChecksStub(HealthChecksStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonHealthChecksStub(HealthChecksStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonHealthChecksStub, 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 HealthChecksStubSettings
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory

Methods

aggregatedListCallable()

public UnaryCallable<AggregatedListHealthChecksRequest,HealthChecksAggregatedList> aggregatedListCallable()
Returns
Type Description
UnaryCallable<AggregatedListHealthChecksRequest,HealthChecksAggregatedList>
Overrides

aggregatedListPagedCallable()

public UnaryCallable<AggregatedListHealthChecksRequest,HealthChecksClient.AggregatedListPagedResponse> aggregatedListPagedCallable()
Returns
Type Description
UnaryCallable<AggregatedListHealthChecksRequest,AggregatedListPagedResponse>
Overrides

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

deleteOperationCallable()

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

getCallable()

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

insertCallable()

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

insertOperationCallable()

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

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listCallable()

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

listPagedCallable()

public UnaryCallable<ListHealthChecksRequest,HealthChecksClient.ListPagedResponse> listPagedCallable()
Returns
Type Description
UnaryCallable<ListHealthChecksRequest,ListPagedResponse>
Overrides

patchCallable()

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

patchOperationCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateCallable()

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

updateOperationCallable()

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