Class HttpJsonHealthChecksStub (1.9.1)

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
NameDescription
clientContextClientContext
Returns
TypeDescription
HttpJsonHealthChecksStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(HealthChecksStubSettings settings)

public static final HttpJsonHealthChecksStub create(HealthChecksStubSettings settings)
Parameter
NameDescription
settingsHealthChecksStubSettings
Returns
TypeDescription
HttpJsonHealthChecksStub
Exceptions
TypeDescription
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
TypeDescription
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
NameDescription
settingsHealthChecksStubSettings
clientContextClientContext

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
NameDescription
settingsHealthChecksStubSettings
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory

Methods

aggregatedListCallable()

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

aggregatedListPagedCallable()

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

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

deleteOperationCallable()

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

getCallable()

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

insertCallable()

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

insertOperationCallable()

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

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listCallable()

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

listPagedCallable()

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

patchCallable()

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

patchOperationCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateCallable()

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

updateOperationCallable()

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