public abstract static class TestRpcServiceProtosLegacy.TestProtobufRpcProto extends Object implements com.google.protobuf.Service
hadoop.common.TestProtobufRpcProto
A protobuf service for use in tests
Modifier and Type | Class and Description |
---|---|
static interface |
TestRpcServiceProtosLegacy.TestProtobufRpcProto.BlockingInterface |
static interface |
TestRpcServiceProtosLegacy.TestProtobufRpcProto.Interface |
static class |
TestRpcServiceProtosLegacy.TestProtobufRpcProto.Stub |
Modifier | Constructor and Description |
---|---|
protected |
TestProtobufRpcProto() |
Modifier and Type | Method and Description |
---|---|
abstract void |
add(com.google.protobuf.RpcController controller,
TestProtosLegacy.AddRequestProto request,
com.google.protobuf.RpcCallback<TestProtosLegacy.AddResponseProto> done)
rpc add(.hadoop.common.AddRequestProto) returns (.hadoop.common.AddResponseProto); |
abstract void |
add2(com.google.protobuf.RpcController controller,
TestProtosLegacy.AddRequestProto2 request,
com.google.protobuf.RpcCallback<TestProtosLegacy.AddResponseProto> done)
rpc add2(.hadoop.common.AddRequestProto2) returns (.hadoop.common.AddResponseProto); |
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,
TestProtosLegacy.EchoRequestProto request,
com.google.protobuf.RpcCallback<TestProtosLegacy.EchoResponseProto> done)
rpc echo(.hadoop.common.EchoRequestProto) returns (.hadoop.common.EchoResponseProto); |
abstract void |
echo2(com.google.protobuf.RpcController controller,
TestProtosLegacy.EchoRequestProto2 request,
com.google.protobuf.RpcCallback<TestProtosLegacy.EchoResponseProto2> done)
rpc echo2(.hadoop.common.EchoRequestProto2) returns (.hadoop.common.EchoResponseProto2); |
abstract void |
echoPostponed(com.google.protobuf.RpcController controller,
TestProtosLegacy.EchoRequestProto request,
com.google.protobuf.RpcCallback<TestProtosLegacy.EchoResponseProto> done)
rpc echoPostponed(.hadoop.common.EchoRequestProto) returns (.hadoop.common.EchoResponseProto); |
abstract void |
error(com.google.protobuf.RpcController controller,
TestProtosLegacy.EmptyRequestProto request,
com.google.protobuf.RpcCallback<TestProtosLegacy.EmptyResponseProto> done)
rpc error(.hadoop.common.EmptyRequestProto) returns (.hadoop.common.EmptyResponseProto); |
abstract void |
error2(com.google.protobuf.RpcController controller,
TestProtosLegacy.EmptyRequestProto request,
com.google.protobuf.RpcCallback<TestProtosLegacy.EmptyResponseProto> done)
rpc error2(.hadoop.common.EmptyRequestProto) returns (.hadoop.common.EmptyResponseProto); |
abstract void |
exchange(com.google.protobuf.RpcController controller,
TestProtosLegacy.ExchangeRequestProto request,
com.google.protobuf.RpcCallback<TestProtosLegacy.ExchangeResponseProto> done)
rpc exchange(.hadoop.common.ExchangeRequestProto) returns (.hadoop.common.ExchangeResponseProto); |
abstract void |
getAuthMethod(com.google.protobuf.RpcController controller,
TestProtosLegacy.EmptyRequestProto request,
com.google.protobuf.RpcCallback<TestProtosLegacy.AuthMethodResponseProto> done)
rpc getAuthMethod(.hadoop.common.EmptyRequestProto) returns (.hadoop.common.AuthMethodResponseProto); |
abstract void |
getAuthUser(com.google.protobuf.RpcController controller,
TestProtosLegacy.EmptyRequestProto request,
com.google.protobuf.RpcCallback<TestProtosLegacy.UserResponseProto> done)
rpc getAuthUser(.hadoop.common.EmptyRequestProto) returns (.hadoop.common.UserResponseProto); |
abstract void |
getCurrentUser(com.google.protobuf.RpcController controller,
TestProtosLegacy.EmptyRequestProto request,
com.google.protobuf.RpcCallback<TestProtosLegacy.UserResponseProto> done)
rpc getCurrentUser(.hadoop.common.EmptyRequestProto) returns (.hadoop.common.UserResponseProto); |
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) |
abstract void |
getServerRemoteUser(com.google.protobuf.RpcController controller,
TestProtosLegacy.EmptyRequestProto request,
com.google.protobuf.RpcCallback<TestProtosLegacy.UserResponseProto> done)
rpc getServerRemoteUser(.hadoop.common.EmptyRequestProto) returns (.hadoop.common.UserResponseProto); |
abstract void |
lockAndSleep(com.google.protobuf.RpcController controller,
TestProtosLegacy.SleepRequestProto request,
com.google.protobuf.RpcCallback<TestProtosLegacy.EmptyResponseProto> done)
rpc lockAndSleep(.hadoop.common.SleepRequestProto) returns (.hadoop.common.EmptyResponseProto); |
static TestRpcServiceProtosLegacy.TestProtobufRpcProto.BlockingInterface |
newBlockingStub(com.google.protobuf.BlockingRpcChannel channel) |
static com.google.protobuf.BlockingService |
newReflectiveBlockingService(TestRpcServiceProtosLegacy.TestProtobufRpcProto.BlockingInterface impl) |
static com.google.protobuf.Service |
newReflectiveService(TestRpcServiceProtosLegacy.TestProtobufRpcProto.Interface impl) |
static TestRpcServiceProtosLegacy.TestProtobufRpcProto.Stub |
newStub(com.google.protobuf.RpcChannel channel) |
abstract void |
ping(com.google.protobuf.RpcController controller,
TestProtosLegacy.EmptyRequestProto request,
com.google.protobuf.RpcCallback<TestProtosLegacy.EmptyResponseProto> done)
rpc ping(.hadoop.common.EmptyRequestProto) returns (.hadoop.common.EmptyResponseProto); |
abstract void |
sendPostponed(com.google.protobuf.RpcController controller,
TestProtosLegacy.EmptyRequestProto request,
com.google.protobuf.RpcCallback<TestProtosLegacy.EmptyResponseProto> done)
rpc sendPostponed(.hadoop.common.EmptyRequestProto) returns (.hadoop.common.EmptyResponseProto); |
abstract void |
sleep(com.google.protobuf.RpcController controller,
TestProtosLegacy.SleepRequestProto request,
com.google.protobuf.RpcCallback<TestProtosLegacy.EmptyResponseProto> done)
rpc sleep(.hadoop.common.SleepRequestProto) returns (.hadoop.common.EmptyResponseProto); |
abstract void |
slowPing(com.google.protobuf.RpcController controller,
TestProtosLegacy.SlowPingRequestProto request,
com.google.protobuf.RpcCallback<TestProtosLegacy.EmptyResponseProto> done)
rpc slowPing(.hadoop.common.SlowPingRequestProto) returns (.hadoop.common.EmptyResponseProto); |
abstract void |
testServerGet(com.google.protobuf.RpcController controller,
TestProtosLegacy.EmptyRequestProto request,
com.google.protobuf.RpcCallback<TestProtosLegacy.EmptyResponseProto> done)
rpc testServerGet(.hadoop.common.EmptyRequestProto) returns (.hadoop.common.EmptyResponseProto); |
public static com.google.protobuf.Service newReflectiveService(TestRpcServiceProtosLegacy.TestProtobufRpcProto.Interface impl)
public static com.google.protobuf.BlockingService newReflectiveBlockingService(TestRpcServiceProtosLegacy.TestProtobufRpcProto.BlockingInterface impl)
public abstract void ping(com.google.protobuf.RpcController controller, TestProtosLegacy.EmptyRequestProto request, com.google.protobuf.RpcCallback<TestProtosLegacy.EmptyResponseProto> done)
rpc ping(.hadoop.common.EmptyRequestProto) returns (.hadoop.common.EmptyResponseProto);
public abstract void echo(com.google.protobuf.RpcController controller, TestProtosLegacy.EchoRequestProto request, com.google.protobuf.RpcCallback<TestProtosLegacy.EchoResponseProto> done)
rpc echo(.hadoop.common.EchoRequestProto) returns (.hadoop.common.EchoResponseProto);
public abstract void error(com.google.protobuf.RpcController controller, TestProtosLegacy.EmptyRequestProto request, com.google.protobuf.RpcCallback<TestProtosLegacy.EmptyResponseProto> done)
rpc error(.hadoop.common.EmptyRequestProto) returns (.hadoop.common.EmptyResponseProto);
public abstract void error2(com.google.protobuf.RpcController controller, TestProtosLegacy.EmptyRequestProto request, com.google.protobuf.RpcCallback<TestProtosLegacy.EmptyResponseProto> done)
rpc error2(.hadoop.common.EmptyRequestProto) returns (.hadoop.common.EmptyResponseProto);
public abstract void slowPing(com.google.protobuf.RpcController controller, TestProtosLegacy.SlowPingRequestProto request, com.google.protobuf.RpcCallback<TestProtosLegacy.EmptyResponseProto> done)
rpc slowPing(.hadoop.common.SlowPingRequestProto) returns (.hadoop.common.EmptyResponseProto);
public abstract void echo2(com.google.protobuf.RpcController controller, TestProtosLegacy.EchoRequestProto2 request, com.google.protobuf.RpcCallback<TestProtosLegacy.EchoResponseProto2> done)
rpc echo2(.hadoop.common.EchoRequestProto2) returns (.hadoop.common.EchoResponseProto2);
public abstract void add(com.google.protobuf.RpcController controller, TestProtosLegacy.AddRequestProto request, com.google.protobuf.RpcCallback<TestProtosLegacy.AddResponseProto> done)
rpc add(.hadoop.common.AddRequestProto) returns (.hadoop.common.AddResponseProto);
public abstract void add2(com.google.protobuf.RpcController controller, TestProtosLegacy.AddRequestProto2 request, com.google.protobuf.RpcCallback<TestProtosLegacy.AddResponseProto> done)
rpc add2(.hadoop.common.AddRequestProto2) returns (.hadoop.common.AddResponseProto);
public abstract void testServerGet(com.google.protobuf.RpcController controller, TestProtosLegacy.EmptyRequestProto request, com.google.protobuf.RpcCallback<TestProtosLegacy.EmptyResponseProto> done)
rpc testServerGet(.hadoop.common.EmptyRequestProto) returns (.hadoop.common.EmptyResponseProto);
public abstract void exchange(com.google.protobuf.RpcController controller, TestProtosLegacy.ExchangeRequestProto request, com.google.protobuf.RpcCallback<TestProtosLegacy.ExchangeResponseProto> done)
rpc exchange(.hadoop.common.ExchangeRequestProto) returns (.hadoop.common.ExchangeResponseProto);
public abstract void sleep(com.google.protobuf.RpcController controller, TestProtosLegacy.SleepRequestProto request, com.google.protobuf.RpcCallback<TestProtosLegacy.EmptyResponseProto> done)
rpc sleep(.hadoop.common.SleepRequestProto) returns (.hadoop.common.EmptyResponseProto);
public abstract void lockAndSleep(com.google.protobuf.RpcController controller, TestProtosLegacy.SleepRequestProto request, com.google.protobuf.RpcCallback<TestProtosLegacy.EmptyResponseProto> done)
rpc lockAndSleep(.hadoop.common.SleepRequestProto) returns (.hadoop.common.EmptyResponseProto);
public abstract void getAuthMethod(com.google.protobuf.RpcController controller, TestProtosLegacy.EmptyRequestProto request, com.google.protobuf.RpcCallback<TestProtosLegacy.AuthMethodResponseProto> done)
rpc getAuthMethod(.hadoop.common.EmptyRequestProto) returns (.hadoop.common.AuthMethodResponseProto);
public abstract void getAuthUser(com.google.protobuf.RpcController controller, TestProtosLegacy.EmptyRequestProto request, com.google.protobuf.RpcCallback<TestProtosLegacy.UserResponseProto> done)
rpc getAuthUser(.hadoop.common.EmptyRequestProto) returns (.hadoop.common.UserResponseProto);
public abstract void echoPostponed(com.google.protobuf.RpcController controller, TestProtosLegacy.EchoRequestProto request, com.google.protobuf.RpcCallback<TestProtosLegacy.EchoResponseProto> done)
rpc echoPostponed(.hadoop.common.EchoRequestProto) returns (.hadoop.common.EchoResponseProto);
public abstract void sendPostponed(com.google.protobuf.RpcController controller, TestProtosLegacy.EmptyRequestProto request, com.google.protobuf.RpcCallback<TestProtosLegacy.EmptyResponseProto> done)
rpc sendPostponed(.hadoop.common.EmptyRequestProto) returns (.hadoop.common.EmptyResponseProto);
public abstract void getCurrentUser(com.google.protobuf.RpcController controller, TestProtosLegacy.EmptyRequestProto request, com.google.protobuf.RpcCallback<TestProtosLegacy.UserResponseProto> done)
rpc getCurrentUser(.hadoop.common.EmptyRequestProto) returns (.hadoop.common.UserResponseProto);
public abstract void getServerRemoteUser(com.google.protobuf.RpcController controller, TestProtosLegacy.EmptyRequestProto request, com.google.protobuf.RpcCallback<TestProtosLegacy.UserResponseProto> done)
rpc getServerRemoteUser(.hadoop.common.EmptyRequestProto) returns (.hadoop.common.UserResponseProto);
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 TestRpcServiceProtosLegacy.TestProtobufRpcProto.Stub newStub(com.google.protobuf.RpcChannel channel)
public static TestRpcServiceProtosLegacy.TestProtobufRpcProto.BlockingInterface newBlockingStub(com.google.protobuf.BlockingRpcChannel channel)
Copyright © 2008–2022 Apache Software Foundation. All rights reserved.