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 interfaceHealthGrpc.AsyncServicestatic classHealthGrpc.HealthBlockingStubA stub to allow clients to do limited synchronous rpc calls to service Health.static classHealthGrpc.HealthBlockingV2StubA stub to allow clients to do synchronous rpc calls to service Health.static 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.static classHealthGrpc.HealthStubA stub to allow clients to do asynchronous rpc calls to service Health.
-
Field Summary
Fields Modifier and Type Field Description static StringSERVICE_NAME
-
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.HealthBlockingV2StubnewBlockingV2Stub(Channel channel)Creates a new blocking-style stub that supports all types of 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 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
-
newBlockingV2Stub
public static HealthGrpc.HealthBlockingV2Stub newBlockingV2Stub(Channel channel)
Creates a new blocking-style stub that supports all types of calls on 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()
-
-