Package proto.rpc.examples.echo.v1
Class EchoServiceGrpc
java.lang.Object
proto.rpc.examples.echo.v1.EchoServiceGrpc
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
static final class
A stub to allow clients to do synchronous rpc calls to service EchoService.static final class
A stub to allow clients to do ListenableFuture-style rpc calls to service EchoService.static class
Base class for the server implementation of the service EchoService.static final class
A stub to allow clients to do asynchronous rpc calls to service EchoService. -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic final io.grpc.ServerServiceDefinition
bindService
(EchoServiceGrpc.AsyncService service) static io.grpc.MethodDescriptor<Echo.EchoBiDiRequest,
Echo.EchoBiDiResponse> static io.grpc.MethodDescriptor<Echo.EchoRequest,
Echo.EchoResponse> static io.grpc.MethodDescriptor<Echo.EchoMultipleRequest,
Echo.EchoMultipleResponse> static io.grpc.ServiceDescriptor
newBlockingStub
(io.grpc.Channel channel) Creates a new blocking-style stub that supports unary and streaming output calls on the servicenewFutureStub
(io.grpc.Channel channel) Creates a new ListenableFuture-style stub that supports unary calls on the servicenewStub
(io.grpc.Channel channel) Creates a new async stub that supports all call types for the service
-
Field Details
-
SERVICE_NAME
- See Also:
-
-
Method Details
-
getEchoMethod
-
getEchoMultipleMethod
public static io.grpc.MethodDescriptor<Echo.EchoMultipleRequest,Echo.EchoMultipleResponse> getEchoMultipleMethod() -
getEchoBiDiMethod
public static io.grpc.MethodDescriptor<Echo.EchoBiDiRequest,Echo.EchoBiDiResponse> getEchoBiDiMethod() -
newStub
Creates a new async stub that supports all call types for the service -
newBlockingStub
Creates a new blocking-style stub that supports unary and streaming output calls on the service -
newFutureStub
Creates a new ListenableFuture-style stub that supports unary calls on the service -
bindService
public static final io.grpc.ServerServiceDefinition bindService(EchoServiceGrpc.AsyncService service) -
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-