Class SimpleGrpc

java.lang.Object
com.example.demo.proto.SimpleGrpc

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

  • 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()