Package io.grpc.testing.protobuf
Class SimpleServiceGrpc.SimpleServiceBlockingV2Stub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractBlockingStub<SimpleServiceGrpc.SimpleServiceBlockingV2Stub>
-
- io.grpc.testing.protobuf.SimpleServiceGrpc.SimpleServiceBlockingV2Stub
-
- Enclosing class:
- SimpleServiceGrpc
public static final class SimpleServiceGrpc.SimpleServiceBlockingV2Stub extends io.grpc.stub.AbstractBlockingStub<SimpleServiceGrpc.SimpleServiceBlockingV2Stub>
A stub to allow clients to do synchronous rpc calls to service SimpleService.A simple service for test.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.grpc.stub.BlockingClientCall<SimpleRequest,SimpleResponse>bidiStreamingRpc()Simple bidirectional streaming RPC.protected SimpleServiceGrpc.SimpleServiceBlockingV2Stubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)io.grpc.stub.BlockingClientCall<SimpleRequest,SimpleResponse>clientStreamingRpc()Simple client-to-server streaming RPC.io.grpc.stub.BlockingClientCall<?,SimpleResponse>serverStreamingRpc(SimpleRequest request)Simple server-to-client streaming RPC.SimpleResponseunaryRpc(SimpleRequest request)Simple unary RPC.-
Methods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
-
-
-
Method Detail
-
build
protected SimpleServiceGrpc.SimpleServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin classio.grpc.stub.AbstractStub<SimpleServiceGrpc.SimpleServiceBlockingV2Stub>
-
unaryRpc
public SimpleResponse unaryRpc(SimpleRequest request) throws io.grpc.StatusException
Simple unary RPC.
- Throws:
io.grpc.StatusException
-
clientStreamingRpc
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/10918") public io.grpc.stub.BlockingClientCall<SimpleRequest,SimpleResponse> clientStreamingRpc()Simple client-to-server streaming RPC.
-
serverStreamingRpc
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/10918") public io.grpc.stub.BlockingClientCall<?,SimpleResponse> serverStreamingRpc(SimpleRequest request)Simple server-to-client streaming RPC.
-
bidiStreamingRpc
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/10918") public io.grpc.stub.BlockingClientCall<SimpleRequest,SimpleResponse> bidiStreamingRpc()Simple bidirectional streaming RPC.
-
-