public abstract static class TestRpcServiceProtos.TestProtobufRpc2Proto extends Object implements com.google.protobuf.Service
hadoop.common.TestProtobufRpc2Proto
Modifier and Type | Class and Description |
---|---|
static interface |
TestRpcServiceProtos.TestProtobufRpc2Proto.BlockingInterface |
static interface |
TestRpcServiceProtos.TestProtobufRpc2Proto.Interface |
static class |
TestRpcServiceProtos.TestProtobufRpc2Proto.Stub |
Modifier | Constructor and Description |
---|---|
protected |
TestRpcServiceProtos.TestProtobufRpc2Proto() |
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 |
echo2(com.google.protobuf.RpcController controller,
TestProtos.EchoRequestProto request,
com.google.protobuf.RpcCallback<TestProtos.EchoResponseProto> done)
rpc echo2(.hadoop.common.EchoRequestProto) returns (.hadoop.common.EchoResponseProto); |
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.TestProtobufRpc2Proto.BlockingInterface |
newBlockingStub(com.google.protobuf.BlockingRpcChannel channel) |
static com.google.protobuf.BlockingService |
newReflectiveBlockingService(TestRpcServiceProtos.TestProtobufRpc2Proto.BlockingInterface impl) |
static com.google.protobuf.Service |
newReflectiveService(TestRpcServiceProtos.TestProtobufRpc2Proto.Interface impl) |
static TestRpcServiceProtos.TestProtobufRpc2Proto.Stub |
newStub(com.google.protobuf.RpcChannel channel) |
abstract void |
ping2(com.google.protobuf.RpcController controller,
TestProtos.EmptyRequestProto request,
com.google.protobuf.RpcCallback<TestProtos.EmptyResponseProto> done)
rpc ping2(.hadoop.common.EmptyRequestProto) returns (.hadoop.common.EmptyResponseProto); |
abstract void |
sleep(com.google.protobuf.RpcController controller,
TestProtos.SleepRequestProto request,
com.google.protobuf.RpcCallback<TestProtos.SleepResponseProto> done)
rpc sleep(.hadoop.common.SleepRequestProto) returns (.hadoop.common.SleepResponseProto); |
protected TestRpcServiceProtos.TestProtobufRpc2Proto()
public static com.google.protobuf.Service newReflectiveService(TestRpcServiceProtos.TestProtobufRpc2Proto.Interface impl)
public static com.google.protobuf.BlockingService newReflectiveBlockingService(TestRpcServiceProtos.TestProtobufRpc2Proto.BlockingInterface impl)
public abstract void ping2(com.google.protobuf.RpcController controller, TestProtos.EmptyRequestProto request, com.google.protobuf.RpcCallback<TestProtos.EmptyResponseProto> done)
rpc ping2(.hadoop.common.EmptyRequestProto) returns (.hadoop.common.EmptyResponseProto);
public abstract void echo2(com.google.protobuf.RpcController controller, TestProtos.EchoRequestProto request, com.google.protobuf.RpcCallback<TestProtos.EchoResponseProto> done)
rpc echo2(.hadoop.common.EchoRequestProto) returns (.hadoop.common.EchoResponseProto);
public abstract void sleep(com.google.protobuf.RpcController controller, TestProtos.SleepRequestProto request, com.google.protobuf.RpcCallback<TestProtos.SleepResponseProto> done)
rpc sleep(.hadoop.common.SleepRequestProto) returns (.hadoop.common.SleepResponseProto);
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 TestRpcServiceProtos.TestProtobufRpc2Proto.Stub newStub(com.google.protobuf.RpcChannel channel)
public static TestRpcServiceProtos.TestProtobufRpc2Proto.BlockingInterface newBlockingStub(com.google.protobuf.BlockingRpcChannel channel)
Copyright © 2017 Apache Software Foundation. All Rights Reserved.