Package io.grpc.examples.helloworld
Class GreeterGrpc
- java.lang.Object
-
- io.grpc.examples.helloworld.GreeterGrpc
-
@Generated(value="by gRPC proto compiler (version 1.54.0)", comments="Source: helloworld.proto") public final class GreeterGrpc extends java.lang.ObjectThe greeting service definition.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGreeterGrpc.AsyncServiceThe greeting service definition.static classGreeterGrpc.GreeterBlockingStubA stub to allow clients to do synchronous rpc calls to service Greeter.static classGreeterGrpc.GreeterFutureStubA stub to allow clients to do ListenableFuture-style rpc calls to service Greeter.static classGreeterGrpc.GreeterImplBaseBase class for the server implementation of the service Greeter.static classGreeterGrpc.GreeterStubA stub to allow clients to do asynchronous rpc calls to service Greeter.
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringSERVICE_NAME
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static io.grpc.ServerServiceDefinitionbindService(GreeterGrpc.AsyncService service)static io.grpc.MethodDescriptor<HelloRequest,HelloReply>getSayHelloMethod()static io.grpc.ServiceDescriptorgetServiceDescriptor()static GreeterGrpc.GreeterBlockingStubnewBlockingStub(io.grpc.Channel channel)Creates a new blocking-style stub that supports unary and streaming output calls on the servicestatic GreeterGrpc.GreeterFutureStubnewFutureStub(io.grpc.Channel channel)Creates a new ListenableFuture-style stub that supports unary calls on the servicestatic GreeterGrpc.GreeterStubnewStub(io.grpc.Channel channel)Creates a new async stub that supports all call types for the service
-
-
-
Field Detail
-
SERVICE_NAME
public static final java.lang.String SERVICE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getSayHelloMethod
public static io.grpc.MethodDescriptor<HelloRequest,HelloReply> getSayHelloMethod()
-
newStub
public static GreeterGrpc.GreeterStub newStub(io.grpc.Channel channel)
Creates a new async stub that supports all call types for the service
-
newBlockingStub
public static GreeterGrpc.GreeterBlockingStub newBlockingStub(io.grpc.Channel channel)
Creates a new blocking-style stub that supports unary and streaming output calls on the service
-
newFutureStub
public static GreeterGrpc.GreeterFutureStub newFutureStub(io.grpc.Channel channel)
Creates a new ListenableFuture-style stub that supports unary calls on the service
-
bindService
public static final io.grpc.ServerServiceDefinition bindService(GreeterGrpc.AsyncService service)
-
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-
-