public static class TestServiceGrpc.TestServiceStub extends AbstractStub<TestServiceGrpc.TestServiceStub,TestServiceGrpc.TestServiceServiceDescriptor> implements TestServiceGrpc.TestService
AbstractStub.StubConfigBuilder
channel, config
configureNewStub, getChannel, getServiceDescriptor
protected TestServiceGrpc.TestServiceStub build(Channel channel, TestServiceGrpc.TestServiceServiceDescriptor config)
AbstractStub
build
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 emptyCall(EmptyProtos.Empty request, StreamObserver<EmptyProtos.Empty> responseObserver)
emptyCall
in interface TestServiceGrpc.TestService
public void unaryCall(Messages.SimpleRequest request, StreamObserver<Messages.SimpleResponse> responseObserver)
unaryCall
in interface TestServiceGrpc.TestService
public void streamingOutputCall(Messages.StreamingOutputCallRequest request, StreamObserver<Messages.StreamingOutputCallResponse> responseObserver)
streamingOutputCall
in interface TestServiceGrpc.TestService
public StreamObserver<Messages.StreamingInputCallRequest> streamingInputCall(StreamObserver<Messages.StreamingInputCallResponse> responseObserver)
streamingInputCall
in interface TestServiceGrpc.TestService
public StreamObserver<Messages.StreamingOutputCallRequest> fullDuplexCall(StreamObserver<Messages.StreamingOutputCallResponse> responseObserver)
fullDuplexCall
in interface TestServiceGrpc.TestService
public StreamObserver<Messages.StreamingOutputCallRequest> halfDuplexCall(StreamObserver<Messages.StreamingOutputCallResponse> responseObserver)
halfDuplexCall
in interface TestServiceGrpc.TestService