public static class GreeterGrpc.GreeterBlockingStub extends AbstractStub<GreeterGrpc.GreeterBlockingStub,GreeterGrpc.GreeterServiceDescriptor> implements GreeterGrpc.GreeterBlockingClient
AbstractStub.StubConfigBuilder
channel, 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, getServiceDescriptor
protected GreeterGrpc.GreeterBlockingStub build(Channel channel, GreeterGrpc.GreeterServiceDescriptor config)
AbstractStub
build
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