public static final class LoadBalancerGrpc.LoadBalancerStub extends AbstractAsyncStub<LoadBalancerGrpc.LoadBalancerStub>
AbstractStub.StubFactory<T extends AbstractStub<T>>| Modifier and Type | Method and Description |
|---|---|
StreamObserver<LoadBalanceRequest> |
balanceLoad(StreamObserver<LoadBalanceResponse> responseObserver)
Bidirectional rpc to get a list of servers.
|
protected LoadBalancerGrpc.LoadBalancerStub |
build(Channel channel,
CallOptions callOptions)
Returns a new stub with the given channel for the provided method configurations.
|
newStub, newStubgetCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReadyprotected LoadBalancerGrpc.LoadBalancerStub build(Channel channel, CallOptions callOptions)
AbstractStubbuild in class AbstractStub<LoadBalancerGrpc.LoadBalancerStub>channel - the channel that this stub will use to do communicationscallOptions - the runtime call options to be applied to every call on this stubpublic StreamObserver<LoadBalanceRequest> balanceLoad(StreamObserver<LoadBalanceResponse> responseObserver)
Bidirectional rpc to get a list of servers.