public static class TestServiceGrpc.TestServiceStub extends AbstractStub<TestServiceGrpc.TestServiceStub,TestServiceGrpc.TestServiceServiceDescriptor> implements TestServiceGrpc.TestService
AbstractStub.StubConfigBuilderchannel, config| Modifier and Type | Method and Description |
|---|---|
protected TestServiceGrpc.TestServiceStub |
build(Channel channel,
TestServiceGrpc.TestServiceServiceDescriptor config)
Returns a new stub with the given channel for the provided method configurations.
|
StreamObserver<SimpleRequest> |
streamingCall(StreamObserver<SimpleResponse> responseObserver) |
void |
unaryCall(SimpleRequest request,
StreamObserver<SimpleResponse> responseObserver) |
configureNewStub, getChannel, getServiceDescriptorprotected TestServiceGrpc.TestServiceStub build(Channel channel, TestServiceGrpc.TestServiceServiceDescriptor config)
AbstractStubbuild in class AbstractStub<TestServiceGrpc.TestServiceStub,TestServiceGrpc.TestServiceServiceDescriptor>channel - the channel that this stub will use to do communicationsconfig - defines the RPC methods of the stubpublic void unaryCall(SimpleRequest request, StreamObserver<SimpleResponse> responseObserver)
unaryCall in interface TestServiceGrpc.TestServicepublic StreamObserver<SimpleRequest> streamingCall(StreamObserver<SimpleResponse> responseObserver)
streamingCall in interface TestServiceGrpc.TestService