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