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.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonHealthChecksStub create(ClientContext clientContext)
Parameter
Returns
Exceptions
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonHealthChecksStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(HealthChecksStubSettings settings)
public static final HttpJsonHealthChecksStub create(HealthChecksStubSettings settings)
Parameter
Returns
Exceptions
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
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
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
Methods
aggregatedListCallable()
public UnaryCallable<AggregatedListHealthChecksRequest,HealthChecksAggregatedList> aggregatedListCallable()
Returns
Overrides
aggregatedListPagedCallable()
public UnaryCallable<AggregatedListHealthChecksRequest,HealthChecksClient.AggregatedListPagedResponse> aggregatedListPagedCallable()
Returns
Overrides
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
close()
public final void close()
Overrides
deleteCallable()
public UnaryCallable<DeleteHealthCheckRequest,Operation> deleteCallable()
Returns
Overrides
deleteOperationCallable()
public OperationCallable<DeleteHealthCheckRequest,Operation,Operation> deleteOperationCallable()
Returns
Overrides
getCallable()
public UnaryCallable<GetHealthCheckRequest,HealthCheck> getCallable()
Returns
Overrides
insertCallable()
public UnaryCallable<InsertHealthCheckRequest,Operation> insertCallable()
Returns
Overrides
insertOperationCallable()
public OperationCallable<InsertHealthCheckRequest,Operation,Operation> insertOperationCallable()
Returns
Overrides
isShutdown()
public boolean isShutdown()
Returns
isTerminated()
public boolean isTerminated()
Returns
listCallable()
public UnaryCallable<ListHealthChecksRequest,HealthCheckList> listCallable()
Returns
Overrides
listPagedCallable()
public UnaryCallable<ListHealthChecksRequest,HealthChecksClient.ListPagedResponse> listPagedCallable()
Returns
Overrides
patchCallable()
public UnaryCallable<PatchHealthCheckRequest,Operation> patchCallable()
Returns
Overrides
patchOperationCallable()
public OperationCallable<PatchHealthCheckRequest,Operation,Operation> patchOperationCallable()
Returns
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
updateCallable()
public UnaryCallable<UpdateHealthCheckRequest,Operation> updateCallable()
Returns
Overrides
updateOperationCallable()
public OperationCallable<UpdateHealthCheckRequest,Operation,Operation> updateOperationCallable()
Returns
Overrides