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 interface
HealthGrpc.AsyncService
private static class
HealthGrpc.HealthBaseDescriptorSupplier
static class
HealthGrpc.HealthBlockingStub
A stub to allow clients to do synchronous rpc calls to service Health.private static class
HealthGrpc.HealthFileDescriptorSupplier
static class
HealthGrpc.HealthFutureStub
A stub to allow clients to do ListenableFuture-style rpc calls to service Health.static class
HealthGrpc.HealthImplBase
Base class for the server implementation of the service Health.private static class
HealthGrpc.HealthMethodDescriptorSupplier
static class
HealthGrpc.HealthStub
A stub to allow clients to do asynchronous rpc calls to service Health.private static class
HealthGrpc.MethodHandlers<Req,Resp>
-
Field Summary
Fields Modifier and Type Field Description private static MethodDescriptor<HealthCheckRequest,HealthCheckResponse>
getCheckMethod
private static MethodDescriptor<HealthCheckRequest,HealthCheckResponse>
getWatchMethod
private static int
METHODID_CHECK
private static int
METHODID_WATCH
static java.lang.String
SERVICE_NAME
private static ServiceDescriptor
serviceDescriptor
-
Constructor Summary
Constructors Modifier Constructor Description private
HealthGrpc()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ServerServiceDefinition
bindService(HealthGrpc.AsyncService service)
static MethodDescriptor<HealthCheckRequest,HealthCheckResponse>
getCheckMethod()
static ServiceDescriptor
getServiceDescriptor()
static MethodDescriptor<HealthCheckRequest,HealthCheckResponse>
getWatchMethod()
static HealthGrpc.HealthBlockingStub
newBlockingStub(Channel channel)
Creates a new blocking-style stub that supports unary and streaming output calls on the servicestatic HealthGrpc.HealthFutureStub
newFutureStub(Channel channel)
Creates a new ListenableFuture-style stub that supports unary calls on the servicestatic HealthGrpc.HealthStub
newStub(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()
-
-