Class GreeterGrpc.GreeterBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<GreeterGrpc.GreeterBlockingV2Stub>
io.grpc.stub.AbstractBlockingStub<GreeterGrpc.GreeterBlockingV2Stub>
helloworld.GreeterGrpc.GreeterBlockingV2Stub
- Enclosing class:
GreeterGrpc
public static final class GreeterGrpc.GreeterBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<GreeterGrpc.GreeterBlockingV2Stub>
A stub to allow clients to do synchronous rpc calls to service Greeter.
The greeting service definition.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T> -
Method Summary
Modifier and TypeMethodDescriptionprotected GreeterGrpc.GreeterBlockingV2Stubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) sayHello(HelloRequest request) Sends a greetingMethods 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 GreeterGrpc.GreeterBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<GreeterGrpc.GreeterBlockingV2Stub>
-
sayHello
Sends a greeting
- Throws:
io.grpc.StatusException
-