public static class GreeterGrpc.GreeterStub extends AbstractStub<GreeterGrpc.GreeterStub,GreeterGrpc.GreeterServiceDescriptor> implements GreeterGrpc.Greeter
AbstractStub.StubConfigBuilderchannel, 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, getServiceDescriptorprotected GreeterGrpc.GreeterStub build(Channel channel, GreeterGrpc.GreeterServiceDescriptor config)
AbstractStubbuild 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