Class SimpleGrpc

java.lang.Object
com.bytedesk.core.proto.SimpleGrpc

public final class SimpleGrpc extends Object
 The greeting service definition.
 
  • Field Details

    • SERVICE_NAME

      public static final String SERVICE_NAME
      See Also:
    • getSayHelloMethod

      private static volatile io.grpc.MethodDescriptor<HelloRequest,HelloReply> getSayHelloMethod
    • getStreamHelloMethod

      private static volatile io.grpc.MethodDescriptor<HelloRequest,HelloReply> 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

      public static io.grpc.MethodDescriptor<HelloRequest,HelloReply> getSayHelloMethod()
    • getStreamHelloMethod

      public static io.grpc.MethodDescriptor<HelloRequest,HelloReply> getStreamHelloMethod()
    • newStub

      public static SimpleGrpc.SimpleStub newStub(io.grpc.Channel channel)
      Creates a new async stub that supports all call types for the service
    • newBlockingV2Stub

      public static SimpleGrpc.SimpleBlockingV2Stub newBlockingV2Stub(io.grpc.Channel channel)
      Creates a new blocking-style stub that supports all types of calls on the service
    • newBlockingStub

      public static SimpleGrpc.SimpleBlockingStub newBlockingStub(io.grpc.Channel channel)
      Creates a new blocking-style stub that supports unary and streaming output calls on the service
    • newFutureStub

      public static SimpleGrpc.SimpleFutureStub 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(SimpleGrpc.AsyncService service)
    • getServiceDescriptor

      public static io.grpc.ServiceDescriptor getServiceDescriptor()