public abstract static class TestRpcServiceProtos.TestProtobufRpcProto extends Object implements com.google.protobuf.Service
TestProtobufRpcProto
A protobuf service for use in tests
| Modifier and Type | Class and Description |
|---|---|
static interface |
TestRpcServiceProtos.TestProtobufRpcProto.BlockingInterface |
static interface |
TestRpcServiceProtos.TestProtobufRpcProto.Interface |
static class |
TestRpcServiceProtos.TestProtobufRpcProto.Stub |
| Modifier | Constructor and Description |
|---|---|
protected |
TestProtobufRpcProto() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
addr(com.google.protobuf.RpcController controller,
TestProtos.EmptyRequestProto request,
com.google.protobuf.RpcCallback<TestProtos.AddrResponseProto> done)
rpc addr(.EmptyRequestProto) returns (.AddrResponseProto); |
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 |
echo(com.google.protobuf.RpcController controller,
TestProtos.EchoRequestProto request,
com.google.protobuf.RpcCallback<TestProtos.EchoResponseProto> done)
rpc echo(.EchoRequestProto) returns (.EchoResponseProto); |
abstract void |
error(com.google.protobuf.RpcController controller,
TestProtos.EmptyRequestProto request,
com.google.protobuf.RpcCallback<TestProtos.EmptyResponseProto> done)
rpc error(.EmptyRequestProto) returns (.EmptyResponseProto); |
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 TestRpcServiceProtos.TestProtobufRpcProto.BlockingInterface |
newBlockingStub(com.google.protobuf.BlockingRpcChannel channel) |
static com.google.protobuf.BlockingService |
newReflectiveBlockingService(TestRpcServiceProtos.TestProtobufRpcProto.BlockingInterface impl) |
static com.google.protobuf.Service |
newReflectiveService(TestRpcServiceProtos.TestProtobufRpcProto.Interface impl) |
static TestRpcServiceProtos.TestProtobufRpcProto.Stub |
newStub(com.google.protobuf.RpcChannel channel) |
abstract void |
pause(com.google.protobuf.RpcController controller,
TestProtos.PauseRequestProto request,
com.google.protobuf.RpcCallback<TestProtos.EmptyResponseProto> done)
rpc pause(.PauseRequestProto) returns (.EmptyResponseProto); |
abstract void |
ping(com.google.protobuf.RpcController controller,
TestProtos.EmptyRequestProto request,
com.google.protobuf.RpcCallback<TestProtos.EmptyResponseProto> done)
rpc ping(.EmptyRequestProto) returns (.EmptyResponseProto); |
public static com.google.protobuf.Service newReflectiveService(TestRpcServiceProtos.TestProtobufRpcProto.Interface impl)
public static com.google.protobuf.BlockingService newReflectiveBlockingService(TestRpcServiceProtos.TestProtobufRpcProto.BlockingInterface impl)
public abstract void ping(com.google.protobuf.RpcController controller,
TestProtos.EmptyRequestProto request,
com.google.protobuf.RpcCallback<TestProtos.EmptyResponseProto> done)
rpc ping(.EmptyRequestProto) returns (.EmptyResponseProto);public abstract void echo(com.google.protobuf.RpcController controller,
TestProtos.EchoRequestProto request,
com.google.protobuf.RpcCallback<TestProtos.EchoResponseProto> done)
rpc echo(.EchoRequestProto) returns (.EchoResponseProto);public abstract void error(com.google.protobuf.RpcController controller,
TestProtos.EmptyRequestProto request,
com.google.protobuf.RpcCallback<TestProtos.EmptyResponseProto> done)
rpc error(.EmptyRequestProto) returns (.EmptyResponseProto);public abstract void pause(com.google.protobuf.RpcController controller,
TestProtos.PauseRequestProto request,
com.google.protobuf.RpcCallback<TestProtos.EmptyResponseProto> done)
rpc pause(.PauseRequestProto) returns (.EmptyResponseProto);public abstract void addr(com.google.protobuf.RpcController controller,
TestProtos.EmptyRequestProto request,
com.google.protobuf.RpcCallback<TestProtos.AddrResponseProto> done)
rpc addr(.EmptyRequestProto) returns (.AddrResponseProto);public static final com.google.protobuf.Descriptors.ServiceDescriptor getDescriptor()
public final com.google.protobuf.Descriptors.ServiceDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Servicepublic 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.Servicepublic final com.google.protobuf.Message getRequestPrototype(com.google.protobuf.Descriptors.MethodDescriptor method)
getRequestPrototype in interface com.google.protobuf.Servicepublic final com.google.protobuf.Message getResponsePrototype(com.google.protobuf.Descriptors.MethodDescriptor method)
getResponsePrototype in interface com.google.protobuf.Servicepublic static TestRpcServiceProtos.TestProtobufRpcProto.Stub newStub(com.google.protobuf.RpcChannel channel)
public static TestRpcServiceProtos.TestProtobufRpcProto.BlockingInterface newBlockingStub(com.google.protobuf.BlockingRpcChannel channel)
Copyright © 2007–2019 Cloudera. All rights reserved.