org.apache.hadoop.ipc.protobuf.TestRpcServiceProtosLegacy Maven / Gradle / Ivy
// Generated by the protocol buffer org.apache.hadoop.shaded.com.iler. DO NOT EDIT!
// source: test_rpc_service_legacy.proto
package org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf;
public final class TestRpcServiceProtosLegacy {
private TestRpcServiceProtosLegacy() {}
public static void registerAllExtensions(
org.apache.hadoop.shaded.com.google.protobuf.ExtensionRegistry registry) {
}
/**
* Protobuf service {@code hadoop.org.apache.hadoop.shaded.com.on.TestProtobufRpcProto}
*
*
**
* A protobuf service for use in tests
*
*/
public static abstract class TestProtobufRpcProto
implements org.apache.hadoop.shaded.com.google.protobuf.Service {
protected TestProtobufRpcProto() {}
public interface Interface {
/**
* rpc ping(.hadoop.org.apache.hadoop.shaded.com.on.EmptyRequestProto) returns (.hadoop.org.apache.hadoop.shaded.com.on.EmptyResponseProto);
*/
public abstract void ping(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done);
/**
* rpc echo(.hadoop.org.apache.hadoop.shaded.com.on.EchoRequestProto) returns (.hadoop.org.apache.hadoop.shaded.com.on.EchoResponseProto);
*/
public abstract void echo(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EchoRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done);
/**
* rpc error(.hadoop.org.apache.hadoop.shaded.com.on.EmptyRequestProto) returns (.hadoop.org.apache.hadoop.shaded.com.on.EmptyResponseProto);
*/
public abstract void error(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done);
/**
* rpc error2(.hadoop.org.apache.hadoop.shaded.com.on.EmptyRequestProto) returns (.hadoop.org.apache.hadoop.shaded.com.on.EmptyResponseProto);
*/
public abstract void error2(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done);
/**
* rpc slowPing(.hadoop.org.apache.hadoop.shaded.com.on.SlowPingRequestProto) returns (.hadoop.org.apache.hadoop.shaded.com.on.EmptyResponseProto);
*/
public abstract void slowPing(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.SlowPingRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done);
/**
* rpc echo2(.hadoop.org.apache.hadoop.shaded.com.on.EchoRequestProto2) returns (.hadoop.org.apache.hadoop.shaded.com.on.EchoResponseProto2);
*/
public abstract void echo2(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EchoRequestProto2 request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done);
/**
* rpc add(.hadoop.org.apache.hadoop.shaded.com.on.AddRequestProto) returns (.hadoop.org.apache.hadoop.shaded.com.on.AddResponseProto);
*/
public abstract void add(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.AddRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done);
/**
* rpc add2(.hadoop.org.apache.hadoop.shaded.com.on.AddRequestProto2) returns (.hadoop.org.apache.hadoop.shaded.com.on.AddResponseProto);
*/
public abstract void add2(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.AddRequestProto2 request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done);
/**
* rpc testServerGet(.hadoop.org.apache.hadoop.shaded.com.on.EmptyRequestProto) returns (.hadoop.org.apache.hadoop.shaded.com.on.EmptyResponseProto);
*/
public abstract void testServerGet(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done);
/**
* rpc exchange(.hadoop.org.apache.hadoop.shaded.com.on.ExchangeRequestProto) returns (.hadoop.org.apache.hadoop.shaded.com.on.ExchangeResponseProto);
*/
public abstract void exchange(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.ExchangeRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done);
/**
* rpc sleep(.hadoop.org.apache.hadoop.shaded.com.on.SleepRequestProto) returns (.hadoop.org.apache.hadoop.shaded.com.on.EmptyResponseProto);
*/
public abstract void sleep(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.SleepRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done);
/**
* rpc lockAndSleep(.hadoop.org.apache.hadoop.shaded.com.on.SleepRequestProto) returns (.hadoop.org.apache.hadoop.shaded.com.on.EmptyResponseProto);
*/
public abstract void lockAndSleep(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.SleepRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done);
/**
* rpc getAuthMethod(.hadoop.org.apache.hadoop.shaded.com.on.EmptyRequestProto) returns (.hadoop.org.apache.hadoop.shaded.com.on.AuthMethodResponseProto);
*/
public abstract void getAuthMethod(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done);
/**
* rpc getAuthUser(.hadoop.org.apache.hadoop.shaded.com.on.EmptyRequestProto) returns (.hadoop.org.apache.hadoop.shaded.com.on.UserResponseProto);
*/
public abstract void getAuthUser(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done);
/**
* rpc echoPostponed(.hadoop.org.apache.hadoop.shaded.com.on.EchoRequestProto) returns (.hadoop.org.apache.hadoop.shaded.com.on.EchoResponseProto);
*/
public abstract void echoPostponed(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EchoRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done);
/**
* rpc sendPostponed(.hadoop.org.apache.hadoop.shaded.com.on.EmptyRequestProto) returns (.hadoop.org.apache.hadoop.shaded.com.on.EmptyResponseProto);
*/
public abstract void sendPostponed(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done);
/**
* rpc getCurrentUser(.hadoop.org.apache.hadoop.shaded.com.on.EmptyRequestProto) returns (.hadoop.org.apache.hadoop.shaded.com.on.UserResponseProto);
*/
public abstract void getCurrentUser(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done);
/**
* rpc getServerRemoteUser(.hadoop.org.apache.hadoop.shaded.com.on.EmptyRequestProto) returns (.hadoop.org.apache.hadoop.shaded.com.on.UserResponseProto);
*/
public abstract void getServerRemoteUser(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done);
}
public static org.apache.hadoop.shaded.com.google.protobuf.Service newReflectiveService(
final Interface impl) {
return new TestProtobufRpcProto() {
@java.lang.Override
public void ping(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done) {
impl.ping(controller, request, done);
}
@java.lang.Override
public void echo(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EchoRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done) {
impl.echo(controller, request, done);
}
@java.lang.Override
public void error(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done) {
impl.error(controller, request, done);
}
@java.lang.Override
public void error2(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done) {
impl.error2(controller, request, done);
}
@java.lang.Override
public void slowPing(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.SlowPingRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done) {
impl.slowPing(controller, request, done);
}
@java.lang.Override
public void echo2(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EchoRequestProto2 request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done) {
impl.echo2(controller, request, done);
}
@java.lang.Override
public void add(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.AddRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done) {
impl.add(controller, request, done);
}
@java.lang.Override
public void add2(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.AddRequestProto2 request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done) {
impl.add2(controller, request, done);
}
@java.lang.Override
public void testServerGet(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done) {
impl.testServerGet(controller, request, done);
}
@java.lang.Override
public void exchange(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.ExchangeRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done) {
impl.exchange(controller, request, done);
}
@java.lang.Override
public void sleep(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.SleepRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done) {
impl.sleep(controller, request, done);
}
@java.lang.Override
public void lockAndSleep(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.SleepRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done) {
impl.lockAndSleep(controller, request, done);
}
@java.lang.Override
public void getAuthMethod(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done) {
impl.getAuthMethod(controller, request, done);
}
@java.lang.Override
public void getAuthUser(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done) {
impl.getAuthUser(controller, request, done);
}
@java.lang.Override
public void echoPostponed(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EchoRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done) {
impl.echoPostponed(controller, request, done);
}
@java.lang.Override
public void sendPostponed(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done) {
impl.sendPostponed(controller, request, done);
}
@java.lang.Override
public void getCurrentUser(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done) {
impl.getCurrentUser(controller, request, done);
}
@java.lang.Override
public void getServerRemoteUser(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done) {
impl.getServerRemoteUser(controller, request, done);
}
};
}
public static org.apache.hadoop.shaded.com.google.protobuf.BlockingService
newReflectiveBlockingService(final BlockingInterface impl) {
return new org.apache.hadoop.shaded.com.google.protobuf.BlockingService() {
public final org.apache.hadoop.shaded.com.google.protobuf.Descriptors.ServiceDescriptor
getDescriptorForType() {
return getDescriptor();
}
public final org.apache.hadoop.shaded.com.google.protobuf.Message callBlockingMethod(
org.apache.hadoop.shaded.com.google.protobuf.Descriptors.MethodDescriptor method,
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.com.google.protobuf.Message request)
throws org.apache.hadoop.shaded.com.google.protobuf.ServiceException {
if (method.getService() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"Service.callBlockingMethod() given method descriptor for " +
"wrong service type.");
}
switch(method.getIndex()) {
case 0:
return impl.ping(controller, (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto)request);
case 1:
return impl.echo(controller, (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EchoRequestProto)request);
case 2:
return impl.error(controller, (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto)request);
case 3:
return impl.error2(controller, (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto)request);
case 4:
return impl.slowPing(controller, (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.SlowPingRequestProto)request);
case 5:
return impl.echo2(controller, (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EchoRequestProto2)request);
case 6:
return impl.add(controller, (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.AddRequestProto)request);
case 7:
return impl.add2(controller, (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.AddRequestProto2)request);
case 8:
return impl.testServerGet(controller, (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto)request);
case 9:
return impl.exchange(controller, (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.ExchangeRequestProto)request);
case 10:
return impl.sleep(controller, (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.SleepRequestProto)request);
case 11:
return impl.lockAndSleep(controller, (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.SleepRequestProto)request);
case 12:
return impl.getAuthMethod(controller, (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto)request);
case 13:
return impl.getAuthUser(controller, (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto)request);
case 14:
return impl.echoPostponed(controller, (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EchoRequestProto)request);
case 15:
return impl.sendPostponed(controller, (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto)request);
case 16:
return impl.getCurrentUser(controller, (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto)request);
case 17:
return impl.getServerRemoteUser(controller, (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto)request);
default:
throw new java.lang.AssertionError("Can't get here.");
}
}
public final org.apache.hadoop.shaded.com.google.protobuf.Message
getRequestPrototype(
org.apache.hadoop.shaded.com.google.protobuf.Descriptors.MethodDescriptor method) {
if (method.getService() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"Service.getRequestPrototype() given method " +
"descriptor for wrong service type.");
}
switch(method.getIndex()) {
case 0:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto.getDefaultInstance();
case 1:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EchoRequestProto.getDefaultInstance();
case 2:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto.getDefaultInstance();
case 3:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto.getDefaultInstance();
case 4:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.SlowPingRequestProto.getDefaultInstance();
case 5:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EchoRequestProto2.getDefaultInstance();
case 6:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.AddRequestProto.getDefaultInstance();
case 7:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.AddRequestProto2.getDefaultInstance();
case 8:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto.getDefaultInstance();
case 9:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.ExchangeRequestProto.getDefaultInstance();
case 10:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.SleepRequestProto.getDefaultInstance();
case 11:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.SleepRequestProto.getDefaultInstance();
case 12:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto.getDefaultInstance();
case 13:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto.getDefaultInstance();
case 14:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EchoRequestProto.getDefaultInstance();
case 15:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto.getDefaultInstance();
case 16:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto.getDefaultInstance();
case 17:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto.getDefaultInstance();
default:
throw new java.lang.AssertionError("Can't get here.");
}
}
public final org.apache.hadoop.shaded.com.google.protobuf.Message
getResponsePrototype(
org.apache.hadoop.shaded.com.google.protobuf.Descriptors.MethodDescriptor method) {
if (method.getService() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"Service.getResponsePrototype() given method " +
"descriptor for wrong service type.");
}
switch(method.getIndex()) {
case 0:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.getDefaultInstance();
case 1:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EchoResponseProto.getDefaultInstance();
case 2:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.getDefaultInstance();
case 3:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.getDefaultInstance();
case 4:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.getDefaultInstance();
case 5:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EchoResponseProto2.getDefaultInstance();
case 6:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.AddResponseProto.getDefaultInstance();
case 7:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.AddResponseProto.getDefaultInstance();
case 8:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.getDefaultInstance();
case 9:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.ExchangeResponseProto.getDefaultInstance();
case 10:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.getDefaultInstance();
case 11:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.getDefaultInstance();
case 12:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.AuthMethodResponseProto.getDefaultInstance();
case 13:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.UserResponseProto.getDefaultInstance();
case 14:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EchoResponseProto.getDefaultInstance();
case 15:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.getDefaultInstance();
case 16:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.UserResponseProto.getDefaultInstance();
case 17:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.UserResponseProto.getDefaultInstance();
default:
throw new java.lang.AssertionError("Can't get here.");
}
}
};
}
/**
* rpc ping(.hadoop.org.apache.hadoop.shaded.com.on.EmptyRequestProto) returns (.hadoop.org.apache.hadoop.shaded.com.on.EmptyResponseProto);
*/
public abstract void ping(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done);
/**
* rpc echo(.hadoop.org.apache.hadoop.shaded.com.on.EchoRequestProto) returns (.hadoop.org.apache.hadoop.shaded.com.on.EchoResponseProto);
*/
public abstract void echo(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EchoRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done);
/**
* rpc error(.hadoop.org.apache.hadoop.shaded.com.on.EmptyRequestProto) returns (.hadoop.org.apache.hadoop.shaded.com.on.EmptyResponseProto);
*/
public abstract void error(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done);
/**
* rpc error2(.hadoop.org.apache.hadoop.shaded.com.on.EmptyRequestProto) returns (.hadoop.org.apache.hadoop.shaded.com.on.EmptyResponseProto);
*/
public abstract void error2(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done);
/**
* rpc slowPing(.hadoop.org.apache.hadoop.shaded.com.on.SlowPingRequestProto) returns (.hadoop.org.apache.hadoop.shaded.com.on.EmptyResponseProto);
*/
public abstract void slowPing(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.SlowPingRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done);
/**
* rpc echo2(.hadoop.org.apache.hadoop.shaded.com.on.EchoRequestProto2) returns (.hadoop.org.apache.hadoop.shaded.com.on.EchoResponseProto2);
*/
public abstract void echo2(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EchoRequestProto2 request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done);
/**
* rpc add(.hadoop.org.apache.hadoop.shaded.com.on.AddRequestProto) returns (.hadoop.org.apache.hadoop.shaded.com.on.AddResponseProto);
*/
public abstract void add(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.AddRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done);
/**
* rpc add2(.hadoop.org.apache.hadoop.shaded.com.on.AddRequestProto2) returns (.hadoop.org.apache.hadoop.shaded.com.on.AddResponseProto);
*/
public abstract void add2(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.AddRequestProto2 request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done);
/**
* rpc testServerGet(.hadoop.org.apache.hadoop.shaded.com.on.EmptyRequestProto) returns (.hadoop.org.apache.hadoop.shaded.com.on.EmptyResponseProto);
*/
public abstract void testServerGet(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done);
/**
* rpc exchange(.hadoop.org.apache.hadoop.shaded.com.on.ExchangeRequestProto) returns (.hadoop.org.apache.hadoop.shaded.com.on.ExchangeResponseProto);
*/
public abstract void exchange(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.ExchangeRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done);
/**
* rpc sleep(.hadoop.org.apache.hadoop.shaded.com.on.SleepRequestProto) returns (.hadoop.org.apache.hadoop.shaded.com.on.EmptyResponseProto);
*/
public abstract void sleep(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.SleepRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done);
/**
* rpc lockAndSleep(.hadoop.org.apache.hadoop.shaded.com.on.SleepRequestProto) returns (.hadoop.org.apache.hadoop.shaded.com.on.EmptyResponseProto);
*/
public abstract void lockAndSleep(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.SleepRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done);
/**
* rpc getAuthMethod(.hadoop.org.apache.hadoop.shaded.com.on.EmptyRequestProto) returns (.hadoop.org.apache.hadoop.shaded.com.on.AuthMethodResponseProto);
*/
public abstract void getAuthMethod(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done);
/**
* rpc getAuthUser(.hadoop.org.apache.hadoop.shaded.com.on.EmptyRequestProto) returns (.hadoop.org.apache.hadoop.shaded.com.on.UserResponseProto);
*/
public abstract void getAuthUser(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done);
/**
* rpc echoPostponed(.hadoop.org.apache.hadoop.shaded.com.on.EchoRequestProto) returns (.hadoop.org.apache.hadoop.shaded.com.on.EchoResponseProto);
*/
public abstract void echoPostponed(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EchoRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done);
/**
* rpc sendPostponed(.hadoop.org.apache.hadoop.shaded.com.on.EmptyRequestProto) returns (.hadoop.org.apache.hadoop.shaded.com.on.EmptyResponseProto);
*/
public abstract void sendPostponed(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done);
/**
* rpc getCurrentUser(.hadoop.org.apache.hadoop.shaded.com.on.EmptyRequestProto) returns (.hadoop.org.apache.hadoop.shaded.com.on.UserResponseProto);
*/
public abstract void getCurrentUser(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done);
/**
* rpc getServerRemoteUser(.hadoop.org.apache.hadoop.shaded.com.on.EmptyRequestProto) returns (.hadoop.org.apache.hadoop.shaded.com.on.UserResponseProto);
*/
public abstract void getServerRemoteUser(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done);
public static final
org.apache.hadoop.shaded.com.google.protobuf.Descriptors.ServiceDescriptor
getDescriptor() {
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestRpcServiceProtosLegacy.getDescriptor().getServices().get(0);
}
public final org.apache.hadoop.shaded.com.google.protobuf.Descriptors.ServiceDescriptor
getDescriptorForType() {
return getDescriptor();
}
public final void callMethod(
org.apache.hadoop.shaded.com.google.protobuf.Descriptors.MethodDescriptor method,
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.com.google.protobuf.Message request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback<
org.apache.hadoop.shaded.com.google.protobuf.Message> done) {
if (method.getService() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"Service.callMethod() given method descriptor for wrong " +
"service type.");
}
switch(method.getIndex()) {
case 0:
this.ping(controller, (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto)request,
org.apache.hadoop.shaded.com.google.protobuf.RpcUtil.specializeCallback(
done));
return;
case 1:
this.echo(controller, (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EchoRequestProto)request,
org.apache.hadoop.shaded.com.google.protobuf.RpcUtil.specializeCallback(
done));
return;
case 2:
this.error(controller, (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto)request,
org.apache.hadoop.shaded.com.google.protobuf.RpcUtil.specializeCallback(
done));
return;
case 3:
this.error2(controller, (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto)request,
org.apache.hadoop.shaded.com.google.protobuf.RpcUtil.specializeCallback(
done));
return;
case 4:
this.slowPing(controller, (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.SlowPingRequestProto)request,
org.apache.hadoop.shaded.com.google.protobuf.RpcUtil.specializeCallback(
done));
return;
case 5:
this.echo2(controller, (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EchoRequestProto2)request,
org.apache.hadoop.shaded.com.google.protobuf.RpcUtil.specializeCallback(
done));
return;
case 6:
this.add(controller, (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.AddRequestProto)request,
org.apache.hadoop.shaded.com.google.protobuf.RpcUtil.specializeCallback(
done));
return;
case 7:
this.add2(controller, (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.AddRequestProto2)request,
org.apache.hadoop.shaded.com.google.protobuf.RpcUtil.specializeCallback(
done));
return;
case 8:
this.testServerGet(controller, (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto)request,
org.apache.hadoop.shaded.com.google.protobuf.RpcUtil.specializeCallback(
done));
return;
case 9:
this.exchange(controller, (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.ExchangeRequestProto)request,
org.apache.hadoop.shaded.com.google.protobuf.RpcUtil.specializeCallback(
done));
return;
case 10:
this.sleep(controller, (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.SleepRequestProto)request,
org.apache.hadoop.shaded.com.google.protobuf.RpcUtil.specializeCallback(
done));
return;
case 11:
this.lockAndSleep(controller, (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.SleepRequestProto)request,
org.apache.hadoop.shaded.com.google.protobuf.RpcUtil.specializeCallback(
done));
return;
case 12:
this.getAuthMethod(controller, (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto)request,
org.apache.hadoop.shaded.com.google.protobuf.RpcUtil.specializeCallback(
done));
return;
case 13:
this.getAuthUser(controller, (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto)request,
org.apache.hadoop.shaded.com.google.protobuf.RpcUtil.specializeCallback(
done));
return;
case 14:
this.echoPostponed(controller, (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EchoRequestProto)request,
org.apache.hadoop.shaded.com.google.protobuf.RpcUtil.specializeCallback(
done));
return;
case 15:
this.sendPostponed(controller, (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto)request,
org.apache.hadoop.shaded.com.google.protobuf.RpcUtil.specializeCallback(
done));
return;
case 16:
this.getCurrentUser(controller, (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto)request,
org.apache.hadoop.shaded.com.google.protobuf.RpcUtil.specializeCallback(
done));
return;
case 17:
this.getServerRemoteUser(controller, (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto)request,
org.apache.hadoop.shaded.com.google.protobuf.RpcUtil.specializeCallback(
done));
return;
default:
throw new java.lang.AssertionError("Can't get here.");
}
}
public final org.apache.hadoop.shaded.com.google.protobuf.Message
getRequestPrototype(
org.apache.hadoop.shaded.com.google.protobuf.Descriptors.MethodDescriptor method) {
if (method.getService() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"Service.getRequestPrototype() given method " +
"descriptor for wrong service type.");
}
switch(method.getIndex()) {
case 0:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto.getDefaultInstance();
case 1:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EchoRequestProto.getDefaultInstance();
case 2:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto.getDefaultInstance();
case 3:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto.getDefaultInstance();
case 4:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.SlowPingRequestProto.getDefaultInstance();
case 5:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EchoRequestProto2.getDefaultInstance();
case 6:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.AddRequestProto.getDefaultInstance();
case 7:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.AddRequestProto2.getDefaultInstance();
case 8:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto.getDefaultInstance();
case 9:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.ExchangeRequestProto.getDefaultInstance();
case 10:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.SleepRequestProto.getDefaultInstance();
case 11:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.SleepRequestProto.getDefaultInstance();
case 12:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto.getDefaultInstance();
case 13:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto.getDefaultInstance();
case 14:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EchoRequestProto.getDefaultInstance();
case 15:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto.getDefaultInstance();
case 16:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto.getDefaultInstance();
case 17:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto.getDefaultInstance();
default:
throw new java.lang.AssertionError("Can't get here.");
}
}
public final org.apache.hadoop.shaded.com.google.protobuf.Message
getResponsePrototype(
org.apache.hadoop.shaded.com.google.protobuf.Descriptors.MethodDescriptor method) {
if (method.getService() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"Service.getResponsePrototype() given method " +
"descriptor for wrong service type.");
}
switch(method.getIndex()) {
case 0:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.getDefaultInstance();
case 1:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EchoResponseProto.getDefaultInstance();
case 2:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.getDefaultInstance();
case 3:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.getDefaultInstance();
case 4:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.getDefaultInstance();
case 5:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EchoResponseProto2.getDefaultInstance();
case 6:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.AddResponseProto.getDefaultInstance();
case 7:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.AddResponseProto.getDefaultInstance();
case 8:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.getDefaultInstance();
case 9:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.ExchangeResponseProto.getDefaultInstance();
case 10:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.getDefaultInstance();
case 11:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.getDefaultInstance();
case 12:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.AuthMethodResponseProto.getDefaultInstance();
case 13:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.UserResponseProto.getDefaultInstance();
case 14:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EchoResponseProto.getDefaultInstance();
case 15:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.getDefaultInstance();
case 16:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.UserResponseProto.getDefaultInstance();
case 17:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.UserResponseProto.getDefaultInstance();
default:
throw new java.lang.AssertionError("Can't get here.");
}
}
public static Stub newStub(
org.apache.hadoop.shaded.com.google.protobuf.RpcChannel channel) {
return new Stub(channel);
}
public static final class Stub extends org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestRpcServiceProtosLegacy.TestProtobufRpcProto implements Interface {
private Stub(org.apache.hadoop.shaded.com.google.protobuf.RpcChannel channel) {
this.channel = channel;
}
private final org.apache.hadoop.shaded.com.google.protobuf.RpcChannel channel;
public org.apache.hadoop.shaded.com.google.protobuf.RpcChannel getChannel() {
return channel;
}
public void ping(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done) {
channel.callMethod(
getDescriptor().getMethods().get(0),
controller,
request,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.getDefaultInstance(),
org.apache.hadoop.shaded.com.google.protobuf.RpcUtil.generalizeCallback(
done,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.class,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.getDefaultInstance()));
}
public void echo(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EchoRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done) {
channel.callMethod(
getDescriptor().getMethods().get(1),
controller,
request,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EchoResponseProto.getDefaultInstance(),
org.apache.hadoop.shaded.com.google.protobuf.RpcUtil.generalizeCallback(
done,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EchoResponseProto.class,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EchoResponseProto.getDefaultInstance()));
}
public void error(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done) {
channel.callMethod(
getDescriptor().getMethods().get(2),
controller,
request,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.getDefaultInstance(),
org.apache.hadoop.shaded.com.google.protobuf.RpcUtil.generalizeCallback(
done,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.class,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.getDefaultInstance()));
}
public void error2(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done) {
channel.callMethod(
getDescriptor().getMethods().get(3),
controller,
request,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.getDefaultInstance(),
org.apache.hadoop.shaded.com.google.protobuf.RpcUtil.generalizeCallback(
done,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.class,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.getDefaultInstance()));
}
public void slowPing(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.SlowPingRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done) {
channel.callMethod(
getDescriptor().getMethods().get(4),
controller,
request,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.getDefaultInstance(),
org.apache.hadoop.shaded.com.google.protobuf.RpcUtil.generalizeCallback(
done,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.class,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.getDefaultInstance()));
}
public void echo2(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EchoRequestProto2 request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done) {
channel.callMethod(
getDescriptor().getMethods().get(5),
controller,
request,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EchoResponseProto2.getDefaultInstance(),
org.apache.hadoop.shaded.com.google.protobuf.RpcUtil.generalizeCallback(
done,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EchoResponseProto2.class,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EchoResponseProto2.getDefaultInstance()));
}
public void add(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.AddRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done) {
channel.callMethod(
getDescriptor().getMethods().get(6),
controller,
request,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.AddResponseProto.getDefaultInstance(),
org.apache.hadoop.shaded.com.google.protobuf.RpcUtil.generalizeCallback(
done,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.AddResponseProto.class,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.AddResponseProto.getDefaultInstance()));
}
public void add2(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.AddRequestProto2 request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done) {
channel.callMethod(
getDescriptor().getMethods().get(7),
controller,
request,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.AddResponseProto.getDefaultInstance(),
org.apache.hadoop.shaded.com.google.protobuf.RpcUtil.generalizeCallback(
done,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.AddResponseProto.class,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.AddResponseProto.getDefaultInstance()));
}
public void testServerGet(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done) {
channel.callMethod(
getDescriptor().getMethods().get(8),
controller,
request,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.getDefaultInstance(),
org.apache.hadoop.shaded.com.google.protobuf.RpcUtil.generalizeCallback(
done,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.class,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.getDefaultInstance()));
}
public void exchange(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.ExchangeRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done) {
channel.callMethod(
getDescriptor().getMethods().get(9),
controller,
request,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.ExchangeResponseProto.getDefaultInstance(),
org.apache.hadoop.shaded.com.google.protobuf.RpcUtil.generalizeCallback(
done,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.ExchangeResponseProto.class,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.ExchangeResponseProto.getDefaultInstance()));
}
public void sleep(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.SleepRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done) {
channel.callMethod(
getDescriptor().getMethods().get(10),
controller,
request,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.getDefaultInstance(),
org.apache.hadoop.shaded.com.google.protobuf.RpcUtil.generalizeCallback(
done,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.class,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.getDefaultInstance()));
}
public void lockAndSleep(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.SleepRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done) {
channel.callMethod(
getDescriptor().getMethods().get(11),
controller,
request,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.getDefaultInstance(),
org.apache.hadoop.shaded.com.google.protobuf.RpcUtil.generalizeCallback(
done,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.class,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.getDefaultInstance()));
}
public void getAuthMethod(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done) {
channel.callMethod(
getDescriptor().getMethods().get(12),
controller,
request,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.AuthMethodResponseProto.getDefaultInstance(),
org.apache.hadoop.shaded.com.google.protobuf.RpcUtil.generalizeCallback(
done,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.AuthMethodResponseProto.class,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.AuthMethodResponseProto.getDefaultInstance()));
}
public void getAuthUser(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done) {
channel.callMethod(
getDescriptor().getMethods().get(13),
controller,
request,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.UserResponseProto.getDefaultInstance(),
org.apache.hadoop.shaded.com.google.protobuf.RpcUtil.generalizeCallback(
done,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.UserResponseProto.class,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.UserResponseProto.getDefaultInstance()));
}
public void echoPostponed(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EchoRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done) {
channel.callMethod(
getDescriptor().getMethods().get(14),
controller,
request,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EchoResponseProto.getDefaultInstance(),
org.apache.hadoop.shaded.com.google.protobuf.RpcUtil.generalizeCallback(
done,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EchoResponseProto.class,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EchoResponseProto.getDefaultInstance()));
}
public void sendPostponed(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done) {
channel.callMethod(
getDescriptor().getMethods().get(15),
controller,
request,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.getDefaultInstance(),
org.apache.hadoop.shaded.com.google.protobuf.RpcUtil.generalizeCallback(
done,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.class,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.getDefaultInstance()));
}
public void getCurrentUser(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done) {
channel.callMethod(
getDescriptor().getMethods().get(16),
controller,
request,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.UserResponseProto.getDefaultInstance(),
org.apache.hadoop.shaded.com.google.protobuf.RpcUtil.generalizeCallback(
done,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.UserResponseProto.class,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.UserResponseProto.getDefaultInstance()));
}
public void getServerRemoteUser(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done) {
channel.callMethod(
getDescriptor().getMethods().get(17),
controller,
request,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.UserResponseProto.getDefaultInstance(),
org.apache.hadoop.shaded.com.google.protobuf.RpcUtil.generalizeCallback(
done,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.UserResponseProto.class,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.UserResponseProto.getDefaultInstance()));
}
}
public static BlockingInterface newBlockingStub(
org.apache.hadoop.shaded.com.google.protobuf.BlockingRpcChannel channel) {
return new BlockingStub(channel);
}
public interface BlockingInterface {
public org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto ping(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request)
throws org.apache.hadoop.shaded.com.google.protobuf.ServiceException;
public org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EchoResponseProto echo(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EchoRequestProto request)
throws org.apache.hadoop.shaded.com.google.protobuf.ServiceException;
public org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto error(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request)
throws org.apache.hadoop.shaded.com.google.protobuf.ServiceException;
public org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto error2(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request)
throws org.apache.hadoop.shaded.com.google.protobuf.ServiceException;
public org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto slowPing(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.SlowPingRequestProto request)
throws org.apache.hadoop.shaded.com.google.protobuf.ServiceException;
public org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EchoResponseProto2 echo2(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EchoRequestProto2 request)
throws org.apache.hadoop.shaded.com.google.protobuf.ServiceException;
public org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.AddResponseProto add(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.AddRequestProto request)
throws org.apache.hadoop.shaded.com.google.protobuf.ServiceException;
public org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.AddResponseProto add2(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.AddRequestProto2 request)
throws org.apache.hadoop.shaded.com.google.protobuf.ServiceException;
public org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto testServerGet(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request)
throws org.apache.hadoop.shaded.com.google.protobuf.ServiceException;
public org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.ExchangeResponseProto exchange(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.ExchangeRequestProto request)
throws org.apache.hadoop.shaded.com.google.protobuf.ServiceException;
public org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto sleep(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.SleepRequestProto request)
throws org.apache.hadoop.shaded.com.google.protobuf.ServiceException;
public org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto lockAndSleep(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.SleepRequestProto request)
throws org.apache.hadoop.shaded.com.google.protobuf.ServiceException;
public org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.AuthMethodResponseProto getAuthMethod(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request)
throws org.apache.hadoop.shaded.com.google.protobuf.ServiceException;
public org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.UserResponseProto getAuthUser(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request)
throws org.apache.hadoop.shaded.com.google.protobuf.ServiceException;
public org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EchoResponseProto echoPostponed(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EchoRequestProto request)
throws org.apache.hadoop.shaded.com.google.protobuf.ServiceException;
public org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto sendPostponed(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request)
throws org.apache.hadoop.shaded.com.google.protobuf.ServiceException;
public org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.UserResponseProto getCurrentUser(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request)
throws org.apache.hadoop.shaded.com.google.protobuf.ServiceException;
public org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.UserResponseProto getServerRemoteUser(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request)
throws org.apache.hadoop.shaded.com.google.protobuf.ServiceException;
}
private static final class BlockingStub implements BlockingInterface {
private BlockingStub(org.apache.hadoop.shaded.com.google.protobuf.BlockingRpcChannel channel) {
this.channel = channel;
}
private final org.apache.hadoop.shaded.com.google.protobuf.BlockingRpcChannel channel;
public org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto ping(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request)
throws org.apache.hadoop.shaded.com.google.protobuf.ServiceException {
return (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto) channel.callBlockingMethod(
getDescriptor().getMethods().get(0),
controller,
request,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.getDefaultInstance());
}
public org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EchoResponseProto echo(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EchoRequestProto request)
throws org.apache.hadoop.shaded.com.google.protobuf.ServiceException {
return (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EchoResponseProto) channel.callBlockingMethod(
getDescriptor().getMethods().get(1),
controller,
request,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EchoResponseProto.getDefaultInstance());
}
public org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto error(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request)
throws org.apache.hadoop.shaded.com.google.protobuf.ServiceException {
return (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto) channel.callBlockingMethod(
getDescriptor().getMethods().get(2),
controller,
request,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.getDefaultInstance());
}
public org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto error2(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request)
throws org.apache.hadoop.shaded.com.google.protobuf.ServiceException {
return (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto) channel.callBlockingMethod(
getDescriptor().getMethods().get(3),
controller,
request,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.getDefaultInstance());
}
public org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto slowPing(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.SlowPingRequestProto request)
throws org.apache.hadoop.shaded.com.google.protobuf.ServiceException {
return (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto) channel.callBlockingMethod(
getDescriptor().getMethods().get(4),
controller,
request,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.getDefaultInstance());
}
public org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EchoResponseProto2 echo2(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EchoRequestProto2 request)
throws org.apache.hadoop.shaded.com.google.protobuf.ServiceException {
return (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EchoResponseProto2) channel.callBlockingMethod(
getDescriptor().getMethods().get(5),
controller,
request,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EchoResponseProto2.getDefaultInstance());
}
public org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.AddResponseProto add(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.AddRequestProto request)
throws org.apache.hadoop.shaded.com.google.protobuf.ServiceException {
return (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.AddResponseProto) channel.callBlockingMethod(
getDescriptor().getMethods().get(6),
controller,
request,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.AddResponseProto.getDefaultInstance());
}
public org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.AddResponseProto add2(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.AddRequestProto2 request)
throws org.apache.hadoop.shaded.com.google.protobuf.ServiceException {
return (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.AddResponseProto) channel.callBlockingMethod(
getDescriptor().getMethods().get(7),
controller,
request,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.AddResponseProto.getDefaultInstance());
}
public org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto testServerGet(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request)
throws org.apache.hadoop.shaded.com.google.protobuf.ServiceException {
return (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto) channel.callBlockingMethod(
getDescriptor().getMethods().get(8),
controller,
request,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.getDefaultInstance());
}
public org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.ExchangeResponseProto exchange(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.ExchangeRequestProto request)
throws org.apache.hadoop.shaded.com.google.protobuf.ServiceException {
return (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.ExchangeResponseProto) channel.callBlockingMethod(
getDescriptor().getMethods().get(9),
controller,
request,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.ExchangeResponseProto.getDefaultInstance());
}
public org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto sleep(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.SleepRequestProto request)
throws org.apache.hadoop.shaded.com.google.protobuf.ServiceException {
return (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto) channel.callBlockingMethod(
getDescriptor().getMethods().get(10),
controller,
request,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.getDefaultInstance());
}
public org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto lockAndSleep(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.SleepRequestProto request)
throws org.apache.hadoop.shaded.com.google.protobuf.ServiceException {
return (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto) channel.callBlockingMethod(
getDescriptor().getMethods().get(11),
controller,
request,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.getDefaultInstance());
}
public org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.AuthMethodResponseProto getAuthMethod(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request)
throws org.apache.hadoop.shaded.com.google.protobuf.ServiceException {
return (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.AuthMethodResponseProto) channel.callBlockingMethod(
getDescriptor().getMethods().get(12),
controller,
request,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.AuthMethodResponseProto.getDefaultInstance());
}
public org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.UserResponseProto getAuthUser(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request)
throws org.apache.hadoop.shaded.com.google.protobuf.ServiceException {
return (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.UserResponseProto) channel.callBlockingMethod(
getDescriptor().getMethods().get(13),
controller,
request,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.UserResponseProto.getDefaultInstance());
}
public org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EchoResponseProto echoPostponed(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EchoRequestProto request)
throws org.apache.hadoop.shaded.com.google.protobuf.ServiceException {
return (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EchoResponseProto) channel.callBlockingMethod(
getDescriptor().getMethods().get(14),
controller,
request,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EchoResponseProto.getDefaultInstance());
}
public org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto sendPostponed(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request)
throws org.apache.hadoop.shaded.com.google.protobuf.ServiceException {
return (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto) channel.callBlockingMethod(
getDescriptor().getMethods().get(15),
controller,
request,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.getDefaultInstance());
}
public org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.UserResponseProto getCurrentUser(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request)
throws org.apache.hadoop.shaded.com.google.protobuf.ServiceException {
return (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.UserResponseProto) channel.callBlockingMethod(
getDescriptor().getMethods().get(16),
controller,
request,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.UserResponseProto.getDefaultInstance());
}
public org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.UserResponseProto getServerRemoteUser(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request)
throws org.apache.hadoop.shaded.com.google.protobuf.ServiceException {
return (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.UserResponseProto) channel.callBlockingMethod(
getDescriptor().getMethods().get(17),
controller,
request,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.UserResponseProto.getDefaultInstance());
}
}
// @@protoc_insertion_point(class_scope:hadoop.org.apache.hadoop.shaded.com.on.TestProtobufRpcProto)
}
/**
* Protobuf service {@code hadoop.org.apache.hadoop.shaded.com.on.TestProtobufRpc2Proto}
*/
public static abstract class TestProtobufRpc2Proto
implements org.apache.hadoop.shaded.com.google.protobuf.Service {
protected TestProtobufRpc2Proto() {}
public interface Interface {
/**
* rpc ping2(.hadoop.org.apache.hadoop.shaded.com.on.EmptyRequestProto) returns (.hadoop.org.apache.hadoop.shaded.com.on.EmptyResponseProto);
*/
public abstract void ping2(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done);
/**
* rpc echo2(.hadoop.org.apache.hadoop.shaded.com.on.EchoRequestProto) returns (.hadoop.org.apache.hadoop.shaded.com.on.EchoResponseProto);
*/
public abstract void echo2(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EchoRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done);
/**
* rpc sleep(.hadoop.org.apache.hadoop.shaded.com.on.SleepRequestProto) returns (.hadoop.org.apache.hadoop.shaded.com.on.SleepResponseProto);
*/
public abstract void sleep(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.SleepRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done);
}
public static org.apache.hadoop.shaded.com.google.protobuf.Service newReflectiveService(
final Interface impl) {
return new TestProtobufRpc2Proto() {
@java.lang.Override
public void ping2(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done) {
impl.ping2(controller, request, done);
}
@java.lang.Override
public void echo2(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EchoRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done) {
impl.echo2(controller, request, done);
}
@java.lang.Override
public void sleep(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.SleepRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done) {
impl.sleep(controller, request, done);
}
};
}
public static org.apache.hadoop.shaded.com.google.protobuf.BlockingService
newReflectiveBlockingService(final BlockingInterface impl) {
return new org.apache.hadoop.shaded.com.google.protobuf.BlockingService() {
public final org.apache.hadoop.shaded.com.google.protobuf.Descriptors.ServiceDescriptor
getDescriptorForType() {
return getDescriptor();
}
public final org.apache.hadoop.shaded.com.google.protobuf.Message callBlockingMethod(
org.apache.hadoop.shaded.com.google.protobuf.Descriptors.MethodDescriptor method,
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.com.google.protobuf.Message request)
throws org.apache.hadoop.shaded.com.google.protobuf.ServiceException {
if (method.getService() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"Service.callBlockingMethod() given method descriptor for " +
"wrong service type.");
}
switch(method.getIndex()) {
case 0:
return impl.ping2(controller, (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto)request);
case 1:
return impl.echo2(controller, (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EchoRequestProto)request);
case 2:
return impl.sleep(controller, (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.SleepRequestProto)request);
default:
throw new java.lang.AssertionError("Can't get here.");
}
}
public final org.apache.hadoop.shaded.com.google.protobuf.Message
getRequestPrototype(
org.apache.hadoop.shaded.com.google.protobuf.Descriptors.MethodDescriptor method) {
if (method.getService() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"Service.getRequestPrototype() given method " +
"descriptor for wrong service type.");
}
switch(method.getIndex()) {
case 0:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto.getDefaultInstance();
case 1:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EchoRequestProto.getDefaultInstance();
case 2:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.SleepRequestProto.getDefaultInstance();
default:
throw new java.lang.AssertionError("Can't get here.");
}
}
public final org.apache.hadoop.shaded.com.google.protobuf.Message
getResponsePrototype(
org.apache.hadoop.shaded.com.google.protobuf.Descriptors.MethodDescriptor method) {
if (method.getService() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"Service.getResponsePrototype() given method " +
"descriptor for wrong service type.");
}
switch(method.getIndex()) {
case 0:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.getDefaultInstance();
case 1:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EchoResponseProto.getDefaultInstance();
case 2:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.SleepResponseProto.getDefaultInstance();
default:
throw new java.lang.AssertionError("Can't get here.");
}
}
};
}
/**
* rpc ping2(.hadoop.org.apache.hadoop.shaded.com.on.EmptyRequestProto) returns (.hadoop.org.apache.hadoop.shaded.com.on.EmptyResponseProto);
*/
public abstract void ping2(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done);
/**
* rpc echo2(.hadoop.org.apache.hadoop.shaded.com.on.EchoRequestProto) returns (.hadoop.org.apache.hadoop.shaded.com.on.EchoResponseProto);
*/
public abstract void echo2(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EchoRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done);
/**
* rpc sleep(.hadoop.org.apache.hadoop.shaded.com.on.SleepRequestProto) returns (.hadoop.org.apache.hadoop.shaded.com.on.SleepResponseProto);
*/
public abstract void sleep(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.SleepRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done);
public static final
org.apache.hadoop.shaded.com.google.protobuf.Descriptors.ServiceDescriptor
getDescriptor() {
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestRpcServiceProtosLegacy.getDescriptor().getServices().get(1);
}
public final org.apache.hadoop.shaded.com.google.protobuf.Descriptors.ServiceDescriptor
getDescriptorForType() {
return getDescriptor();
}
public final void callMethod(
org.apache.hadoop.shaded.com.google.protobuf.Descriptors.MethodDescriptor method,
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.com.google.protobuf.Message request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback<
org.apache.hadoop.shaded.com.google.protobuf.Message> done) {
if (method.getService() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"Service.callMethod() given method descriptor for wrong " +
"service type.");
}
switch(method.getIndex()) {
case 0:
this.ping2(controller, (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto)request,
org.apache.hadoop.shaded.com.google.protobuf.RpcUtil.specializeCallback(
done));
return;
case 1:
this.echo2(controller, (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EchoRequestProto)request,
org.apache.hadoop.shaded.com.google.protobuf.RpcUtil.specializeCallback(
done));
return;
case 2:
this.sleep(controller, (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.SleepRequestProto)request,
org.apache.hadoop.shaded.com.google.protobuf.RpcUtil.specializeCallback(
done));
return;
default:
throw new java.lang.AssertionError("Can't get here.");
}
}
public final org.apache.hadoop.shaded.com.google.protobuf.Message
getRequestPrototype(
org.apache.hadoop.shaded.com.google.protobuf.Descriptors.MethodDescriptor method) {
if (method.getService() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"Service.getRequestPrototype() given method " +
"descriptor for wrong service type.");
}
switch(method.getIndex()) {
case 0:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto.getDefaultInstance();
case 1:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EchoRequestProto.getDefaultInstance();
case 2:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.SleepRequestProto.getDefaultInstance();
default:
throw new java.lang.AssertionError("Can't get here.");
}
}
public final org.apache.hadoop.shaded.com.google.protobuf.Message
getResponsePrototype(
org.apache.hadoop.shaded.com.google.protobuf.Descriptors.MethodDescriptor method) {
if (method.getService() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"Service.getResponsePrototype() given method " +
"descriptor for wrong service type.");
}
switch(method.getIndex()) {
case 0:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.getDefaultInstance();
case 1:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EchoResponseProto.getDefaultInstance();
case 2:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.SleepResponseProto.getDefaultInstance();
default:
throw new java.lang.AssertionError("Can't get here.");
}
}
public static Stub newStub(
org.apache.hadoop.shaded.com.google.protobuf.RpcChannel channel) {
return new Stub(channel);
}
public static final class Stub extends org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestRpcServiceProtosLegacy.TestProtobufRpc2Proto implements Interface {
private Stub(org.apache.hadoop.shaded.com.google.protobuf.RpcChannel channel) {
this.channel = channel;
}
private final org.apache.hadoop.shaded.com.google.protobuf.RpcChannel channel;
public org.apache.hadoop.shaded.com.google.protobuf.RpcChannel getChannel() {
return channel;
}
public void ping2(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done) {
channel.callMethod(
getDescriptor().getMethods().get(0),
controller,
request,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.getDefaultInstance(),
org.apache.hadoop.shaded.com.google.protobuf.RpcUtil.generalizeCallback(
done,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.class,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.getDefaultInstance()));
}
public void echo2(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EchoRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done) {
channel.callMethod(
getDescriptor().getMethods().get(1),
controller,
request,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EchoResponseProto.getDefaultInstance(),
org.apache.hadoop.shaded.com.google.protobuf.RpcUtil.generalizeCallback(
done,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EchoResponseProto.class,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EchoResponseProto.getDefaultInstance()));
}
public void sleep(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.SleepRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done) {
channel.callMethod(
getDescriptor().getMethods().get(2),
controller,
request,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.SleepResponseProto.getDefaultInstance(),
org.apache.hadoop.shaded.com.google.protobuf.RpcUtil.generalizeCallback(
done,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.SleepResponseProto.class,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.SleepResponseProto.getDefaultInstance()));
}
}
public static BlockingInterface newBlockingStub(
org.apache.hadoop.shaded.com.google.protobuf.BlockingRpcChannel channel) {
return new BlockingStub(channel);
}
public interface BlockingInterface {
public org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto ping2(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request)
throws org.apache.hadoop.shaded.com.google.protobuf.ServiceException;
public org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EchoResponseProto echo2(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EchoRequestProto request)
throws org.apache.hadoop.shaded.com.google.protobuf.ServiceException;
public org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.SleepResponseProto sleep(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.SleepRequestProto request)
throws org.apache.hadoop.shaded.com.google.protobuf.ServiceException;
}
private static final class BlockingStub implements BlockingInterface {
private BlockingStub(org.apache.hadoop.shaded.com.google.protobuf.BlockingRpcChannel channel) {
this.channel = channel;
}
private final org.apache.hadoop.shaded.com.google.protobuf.BlockingRpcChannel channel;
public org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto ping2(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request)
throws org.apache.hadoop.shaded.com.google.protobuf.ServiceException {
return (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto) channel.callBlockingMethod(
getDescriptor().getMethods().get(0),
controller,
request,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.getDefaultInstance());
}
public org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EchoResponseProto echo2(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EchoRequestProto request)
throws org.apache.hadoop.shaded.com.google.protobuf.ServiceException {
return (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EchoResponseProto) channel.callBlockingMethod(
getDescriptor().getMethods().get(1),
controller,
request,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EchoResponseProto.getDefaultInstance());
}
public org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.SleepResponseProto sleep(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.SleepRequestProto request)
throws org.apache.hadoop.shaded.com.google.protobuf.ServiceException {
return (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.SleepResponseProto) channel.callBlockingMethod(
getDescriptor().getMethods().get(2),
controller,
request,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.SleepResponseProto.getDefaultInstance());
}
}
// @@protoc_insertion_point(class_scope:hadoop.org.apache.hadoop.shaded.com.on.TestProtobufRpc2Proto)
}
/**
* Protobuf service {@code hadoop.org.apache.hadoop.shaded.com.on.OldProtobufRpcProto}
*/
public static abstract class OldProtobufRpcProto
implements org.apache.hadoop.shaded.com.google.protobuf.Service {
protected OldProtobufRpcProto() {}
public interface Interface {
/**
* rpc ping(.hadoop.org.apache.hadoop.shaded.com.on.EmptyRequestProto) returns (.hadoop.org.apache.hadoop.shaded.com.on.EmptyResponseProto);
*/
public abstract void ping(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done);
/**
* rpc echo(.hadoop.org.apache.hadoop.shaded.com.on.EmptyRequestProto) returns (.hadoop.org.apache.hadoop.shaded.com.on.EmptyResponseProto);
*/
public abstract void echo(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done);
}
public static org.apache.hadoop.shaded.com.google.protobuf.Service newReflectiveService(
final Interface impl) {
return new OldProtobufRpcProto() {
@java.lang.Override
public void ping(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done) {
impl.ping(controller, request, done);
}
@java.lang.Override
public void echo(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done) {
impl.echo(controller, request, done);
}
};
}
public static org.apache.hadoop.shaded.com.google.protobuf.BlockingService
newReflectiveBlockingService(final BlockingInterface impl) {
return new org.apache.hadoop.shaded.com.google.protobuf.BlockingService() {
public final org.apache.hadoop.shaded.com.google.protobuf.Descriptors.ServiceDescriptor
getDescriptorForType() {
return getDescriptor();
}
public final org.apache.hadoop.shaded.com.google.protobuf.Message callBlockingMethod(
org.apache.hadoop.shaded.com.google.protobuf.Descriptors.MethodDescriptor method,
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.com.google.protobuf.Message request)
throws org.apache.hadoop.shaded.com.google.protobuf.ServiceException {
if (method.getService() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"Service.callBlockingMethod() given method descriptor for " +
"wrong service type.");
}
switch(method.getIndex()) {
case 0:
return impl.ping(controller, (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto)request);
case 1:
return impl.echo(controller, (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto)request);
default:
throw new java.lang.AssertionError("Can't get here.");
}
}
public final org.apache.hadoop.shaded.com.google.protobuf.Message
getRequestPrototype(
org.apache.hadoop.shaded.com.google.protobuf.Descriptors.MethodDescriptor method) {
if (method.getService() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"Service.getRequestPrototype() given method " +
"descriptor for wrong service type.");
}
switch(method.getIndex()) {
case 0:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto.getDefaultInstance();
case 1:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto.getDefaultInstance();
default:
throw new java.lang.AssertionError("Can't get here.");
}
}
public final org.apache.hadoop.shaded.com.google.protobuf.Message
getResponsePrototype(
org.apache.hadoop.shaded.com.google.protobuf.Descriptors.MethodDescriptor method) {
if (method.getService() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"Service.getResponsePrototype() given method " +
"descriptor for wrong service type.");
}
switch(method.getIndex()) {
case 0:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.getDefaultInstance();
case 1:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.getDefaultInstance();
default:
throw new java.lang.AssertionError("Can't get here.");
}
}
};
}
/**
* rpc ping(.hadoop.org.apache.hadoop.shaded.com.on.EmptyRequestProto) returns (.hadoop.org.apache.hadoop.shaded.com.on.EmptyResponseProto);
*/
public abstract void ping(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done);
/**
* rpc echo(.hadoop.org.apache.hadoop.shaded.com.on.EmptyRequestProto) returns (.hadoop.org.apache.hadoop.shaded.com.on.EmptyResponseProto);
*/
public abstract void echo(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done);
public static final
org.apache.hadoop.shaded.com.google.protobuf.Descriptors.ServiceDescriptor
getDescriptor() {
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestRpcServiceProtosLegacy.getDescriptor().getServices().get(2);
}
public final org.apache.hadoop.shaded.com.google.protobuf.Descriptors.ServiceDescriptor
getDescriptorForType() {
return getDescriptor();
}
public final void callMethod(
org.apache.hadoop.shaded.com.google.protobuf.Descriptors.MethodDescriptor method,
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.com.google.protobuf.Message request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback<
org.apache.hadoop.shaded.com.google.protobuf.Message> done) {
if (method.getService() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"Service.callMethod() given method descriptor for wrong " +
"service type.");
}
switch(method.getIndex()) {
case 0:
this.ping(controller, (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto)request,
org.apache.hadoop.shaded.com.google.protobuf.RpcUtil.specializeCallback(
done));
return;
case 1:
this.echo(controller, (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto)request,
org.apache.hadoop.shaded.com.google.protobuf.RpcUtil.specializeCallback(
done));
return;
default:
throw new java.lang.AssertionError("Can't get here.");
}
}
public final org.apache.hadoop.shaded.com.google.protobuf.Message
getRequestPrototype(
org.apache.hadoop.shaded.com.google.protobuf.Descriptors.MethodDescriptor method) {
if (method.getService() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"Service.getRequestPrototype() given method " +
"descriptor for wrong service type.");
}
switch(method.getIndex()) {
case 0:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto.getDefaultInstance();
case 1:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto.getDefaultInstance();
default:
throw new java.lang.AssertionError("Can't get here.");
}
}
public final org.apache.hadoop.shaded.com.google.protobuf.Message
getResponsePrototype(
org.apache.hadoop.shaded.com.google.protobuf.Descriptors.MethodDescriptor method) {
if (method.getService() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"Service.getResponsePrototype() given method " +
"descriptor for wrong service type.");
}
switch(method.getIndex()) {
case 0:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.getDefaultInstance();
case 1:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.getDefaultInstance();
default:
throw new java.lang.AssertionError("Can't get here.");
}
}
public static Stub newStub(
org.apache.hadoop.shaded.com.google.protobuf.RpcChannel channel) {
return new Stub(channel);
}
public static final class Stub extends org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestRpcServiceProtosLegacy.OldProtobufRpcProto implements Interface {
private Stub(org.apache.hadoop.shaded.com.google.protobuf.RpcChannel channel) {
this.channel = channel;
}
private final org.apache.hadoop.shaded.com.google.protobuf.RpcChannel channel;
public org.apache.hadoop.shaded.com.google.protobuf.RpcChannel getChannel() {
return channel;
}
public void ping(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done) {
channel.callMethod(
getDescriptor().getMethods().get(0),
controller,
request,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.getDefaultInstance(),
org.apache.hadoop.shaded.com.google.protobuf.RpcUtil.generalizeCallback(
done,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.class,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.getDefaultInstance()));
}
public void echo(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done) {
channel.callMethod(
getDescriptor().getMethods().get(1),
controller,
request,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.getDefaultInstance(),
org.apache.hadoop.shaded.com.google.protobuf.RpcUtil.generalizeCallback(
done,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.class,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.getDefaultInstance()));
}
}
public static BlockingInterface newBlockingStub(
org.apache.hadoop.shaded.com.google.protobuf.BlockingRpcChannel channel) {
return new BlockingStub(channel);
}
public interface BlockingInterface {
public org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto ping(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request)
throws org.apache.hadoop.shaded.com.google.protobuf.ServiceException;
public org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto echo(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request)
throws org.apache.hadoop.shaded.com.google.protobuf.ServiceException;
}
private static final class BlockingStub implements BlockingInterface {
private BlockingStub(org.apache.hadoop.shaded.com.google.protobuf.BlockingRpcChannel channel) {
this.channel = channel;
}
private final org.apache.hadoop.shaded.com.google.protobuf.BlockingRpcChannel channel;
public org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto ping(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request)
throws org.apache.hadoop.shaded.com.google.protobuf.ServiceException {
return (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto) channel.callBlockingMethod(
getDescriptor().getMethods().get(0),
controller,
request,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.getDefaultInstance());
}
public org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto echo(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request)
throws org.apache.hadoop.shaded.com.google.protobuf.ServiceException {
return (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto) channel.callBlockingMethod(
getDescriptor().getMethods().get(1),
controller,
request,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.getDefaultInstance());
}
}
// @@protoc_insertion_point(class_scope:hadoop.org.apache.hadoop.shaded.com.on.OldProtobufRpcProto)
}
/**
* Protobuf service {@code hadoop.org.apache.hadoop.shaded.com.on.NewProtobufRpcProto}
*/
public static abstract class NewProtobufRpcProto
implements org.apache.hadoop.shaded.com.google.protobuf.Service {
protected NewProtobufRpcProto() {}
public interface Interface {
/**
* rpc ping(.hadoop.org.apache.hadoop.shaded.com.on.EmptyRequestProto) returns (.hadoop.org.apache.hadoop.shaded.com.on.EmptyResponseProto);
*/
public abstract void ping(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done);
/**
* rpc echo(.hadoop.org.apache.hadoop.shaded.com.on.OptRequestProto) returns (.hadoop.org.apache.hadoop.shaded.com.on.OptResponseProto);
*/
public abstract void echo(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.OptRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done);
}
public static org.apache.hadoop.shaded.com.google.protobuf.Service newReflectiveService(
final Interface impl) {
return new NewProtobufRpcProto() {
@java.lang.Override
public void ping(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done) {
impl.ping(controller, request, done);
}
@java.lang.Override
public void echo(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.OptRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done) {
impl.echo(controller, request, done);
}
};
}
public static org.apache.hadoop.shaded.com.google.protobuf.BlockingService
newReflectiveBlockingService(final BlockingInterface impl) {
return new org.apache.hadoop.shaded.com.google.protobuf.BlockingService() {
public final org.apache.hadoop.shaded.com.google.protobuf.Descriptors.ServiceDescriptor
getDescriptorForType() {
return getDescriptor();
}
public final org.apache.hadoop.shaded.com.google.protobuf.Message callBlockingMethod(
org.apache.hadoop.shaded.com.google.protobuf.Descriptors.MethodDescriptor method,
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.com.google.protobuf.Message request)
throws org.apache.hadoop.shaded.com.google.protobuf.ServiceException {
if (method.getService() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"Service.callBlockingMethod() given method descriptor for " +
"wrong service type.");
}
switch(method.getIndex()) {
case 0:
return impl.ping(controller, (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto)request);
case 1:
return impl.echo(controller, (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.OptRequestProto)request);
default:
throw new java.lang.AssertionError("Can't get here.");
}
}
public final org.apache.hadoop.shaded.com.google.protobuf.Message
getRequestPrototype(
org.apache.hadoop.shaded.com.google.protobuf.Descriptors.MethodDescriptor method) {
if (method.getService() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"Service.getRequestPrototype() given method " +
"descriptor for wrong service type.");
}
switch(method.getIndex()) {
case 0:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto.getDefaultInstance();
case 1:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.OptRequestProto.getDefaultInstance();
default:
throw new java.lang.AssertionError("Can't get here.");
}
}
public final org.apache.hadoop.shaded.com.google.protobuf.Message
getResponsePrototype(
org.apache.hadoop.shaded.com.google.protobuf.Descriptors.MethodDescriptor method) {
if (method.getService() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"Service.getResponsePrototype() given method " +
"descriptor for wrong service type.");
}
switch(method.getIndex()) {
case 0:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.getDefaultInstance();
case 1:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.OptResponseProto.getDefaultInstance();
default:
throw new java.lang.AssertionError("Can't get here.");
}
}
};
}
/**
* rpc ping(.hadoop.org.apache.hadoop.shaded.com.on.EmptyRequestProto) returns (.hadoop.org.apache.hadoop.shaded.com.on.EmptyResponseProto);
*/
public abstract void ping(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done);
/**
* rpc echo(.hadoop.org.apache.hadoop.shaded.com.on.OptRequestProto) returns (.hadoop.org.apache.hadoop.shaded.com.on.OptResponseProto);
*/
public abstract void echo(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.OptRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done);
public static final
org.apache.hadoop.shaded.com.google.protobuf.Descriptors.ServiceDescriptor
getDescriptor() {
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestRpcServiceProtosLegacy.getDescriptor().getServices().get(3);
}
public final org.apache.hadoop.shaded.com.google.protobuf.Descriptors.ServiceDescriptor
getDescriptorForType() {
return getDescriptor();
}
public final void callMethod(
org.apache.hadoop.shaded.com.google.protobuf.Descriptors.MethodDescriptor method,
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.com.google.protobuf.Message request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback<
org.apache.hadoop.shaded.com.google.protobuf.Message> done) {
if (method.getService() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"Service.callMethod() given method descriptor for wrong " +
"service type.");
}
switch(method.getIndex()) {
case 0:
this.ping(controller, (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto)request,
org.apache.hadoop.shaded.com.google.protobuf.RpcUtil.specializeCallback(
done));
return;
case 1:
this.echo(controller, (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.OptRequestProto)request,
org.apache.hadoop.shaded.com.google.protobuf.RpcUtil.specializeCallback(
done));
return;
default:
throw new java.lang.AssertionError("Can't get here.");
}
}
public final org.apache.hadoop.shaded.com.google.protobuf.Message
getRequestPrototype(
org.apache.hadoop.shaded.com.google.protobuf.Descriptors.MethodDescriptor method) {
if (method.getService() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"Service.getRequestPrototype() given method " +
"descriptor for wrong service type.");
}
switch(method.getIndex()) {
case 0:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto.getDefaultInstance();
case 1:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.OptRequestProto.getDefaultInstance();
default:
throw new java.lang.AssertionError("Can't get here.");
}
}
public final org.apache.hadoop.shaded.com.google.protobuf.Message
getResponsePrototype(
org.apache.hadoop.shaded.com.google.protobuf.Descriptors.MethodDescriptor method) {
if (method.getService() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"Service.getResponsePrototype() given method " +
"descriptor for wrong service type.");
}
switch(method.getIndex()) {
case 0:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.getDefaultInstance();
case 1:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.OptResponseProto.getDefaultInstance();
default:
throw new java.lang.AssertionError("Can't get here.");
}
}
public static Stub newStub(
org.apache.hadoop.shaded.com.google.protobuf.RpcChannel channel) {
return new Stub(channel);
}
public static final class Stub extends org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestRpcServiceProtosLegacy.NewProtobufRpcProto implements Interface {
private Stub(org.apache.hadoop.shaded.com.google.protobuf.RpcChannel channel) {
this.channel = channel;
}
private final org.apache.hadoop.shaded.com.google.protobuf.RpcChannel channel;
public org.apache.hadoop.shaded.com.google.protobuf.RpcChannel getChannel() {
return channel;
}
public void ping(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done) {
channel.callMethod(
getDescriptor().getMethods().get(0),
controller,
request,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.getDefaultInstance(),
org.apache.hadoop.shaded.com.google.protobuf.RpcUtil.generalizeCallback(
done,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.class,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.getDefaultInstance()));
}
public void echo(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.OptRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done) {
channel.callMethod(
getDescriptor().getMethods().get(1),
controller,
request,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.OptResponseProto.getDefaultInstance(),
org.apache.hadoop.shaded.com.google.protobuf.RpcUtil.generalizeCallback(
done,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.OptResponseProto.class,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.OptResponseProto.getDefaultInstance()));
}
}
public static BlockingInterface newBlockingStub(
org.apache.hadoop.shaded.com.google.protobuf.BlockingRpcChannel channel) {
return new BlockingStub(channel);
}
public interface BlockingInterface {
public org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto ping(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request)
throws org.apache.hadoop.shaded.com.google.protobuf.ServiceException;
public org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.OptResponseProto echo(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.OptRequestProto request)
throws org.apache.hadoop.shaded.com.google.protobuf.ServiceException;
}
private static final class BlockingStub implements BlockingInterface {
private BlockingStub(org.apache.hadoop.shaded.com.google.protobuf.BlockingRpcChannel channel) {
this.channel = channel;
}
private final org.apache.hadoop.shaded.com.google.protobuf.BlockingRpcChannel channel;
public org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto ping(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request)
throws org.apache.hadoop.shaded.com.google.protobuf.ServiceException {
return (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto) channel.callBlockingMethod(
getDescriptor().getMethods().get(0),
controller,
request,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.getDefaultInstance());
}
public org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.OptResponseProto echo(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.OptRequestProto request)
throws org.apache.hadoop.shaded.com.google.protobuf.ServiceException {
return (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.OptResponseProto) channel.callBlockingMethod(
getDescriptor().getMethods().get(1),
controller,
request,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.OptResponseProto.getDefaultInstance());
}
}
// @@protoc_insertion_point(class_scope:hadoop.org.apache.hadoop.shaded.com.on.NewProtobufRpcProto)
}
/**
* Protobuf service {@code hadoop.org.apache.hadoop.shaded.com.on.NewerProtobufRpcProto}
*/
public static abstract class NewerProtobufRpcProto
implements org.apache.hadoop.shaded.com.google.protobuf.Service {
protected NewerProtobufRpcProto() {}
public interface Interface {
/**
* rpc ping(.hadoop.org.apache.hadoop.shaded.com.on.EmptyRequestProto) returns (.hadoop.org.apache.hadoop.shaded.com.on.EmptyResponseProto);
*/
public abstract void ping(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done);
/**
* rpc echo(.hadoop.org.apache.hadoop.shaded.com.on.EmptyRequestProto) returns (.hadoop.org.apache.hadoop.shaded.com.on.EmptyResponseProto);
*/
public abstract void echo(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done);
}
public static org.apache.hadoop.shaded.com.google.protobuf.Service newReflectiveService(
final Interface impl) {
return new NewerProtobufRpcProto() {
@java.lang.Override
public void ping(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done) {
impl.ping(controller, request, done);
}
@java.lang.Override
public void echo(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done) {
impl.echo(controller, request, done);
}
};
}
public static org.apache.hadoop.shaded.com.google.protobuf.BlockingService
newReflectiveBlockingService(final BlockingInterface impl) {
return new org.apache.hadoop.shaded.com.google.protobuf.BlockingService() {
public final org.apache.hadoop.shaded.com.google.protobuf.Descriptors.ServiceDescriptor
getDescriptorForType() {
return getDescriptor();
}
public final org.apache.hadoop.shaded.com.google.protobuf.Message callBlockingMethod(
org.apache.hadoop.shaded.com.google.protobuf.Descriptors.MethodDescriptor method,
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.com.google.protobuf.Message request)
throws org.apache.hadoop.shaded.com.google.protobuf.ServiceException {
if (method.getService() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"Service.callBlockingMethod() given method descriptor for " +
"wrong service type.");
}
switch(method.getIndex()) {
case 0:
return impl.ping(controller, (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto)request);
case 1:
return impl.echo(controller, (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto)request);
default:
throw new java.lang.AssertionError("Can't get here.");
}
}
public final org.apache.hadoop.shaded.com.google.protobuf.Message
getRequestPrototype(
org.apache.hadoop.shaded.com.google.protobuf.Descriptors.MethodDescriptor method) {
if (method.getService() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"Service.getRequestPrototype() given method " +
"descriptor for wrong service type.");
}
switch(method.getIndex()) {
case 0:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto.getDefaultInstance();
case 1:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto.getDefaultInstance();
default:
throw new java.lang.AssertionError("Can't get here.");
}
}
public final org.apache.hadoop.shaded.com.google.protobuf.Message
getResponsePrototype(
org.apache.hadoop.shaded.com.google.protobuf.Descriptors.MethodDescriptor method) {
if (method.getService() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"Service.getResponsePrototype() given method " +
"descriptor for wrong service type.");
}
switch(method.getIndex()) {
case 0:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.getDefaultInstance();
case 1:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.getDefaultInstance();
default:
throw new java.lang.AssertionError("Can't get here.");
}
}
};
}
/**
* rpc ping(.hadoop.org.apache.hadoop.shaded.com.on.EmptyRequestProto) returns (.hadoop.org.apache.hadoop.shaded.com.on.EmptyResponseProto);
*/
public abstract void ping(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done);
/**
* rpc echo(.hadoop.org.apache.hadoop.shaded.com.on.EmptyRequestProto) returns (.hadoop.org.apache.hadoop.shaded.com.on.EmptyResponseProto);
*/
public abstract void echo(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done);
public static final
org.apache.hadoop.shaded.com.google.protobuf.Descriptors.ServiceDescriptor
getDescriptor() {
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestRpcServiceProtosLegacy.getDescriptor().getServices().get(4);
}
public final org.apache.hadoop.shaded.com.google.protobuf.Descriptors.ServiceDescriptor
getDescriptorForType() {
return getDescriptor();
}
public final void callMethod(
org.apache.hadoop.shaded.com.google.protobuf.Descriptors.MethodDescriptor method,
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.com.google.protobuf.Message request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback<
org.apache.hadoop.shaded.com.google.protobuf.Message> done) {
if (method.getService() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"Service.callMethod() given method descriptor for wrong " +
"service type.");
}
switch(method.getIndex()) {
case 0:
this.ping(controller, (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto)request,
org.apache.hadoop.shaded.com.google.protobuf.RpcUtil.specializeCallback(
done));
return;
case 1:
this.echo(controller, (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto)request,
org.apache.hadoop.shaded.com.google.protobuf.RpcUtil.specializeCallback(
done));
return;
default:
throw new java.lang.AssertionError("Can't get here.");
}
}
public final org.apache.hadoop.shaded.com.google.protobuf.Message
getRequestPrototype(
org.apache.hadoop.shaded.com.google.protobuf.Descriptors.MethodDescriptor method) {
if (method.getService() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"Service.getRequestPrototype() given method " +
"descriptor for wrong service type.");
}
switch(method.getIndex()) {
case 0:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto.getDefaultInstance();
case 1:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto.getDefaultInstance();
default:
throw new java.lang.AssertionError("Can't get here.");
}
}
public final org.apache.hadoop.shaded.com.google.protobuf.Message
getResponsePrototype(
org.apache.hadoop.shaded.com.google.protobuf.Descriptors.MethodDescriptor method) {
if (method.getService() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"Service.getResponsePrototype() given method " +
"descriptor for wrong service type.");
}
switch(method.getIndex()) {
case 0:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.getDefaultInstance();
case 1:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.getDefaultInstance();
default:
throw new java.lang.AssertionError("Can't get here.");
}
}
public static Stub newStub(
org.apache.hadoop.shaded.com.google.protobuf.RpcChannel channel) {
return new Stub(channel);
}
public static final class Stub extends org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestRpcServiceProtosLegacy.NewerProtobufRpcProto implements Interface {
private Stub(org.apache.hadoop.shaded.com.google.protobuf.RpcChannel channel) {
this.channel = channel;
}
private final org.apache.hadoop.shaded.com.google.protobuf.RpcChannel channel;
public org.apache.hadoop.shaded.com.google.protobuf.RpcChannel getChannel() {
return channel;
}
public void ping(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done) {
channel.callMethod(
getDescriptor().getMethods().get(0),
controller,
request,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.getDefaultInstance(),
org.apache.hadoop.shaded.com.google.protobuf.RpcUtil.generalizeCallback(
done,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.class,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.getDefaultInstance()));
}
public void echo(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done) {
channel.callMethod(
getDescriptor().getMethods().get(1),
controller,
request,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.getDefaultInstance(),
org.apache.hadoop.shaded.com.google.protobuf.RpcUtil.generalizeCallback(
done,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.class,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.getDefaultInstance()));
}
}
public static BlockingInterface newBlockingStub(
org.apache.hadoop.shaded.com.google.protobuf.BlockingRpcChannel channel) {
return new BlockingStub(channel);
}
public interface BlockingInterface {
public org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto ping(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request)
throws org.apache.hadoop.shaded.com.google.protobuf.ServiceException;
public org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto echo(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request)
throws org.apache.hadoop.shaded.com.google.protobuf.ServiceException;
}
private static final class BlockingStub implements BlockingInterface {
private BlockingStub(org.apache.hadoop.shaded.com.google.protobuf.BlockingRpcChannel channel) {
this.channel = channel;
}
private final org.apache.hadoop.shaded.com.google.protobuf.BlockingRpcChannel channel;
public org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto ping(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request)
throws org.apache.hadoop.shaded.com.google.protobuf.ServiceException {
return (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto) channel.callBlockingMethod(
getDescriptor().getMethods().get(0),
controller,
request,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.getDefaultInstance());
}
public org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto echo(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request)
throws org.apache.hadoop.shaded.com.google.protobuf.ServiceException {
return (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto) channel.callBlockingMethod(
getDescriptor().getMethods().get(1),
controller,
request,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.getDefaultInstance());
}
}
// @@protoc_insertion_point(class_scope:hadoop.org.apache.hadoop.shaded.com.on.NewerProtobufRpcProto)
}
/**
* Protobuf service {@code hadoop.org.apache.hadoop.shaded.com.on.CustomProto}
*/
public static abstract class CustomProto
implements org.apache.hadoop.shaded.com.google.protobuf.Service {
protected CustomProto() {}
public interface Interface {
/**
* rpc ping(.hadoop.org.apache.hadoop.shaded.com.on.EmptyRequestProto) returns (.hadoop.org.apache.hadoop.shaded.com.on.EmptyResponseProto);
*/
public abstract void ping(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done);
}
public static org.apache.hadoop.shaded.com.google.protobuf.Service newReflectiveService(
final Interface impl) {
return new CustomProto() {
@java.lang.Override
public void ping(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done) {
impl.ping(controller, request, done);
}
};
}
public static org.apache.hadoop.shaded.com.google.protobuf.BlockingService
newReflectiveBlockingService(final BlockingInterface impl) {
return new org.apache.hadoop.shaded.com.google.protobuf.BlockingService() {
public final org.apache.hadoop.shaded.com.google.protobuf.Descriptors.ServiceDescriptor
getDescriptorForType() {
return getDescriptor();
}
public final org.apache.hadoop.shaded.com.google.protobuf.Message callBlockingMethod(
org.apache.hadoop.shaded.com.google.protobuf.Descriptors.MethodDescriptor method,
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.com.google.protobuf.Message request)
throws org.apache.hadoop.shaded.com.google.protobuf.ServiceException {
if (method.getService() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"Service.callBlockingMethod() given method descriptor for " +
"wrong service type.");
}
switch(method.getIndex()) {
case 0:
return impl.ping(controller, (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto)request);
default:
throw new java.lang.AssertionError("Can't get here.");
}
}
public final org.apache.hadoop.shaded.com.google.protobuf.Message
getRequestPrototype(
org.apache.hadoop.shaded.com.google.protobuf.Descriptors.MethodDescriptor method) {
if (method.getService() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"Service.getRequestPrototype() given method " +
"descriptor for wrong service type.");
}
switch(method.getIndex()) {
case 0:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto.getDefaultInstance();
default:
throw new java.lang.AssertionError("Can't get here.");
}
}
public final org.apache.hadoop.shaded.com.google.protobuf.Message
getResponsePrototype(
org.apache.hadoop.shaded.com.google.protobuf.Descriptors.MethodDescriptor method) {
if (method.getService() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"Service.getResponsePrototype() given method " +
"descriptor for wrong service type.");
}
switch(method.getIndex()) {
case 0:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.getDefaultInstance();
default:
throw new java.lang.AssertionError("Can't get here.");
}
}
};
}
/**
* rpc ping(.hadoop.org.apache.hadoop.shaded.com.on.EmptyRequestProto) returns (.hadoop.org.apache.hadoop.shaded.com.on.EmptyResponseProto);
*/
public abstract void ping(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done);
public static final
org.apache.hadoop.shaded.com.google.protobuf.Descriptors.ServiceDescriptor
getDescriptor() {
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestRpcServiceProtosLegacy.getDescriptor().getServices().get(5);
}
public final org.apache.hadoop.shaded.com.google.protobuf.Descriptors.ServiceDescriptor
getDescriptorForType() {
return getDescriptor();
}
public final void callMethod(
org.apache.hadoop.shaded.com.google.protobuf.Descriptors.MethodDescriptor method,
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.com.google.protobuf.Message request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback<
org.apache.hadoop.shaded.com.google.protobuf.Message> done) {
if (method.getService() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"Service.callMethod() given method descriptor for wrong " +
"service type.");
}
switch(method.getIndex()) {
case 0:
this.ping(controller, (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto)request,
org.apache.hadoop.shaded.com.google.protobuf.RpcUtil.specializeCallback(
done));
return;
default:
throw new java.lang.AssertionError("Can't get here.");
}
}
public final org.apache.hadoop.shaded.com.google.protobuf.Message
getRequestPrototype(
org.apache.hadoop.shaded.com.google.protobuf.Descriptors.MethodDescriptor method) {
if (method.getService() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"Service.getRequestPrototype() given method " +
"descriptor for wrong service type.");
}
switch(method.getIndex()) {
case 0:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto.getDefaultInstance();
default:
throw new java.lang.AssertionError("Can't get here.");
}
}
public final org.apache.hadoop.shaded.com.google.protobuf.Message
getResponsePrototype(
org.apache.hadoop.shaded.com.google.protobuf.Descriptors.MethodDescriptor method) {
if (method.getService() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"Service.getResponsePrototype() given method " +
"descriptor for wrong service type.");
}
switch(method.getIndex()) {
case 0:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.getDefaultInstance();
default:
throw new java.lang.AssertionError("Can't get here.");
}
}
public static Stub newStub(
org.apache.hadoop.shaded.com.google.protobuf.RpcChannel channel) {
return new Stub(channel);
}
public static final class Stub extends org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestRpcServiceProtosLegacy.CustomProto implements Interface {
private Stub(org.apache.hadoop.shaded.com.google.protobuf.RpcChannel channel) {
this.channel = channel;
}
private final org.apache.hadoop.shaded.com.google.protobuf.RpcChannel channel;
public org.apache.hadoop.shaded.com.google.protobuf.RpcChannel getChannel() {
return channel;
}
public void ping(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done) {
channel.callMethod(
getDescriptor().getMethods().get(0),
controller,
request,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.getDefaultInstance(),
org.apache.hadoop.shaded.com.google.protobuf.RpcUtil.generalizeCallback(
done,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.class,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.getDefaultInstance()));
}
}
public static BlockingInterface newBlockingStub(
org.apache.hadoop.shaded.com.google.protobuf.BlockingRpcChannel channel) {
return new BlockingStub(channel);
}
public interface BlockingInterface {
public org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto ping(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request)
throws org.apache.hadoop.shaded.com.google.protobuf.ServiceException;
}
private static final class BlockingStub implements BlockingInterface {
private BlockingStub(org.apache.hadoop.shaded.com.google.protobuf.BlockingRpcChannel channel) {
this.channel = channel;
}
private final org.apache.hadoop.shaded.com.google.protobuf.BlockingRpcChannel channel;
public org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto ping(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyRequestProto request)
throws org.apache.hadoop.shaded.com.google.protobuf.ServiceException {
return (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto) channel.callBlockingMethod(
getDescriptor().getMethods().get(0),
controller,
request,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.EmptyResponseProto.getDefaultInstance());
}
}
// @@protoc_insertion_point(class_scope:hadoop.org.apache.hadoop.shaded.com.on.CustomProto)
}
/**
* Protobuf service {@code hadoop.org.apache.hadoop.shaded.com.on.TestProtobufRpcHandoffProto}
*/
public static abstract class TestProtobufRpcHandoffProto
implements org.apache.hadoop.shaded.com.google.protobuf.Service {
protected TestProtobufRpcHandoffProto() {}
public interface Interface {
/**
* rpc sleep(.hadoop.org.apache.hadoop.shaded.com.on.SleepRequestProto2) returns (.hadoop.org.apache.hadoop.shaded.com.on.SleepResponseProto2);
*/
public abstract void sleep(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.SleepRequestProto2 request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done);
}
public static org.apache.hadoop.shaded.com.google.protobuf.Service newReflectiveService(
final Interface impl) {
return new TestProtobufRpcHandoffProto() {
@java.lang.Override
public void sleep(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.SleepRequestProto2 request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done) {
impl.sleep(controller, request, done);
}
};
}
public static org.apache.hadoop.shaded.com.google.protobuf.BlockingService
newReflectiveBlockingService(final BlockingInterface impl) {
return new org.apache.hadoop.shaded.com.google.protobuf.BlockingService() {
public final org.apache.hadoop.shaded.com.google.protobuf.Descriptors.ServiceDescriptor
getDescriptorForType() {
return getDescriptor();
}
public final org.apache.hadoop.shaded.com.google.protobuf.Message callBlockingMethod(
org.apache.hadoop.shaded.com.google.protobuf.Descriptors.MethodDescriptor method,
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.com.google.protobuf.Message request)
throws org.apache.hadoop.shaded.com.google.protobuf.ServiceException {
if (method.getService() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"Service.callBlockingMethod() given method descriptor for " +
"wrong service type.");
}
switch(method.getIndex()) {
case 0:
return impl.sleep(controller, (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.SleepRequestProto2)request);
default:
throw new java.lang.AssertionError("Can't get here.");
}
}
public final org.apache.hadoop.shaded.com.google.protobuf.Message
getRequestPrototype(
org.apache.hadoop.shaded.com.google.protobuf.Descriptors.MethodDescriptor method) {
if (method.getService() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"Service.getRequestPrototype() given method " +
"descriptor for wrong service type.");
}
switch(method.getIndex()) {
case 0:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.SleepRequestProto2.getDefaultInstance();
default:
throw new java.lang.AssertionError("Can't get here.");
}
}
public final org.apache.hadoop.shaded.com.google.protobuf.Message
getResponsePrototype(
org.apache.hadoop.shaded.com.google.protobuf.Descriptors.MethodDescriptor method) {
if (method.getService() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"Service.getResponsePrototype() given method " +
"descriptor for wrong service type.");
}
switch(method.getIndex()) {
case 0:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.SleepResponseProto2.getDefaultInstance();
default:
throw new java.lang.AssertionError("Can't get here.");
}
}
};
}
/**
* rpc sleep(.hadoop.org.apache.hadoop.shaded.com.on.SleepRequestProto2) returns (.hadoop.org.apache.hadoop.shaded.com.on.SleepResponseProto2);
*/
public abstract void sleep(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.SleepRequestProto2 request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done);
public static final
org.apache.hadoop.shaded.com.google.protobuf.Descriptors.ServiceDescriptor
getDescriptor() {
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestRpcServiceProtosLegacy.getDescriptor().getServices().get(6);
}
public final org.apache.hadoop.shaded.com.google.protobuf.Descriptors.ServiceDescriptor
getDescriptorForType() {
return getDescriptor();
}
public final void callMethod(
org.apache.hadoop.shaded.com.google.protobuf.Descriptors.MethodDescriptor method,
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.com.google.protobuf.Message request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback<
org.apache.hadoop.shaded.com.google.protobuf.Message> done) {
if (method.getService() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"Service.callMethod() given method descriptor for wrong " +
"service type.");
}
switch(method.getIndex()) {
case 0:
this.sleep(controller, (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.SleepRequestProto2)request,
org.apache.hadoop.shaded.com.google.protobuf.RpcUtil.specializeCallback(
done));
return;
default:
throw new java.lang.AssertionError("Can't get here.");
}
}
public final org.apache.hadoop.shaded.com.google.protobuf.Message
getRequestPrototype(
org.apache.hadoop.shaded.com.google.protobuf.Descriptors.MethodDescriptor method) {
if (method.getService() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"Service.getRequestPrototype() given method " +
"descriptor for wrong service type.");
}
switch(method.getIndex()) {
case 0:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.SleepRequestProto2.getDefaultInstance();
default:
throw new java.lang.AssertionError("Can't get here.");
}
}
public final org.apache.hadoop.shaded.com.google.protobuf.Message
getResponsePrototype(
org.apache.hadoop.shaded.com.google.protobuf.Descriptors.MethodDescriptor method) {
if (method.getService() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"Service.getResponsePrototype() given method " +
"descriptor for wrong service type.");
}
switch(method.getIndex()) {
case 0:
return org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.SleepResponseProto2.getDefaultInstance();
default:
throw new java.lang.AssertionError("Can't get here.");
}
}
public static Stub newStub(
org.apache.hadoop.shaded.com.google.protobuf.RpcChannel channel) {
return new Stub(channel);
}
public static final class Stub extends org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestRpcServiceProtosLegacy.TestProtobufRpcHandoffProto implements Interface {
private Stub(org.apache.hadoop.shaded.com.google.protobuf.RpcChannel channel) {
this.channel = channel;
}
private final org.apache.hadoop.shaded.com.google.protobuf.RpcChannel channel;
public org.apache.hadoop.shaded.com.google.protobuf.RpcChannel getChannel() {
return channel;
}
public void sleep(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.SleepRequestProto2 request,
org.apache.hadoop.shaded.com.google.protobuf.RpcCallback done) {
channel.callMethod(
getDescriptor().getMethods().get(0),
controller,
request,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.SleepResponseProto2.getDefaultInstance(),
org.apache.hadoop.shaded.com.google.protobuf.RpcUtil.generalizeCallback(
done,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.SleepResponseProto2.class,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.SleepResponseProto2.getDefaultInstance()));
}
}
public static BlockingInterface newBlockingStub(
org.apache.hadoop.shaded.com.google.protobuf.BlockingRpcChannel channel) {
return new BlockingStub(channel);
}
public interface BlockingInterface {
public org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.SleepResponseProto2 sleep(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.SleepRequestProto2 request)
throws org.apache.hadoop.shaded.com.google.protobuf.ServiceException;
}
private static final class BlockingStub implements BlockingInterface {
private BlockingStub(org.apache.hadoop.shaded.com.google.protobuf.BlockingRpcChannel channel) {
this.channel = channel;
}
private final org.apache.hadoop.shaded.com.google.protobuf.BlockingRpcChannel channel;
public org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.SleepResponseProto2 sleep(
org.apache.hadoop.shaded.com.google.protobuf.RpcController controller,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.SleepRequestProto2 request)
throws org.apache.hadoop.shaded.com.google.protobuf.ServiceException {
return (org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.SleepResponseProto2) channel.callBlockingMethod(
getDescriptor().getMethods().get(0),
controller,
request,
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.SleepResponseProto2.getDefaultInstance());
}
}
// @@protoc_insertion_point(class_scope:hadoop.org.apache.hadoop.shaded.com.on.TestProtobufRpcHandoffProto)
}
public static org.apache.hadoop.shaded.com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static org.apache.hadoop.shaded.com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\035test_rpc_service_legacy.proto\022\rhadoop." +
"org.apache.hadoop.shaded.com.on\032\021test_legacy.proto2\330\013\n\024TestProtob" +
"ufRpcProto\022K\n\004ping\022 .hadoop.org.apache.hadoop.shaded.com.on.Empty" +
"RequestProto\032!.hadoop.org.apache.hadoop.shaded.com.on.EmptyRespon" +
"seProto\022I\n\004echo\022\037.hadoop.org.apache.hadoop.shaded.com.on.EchoRequ" +
"estProto\032 .hadoop.org.apache.hadoop.shaded.com.on.EchoResponsePro" +
"to\022L\n\005error\022 .hadoop.org.apache.hadoop.shaded.com.on.EmptyRequest" +
"Proto\032!.hadoop.org.apache.hadoop.shaded.com.on.EmptyResponseProto" +
"\022M\n\006error2\022 .hadoop.org.apache.hadoop.shaded.com.on.EmptyRequestP" +
"roto\032!.hadoop.org.apache.hadoop.shaded.com.on.EmptyResponseProto\022",
"R\n\010slowPing\022#.hadoop.org.apache.hadoop.shaded.com.on.SlowPingRequ" +
"estProto\032!.hadoop.org.apache.hadoop.shaded.com.on.EmptyResponsePr" +
"oto\022L\n\005echo2\022 .hadoop.org.apache.hadoop.shaded.com.on.EchoRequest" +
"Proto2\032!.hadoop.org.apache.hadoop.shaded.com.on.EchoResponseProto" +
"2\022F\n\003add\022\036.hadoop.org.apache.hadoop.shaded.com.on.AddRequestProto" +
"\032\037.hadoop.org.apache.hadoop.shaded.com.on.AddResponseProto\022H\n\004add" +
"2\022\037.hadoop.org.apache.hadoop.shaded.com.on.AddRequestProto2\032\037.had" +
"oop.org.apache.hadoop.shaded.com.on.AddResponseProto\022T\n\rtestServe" +
"rGet\022 .hadoop.org.apache.hadoop.shaded.com.on.EmptyRequestProto\032!" +
".hadoop.org.apache.hadoop.shaded.com.on.EmptyResponseProto\022U\n\010exc",
"hange\022#.hadoop.org.apache.hadoop.shaded.com.on.ExchangeRequestPro" +
"to\032$.hadoop.org.apache.hadoop.shaded.com.on.ExchangeResponseProto" +
"\022L\n\005sleep\022 .hadoop.org.apache.hadoop.shaded.com.on.SleepRequestPr" +
"oto\032!.hadoop.org.apache.hadoop.shaded.com.on.EmptyResponseProto\022S" +
"\n\014lockAndSleep\022 .hadoop.org.apache.hadoop.shaded.com.on.SleepRequ" +
"estProto\032!.hadoop.org.apache.hadoop.shaded.com.on.EmptyResponsePr" +
"oto\022Y\n\rgetAuthMethod\022 .hadoop.org.apache.hadoop.shaded.com.on.Emp" +
"tyRequestProto\032&.hadoop.org.apache.hadoop.shaded.com.on.AuthMetho" +
"dResponseProto\022Q\n\013getAuthUser\022 .hadoop.c" +
"ommon.EmptyRequestProto\032 .hadoop.org.apache.hadoop.shaded.com.on.",
"UserResponseProto\022R\n\rechoPostponed\022\037.had" +
"oop.org.apache.hadoop.shaded.com.on.EchoRequestProto\032 .hadoop.org.apache.hadoop.shaded.com. +
"mon.EchoResponseProto\022T\n\rsendPostponed\022 " +
".hadoop.org.apache.hadoop.shaded.com.on.EmptyRequestProto\032!.hadoo" +
"p.org.apache.hadoop.shaded.com.on.EmptyResponseProto\022T\n\016getCurren" +
"tUser\022 .hadoop.org.apache.hadoop.shaded.com.on.EmptyRequestProto\032" +
" .hadoop.org.apache.hadoop.shaded.com.on.UserResponseProto\022Y\n\023get" +
"ServerRemoteUser\022 .hadoop.org.apache.hadoop.shaded.com.on.EmptyRe" +
"questProto\032 .hadoop.org.apache.hadoop.shaded.com.on.UserResponseP" +
"roto2\377\001\n\025TestProtobufRpc2Proto\022L\n\005ping2\022",
" .hadoop.org.apache.hadoop.shaded.com.on.EmptyRequestProto\032!.hado" +
"op.org.apache.hadoop.shaded.com.on.EmptyResponseProto\022J\n\005echo2\022\037." +
"hadoop.org.apache.hadoop.shaded.com.on.EchoRequestProto\032 .hadoop." +
"org.apache.hadoop.shaded.com.on.EchoResponseProto\022L\n\005sleep\022 .hado" +
"op.org.apache.hadoop.shaded.com.on.SleepRequestProto\032!.hadoop.org.apache.hadoop.shaded.com. +
"mon.SleepResponseProto2\257\001\n\023OldProtobufRp" +
"cProto\022K\n\004ping\022 .hadoop.org.apache.hadoop.shaded.com.on.EmptyRequ" +
"estProto\032!.hadoop.org.apache.hadoop.shaded.com.on.EmptyResponsePr" +
"oto\022K\n\004echo\022 .hadoop.org.apache.hadoop.shaded.com.on.EmptyRequest" +
"Proto\032!.hadoop.org.apache.hadoop.shaded.com.on.EmptyResponseProto",
"2\253\001\n\023NewProtobufRpcProto\022K\n\004ping\022 .hadoo" +
"p.org.apache.hadoop.shaded.com.on.EmptyRequestProto\032!.hadoop.org.apache.hadoop.shaded.com." +
"on.EmptyResponseProto\022G\n\004echo\022\036.hadoop.c" +
"ommon.OptRequestProto\032\037.hadoop.org.apache.hadoop.shaded.com.on.Op" +
"tResponseProto2\261\001\n\025NewerProtobufRpcProto" +
"\022K\n\004ping\022 .hadoop.org.apache.hadoop.shaded.com.on.EmptyRequestPro" +
"to\032!.hadoop.org.apache.hadoop.shaded.com.on.EmptyResponseProto\022K\n" +
"\004echo\022 .hadoop.org.apache.hadoop.shaded.com.on.EmptyRequestProto\032" +
"!.hadoop.org.apache.hadoop.shaded.com.on.EmptyResponseProto2Z\n\013Cu" +
"stomProto\022K\n\004ping\022 .hadoop.org.apache.hadoop.shaded.com.on.EmptyR",
"equestProto\032!.hadoop.org.apache.hadoop.shaded.com.on.EmptyRespons" +
"eProto2m\n\033TestProtobufRpcHandoffProto\022N\n" +
"\005sleep\022!.hadoop.org.apache.hadoop.shaded.com.on.SleepRequestProto" +
"2\032\".hadoop.org.apache.hadoop.shaded.com.on.SleepResponseProto2BB\n" +
"\036org.apache.hadoop.ipc.protobufB\032TestRpc" +
"ServiceProtosLegacy\210\001\001\240\001\001"
};
org.apache.hadoop.shaded.com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new org.apache.hadoop.shaded.com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
public org.apache.hadoop.shaded.com.google.protobuf.ExtensionRegistry assignDescriptors(
org.apache.hadoop.shaded.com.google.protobuf.Descriptors.FileDescriptor root) {
descriptor = root;
return null;
}
};
org.apache.hadoop.shaded.com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new org.apache.hadoop.shaded.com.google.protobuf.Descriptors.FileDescriptor[] {
org.apache.hadoop.shaded.org.apache.hadoop.ipc.protobuf.TestProtosLegacy.getDescriptor(),
}, assigner);
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy