Package io.grpc.health.v1
Class HealthGrpc
- java.lang.Object
-
- io.grpc.health.v1.HealthGrpc
-
@Generated(value="by gRPC proto compiler (version 1.68.1)", comments="Source: services/src/main/proto/grpc/health/v1/health.proto") public final class HealthGrpc extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceHealthGrpc.AsyncServiceprivate static classHealthGrpc.HealthBaseDescriptorSupplierstatic classHealthGrpc.HealthBlockingStubA stub to allow clients to do synchronous rpc calls to service Health.private static classHealthGrpc.HealthFileDescriptorSupplierstatic classHealthGrpc.HealthFutureStubA stub to allow clients to do ListenableFuture-style rpc calls to service Health.static classHealthGrpc.HealthImplBaseBase class for the server implementation of the service Health.private static classHealthGrpc.HealthMethodDescriptorSupplierstatic classHealthGrpc.HealthStubA stub to allow clients to do asynchronous rpc calls to service Health.private static classHealthGrpc.MethodHandlers<Req,Resp>
-
Field Summary
Fields Modifier and Type Field Description private static MethodDescriptor<HealthCheckRequest,HealthCheckResponse>getCheckMethodprivate static MethodDescriptor<HealthCheckRequest,HealthCheckResponse>getWatchMethodprivate static intMETHODID_CHECKprivate static intMETHODID_WATCHstatic java.lang.StringSERVICE_NAMEprivate static ServiceDescriptorserviceDescriptor
-
Constructor Summary
Constructors Modifier Constructor Description privateHealthGrpc()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ServerServiceDefinitionbindService(HealthGrpc.AsyncService service)static MethodDescriptor<HealthCheckRequest,HealthCheckResponse>getCheckMethod()static ServiceDescriptorgetServiceDescriptor()static MethodDescriptor<HealthCheckRequest,HealthCheckResponse>getWatchMethod()static HealthGrpc.HealthBlockingStubnewBlockingStub(Channel channel)Creates a new blocking-style stub that supports unary and streaming output calls on the servicestatic HealthGrpc.HealthFutureStubnewFutureStub(Channel channel)Creates a new ListenableFuture-style stub that supports unary calls on the servicestatic HealthGrpc.HealthStubnewStub(Channel channel)Creates a new async stub that supports all call types for the service
-
-
-
Field Detail
-
SERVICE_NAME
public static final java.lang.String SERVICE_NAME
- See Also:
- Constant Field Values
-
getCheckMethod
private static volatile MethodDescriptor<HealthCheckRequest,HealthCheckResponse> getCheckMethod
-
getWatchMethod
private static volatile MethodDescriptor<HealthCheckRequest,HealthCheckResponse> getWatchMethod
-
METHODID_CHECK
private static final int METHODID_CHECK
- See Also:
- Constant Field Values
-
METHODID_WATCH
private static final int METHODID_WATCH
- See Also:
- Constant Field Values
-
serviceDescriptor
private static volatile ServiceDescriptor serviceDescriptor
-
-
Method Detail
-
getCheckMethod
public static MethodDescriptor<HealthCheckRequest,HealthCheckResponse> getCheckMethod()
-
getWatchMethod
public static MethodDescriptor<HealthCheckRequest,HealthCheckResponse> getWatchMethod()
-
newStub
public static HealthGrpc.HealthStub newStub(Channel channel)
Creates a new async stub that supports all call types for the service
-
newBlockingStub
public static HealthGrpc.HealthBlockingStub newBlockingStub(Channel channel)
Creates a new blocking-style stub that supports unary and streaming output calls on the service
-
newFutureStub
public static HealthGrpc.HealthFutureStub newFutureStub(Channel channel)
Creates a new ListenableFuture-style stub that supports unary calls on the service
-
bindService
public static final ServerServiceDefinition bindService(HealthGrpc.AsyncService service)
-
getServiceDescriptor
public static ServiceDescriptor getServiceDescriptor()
-
-