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