public abstract static class TestProtos.Service extends Object implements com.google.protobuf.Service
Modifier and Type | Class and Description |
---|---|
static interface |
TestProtos.Service.BlockingInterface |
static interface |
TestProtos.Service.Interface |
static class |
TestProtos.Service.Stub |
Modifier | Constructor and Description |
---|---|
protected |
TestProtos.Service() |
Modifier and Type | Method and Description |
---|---|
void |
callMethod(com.google.protobuf.Descriptors.MethodDescriptor method,
com.google.protobuf.RpcController controller,
com.google.protobuf.Message request,
com.google.protobuf.RpcCallback<com.google.protobuf.Message> done) |
abstract void |
func1(com.google.protobuf.RpcController controller,
TestProtos.TestRequest request,
com.google.protobuf.RpcCallback<TestProtos.TestResponse1> done) |
abstract void |
func2(com.google.protobuf.RpcController controller,
TestProtos.TestRequest request,
com.google.protobuf.RpcCallback<TestProtos.TestResponse2> done) |
static com.google.protobuf.Descriptors.ServiceDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.ServiceDescriptor |
getDescriptorForType() |
com.google.protobuf.Message |
getRequestPrototype(com.google.protobuf.Descriptors.MethodDescriptor method) |
com.google.protobuf.Message |
getResponsePrototype(com.google.protobuf.Descriptors.MethodDescriptor method) |
static TestProtos.Service.BlockingInterface |
newBlockingStub(com.google.protobuf.BlockingRpcChannel channel) |
static com.google.protobuf.BlockingService |
newReflectiveBlockingService(TestProtos.Service.BlockingInterface impl) |
static com.google.protobuf.Service |
newReflectiveService(TestProtos.Service.Interface impl) |
static TestProtos.Service.Stub |
newStub(com.google.protobuf.RpcChannel channel) |
public static com.google.protobuf.Service newReflectiveService(TestProtos.Service.Interface impl)
public static com.google.protobuf.BlockingService newReflectiveBlockingService(TestProtos.Service.BlockingInterface impl)
public abstract void func1(com.google.protobuf.RpcController controller, TestProtos.TestRequest request, com.google.protobuf.RpcCallback<TestProtos.TestResponse1> done)
public abstract void func2(com.google.protobuf.RpcController controller, TestProtos.TestRequest request, com.google.protobuf.RpcCallback<TestProtos.TestResponse2> done)
public static final com.google.protobuf.Descriptors.ServiceDescriptor getDescriptor()
public final com.google.protobuf.Descriptors.ServiceDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Service
public final void callMethod(com.google.protobuf.Descriptors.MethodDescriptor method, com.google.protobuf.RpcController controller, com.google.protobuf.Message request, com.google.protobuf.RpcCallback<com.google.protobuf.Message> done)
callMethod
in interface com.google.protobuf.Service
public final com.google.protobuf.Message getRequestPrototype(com.google.protobuf.Descriptors.MethodDescriptor method)
getRequestPrototype
in interface com.google.protobuf.Service
public final com.google.protobuf.Message getResponsePrototype(com.google.protobuf.Descriptors.MethodDescriptor method)
getResponsePrototype
in interface com.google.protobuf.Service
public static TestProtos.Service.Stub newStub(com.google.protobuf.RpcChannel channel)
public static TestProtos.Service.BlockingInterface newBlockingStub(com.google.protobuf.BlockingRpcChannel channel)