public static class TestServiceGrpc.TestServiceBlockingStub extends AbstractStub<TestServiceGrpc.TestServiceBlockingStub,TestServiceGrpc.TestServiceServiceDescriptor> implements TestServiceGrpc.TestServiceBlockingClient
AbstractStub.StubConfigBuilder
channel, config
Modifier and Type | Method and Description |
---|---|
protected TestServiceGrpc.TestServiceBlockingStub |
build(Channel channel,
TestServiceGrpc.TestServiceServiceDescriptor config)
Returns a new stub with the given channel for the provided method configurations.
|
EmptyProtos.Empty |
emptyCall(EmptyProtos.Empty request) |
Iterator<Messages.StreamingOutputCallResponse> |
streamingOutputCall(Messages.StreamingOutputCallRequest request) |
Messages.SimpleResponse |
unaryCall(Messages.SimpleRequest request) |
configureNewStub, getChannel, getServiceDescriptor
protected TestServiceGrpc.TestServiceBlockingStub build(Channel channel, TestServiceGrpc.TestServiceServiceDescriptor config)
AbstractStub
build
in class AbstractStub<TestServiceGrpc.TestServiceBlockingStub,TestServiceGrpc.TestServiceServiceDescriptor>
channel
- the channel that this stub will use to do communicationsconfig
- defines the RPC methods of the stubpublic EmptyProtos.Empty emptyCall(EmptyProtos.Empty request)
emptyCall
in interface TestServiceGrpc.TestServiceBlockingClient
public Messages.SimpleResponse unaryCall(Messages.SimpleRequest request)
unaryCall
in interface TestServiceGrpc.TestServiceBlockingClient
public Iterator<Messages.StreamingOutputCallResponse> streamingOutputCall(Messages.StreamingOutputCallRequest request)
streamingOutputCall
in interface TestServiceGrpc.TestServiceBlockingClient