Package io.grpc.health.v1
Class HealthGrpc
- java.lang.Object
-
- io.grpc.health.v1.HealthGrpc
-
public final class HealthGrpc extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
HealthGrpc.AsyncService
static class
HealthGrpc.HealthBlockingStub
A stub to allow clients to do synchronous rpc calls to service Health.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.static class
HealthGrpc.HealthStub
A stub to allow clients to do asynchronous rpc calls to service Health.
-
Field Summary
Fields Modifier and Type Field Description static String
SERVICE_NAME
-
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 String SERVICE_NAME
- See Also:
- Constant Field Values
-
-
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()
-
-