Package io.grpc.examples.helloworld
Class Greeter2Grpc
- java.lang.Object
-
- io.grpc.examples.helloworld.Greeter2Grpc
-
@Generated(value="by gRPC proto compiler (version 1.54.0)", comments="Source: helloworld.proto") public final class Greeter2Grpc extends java.lang.ObjectThe greeting service definition.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGreeter2Grpc.AsyncServiceThe greeting service definition.static classGreeter2Grpc.Greeter2BlockingStubA stub to allow clients to do synchronous rpc calls to service Greeter2.static classGreeter2Grpc.Greeter2FutureStubA stub to allow clients to do ListenableFuture-style rpc calls to service Greeter2.static classGreeter2Grpc.Greeter2ImplBaseBase class for the server implementation of the service Greeter2.static classGreeter2Grpc.Greeter2StubA stub to allow clients to do asynchronous rpc calls to service Greeter2.
-
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(Greeter2Grpc.AsyncService service)static io.grpc.MethodDescriptor<HelloRequest,HelloReply>getSayHelloMethod()static io.grpc.ServiceDescriptorgetServiceDescriptor()static Greeter2Grpc.Greeter2BlockingStubnewBlockingStub(io.grpc.Channel channel)Creates a new blocking-style stub that supports unary and streaming output calls on the servicestatic Greeter2Grpc.Greeter2FutureStubnewFutureStub(io.grpc.Channel channel)Creates a new ListenableFuture-style stub that supports unary calls on the servicestatic Greeter2Grpc.Greeter2StubnewStub(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 Greeter2Grpc.Greeter2Stub newStub(io.grpc.Channel channel)
Creates a new async stub that supports all call types for the service
-
newBlockingStub
public static Greeter2Grpc.Greeter2BlockingStub newBlockingStub(io.grpc.Channel channel)
Creates a new blocking-style stub that supports unary and streaming output calls on the service
-
newFutureStub
public static Greeter2Grpc.Greeter2FutureStub 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(Greeter2Grpc.AsyncService service)
-
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-
-