Package com.bytedesk.core.proto
Class SimpleGrpc
java.lang.Object
com.bytedesk.core.proto.SimpleGrpc
The greeting service definition.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceThe greeting service definition.private static final classprivate static classstatic final classA stub to allow clients to do limited synchronous rpc calls to service Simple.static final classA stub to allow clients to do synchronous rpc calls to service Simple.private static final classstatic final classA stub to allow clients to do ListenableFuture-style rpc calls to service Simple.static classBase class for the server implementation of the service Simple.private static final classstatic final classA stub to allow clients to do asynchronous rpc calls to service Simple. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static io.grpc.MethodDescriptor<HelloRequest,HelloReply> private static io.grpc.MethodDescriptor<HelloRequest,HelloReply> private static final intprivate static final intstatic final Stringprivate static io.grpc.ServiceDescriptor -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic final io.grpc.ServerServiceDefinitionbindService(SimpleGrpc.AsyncService service) static io.grpc.MethodDescriptor<HelloRequest,HelloReply> static io.grpc.ServiceDescriptorstatic io.grpc.MethodDescriptor<HelloRequest,HelloReply> newBlockingStub(io.grpc.Channel channel) Creates a new blocking-style stub that supports unary and streaming output calls on the servicenewBlockingV2Stub(io.grpc.Channel channel) Creates a new blocking-style stub that supports all types of calls on the servicestatic SimpleGrpc.SimpleFutureStubnewFutureStub(io.grpc.Channel channel) Creates a new ListenableFuture-style stub that supports unary calls on the servicestatic SimpleGrpc.SimpleStubnewStub(io.grpc.Channel channel) Creates a new async stub that supports all call types for the service
-
Field Details
-
SERVICE_NAME
- See Also:
-
getSayHelloMethod
-
getStreamHelloMethod
-
METHODID_SAY_HELLO
private static final int METHODID_SAY_HELLO- See Also:
-
METHODID_STREAM_HELLO
private static final int METHODID_STREAM_HELLO- See Also:
-
serviceDescriptor
private static volatile io.grpc.ServiceDescriptor serviceDescriptor
-
-
Constructor Details
-
SimpleGrpc
private SimpleGrpc()
-
-
Method Details
-
getSayHelloMethod
-
getStreamHelloMethod
-
newStub
Creates a new async stub that supports all call types for the service -
newBlockingV2Stub
Creates a new blocking-style stub that supports all types of calls on 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
-
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-