Package proto.rpc.examples.echo.v1
Class EchoServiceGrpc.EchoServiceBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<EchoServiceGrpc.EchoServiceBlockingV2Stub>
io.grpc.stub.AbstractBlockingStub<EchoServiceGrpc.EchoServiceBlockingV2Stub>
proto.rpc.examples.echo.v1.EchoServiceGrpc.EchoServiceBlockingV2Stub
- Enclosing class:
EchoServiceGrpc
public static final class EchoServiceGrpc.EchoServiceBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<EchoServiceGrpc.EchoServiceBlockingV2Stub>
A stub to allow clients to do synchronous rpc calls to service EchoService.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) echo(Echo.EchoRequest request) io.grpc.stub.BlockingClientCall<Echo.EchoBiDiRequest, Echo.EchoBiDiResponse> echoBiDi()io.grpc.stub.BlockingClientCall<?, Echo.EchoMultipleResponse> echoMultiple(Echo.EchoMultipleRequest request) Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected EchoServiceGrpc.EchoServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<EchoServiceGrpc.EchoServiceBlockingV2Stub>
-
echo
- Throws:
io.grpc.StatusException
-
echoMultiple
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/10918") public io.grpc.stub.BlockingClientCall<?,Echo.EchoMultipleResponse> echoMultiple(Echo.EchoMultipleRequest request) -
echoBiDi
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/10918") public io.grpc.stub.BlockingClientCall<Echo.EchoBiDiRequest,Echo.EchoBiDiResponse> echoBiDi()
-