Class HealthCheckServiceGrpc.HealthCheckServiceStub (0.2.0)

public static final class HealthCheckServiceGrpc.HealthCheckServiceStub extends AbstractAsyncStub<HealthCheckServiceGrpc.HealthCheckServiceStub>

A stub to allow clients to do asynchronous rpc calls to service HealthCheckService.

HealthCheckService provides an interface for Vertex AI Vision Cluster Health Check.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > HealthCheckServiceGrpc.HealthCheckServiceStub

Methods

build(Channel channel, CallOptions callOptions)

protected HealthCheckServiceGrpc.HealthCheckServiceStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
HealthCheckServiceGrpc.HealthCheckServiceStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

healthCheck(HealthCheckRequest request, StreamObserver<HealthCheckResponse> responseObserver)

public void healthCheck(HealthCheckRequest request, StreamObserver<HealthCheckResponse> responseObserver)

HealthCheck method checks the health status of the cluster.

Parameters
Name Description
request HealthCheckRequest
responseObserver io.grpc.stub.StreamObserver<HealthCheckResponse>