public static final class HealthGrpc.HealthFutureStub extends AbstractFutureStub<HealthGrpc.HealthFutureStub>
AbstractStub.StubFactory<T extends AbstractStub<T>>| Modifier and Type | Method and Description |
|---|---|
protected HealthGrpc.HealthFutureStub |
build(Channel channel,
CallOptions callOptions)
Returns a new stub with the given channel for the provided method configurations.
|
com.google.common.util.concurrent.ListenableFuture<HealthCheckResponse> |
check(HealthCheckRequest request)
If the requested service is unknown, the call will fail with status
NOT_FOUND.
|
newStub, newStubgetCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReadyprotected HealthGrpc.HealthFutureStub build(Channel channel, CallOptions callOptions)
AbstractStubbuild in class AbstractStub<HealthGrpc.HealthFutureStub>channel - the channel that this stub will use to do communicationscallOptions - the runtime call options to be applied to every call on this stubpublic com.google.common.util.concurrent.ListenableFuture<HealthCheckResponse> check(HealthCheckRequest request)
If the requested service is unknown, the call will fail with status NOT_FOUND.