Package com.grpc.health.v1
Class HealthGrpc
java.lang.Object
com.grpc.health.v1.HealthGrpc
@Generated(value="by gRPC proto compiler (version 1.59.1)",
comments="Source: grpc/health/v1/health.proto")
public final class HealthGrpc
extends Object
Health is gRPC's mechanism for checking whether a server is able to handle RPCs. Its semantics are documented in https://github.com/grpc/grpc/blob/master/doc/health-checking.md.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceHealth is gRPC's mechanism for checking whether a server is able to handle RPCs.static final classA stub to allow clients to do synchronous rpc calls to service Health.static final classA stub to allow clients to do ListenableFuture-style rpc calls to service Health.static classBase class for the server implementation of the service Health.static final classA stub to allow clients to do asynchronous rpc calls to service Health. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic final io.grpc.ServerServiceDefinitionbindService(HealthGrpc.AsyncService service) static io.grpc.MethodDescriptor<HealthCheckRequest,HealthCheckResponse> static io.grpc.ServiceDescriptorstatic io.grpc.MethodDescriptor<HealthCheckRequest,HealthCheckResponse> newBlockingStub(io.grpc.Channel channel) Creates a new blocking-style stub that supports unary and streaming output calls on the servicestatic HealthGrpc.HealthFutureStubnewFutureStub(io.grpc.Channel channel) Creates a new ListenableFuture-style stub that supports unary calls on the servicestatic HealthGrpc.HealthStubnewStub(io.grpc.Channel channel) Creates a new async stub that supports all call types for the service
-
Field Details
-
SERVICE_NAME
- See Also:
-
-
Method Details
-
getCheckMethod
-
getWatchMethod
-
newStub
Creates a new async stub that supports all call types for the service -
newBlockingStub
Creates a new blocking-style stub that supports unary and streaming output calls on the service -
newFutureStub
Creates a new ListenableFuture-style stub that supports unary calls on the service -
bindService
-
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-