Beta
This library is covered by the Pre-GA Offerings Terms
of the Terms of Service. Pre-GA libraries might have limited support,
and changes to pre-GA libraries might not be compatible with other pre-GA versions.
For more information, see the
launch stage descriptions .
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)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonHealthChecksStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
create(HealthChecksStubSettings settings)
public static final HttpJsonHealthChecksStub create(HealthChecksStubSettings settings)
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
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.
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.
Methods
aggregatedListCallable()
public UnaryCallable<AggregatedListHealthChecksRequest,HealthChecksAggregatedList> aggregatedListCallable()
Overrides
aggregatedListPagedCallable()
public UnaryCallable<AggregatedListHealthChecksRequest,HealthChecksClient.AggregatedListPagedResponse> aggregatedListPagedCallable()
Overrides
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
Overrides
deleteCallable()
public UnaryCallable<DeleteHealthCheckRequest,Operation> deleteCallable()
Overrides
deleteOperationCallable()
public OperationCallable<DeleteHealthCheckRequest,Operation,Operation> deleteOperationCallable()
Overrides
getCallable()
public UnaryCallable<GetHealthCheckRequest,HealthCheck> getCallable()
Overrides
insertCallable()
public UnaryCallable<InsertHealthCheckRequest,Operation> insertCallable()
Overrides
insertOperationCallable()
public OperationCallable<InsertHealthCheckRequest,Operation,Operation> insertOperationCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listCallable()
public UnaryCallable<ListHealthChecksRequest,HealthCheckList> listCallable()
Overrides
listPagedCallable()
public UnaryCallable<ListHealthChecksRequest,HealthChecksClient.ListPagedResponse> listPagedCallable()
Overrides
patchCallable()
public UnaryCallable<PatchHealthCheckRequest,Operation> patchCallable()
Overrides
patchOperationCallable()
public OperationCallable<PatchHealthCheckRequest,Operation,Operation> patchOperationCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
updateCallable()
public UnaryCallable<UpdateHealthCheckRequest,Operation> updateCallable()
Overrides
updateOperationCallable()
public OperationCallable<UpdateHealthCheckRequest,Operation,Operation> updateOperationCallable()
Overrides