@Generated(value="by gRPC proto compiler (version 1.0.0)", comments="Source: helloworld.proto") public class SimpleGrpc extends Object
The greeting service definition.
| 限定符和类型 | 类和说明 |
|---|---|
static class |
SimpleGrpc.SimpleBlockingStub
The greeting service definition.
|
static class |
SimpleGrpc.SimpleFutureStub
The greeting service definition.
|
static class |
SimpleGrpc.SimpleImplBase
The greeting service definition.
|
static class |
SimpleGrpc.SimpleStub
The greeting service definition.
|
| 限定符和类型 | 字段和说明 |
|---|---|
static io.grpc.MethodDescriptor<HelloRequest,HelloReply> |
METHOD_SAY_HELLO |
static String |
SERVICE_NAME |
| 限定符和类型 | 方法和说明 |
|---|---|
static io.grpc.ServiceDescriptor |
getServiceDescriptor() |
static SimpleGrpc.SimpleBlockingStub |
newBlockingStub(io.grpc.Channel channel)
Creates a new blocking-style stub that supports unary and streaming output calls on the service
|
static SimpleGrpc.SimpleFutureStub |
newFutureStub(io.grpc.Channel channel)
Creates a new ListenableFuture-style stub that supports unary and streaming output calls on the service
|
static SimpleGrpc.SimpleStub |
newStub(io.grpc.Channel channel)
Creates a new async stub that supports all call types for the service
|
@ExperimentalApi(value="https://github.com/grpc/grpc-java/issues/1901") public static final io.grpc.MethodDescriptor<HelloRequest,HelloReply> METHOD_SAY_HELLO
public static SimpleGrpc.SimpleStub newStub(io.grpc.Channel channel)
public static SimpleGrpc.SimpleBlockingStub newBlockingStub(io.grpc.Channel channel)
public static SimpleGrpc.SimpleFutureStub newFutureStub(io.grpc.Channel channel)
public static io.grpc.ServiceDescriptor getServiceDescriptor()
Copyright © 2023. All rights reserved.