public abstract static class TestRpcServiceProtos.TestProtobufRpc2Proto extends Object implements org.apache.hadoop.thirdparty.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 |
TestProtobufRpc2Proto() |
Modifier and Type | Method and Description |
---|---|
void |
callMethod(org.apache.hadoop.thirdparty.protobuf.Descriptors.MethodDescriptor method,
org.apache.hadoop.thirdparty.protobuf.RpcController controller,
org.apache.hadoop.thirdparty.protobuf.Message request,
org.apache.hadoop.thirdparty.protobuf.RpcCallback<org.apache.hadoop.thirdparty.protobuf.Message> done) |
abstract void |
echo2(org.apache.hadoop.thirdparty.protobuf.RpcController controller,
TestProtos.EchoRequestProto request,
org.apache.hadoop.thirdparty.protobuf.RpcCallback<TestProtos.EchoResponseProto> done)
rpc echo2(.hadoop.common.EchoRequestProto) returns (.hadoop.common.EchoResponseProto); |
static org.apache.hadoop.thirdparty.protobuf.Descriptors.ServiceDescriptor |
getDescriptor() |
org.apache.hadoop.thirdparty.protobuf.Descriptors.ServiceDescriptor |
getDescriptorForType() |
org.apache.hadoop.thirdparty.protobuf.Message |
getRequestPrototype(org.apache.hadoop.thirdparty.protobuf.Descriptors.MethodDescriptor method) |
org.apache.hadoop.thirdparty.protobuf.Message |
getResponsePrototype(org.apache.hadoop.thirdparty.protobuf.Descriptors.MethodDescriptor method) |
static TestRpcServiceProtos.TestProtobufRpc2Proto.BlockingInterface |
newBlockingStub(org.apache.hadoop.thirdparty.protobuf.BlockingRpcChannel channel) |
static org.apache.hadoop.thirdparty.protobuf.BlockingService |
newReflectiveBlockingService(TestRpcServiceProtos.TestProtobufRpc2Proto.BlockingInterface impl) |
static org.apache.hadoop.thirdparty.protobuf.Service |
newReflectiveService(TestRpcServiceProtos.TestProtobufRpc2Proto.Interface impl) |
static TestRpcServiceProtos.TestProtobufRpc2Proto.Stub |
newStub(org.apache.hadoop.thirdparty.protobuf.RpcChannel channel) |
abstract void |
ping2(org.apache.hadoop.thirdparty.protobuf.RpcController controller,
TestProtos.EmptyRequestProto request,
org.apache.hadoop.thirdparty.protobuf.RpcCallback<TestProtos.EmptyResponseProto> done)
rpc ping2(.hadoop.common.EmptyRequestProto) returns (.hadoop.common.EmptyResponseProto); |
abstract void |
sleep(org.apache.hadoop.thirdparty.protobuf.RpcController controller,
TestProtos.SleepRequestProto request,
org.apache.hadoop.thirdparty.protobuf.RpcCallback<TestProtos.SleepResponseProto> done)
rpc sleep(.hadoop.common.SleepRequestProto) returns (.hadoop.common.SleepResponseProto); |
public static org.apache.hadoop.thirdparty.protobuf.Service newReflectiveService(TestRpcServiceProtos.TestProtobufRpc2Proto.Interface impl)
public static org.apache.hadoop.thirdparty.protobuf.BlockingService newReflectiveBlockingService(TestRpcServiceProtos.TestProtobufRpc2Proto.BlockingInterface impl)
public abstract void ping2(org.apache.hadoop.thirdparty.protobuf.RpcController controller, TestProtos.EmptyRequestProto request, org.apache.hadoop.thirdparty.protobuf.RpcCallback<TestProtos.EmptyResponseProto> done)
rpc ping2(.hadoop.common.EmptyRequestProto) returns (.hadoop.common.EmptyResponseProto);
public abstract void echo2(org.apache.hadoop.thirdparty.protobuf.RpcController controller, TestProtos.EchoRequestProto request, org.apache.hadoop.thirdparty.protobuf.RpcCallback<TestProtos.EchoResponseProto> done)
rpc echo2(.hadoop.common.EchoRequestProto) returns (.hadoop.common.EchoResponseProto);
public abstract void sleep(org.apache.hadoop.thirdparty.protobuf.RpcController controller, TestProtos.SleepRequestProto request, org.apache.hadoop.thirdparty.protobuf.RpcCallback<TestProtos.SleepResponseProto> done)
rpc sleep(.hadoop.common.SleepRequestProto) returns (.hadoop.common.SleepResponseProto);
public static final org.apache.hadoop.thirdparty.protobuf.Descriptors.ServiceDescriptor getDescriptor()
public final org.apache.hadoop.thirdparty.protobuf.Descriptors.ServiceDescriptor getDescriptorForType()
getDescriptorForType
in interface org.apache.hadoop.thirdparty.protobuf.Service
public final void callMethod(org.apache.hadoop.thirdparty.protobuf.Descriptors.MethodDescriptor method, org.apache.hadoop.thirdparty.protobuf.RpcController controller, org.apache.hadoop.thirdparty.protobuf.Message request, org.apache.hadoop.thirdparty.protobuf.RpcCallback<org.apache.hadoop.thirdparty.protobuf.Message> done)
callMethod
in interface org.apache.hadoop.thirdparty.protobuf.Service
public final org.apache.hadoop.thirdparty.protobuf.Message getRequestPrototype(org.apache.hadoop.thirdparty.protobuf.Descriptors.MethodDescriptor method)
getRequestPrototype
in interface org.apache.hadoop.thirdparty.protobuf.Service
public final org.apache.hadoop.thirdparty.protobuf.Message getResponsePrototype(org.apache.hadoop.thirdparty.protobuf.Descriptors.MethodDescriptor method)
getResponsePrototype
in interface org.apache.hadoop.thirdparty.protobuf.Service
public static TestRpcServiceProtos.TestProtobufRpc2Proto.Stub newStub(org.apache.hadoop.thirdparty.protobuf.RpcChannel channel)
public static TestRpcServiceProtos.TestProtobufRpc2Proto.BlockingInterface newBlockingStub(org.apache.hadoop.thirdparty.protobuf.BlockingRpcChannel channel)
Copyright © 2008–2021 Apache Software Foundation. All rights reserved.