public static class GreeterGrpc.GreeterFutureStub extends AbstractStub<GreeterGrpc.GreeterFutureStub,GreeterGrpc.GreeterServiceDescriptor> implements GreeterGrpc.GreeterFutureClient
AbstractStub.StubConfigBuilderchannel, config| Modifier and Type | Method and Description |
|---|---|
protected GreeterGrpc.GreeterFutureStub |
build(Channel channel,
GreeterGrpc.GreeterServiceDescriptor config)
Returns a new stub with the given channel for the provided method configurations.
|
ListenableFuture<HelloResponse> |
sayHello(HelloRequest request) |
configureNewStub, getChannel, getServiceDescriptorprotected GreeterGrpc.GreeterFutureStub build(Channel channel, GreeterGrpc.GreeterServiceDescriptor config)
AbstractStubbuild in class AbstractStub<GreeterGrpc.GreeterFutureStub,GreeterGrpc.GreeterServiceDescriptor>channel - the channel that this stub will use to do communicationsconfig - defines the RPC methods of the stubpublic ListenableFuture<HelloResponse> sayHello(HelloRequest request)
sayHello in interface GreeterGrpc.GreeterFutureClient