Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
org.apache.hadoop.yarn.proto.ApplicationClientProtocol Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: applicationclient_protocol.proto
package org.apache.hadoop.yarn.proto;
public final class ApplicationClientProtocol {
private ApplicationClientProtocol() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
}
/**
* Protobuf service {@code hadoop.yarn.ApplicationClientProtocolService}
*/
public static abstract class ApplicationClientProtocolService
implements com.google.protobuf.Service {
protected ApplicationClientProtocolService() {}
public interface Interface {
/**
* rpc getNewApplication(.hadoop.yarn.GetNewApplicationRequestProto) returns (.hadoop.yarn.GetNewApplicationResponseProto);
*/
public abstract void getNewApplication(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetNewApplicationRequestProto request,
com.google.protobuf.RpcCallback done);
/**
* rpc getApplicationReport(.hadoop.yarn.GetApplicationReportRequestProto) returns (.hadoop.yarn.GetApplicationReportResponseProto);
*/
public abstract void getApplicationReport(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationReportRequestProto request,
com.google.protobuf.RpcCallback done);
/**
* rpc submitApplication(.hadoop.yarn.SubmitApplicationRequestProto) returns (.hadoop.yarn.SubmitApplicationResponseProto);
*/
public abstract void submitApplication(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.SubmitApplicationRequestProto request,
com.google.protobuf.RpcCallback done);
/**
* rpc forceKillApplication(.hadoop.yarn.KillApplicationRequestProto) returns (.hadoop.yarn.KillApplicationResponseProto);
*/
public abstract void forceKillApplication(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.KillApplicationRequestProto request,
com.google.protobuf.RpcCallback done);
/**
* rpc getClusterMetrics(.hadoop.yarn.GetClusterMetricsRequestProto) returns (.hadoop.yarn.GetClusterMetricsResponseProto);
*/
public abstract void getClusterMetrics(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetClusterMetricsRequestProto request,
com.google.protobuf.RpcCallback done);
/**
* rpc getApplications(.hadoop.yarn.GetApplicationsRequestProto) returns (.hadoop.yarn.GetApplicationsResponseProto);
*/
public abstract void getApplications(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationsRequestProto request,
com.google.protobuf.RpcCallback done);
/**
* rpc getClusterNodes(.hadoop.yarn.GetClusterNodesRequestProto) returns (.hadoop.yarn.GetClusterNodesResponseProto);
*/
public abstract void getClusterNodes(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetClusterNodesRequestProto request,
com.google.protobuf.RpcCallback done);
/**
* rpc getQueueInfo(.hadoop.yarn.GetQueueInfoRequestProto) returns (.hadoop.yarn.GetQueueInfoResponseProto);
*/
public abstract void getQueueInfo(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetQueueInfoRequestProto request,
com.google.protobuf.RpcCallback done);
/**
* rpc getQueueUserAcls(.hadoop.yarn.GetQueueUserAclsInfoRequestProto) returns (.hadoop.yarn.GetQueueUserAclsInfoResponseProto);
*/
public abstract void getQueueUserAcls(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetQueueUserAclsInfoRequestProto request,
com.google.protobuf.RpcCallback done);
/**
* rpc getDelegationToken(.hadoop.common.GetDelegationTokenRequestProto) returns (.hadoop.common.GetDelegationTokenResponseProto);
*/
public abstract void getDelegationToken(
com.google.protobuf.RpcController controller,
org.apache.hadoop.security.proto.SecurityProtos.GetDelegationTokenRequestProto request,
com.google.protobuf.RpcCallback done);
/**
* rpc renewDelegationToken(.hadoop.common.RenewDelegationTokenRequestProto) returns (.hadoop.common.RenewDelegationTokenResponseProto);
*/
public abstract void renewDelegationToken(
com.google.protobuf.RpcController controller,
org.apache.hadoop.security.proto.SecurityProtos.RenewDelegationTokenRequestProto request,
com.google.protobuf.RpcCallback done);
/**
* rpc cancelDelegationToken(.hadoop.common.CancelDelegationTokenRequestProto) returns (.hadoop.common.CancelDelegationTokenResponseProto);
*/
public abstract void cancelDelegationToken(
com.google.protobuf.RpcController controller,
org.apache.hadoop.security.proto.SecurityProtos.CancelDelegationTokenRequestProto request,
com.google.protobuf.RpcCallback done);
/**
* rpc moveApplicationAcrossQueues(.hadoop.yarn.MoveApplicationAcrossQueuesRequestProto) returns (.hadoop.yarn.MoveApplicationAcrossQueuesResponseProto);
*/
public abstract void moveApplicationAcrossQueues(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.MoveApplicationAcrossQueuesRequestProto request,
com.google.protobuf.RpcCallback done);
/**
* rpc getApplicationAttemptReport(.hadoop.yarn.GetApplicationAttemptReportRequestProto) returns (.hadoop.yarn.GetApplicationAttemptReportResponseProto);
*/
public abstract void getApplicationAttemptReport(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationAttemptReportRequestProto request,
com.google.protobuf.RpcCallback done);
/**
* rpc getApplicationAttempts(.hadoop.yarn.GetApplicationAttemptsRequestProto) returns (.hadoop.yarn.GetApplicationAttemptsResponseProto);
*/
public abstract void getApplicationAttempts(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationAttemptsRequestProto request,
com.google.protobuf.RpcCallback done);
/**
* rpc getContainerReport(.hadoop.yarn.GetContainerReportRequestProto) returns (.hadoop.yarn.GetContainerReportResponseProto);
*/
public abstract void getContainerReport(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetContainerReportRequestProto request,
com.google.protobuf.RpcCallback done);
/**
* rpc getContainers(.hadoop.yarn.GetContainersRequestProto) returns (.hadoop.yarn.GetContainersResponseProto);
*/
public abstract void getContainers(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetContainersRequestProto request,
com.google.protobuf.RpcCallback done);
/**
* rpc submitReservation(.hadoop.yarn.ReservationSubmissionRequestProto) returns (.hadoop.yarn.ReservationSubmissionResponseProto);
*/
public abstract void submitReservation(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.ReservationSubmissionRequestProto request,
com.google.protobuf.RpcCallback done);
/**
* rpc updateReservation(.hadoop.yarn.ReservationUpdateRequestProto) returns (.hadoop.yarn.ReservationUpdateResponseProto);
*/
public abstract void updateReservation(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.ReservationUpdateRequestProto request,
com.google.protobuf.RpcCallback done);
/**
* rpc deleteReservation(.hadoop.yarn.ReservationDeleteRequestProto) returns (.hadoop.yarn.ReservationDeleteResponseProto);
*/
public abstract void deleteReservation(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.ReservationDeleteRequestProto request,
com.google.protobuf.RpcCallback done);
/**
* rpc getNodeToLabels(.hadoop.yarn.GetNodesToLabelsRequestProto) returns (.hadoop.yarn.GetNodesToLabelsResponseProto);
*/
public abstract void getNodeToLabels(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetNodesToLabelsRequestProto request,
com.google.protobuf.RpcCallback done);
/**
* rpc getClusterNodeLabels(.hadoop.yarn.GetClusterNodeLabelsRequestProto) returns (.hadoop.yarn.GetClusterNodeLabelsResponseProto);
*/
public abstract void getClusterNodeLabels(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetClusterNodeLabelsRequestProto request,
com.google.protobuf.RpcCallback done);
}
public static com.google.protobuf.Service newReflectiveService(
final Interface impl) {
return new ApplicationClientProtocolService() {
@java.lang.Override
public void getNewApplication(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetNewApplicationRequestProto request,
com.google.protobuf.RpcCallback done) {
impl.getNewApplication(controller, request, done);
}
@java.lang.Override
public void getApplicationReport(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationReportRequestProto request,
com.google.protobuf.RpcCallback done) {
impl.getApplicationReport(controller, request, done);
}
@java.lang.Override
public void submitApplication(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.SubmitApplicationRequestProto request,
com.google.protobuf.RpcCallback done) {
impl.submitApplication(controller, request, done);
}
@java.lang.Override
public void forceKillApplication(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.KillApplicationRequestProto request,
com.google.protobuf.RpcCallback done) {
impl.forceKillApplication(controller, request, done);
}
@java.lang.Override
public void getClusterMetrics(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetClusterMetricsRequestProto request,
com.google.protobuf.RpcCallback done) {
impl.getClusterMetrics(controller, request, done);
}
@java.lang.Override
public void getApplications(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationsRequestProto request,
com.google.protobuf.RpcCallback done) {
impl.getApplications(controller, request, done);
}
@java.lang.Override
public void getClusterNodes(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetClusterNodesRequestProto request,
com.google.protobuf.RpcCallback done) {
impl.getClusterNodes(controller, request, done);
}
@java.lang.Override
public void getQueueInfo(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetQueueInfoRequestProto request,
com.google.protobuf.RpcCallback done) {
impl.getQueueInfo(controller, request, done);
}
@java.lang.Override
public void getQueueUserAcls(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetQueueUserAclsInfoRequestProto request,
com.google.protobuf.RpcCallback done) {
impl.getQueueUserAcls(controller, request, done);
}
@java.lang.Override
public void getDelegationToken(
com.google.protobuf.RpcController controller,
org.apache.hadoop.security.proto.SecurityProtos.GetDelegationTokenRequestProto request,
com.google.protobuf.RpcCallback done) {
impl.getDelegationToken(controller, request, done);
}
@java.lang.Override
public void renewDelegationToken(
com.google.protobuf.RpcController controller,
org.apache.hadoop.security.proto.SecurityProtos.RenewDelegationTokenRequestProto request,
com.google.protobuf.RpcCallback done) {
impl.renewDelegationToken(controller, request, done);
}
@java.lang.Override
public void cancelDelegationToken(
com.google.protobuf.RpcController controller,
org.apache.hadoop.security.proto.SecurityProtos.CancelDelegationTokenRequestProto request,
com.google.protobuf.RpcCallback done) {
impl.cancelDelegationToken(controller, request, done);
}
@java.lang.Override
public void moveApplicationAcrossQueues(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.MoveApplicationAcrossQueuesRequestProto request,
com.google.protobuf.RpcCallback done) {
impl.moveApplicationAcrossQueues(controller, request, done);
}
@java.lang.Override
public void getApplicationAttemptReport(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationAttemptReportRequestProto request,
com.google.protobuf.RpcCallback done) {
impl.getApplicationAttemptReport(controller, request, done);
}
@java.lang.Override
public void getApplicationAttempts(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationAttemptsRequestProto request,
com.google.protobuf.RpcCallback done) {
impl.getApplicationAttempts(controller, request, done);
}
@java.lang.Override
public void getContainerReport(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetContainerReportRequestProto request,
com.google.protobuf.RpcCallback done) {
impl.getContainerReport(controller, request, done);
}
@java.lang.Override
public void getContainers(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetContainersRequestProto request,
com.google.protobuf.RpcCallback done) {
impl.getContainers(controller, request, done);
}
@java.lang.Override
public void submitReservation(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.ReservationSubmissionRequestProto request,
com.google.protobuf.RpcCallback done) {
impl.submitReservation(controller, request, done);
}
@java.lang.Override
public void updateReservation(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.ReservationUpdateRequestProto request,
com.google.protobuf.RpcCallback done) {
impl.updateReservation(controller, request, done);
}
@java.lang.Override
public void deleteReservation(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.ReservationDeleteRequestProto request,
com.google.protobuf.RpcCallback done) {
impl.deleteReservation(controller, request, done);
}
@java.lang.Override
public void getNodeToLabels(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetNodesToLabelsRequestProto request,
com.google.protobuf.RpcCallback done) {
impl.getNodeToLabels(controller, request, done);
}
@java.lang.Override
public void getClusterNodeLabels(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetClusterNodeLabelsRequestProto request,
com.google.protobuf.RpcCallback done) {
impl.getClusterNodeLabels(controller, request, done);
}
};
}
public static com.google.protobuf.BlockingService
newReflectiveBlockingService(final BlockingInterface impl) {
return new com.google.protobuf.BlockingService() {
public final com.google.protobuf.Descriptors.ServiceDescriptor
getDescriptorForType() {
return getDescriptor();
}
public final com.google.protobuf.Message callBlockingMethod(
com.google.protobuf.Descriptors.MethodDescriptor method,
com.google.protobuf.RpcController controller,
com.google.protobuf.Message request)
throws 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.getNewApplication(controller, (org.apache.hadoop.yarn.proto.YarnServiceProtos.GetNewApplicationRequestProto)request);
case 1:
return impl.getApplicationReport(controller, (org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationReportRequestProto)request);
case 2:
return impl.submitApplication(controller, (org.apache.hadoop.yarn.proto.YarnServiceProtos.SubmitApplicationRequestProto)request);
case 3:
return impl.forceKillApplication(controller, (org.apache.hadoop.yarn.proto.YarnServiceProtos.KillApplicationRequestProto)request);
case 4:
return impl.getClusterMetrics(controller, (org.apache.hadoop.yarn.proto.YarnServiceProtos.GetClusterMetricsRequestProto)request);
case 5:
return impl.getApplications(controller, (org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationsRequestProto)request);
case 6:
return impl.getClusterNodes(controller, (org.apache.hadoop.yarn.proto.YarnServiceProtos.GetClusterNodesRequestProto)request);
case 7:
return impl.getQueueInfo(controller, (org.apache.hadoop.yarn.proto.YarnServiceProtos.GetQueueInfoRequestProto)request);
case 8:
return impl.getQueueUserAcls(controller, (org.apache.hadoop.yarn.proto.YarnServiceProtos.GetQueueUserAclsInfoRequestProto)request);
case 9:
return impl.getDelegationToken(controller, (org.apache.hadoop.security.proto.SecurityProtos.GetDelegationTokenRequestProto)request);
case 10:
return impl.renewDelegationToken(controller, (org.apache.hadoop.security.proto.SecurityProtos.RenewDelegationTokenRequestProto)request);
case 11:
return impl.cancelDelegationToken(controller, (org.apache.hadoop.security.proto.SecurityProtos.CancelDelegationTokenRequestProto)request);
case 12:
return impl.moveApplicationAcrossQueues(controller, (org.apache.hadoop.yarn.proto.YarnServiceProtos.MoveApplicationAcrossQueuesRequestProto)request);
case 13:
return impl.getApplicationAttemptReport(controller, (org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationAttemptReportRequestProto)request);
case 14:
return impl.getApplicationAttempts(controller, (org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationAttemptsRequestProto)request);
case 15:
return impl.getContainerReport(controller, (org.apache.hadoop.yarn.proto.YarnServiceProtos.GetContainerReportRequestProto)request);
case 16:
return impl.getContainers(controller, (org.apache.hadoop.yarn.proto.YarnServiceProtos.GetContainersRequestProto)request);
case 17:
return impl.submitReservation(controller, (org.apache.hadoop.yarn.proto.YarnServiceProtos.ReservationSubmissionRequestProto)request);
case 18:
return impl.updateReservation(controller, (org.apache.hadoop.yarn.proto.YarnServiceProtos.ReservationUpdateRequestProto)request);
case 19:
return impl.deleteReservation(controller, (org.apache.hadoop.yarn.proto.YarnServiceProtos.ReservationDeleteRequestProto)request);
case 20:
return impl.getNodeToLabels(controller, (org.apache.hadoop.yarn.proto.YarnServiceProtos.GetNodesToLabelsRequestProto)request);
case 21:
return impl.getClusterNodeLabels(controller, (org.apache.hadoop.yarn.proto.YarnServiceProtos.GetClusterNodeLabelsRequestProto)request);
default:
throw new java.lang.AssertionError("Can't get here.");
}
}
public final com.google.protobuf.Message
getRequestPrototype(
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.yarn.proto.YarnServiceProtos.GetNewApplicationRequestProto.getDefaultInstance();
case 1:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationReportRequestProto.getDefaultInstance();
case 2:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.SubmitApplicationRequestProto.getDefaultInstance();
case 3:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.KillApplicationRequestProto.getDefaultInstance();
case 4:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.GetClusterMetricsRequestProto.getDefaultInstance();
case 5:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationsRequestProto.getDefaultInstance();
case 6:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.GetClusterNodesRequestProto.getDefaultInstance();
case 7:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.GetQueueInfoRequestProto.getDefaultInstance();
case 8:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.GetQueueUserAclsInfoRequestProto.getDefaultInstance();
case 9:
return org.apache.hadoop.security.proto.SecurityProtos.GetDelegationTokenRequestProto.getDefaultInstance();
case 10:
return org.apache.hadoop.security.proto.SecurityProtos.RenewDelegationTokenRequestProto.getDefaultInstance();
case 11:
return org.apache.hadoop.security.proto.SecurityProtos.CancelDelegationTokenRequestProto.getDefaultInstance();
case 12:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.MoveApplicationAcrossQueuesRequestProto.getDefaultInstance();
case 13:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationAttemptReportRequestProto.getDefaultInstance();
case 14:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationAttemptsRequestProto.getDefaultInstance();
case 15:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.GetContainerReportRequestProto.getDefaultInstance();
case 16:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.GetContainersRequestProto.getDefaultInstance();
case 17:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.ReservationSubmissionRequestProto.getDefaultInstance();
case 18:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.ReservationUpdateRequestProto.getDefaultInstance();
case 19:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.ReservationDeleteRequestProto.getDefaultInstance();
case 20:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.GetNodesToLabelsRequestProto.getDefaultInstance();
case 21:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.GetClusterNodeLabelsRequestProto.getDefaultInstance();
default:
throw new java.lang.AssertionError("Can't get here.");
}
}
public final com.google.protobuf.Message
getResponsePrototype(
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.yarn.proto.YarnServiceProtos.GetNewApplicationResponseProto.getDefaultInstance();
case 1:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationReportResponseProto.getDefaultInstance();
case 2:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.SubmitApplicationResponseProto.getDefaultInstance();
case 3:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.KillApplicationResponseProto.getDefaultInstance();
case 4:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.GetClusterMetricsResponseProto.getDefaultInstance();
case 5:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationsResponseProto.getDefaultInstance();
case 6:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.GetClusterNodesResponseProto.getDefaultInstance();
case 7:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.GetQueueInfoResponseProto.getDefaultInstance();
case 8:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.GetQueueUserAclsInfoResponseProto.getDefaultInstance();
case 9:
return org.apache.hadoop.security.proto.SecurityProtos.GetDelegationTokenResponseProto.getDefaultInstance();
case 10:
return org.apache.hadoop.security.proto.SecurityProtos.RenewDelegationTokenResponseProto.getDefaultInstance();
case 11:
return org.apache.hadoop.security.proto.SecurityProtos.CancelDelegationTokenResponseProto.getDefaultInstance();
case 12:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.MoveApplicationAcrossQueuesResponseProto.getDefaultInstance();
case 13:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationAttemptReportResponseProto.getDefaultInstance();
case 14:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationAttemptsResponseProto.getDefaultInstance();
case 15:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.GetContainerReportResponseProto.getDefaultInstance();
case 16:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.GetContainersResponseProto.getDefaultInstance();
case 17:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.ReservationSubmissionResponseProto.getDefaultInstance();
case 18:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.ReservationUpdateResponseProto.getDefaultInstance();
case 19:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.ReservationDeleteResponseProto.getDefaultInstance();
case 20:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.GetNodesToLabelsResponseProto.getDefaultInstance();
case 21:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.GetClusterNodeLabelsResponseProto.getDefaultInstance();
default:
throw new java.lang.AssertionError("Can't get here.");
}
}
};
}
/**
* rpc getNewApplication(.hadoop.yarn.GetNewApplicationRequestProto) returns (.hadoop.yarn.GetNewApplicationResponseProto);
*/
public abstract void getNewApplication(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetNewApplicationRequestProto request,
com.google.protobuf.RpcCallback done);
/**
* rpc getApplicationReport(.hadoop.yarn.GetApplicationReportRequestProto) returns (.hadoop.yarn.GetApplicationReportResponseProto);
*/
public abstract void getApplicationReport(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationReportRequestProto request,
com.google.protobuf.RpcCallback done);
/**
* rpc submitApplication(.hadoop.yarn.SubmitApplicationRequestProto) returns (.hadoop.yarn.SubmitApplicationResponseProto);
*/
public abstract void submitApplication(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.SubmitApplicationRequestProto request,
com.google.protobuf.RpcCallback done);
/**
* rpc forceKillApplication(.hadoop.yarn.KillApplicationRequestProto) returns (.hadoop.yarn.KillApplicationResponseProto);
*/
public abstract void forceKillApplication(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.KillApplicationRequestProto request,
com.google.protobuf.RpcCallback done);
/**
* rpc getClusterMetrics(.hadoop.yarn.GetClusterMetricsRequestProto) returns (.hadoop.yarn.GetClusterMetricsResponseProto);
*/
public abstract void getClusterMetrics(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetClusterMetricsRequestProto request,
com.google.protobuf.RpcCallback done);
/**
* rpc getApplications(.hadoop.yarn.GetApplicationsRequestProto) returns (.hadoop.yarn.GetApplicationsResponseProto);
*/
public abstract void getApplications(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationsRequestProto request,
com.google.protobuf.RpcCallback done);
/**
* rpc getClusterNodes(.hadoop.yarn.GetClusterNodesRequestProto) returns (.hadoop.yarn.GetClusterNodesResponseProto);
*/
public abstract void getClusterNodes(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetClusterNodesRequestProto request,
com.google.protobuf.RpcCallback done);
/**
* rpc getQueueInfo(.hadoop.yarn.GetQueueInfoRequestProto) returns (.hadoop.yarn.GetQueueInfoResponseProto);
*/
public abstract void getQueueInfo(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetQueueInfoRequestProto request,
com.google.protobuf.RpcCallback done);
/**
* rpc getQueueUserAcls(.hadoop.yarn.GetQueueUserAclsInfoRequestProto) returns (.hadoop.yarn.GetQueueUserAclsInfoResponseProto);
*/
public abstract void getQueueUserAcls(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetQueueUserAclsInfoRequestProto request,
com.google.protobuf.RpcCallback done);
/**
* rpc getDelegationToken(.hadoop.common.GetDelegationTokenRequestProto) returns (.hadoop.common.GetDelegationTokenResponseProto);
*/
public abstract void getDelegationToken(
com.google.protobuf.RpcController controller,
org.apache.hadoop.security.proto.SecurityProtos.GetDelegationTokenRequestProto request,
com.google.protobuf.RpcCallback done);
/**
* rpc renewDelegationToken(.hadoop.common.RenewDelegationTokenRequestProto) returns (.hadoop.common.RenewDelegationTokenResponseProto);
*/
public abstract void renewDelegationToken(
com.google.protobuf.RpcController controller,
org.apache.hadoop.security.proto.SecurityProtos.RenewDelegationTokenRequestProto request,
com.google.protobuf.RpcCallback done);
/**
* rpc cancelDelegationToken(.hadoop.common.CancelDelegationTokenRequestProto) returns (.hadoop.common.CancelDelegationTokenResponseProto);
*/
public abstract void cancelDelegationToken(
com.google.protobuf.RpcController controller,
org.apache.hadoop.security.proto.SecurityProtos.CancelDelegationTokenRequestProto request,
com.google.protobuf.RpcCallback done);
/**
* rpc moveApplicationAcrossQueues(.hadoop.yarn.MoveApplicationAcrossQueuesRequestProto) returns (.hadoop.yarn.MoveApplicationAcrossQueuesResponseProto);
*/
public abstract void moveApplicationAcrossQueues(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.MoveApplicationAcrossQueuesRequestProto request,
com.google.protobuf.RpcCallback done);
/**
* rpc getApplicationAttemptReport(.hadoop.yarn.GetApplicationAttemptReportRequestProto) returns (.hadoop.yarn.GetApplicationAttemptReportResponseProto);
*/
public abstract void getApplicationAttemptReport(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationAttemptReportRequestProto request,
com.google.protobuf.RpcCallback done);
/**
* rpc getApplicationAttempts(.hadoop.yarn.GetApplicationAttemptsRequestProto) returns (.hadoop.yarn.GetApplicationAttemptsResponseProto);
*/
public abstract void getApplicationAttempts(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationAttemptsRequestProto request,
com.google.protobuf.RpcCallback done);
/**
* rpc getContainerReport(.hadoop.yarn.GetContainerReportRequestProto) returns (.hadoop.yarn.GetContainerReportResponseProto);
*/
public abstract void getContainerReport(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetContainerReportRequestProto request,
com.google.protobuf.RpcCallback done);
/**
* rpc getContainers(.hadoop.yarn.GetContainersRequestProto) returns (.hadoop.yarn.GetContainersResponseProto);
*/
public abstract void getContainers(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetContainersRequestProto request,
com.google.protobuf.RpcCallback done);
/**
* rpc submitReservation(.hadoop.yarn.ReservationSubmissionRequestProto) returns (.hadoop.yarn.ReservationSubmissionResponseProto);
*/
public abstract void submitReservation(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.ReservationSubmissionRequestProto request,
com.google.protobuf.RpcCallback done);
/**
* rpc updateReservation(.hadoop.yarn.ReservationUpdateRequestProto) returns (.hadoop.yarn.ReservationUpdateResponseProto);
*/
public abstract void updateReservation(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.ReservationUpdateRequestProto request,
com.google.protobuf.RpcCallback done);
/**
* rpc deleteReservation(.hadoop.yarn.ReservationDeleteRequestProto) returns (.hadoop.yarn.ReservationDeleteResponseProto);
*/
public abstract void deleteReservation(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.ReservationDeleteRequestProto request,
com.google.protobuf.RpcCallback done);
/**
* rpc getNodeToLabels(.hadoop.yarn.GetNodesToLabelsRequestProto) returns (.hadoop.yarn.GetNodesToLabelsResponseProto);
*/
public abstract void getNodeToLabels(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetNodesToLabelsRequestProto request,
com.google.protobuf.RpcCallback done);
/**
* rpc getClusterNodeLabels(.hadoop.yarn.GetClusterNodeLabelsRequestProto) returns (.hadoop.yarn.GetClusterNodeLabelsResponseProto);
*/
public abstract void getClusterNodeLabels(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetClusterNodeLabelsRequestProto request,
com.google.protobuf.RpcCallback done);
public static final
com.google.protobuf.Descriptors.ServiceDescriptor
getDescriptor() {
return org.apache.hadoop.yarn.proto.ApplicationClientProtocol.getDescriptor().getServices().get(0);
}
public final com.google.protobuf.Descriptors.ServiceDescriptor
getDescriptorForType() {
return getDescriptor();
}
public final void callMethod(
com.google.protobuf.Descriptors.MethodDescriptor method,
com.google.protobuf.RpcController controller,
com.google.protobuf.Message request,
com.google.protobuf.RpcCallback<
com.google.protobuf.Message> done) {
if (method.getService() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"Service.callMethod() given method descriptor for wrong " +
"service type.");
}
switch(method.getIndex()) {
case 0:
this.getNewApplication(controller, (org.apache.hadoop.yarn.proto.YarnServiceProtos.GetNewApplicationRequestProto)request,
com.google.protobuf.RpcUtil.specializeCallback(
done));
return;
case 1:
this.getApplicationReport(controller, (org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationReportRequestProto)request,
com.google.protobuf.RpcUtil.specializeCallback(
done));
return;
case 2:
this.submitApplication(controller, (org.apache.hadoop.yarn.proto.YarnServiceProtos.SubmitApplicationRequestProto)request,
com.google.protobuf.RpcUtil.specializeCallback(
done));
return;
case 3:
this.forceKillApplication(controller, (org.apache.hadoop.yarn.proto.YarnServiceProtos.KillApplicationRequestProto)request,
com.google.protobuf.RpcUtil.specializeCallback(
done));
return;
case 4:
this.getClusterMetrics(controller, (org.apache.hadoop.yarn.proto.YarnServiceProtos.GetClusterMetricsRequestProto)request,
com.google.protobuf.RpcUtil.specializeCallback(
done));
return;
case 5:
this.getApplications(controller, (org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationsRequestProto)request,
com.google.protobuf.RpcUtil.specializeCallback(
done));
return;
case 6:
this.getClusterNodes(controller, (org.apache.hadoop.yarn.proto.YarnServiceProtos.GetClusterNodesRequestProto)request,
com.google.protobuf.RpcUtil.specializeCallback(
done));
return;
case 7:
this.getQueueInfo(controller, (org.apache.hadoop.yarn.proto.YarnServiceProtos.GetQueueInfoRequestProto)request,
com.google.protobuf.RpcUtil.specializeCallback(
done));
return;
case 8:
this.getQueueUserAcls(controller, (org.apache.hadoop.yarn.proto.YarnServiceProtos.GetQueueUserAclsInfoRequestProto)request,
com.google.protobuf.RpcUtil.specializeCallback(
done));
return;
case 9:
this.getDelegationToken(controller, (org.apache.hadoop.security.proto.SecurityProtos.GetDelegationTokenRequestProto)request,
com.google.protobuf.RpcUtil.specializeCallback(
done));
return;
case 10:
this.renewDelegationToken(controller, (org.apache.hadoop.security.proto.SecurityProtos.RenewDelegationTokenRequestProto)request,
com.google.protobuf.RpcUtil.specializeCallback(
done));
return;
case 11:
this.cancelDelegationToken(controller, (org.apache.hadoop.security.proto.SecurityProtos.CancelDelegationTokenRequestProto)request,
com.google.protobuf.RpcUtil.specializeCallback(
done));
return;
case 12:
this.moveApplicationAcrossQueues(controller, (org.apache.hadoop.yarn.proto.YarnServiceProtos.MoveApplicationAcrossQueuesRequestProto)request,
com.google.protobuf.RpcUtil.specializeCallback(
done));
return;
case 13:
this.getApplicationAttemptReport(controller, (org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationAttemptReportRequestProto)request,
com.google.protobuf.RpcUtil.specializeCallback(
done));
return;
case 14:
this.getApplicationAttempts(controller, (org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationAttemptsRequestProto)request,
com.google.protobuf.RpcUtil.specializeCallback(
done));
return;
case 15:
this.getContainerReport(controller, (org.apache.hadoop.yarn.proto.YarnServiceProtos.GetContainerReportRequestProto)request,
com.google.protobuf.RpcUtil.specializeCallback(
done));
return;
case 16:
this.getContainers(controller, (org.apache.hadoop.yarn.proto.YarnServiceProtos.GetContainersRequestProto)request,
com.google.protobuf.RpcUtil.specializeCallback(
done));
return;
case 17:
this.submitReservation(controller, (org.apache.hadoop.yarn.proto.YarnServiceProtos.ReservationSubmissionRequestProto)request,
com.google.protobuf.RpcUtil.specializeCallback(
done));
return;
case 18:
this.updateReservation(controller, (org.apache.hadoop.yarn.proto.YarnServiceProtos.ReservationUpdateRequestProto)request,
com.google.protobuf.RpcUtil.specializeCallback(
done));
return;
case 19:
this.deleteReservation(controller, (org.apache.hadoop.yarn.proto.YarnServiceProtos.ReservationDeleteRequestProto)request,
com.google.protobuf.RpcUtil.specializeCallback(
done));
return;
case 20:
this.getNodeToLabels(controller, (org.apache.hadoop.yarn.proto.YarnServiceProtos.GetNodesToLabelsRequestProto)request,
com.google.protobuf.RpcUtil.specializeCallback(
done));
return;
case 21:
this.getClusterNodeLabels(controller, (org.apache.hadoop.yarn.proto.YarnServiceProtos.GetClusterNodeLabelsRequestProto)request,
com.google.protobuf.RpcUtil.specializeCallback(
done));
return;
default:
throw new java.lang.AssertionError("Can't get here.");
}
}
public final com.google.protobuf.Message
getRequestPrototype(
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.yarn.proto.YarnServiceProtos.GetNewApplicationRequestProto.getDefaultInstance();
case 1:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationReportRequestProto.getDefaultInstance();
case 2:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.SubmitApplicationRequestProto.getDefaultInstance();
case 3:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.KillApplicationRequestProto.getDefaultInstance();
case 4:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.GetClusterMetricsRequestProto.getDefaultInstance();
case 5:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationsRequestProto.getDefaultInstance();
case 6:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.GetClusterNodesRequestProto.getDefaultInstance();
case 7:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.GetQueueInfoRequestProto.getDefaultInstance();
case 8:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.GetQueueUserAclsInfoRequestProto.getDefaultInstance();
case 9:
return org.apache.hadoop.security.proto.SecurityProtos.GetDelegationTokenRequestProto.getDefaultInstance();
case 10:
return org.apache.hadoop.security.proto.SecurityProtos.RenewDelegationTokenRequestProto.getDefaultInstance();
case 11:
return org.apache.hadoop.security.proto.SecurityProtos.CancelDelegationTokenRequestProto.getDefaultInstance();
case 12:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.MoveApplicationAcrossQueuesRequestProto.getDefaultInstance();
case 13:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationAttemptReportRequestProto.getDefaultInstance();
case 14:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationAttemptsRequestProto.getDefaultInstance();
case 15:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.GetContainerReportRequestProto.getDefaultInstance();
case 16:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.GetContainersRequestProto.getDefaultInstance();
case 17:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.ReservationSubmissionRequestProto.getDefaultInstance();
case 18:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.ReservationUpdateRequestProto.getDefaultInstance();
case 19:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.ReservationDeleteRequestProto.getDefaultInstance();
case 20:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.GetNodesToLabelsRequestProto.getDefaultInstance();
case 21:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.GetClusterNodeLabelsRequestProto.getDefaultInstance();
default:
throw new java.lang.AssertionError("Can't get here.");
}
}
public final com.google.protobuf.Message
getResponsePrototype(
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.yarn.proto.YarnServiceProtos.GetNewApplicationResponseProto.getDefaultInstance();
case 1:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationReportResponseProto.getDefaultInstance();
case 2:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.SubmitApplicationResponseProto.getDefaultInstance();
case 3:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.KillApplicationResponseProto.getDefaultInstance();
case 4:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.GetClusterMetricsResponseProto.getDefaultInstance();
case 5:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationsResponseProto.getDefaultInstance();
case 6:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.GetClusterNodesResponseProto.getDefaultInstance();
case 7:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.GetQueueInfoResponseProto.getDefaultInstance();
case 8:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.GetQueueUserAclsInfoResponseProto.getDefaultInstance();
case 9:
return org.apache.hadoop.security.proto.SecurityProtos.GetDelegationTokenResponseProto.getDefaultInstance();
case 10:
return org.apache.hadoop.security.proto.SecurityProtos.RenewDelegationTokenResponseProto.getDefaultInstance();
case 11:
return org.apache.hadoop.security.proto.SecurityProtos.CancelDelegationTokenResponseProto.getDefaultInstance();
case 12:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.MoveApplicationAcrossQueuesResponseProto.getDefaultInstance();
case 13:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationAttemptReportResponseProto.getDefaultInstance();
case 14:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationAttemptsResponseProto.getDefaultInstance();
case 15:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.GetContainerReportResponseProto.getDefaultInstance();
case 16:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.GetContainersResponseProto.getDefaultInstance();
case 17:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.ReservationSubmissionResponseProto.getDefaultInstance();
case 18:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.ReservationUpdateResponseProto.getDefaultInstance();
case 19:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.ReservationDeleteResponseProto.getDefaultInstance();
case 20:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.GetNodesToLabelsResponseProto.getDefaultInstance();
case 21:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.GetClusterNodeLabelsResponseProto.getDefaultInstance();
default:
throw new java.lang.AssertionError("Can't get here.");
}
}
public static Stub newStub(
com.google.protobuf.RpcChannel channel) {
return new Stub(channel);
}
public static final class Stub extends org.apache.hadoop.yarn.proto.ApplicationClientProtocol.ApplicationClientProtocolService implements Interface {
private Stub(com.google.protobuf.RpcChannel channel) {
this.channel = channel;
}
private final com.google.protobuf.RpcChannel channel;
public com.google.protobuf.RpcChannel getChannel() {
return channel;
}
public void getNewApplication(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetNewApplicationRequestProto request,
com.google.protobuf.RpcCallback done) {
channel.callMethod(
getDescriptor().getMethods().get(0),
controller,
request,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetNewApplicationResponseProto.getDefaultInstance(),
com.google.protobuf.RpcUtil.generalizeCallback(
done,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetNewApplicationResponseProto.class,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetNewApplicationResponseProto.getDefaultInstance()));
}
public void getApplicationReport(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationReportRequestProto request,
com.google.protobuf.RpcCallback done) {
channel.callMethod(
getDescriptor().getMethods().get(1),
controller,
request,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationReportResponseProto.getDefaultInstance(),
com.google.protobuf.RpcUtil.generalizeCallback(
done,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationReportResponseProto.class,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationReportResponseProto.getDefaultInstance()));
}
public void submitApplication(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.SubmitApplicationRequestProto request,
com.google.protobuf.RpcCallback done) {
channel.callMethod(
getDescriptor().getMethods().get(2),
controller,
request,
org.apache.hadoop.yarn.proto.YarnServiceProtos.SubmitApplicationResponseProto.getDefaultInstance(),
com.google.protobuf.RpcUtil.generalizeCallback(
done,
org.apache.hadoop.yarn.proto.YarnServiceProtos.SubmitApplicationResponseProto.class,
org.apache.hadoop.yarn.proto.YarnServiceProtos.SubmitApplicationResponseProto.getDefaultInstance()));
}
public void forceKillApplication(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.KillApplicationRequestProto request,
com.google.protobuf.RpcCallback done) {
channel.callMethod(
getDescriptor().getMethods().get(3),
controller,
request,
org.apache.hadoop.yarn.proto.YarnServiceProtos.KillApplicationResponseProto.getDefaultInstance(),
com.google.protobuf.RpcUtil.generalizeCallback(
done,
org.apache.hadoop.yarn.proto.YarnServiceProtos.KillApplicationResponseProto.class,
org.apache.hadoop.yarn.proto.YarnServiceProtos.KillApplicationResponseProto.getDefaultInstance()));
}
public void getClusterMetrics(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetClusterMetricsRequestProto request,
com.google.protobuf.RpcCallback done) {
channel.callMethod(
getDescriptor().getMethods().get(4),
controller,
request,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetClusterMetricsResponseProto.getDefaultInstance(),
com.google.protobuf.RpcUtil.generalizeCallback(
done,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetClusterMetricsResponseProto.class,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetClusterMetricsResponseProto.getDefaultInstance()));
}
public void getApplications(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationsRequestProto request,
com.google.protobuf.RpcCallback done) {
channel.callMethod(
getDescriptor().getMethods().get(5),
controller,
request,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationsResponseProto.getDefaultInstance(),
com.google.protobuf.RpcUtil.generalizeCallback(
done,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationsResponseProto.class,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationsResponseProto.getDefaultInstance()));
}
public void getClusterNodes(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetClusterNodesRequestProto request,
com.google.protobuf.RpcCallback done) {
channel.callMethod(
getDescriptor().getMethods().get(6),
controller,
request,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetClusterNodesResponseProto.getDefaultInstance(),
com.google.protobuf.RpcUtil.generalizeCallback(
done,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetClusterNodesResponseProto.class,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetClusterNodesResponseProto.getDefaultInstance()));
}
public void getQueueInfo(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetQueueInfoRequestProto request,
com.google.protobuf.RpcCallback done) {
channel.callMethod(
getDescriptor().getMethods().get(7),
controller,
request,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetQueueInfoResponseProto.getDefaultInstance(),
com.google.protobuf.RpcUtil.generalizeCallback(
done,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetQueueInfoResponseProto.class,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetQueueInfoResponseProto.getDefaultInstance()));
}
public void getQueueUserAcls(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetQueueUserAclsInfoRequestProto request,
com.google.protobuf.RpcCallback done) {
channel.callMethod(
getDescriptor().getMethods().get(8),
controller,
request,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetQueueUserAclsInfoResponseProto.getDefaultInstance(),
com.google.protobuf.RpcUtil.generalizeCallback(
done,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetQueueUserAclsInfoResponseProto.class,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetQueueUserAclsInfoResponseProto.getDefaultInstance()));
}
public void getDelegationToken(
com.google.protobuf.RpcController controller,
org.apache.hadoop.security.proto.SecurityProtos.GetDelegationTokenRequestProto request,
com.google.protobuf.RpcCallback done) {
channel.callMethod(
getDescriptor().getMethods().get(9),
controller,
request,
org.apache.hadoop.security.proto.SecurityProtos.GetDelegationTokenResponseProto.getDefaultInstance(),
com.google.protobuf.RpcUtil.generalizeCallback(
done,
org.apache.hadoop.security.proto.SecurityProtos.GetDelegationTokenResponseProto.class,
org.apache.hadoop.security.proto.SecurityProtos.GetDelegationTokenResponseProto.getDefaultInstance()));
}
public void renewDelegationToken(
com.google.protobuf.RpcController controller,
org.apache.hadoop.security.proto.SecurityProtos.RenewDelegationTokenRequestProto request,
com.google.protobuf.RpcCallback done) {
channel.callMethod(
getDescriptor().getMethods().get(10),
controller,
request,
org.apache.hadoop.security.proto.SecurityProtos.RenewDelegationTokenResponseProto.getDefaultInstance(),
com.google.protobuf.RpcUtil.generalizeCallback(
done,
org.apache.hadoop.security.proto.SecurityProtos.RenewDelegationTokenResponseProto.class,
org.apache.hadoop.security.proto.SecurityProtos.RenewDelegationTokenResponseProto.getDefaultInstance()));
}
public void cancelDelegationToken(
com.google.protobuf.RpcController controller,
org.apache.hadoop.security.proto.SecurityProtos.CancelDelegationTokenRequestProto request,
com.google.protobuf.RpcCallback done) {
channel.callMethod(
getDescriptor().getMethods().get(11),
controller,
request,
org.apache.hadoop.security.proto.SecurityProtos.CancelDelegationTokenResponseProto.getDefaultInstance(),
com.google.protobuf.RpcUtil.generalizeCallback(
done,
org.apache.hadoop.security.proto.SecurityProtos.CancelDelegationTokenResponseProto.class,
org.apache.hadoop.security.proto.SecurityProtos.CancelDelegationTokenResponseProto.getDefaultInstance()));
}
public void moveApplicationAcrossQueues(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.MoveApplicationAcrossQueuesRequestProto request,
com.google.protobuf.RpcCallback done) {
channel.callMethod(
getDescriptor().getMethods().get(12),
controller,
request,
org.apache.hadoop.yarn.proto.YarnServiceProtos.MoveApplicationAcrossQueuesResponseProto.getDefaultInstance(),
com.google.protobuf.RpcUtil.generalizeCallback(
done,
org.apache.hadoop.yarn.proto.YarnServiceProtos.MoveApplicationAcrossQueuesResponseProto.class,
org.apache.hadoop.yarn.proto.YarnServiceProtos.MoveApplicationAcrossQueuesResponseProto.getDefaultInstance()));
}
public void getApplicationAttemptReport(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationAttemptReportRequestProto request,
com.google.protobuf.RpcCallback done) {
channel.callMethod(
getDescriptor().getMethods().get(13),
controller,
request,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationAttemptReportResponseProto.getDefaultInstance(),
com.google.protobuf.RpcUtil.generalizeCallback(
done,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationAttemptReportResponseProto.class,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationAttemptReportResponseProto.getDefaultInstance()));
}
public void getApplicationAttempts(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationAttemptsRequestProto request,
com.google.protobuf.RpcCallback done) {
channel.callMethod(
getDescriptor().getMethods().get(14),
controller,
request,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationAttemptsResponseProto.getDefaultInstance(),
com.google.protobuf.RpcUtil.generalizeCallback(
done,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationAttemptsResponseProto.class,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationAttemptsResponseProto.getDefaultInstance()));
}
public void getContainerReport(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetContainerReportRequestProto request,
com.google.protobuf.RpcCallback done) {
channel.callMethod(
getDescriptor().getMethods().get(15),
controller,
request,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetContainerReportResponseProto.getDefaultInstance(),
com.google.protobuf.RpcUtil.generalizeCallback(
done,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetContainerReportResponseProto.class,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetContainerReportResponseProto.getDefaultInstance()));
}
public void getContainers(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetContainersRequestProto request,
com.google.protobuf.RpcCallback done) {
channel.callMethod(
getDescriptor().getMethods().get(16),
controller,
request,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetContainersResponseProto.getDefaultInstance(),
com.google.protobuf.RpcUtil.generalizeCallback(
done,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetContainersResponseProto.class,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetContainersResponseProto.getDefaultInstance()));
}
public void submitReservation(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.ReservationSubmissionRequestProto request,
com.google.protobuf.RpcCallback done) {
channel.callMethod(
getDescriptor().getMethods().get(17),
controller,
request,
org.apache.hadoop.yarn.proto.YarnServiceProtos.ReservationSubmissionResponseProto.getDefaultInstance(),
com.google.protobuf.RpcUtil.generalizeCallback(
done,
org.apache.hadoop.yarn.proto.YarnServiceProtos.ReservationSubmissionResponseProto.class,
org.apache.hadoop.yarn.proto.YarnServiceProtos.ReservationSubmissionResponseProto.getDefaultInstance()));
}
public void updateReservation(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.ReservationUpdateRequestProto request,
com.google.protobuf.RpcCallback done) {
channel.callMethod(
getDescriptor().getMethods().get(18),
controller,
request,
org.apache.hadoop.yarn.proto.YarnServiceProtos.ReservationUpdateResponseProto.getDefaultInstance(),
com.google.protobuf.RpcUtil.generalizeCallback(
done,
org.apache.hadoop.yarn.proto.YarnServiceProtos.ReservationUpdateResponseProto.class,
org.apache.hadoop.yarn.proto.YarnServiceProtos.ReservationUpdateResponseProto.getDefaultInstance()));
}
public void deleteReservation(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.ReservationDeleteRequestProto request,
com.google.protobuf.RpcCallback done) {
channel.callMethod(
getDescriptor().getMethods().get(19),
controller,
request,
org.apache.hadoop.yarn.proto.YarnServiceProtos.ReservationDeleteResponseProto.getDefaultInstance(),
com.google.protobuf.RpcUtil.generalizeCallback(
done,
org.apache.hadoop.yarn.proto.YarnServiceProtos.ReservationDeleteResponseProto.class,
org.apache.hadoop.yarn.proto.YarnServiceProtos.ReservationDeleteResponseProto.getDefaultInstance()));
}
public void getNodeToLabels(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetNodesToLabelsRequestProto request,
com.google.protobuf.RpcCallback done) {
channel.callMethod(
getDescriptor().getMethods().get(20),
controller,
request,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetNodesToLabelsResponseProto.getDefaultInstance(),
com.google.protobuf.RpcUtil.generalizeCallback(
done,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetNodesToLabelsResponseProto.class,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetNodesToLabelsResponseProto.getDefaultInstance()));
}
public void getClusterNodeLabels(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetClusterNodeLabelsRequestProto request,
com.google.protobuf.RpcCallback done) {
channel.callMethod(
getDescriptor().getMethods().get(21),
controller,
request,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetClusterNodeLabelsResponseProto.getDefaultInstance(),
com.google.protobuf.RpcUtil.generalizeCallback(
done,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetClusterNodeLabelsResponseProto.class,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetClusterNodeLabelsResponseProto.getDefaultInstance()));
}
}
public static BlockingInterface newBlockingStub(
com.google.protobuf.BlockingRpcChannel channel) {
return new BlockingStub(channel);
}
public interface BlockingInterface {
public org.apache.hadoop.yarn.proto.YarnServiceProtos.GetNewApplicationResponseProto getNewApplication(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetNewApplicationRequestProto request)
throws com.google.protobuf.ServiceException;
public org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationReportResponseProto getApplicationReport(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationReportRequestProto request)
throws com.google.protobuf.ServiceException;
public org.apache.hadoop.yarn.proto.YarnServiceProtos.SubmitApplicationResponseProto submitApplication(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.SubmitApplicationRequestProto request)
throws com.google.protobuf.ServiceException;
public org.apache.hadoop.yarn.proto.YarnServiceProtos.KillApplicationResponseProto forceKillApplication(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.KillApplicationRequestProto request)
throws com.google.protobuf.ServiceException;
public org.apache.hadoop.yarn.proto.YarnServiceProtos.GetClusterMetricsResponseProto getClusterMetrics(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetClusterMetricsRequestProto request)
throws com.google.protobuf.ServiceException;
public org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationsResponseProto getApplications(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationsRequestProto request)
throws com.google.protobuf.ServiceException;
public org.apache.hadoop.yarn.proto.YarnServiceProtos.GetClusterNodesResponseProto getClusterNodes(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetClusterNodesRequestProto request)
throws com.google.protobuf.ServiceException;
public org.apache.hadoop.yarn.proto.YarnServiceProtos.GetQueueInfoResponseProto getQueueInfo(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetQueueInfoRequestProto request)
throws com.google.protobuf.ServiceException;
public org.apache.hadoop.yarn.proto.YarnServiceProtos.GetQueueUserAclsInfoResponseProto getQueueUserAcls(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetQueueUserAclsInfoRequestProto request)
throws com.google.protobuf.ServiceException;
public org.apache.hadoop.security.proto.SecurityProtos.GetDelegationTokenResponseProto getDelegationToken(
com.google.protobuf.RpcController controller,
org.apache.hadoop.security.proto.SecurityProtos.GetDelegationTokenRequestProto request)
throws com.google.protobuf.ServiceException;
public org.apache.hadoop.security.proto.SecurityProtos.RenewDelegationTokenResponseProto renewDelegationToken(
com.google.protobuf.RpcController controller,
org.apache.hadoop.security.proto.SecurityProtos.RenewDelegationTokenRequestProto request)
throws com.google.protobuf.ServiceException;
public org.apache.hadoop.security.proto.SecurityProtos.CancelDelegationTokenResponseProto cancelDelegationToken(
com.google.protobuf.RpcController controller,
org.apache.hadoop.security.proto.SecurityProtos.CancelDelegationTokenRequestProto request)
throws com.google.protobuf.ServiceException;
public org.apache.hadoop.yarn.proto.YarnServiceProtos.MoveApplicationAcrossQueuesResponseProto moveApplicationAcrossQueues(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.MoveApplicationAcrossQueuesRequestProto request)
throws com.google.protobuf.ServiceException;
public org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationAttemptReportResponseProto getApplicationAttemptReport(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationAttemptReportRequestProto request)
throws com.google.protobuf.ServiceException;
public org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationAttemptsResponseProto getApplicationAttempts(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationAttemptsRequestProto request)
throws com.google.protobuf.ServiceException;
public org.apache.hadoop.yarn.proto.YarnServiceProtos.GetContainerReportResponseProto getContainerReport(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetContainerReportRequestProto request)
throws com.google.protobuf.ServiceException;
public org.apache.hadoop.yarn.proto.YarnServiceProtos.GetContainersResponseProto getContainers(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetContainersRequestProto request)
throws com.google.protobuf.ServiceException;
public org.apache.hadoop.yarn.proto.YarnServiceProtos.ReservationSubmissionResponseProto submitReservation(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.ReservationSubmissionRequestProto request)
throws com.google.protobuf.ServiceException;
public org.apache.hadoop.yarn.proto.YarnServiceProtos.ReservationUpdateResponseProto updateReservation(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.ReservationUpdateRequestProto request)
throws com.google.protobuf.ServiceException;
public org.apache.hadoop.yarn.proto.YarnServiceProtos.ReservationDeleteResponseProto deleteReservation(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.ReservationDeleteRequestProto request)
throws com.google.protobuf.ServiceException;
public org.apache.hadoop.yarn.proto.YarnServiceProtos.GetNodesToLabelsResponseProto getNodeToLabels(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetNodesToLabelsRequestProto request)
throws com.google.protobuf.ServiceException;
public org.apache.hadoop.yarn.proto.YarnServiceProtos.GetClusterNodeLabelsResponseProto getClusterNodeLabels(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetClusterNodeLabelsRequestProto request)
throws com.google.protobuf.ServiceException;
}
private static final class BlockingStub implements BlockingInterface {
private BlockingStub(com.google.protobuf.BlockingRpcChannel channel) {
this.channel = channel;
}
private final com.google.protobuf.BlockingRpcChannel channel;
public org.apache.hadoop.yarn.proto.YarnServiceProtos.GetNewApplicationResponseProto getNewApplication(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetNewApplicationRequestProto request)
throws com.google.protobuf.ServiceException {
return (org.apache.hadoop.yarn.proto.YarnServiceProtos.GetNewApplicationResponseProto) channel.callBlockingMethod(
getDescriptor().getMethods().get(0),
controller,
request,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetNewApplicationResponseProto.getDefaultInstance());
}
public org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationReportResponseProto getApplicationReport(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationReportRequestProto request)
throws com.google.protobuf.ServiceException {
return (org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationReportResponseProto) channel.callBlockingMethod(
getDescriptor().getMethods().get(1),
controller,
request,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationReportResponseProto.getDefaultInstance());
}
public org.apache.hadoop.yarn.proto.YarnServiceProtos.SubmitApplicationResponseProto submitApplication(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.SubmitApplicationRequestProto request)
throws com.google.protobuf.ServiceException {
return (org.apache.hadoop.yarn.proto.YarnServiceProtos.SubmitApplicationResponseProto) channel.callBlockingMethod(
getDescriptor().getMethods().get(2),
controller,
request,
org.apache.hadoop.yarn.proto.YarnServiceProtos.SubmitApplicationResponseProto.getDefaultInstance());
}
public org.apache.hadoop.yarn.proto.YarnServiceProtos.KillApplicationResponseProto forceKillApplication(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.KillApplicationRequestProto request)
throws com.google.protobuf.ServiceException {
return (org.apache.hadoop.yarn.proto.YarnServiceProtos.KillApplicationResponseProto) channel.callBlockingMethod(
getDescriptor().getMethods().get(3),
controller,
request,
org.apache.hadoop.yarn.proto.YarnServiceProtos.KillApplicationResponseProto.getDefaultInstance());
}
public org.apache.hadoop.yarn.proto.YarnServiceProtos.GetClusterMetricsResponseProto getClusterMetrics(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetClusterMetricsRequestProto request)
throws com.google.protobuf.ServiceException {
return (org.apache.hadoop.yarn.proto.YarnServiceProtos.GetClusterMetricsResponseProto) channel.callBlockingMethod(
getDescriptor().getMethods().get(4),
controller,
request,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetClusterMetricsResponseProto.getDefaultInstance());
}
public org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationsResponseProto getApplications(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationsRequestProto request)
throws com.google.protobuf.ServiceException {
return (org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationsResponseProto) channel.callBlockingMethod(
getDescriptor().getMethods().get(5),
controller,
request,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationsResponseProto.getDefaultInstance());
}
public org.apache.hadoop.yarn.proto.YarnServiceProtos.GetClusterNodesResponseProto getClusterNodes(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetClusterNodesRequestProto request)
throws com.google.protobuf.ServiceException {
return (org.apache.hadoop.yarn.proto.YarnServiceProtos.GetClusterNodesResponseProto) channel.callBlockingMethod(
getDescriptor().getMethods().get(6),
controller,
request,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetClusterNodesResponseProto.getDefaultInstance());
}
public org.apache.hadoop.yarn.proto.YarnServiceProtos.GetQueueInfoResponseProto getQueueInfo(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetQueueInfoRequestProto request)
throws com.google.protobuf.ServiceException {
return (org.apache.hadoop.yarn.proto.YarnServiceProtos.GetQueueInfoResponseProto) channel.callBlockingMethod(
getDescriptor().getMethods().get(7),
controller,
request,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetQueueInfoResponseProto.getDefaultInstance());
}
public org.apache.hadoop.yarn.proto.YarnServiceProtos.GetQueueUserAclsInfoResponseProto getQueueUserAcls(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetQueueUserAclsInfoRequestProto request)
throws com.google.protobuf.ServiceException {
return (org.apache.hadoop.yarn.proto.YarnServiceProtos.GetQueueUserAclsInfoResponseProto) channel.callBlockingMethod(
getDescriptor().getMethods().get(8),
controller,
request,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetQueueUserAclsInfoResponseProto.getDefaultInstance());
}
public org.apache.hadoop.security.proto.SecurityProtos.GetDelegationTokenResponseProto getDelegationToken(
com.google.protobuf.RpcController controller,
org.apache.hadoop.security.proto.SecurityProtos.GetDelegationTokenRequestProto request)
throws com.google.protobuf.ServiceException {
return (org.apache.hadoop.security.proto.SecurityProtos.GetDelegationTokenResponseProto) channel.callBlockingMethod(
getDescriptor().getMethods().get(9),
controller,
request,
org.apache.hadoop.security.proto.SecurityProtos.GetDelegationTokenResponseProto.getDefaultInstance());
}
public org.apache.hadoop.security.proto.SecurityProtos.RenewDelegationTokenResponseProto renewDelegationToken(
com.google.protobuf.RpcController controller,
org.apache.hadoop.security.proto.SecurityProtos.RenewDelegationTokenRequestProto request)
throws com.google.protobuf.ServiceException {
return (org.apache.hadoop.security.proto.SecurityProtos.RenewDelegationTokenResponseProto) channel.callBlockingMethod(
getDescriptor().getMethods().get(10),
controller,
request,
org.apache.hadoop.security.proto.SecurityProtos.RenewDelegationTokenResponseProto.getDefaultInstance());
}
public org.apache.hadoop.security.proto.SecurityProtos.CancelDelegationTokenResponseProto cancelDelegationToken(
com.google.protobuf.RpcController controller,
org.apache.hadoop.security.proto.SecurityProtos.CancelDelegationTokenRequestProto request)
throws com.google.protobuf.ServiceException {
return (org.apache.hadoop.security.proto.SecurityProtos.CancelDelegationTokenResponseProto) channel.callBlockingMethod(
getDescriptor().getMethods().get(11),
controller,
request,
org.apache.hadoop.security.proto.SecurityProtos.CancelDelegationTokenResponseProto.getDefaultInstance());
}
public org.apache.hadoop.yarn.proto.YarnServiceProtos.MoveApplicationAcrossQueuesResponseProto moveApplicationAcrossQueues(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.MoveApplicationAcrossQueuesRequestProto request)
throws com.google.protobuf.ServiceException {
return (org.apache.hadoop.yarn.proto.YarnServiceProtos.MoveApplicationAcrossQueuesResponseProto) channel.callBlockingMethod(
getDescriptor().getMethods().get(12),
controller,
request,
org.apache.hadoop.yarn.proto.YarnServiceProtos.MoveApplicationAcrossQueuesResponseProto.getDefaultInstance());
}
public org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationAttemptReportResponseProto getApplicationAttemptReport(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationAttemptReportRequestProto request)
throws com.google.protobuf.ServiceException {
return (org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationAttemptReportResponseProto) channel.callBlockingMethod(
getDescriptor().getMethods().get(13),
controller,
request,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationAttemptReportResponseProto.getDefaultInstance());
}
public org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationAttemptsResponseProto getApplicationAttempts(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationAttemptsRequestProto request)
throws com.google.protobuf.ServiceException {
return (org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationAttemptsResponseProto) channel.callBlockingMethod(
getDescriptor().getMethods().get(14),
controller,
request,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetApplicationAttemptsResponseProto.getDefaultInstance());
}
public org.apache.hadoop.yarn.proto.YarnServiceProtos.GetContainerReportResponseProto getContainerReport(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetContainerReportRequestProto request)
throws com.google.protobuf.ServiceException {
return (org.apache.hadoop.yarn.proto.YarnServiceProtos.GetContainerReportResponseProto) channel.callBlockingMethod(
getDescriptor().getMethods().get(15),
controller,
request,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetContainerReportResponseProto.getDefaultInstance());
}
public org.apache.hadoop.yarn.proto.YarnServiceProtos.GetContainersResponseProto getContainers(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetContainersRequestProto request)
throws com.google.protobuf.ServiceException {
return (org.apache.hadoop.yarn.proto.YarnServiceProtos.GetContainersResponseProto) channel.callBlockingMethod(
getDescriptor().getMethods().get(16),
controller,
request,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetContainersResponseProto.getDefaultInstance());
}
public org.apache.hadoop.yarn.proto.YarnServiceProtos.ReservationSubmissionResponseProto submitReservation(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.ReservationSubmissionRequestProto request)
throws com.google.protobuf.ServiceException {
return (org.apache.hadoop.yarn.proto.YarnServiceProtos.ReservationSubmissionResponseProto) channel.callBlockingMethod(
getDescriptor().getMethods().get(17),
controller,
request,
org.apache.hadoop.yarn.proto.YarnServiceProtos.ReservationSubmissionResponseProto.getDefaultInstance());
}
public org.apache.hadoop.yarn.proto.YarnServiceProtos.ReservationUpdateResponseProto updateReservation(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.ReservationUpdateRequestProto request)
throws com.google.protobuf.ServiceException {
return (org.apache.hadoop.yarn.proto.YarnServiceProtos.ReservationUpdateResponseProto) channel.callBlockingMethod(
getDescriptor().getMethods().get(18),
controller,
request,
org.apache.hadoop.yarn.proto.YarnServiceProtos.ReservationUpdateResponseProto.getDefaultInstance());
}
public org.apache.hadoop.yarn.proto.YarnServiceProtos.ReservationDeleteResponseProto deleteReservation(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.ReservationDeleteRequestProto request)
throws com.google.protobuf.ServiceException {
return (org.apache.hadoop.yarn.proto.YarnServiceProtos.ReservationDeleteResponseProto) channel.callBlockingMethod(
getDescriptor().getMethods().get(19),
controller,
request,
org.apache.hadoop.yarn.proto.YarnServiceProtos.ReservationDeleteResponseProto.getDefaultInstance());
}
public org.apache.hadoop.yarn.proto.YarnServiceProtos.GetNodesToLabelsResponseProto getNodeToLabels(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetNodesToLabelsRequestProto request)
throws com.google.protobuf.ServiceException {
return (org.apache.hadoop.yarn.proto.YarnServiceProtos.GetNodesToLabelsResponseProto) channel.callBlockingMethod(
getDescriptor().getMethods().get(20),
controller,
request,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetNodesToLabelsResponseProto.getDefaultInstance());
}
public org.apache.hadoop.yarn.proto.YarnServiceProtos.GetClusterNodeLabelsResponseProto getClusterNodeLabels(
com.google.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetClusterNodeLabelsRequestProto request)
throws com.google.protobuf.ServiceException {
return (org.apache.hadoop.yarn.proto.YarnServiceProtos.GetClusterNodeLabelsResponseProto) channel.callBlockingMethod(
getDescriptor().getMethods().get(21),
controller,
request,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetClusterNodeLabelsResponseProto.getDefaultInstance());
}
}
// @@protoc_insertion_point(class_scope:hadoop.yarn.ApplicationClientProtocolService)
}
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n applicationclient_protocol.proto\022\013hado" +
"op.yarn\032\016Security.proto\032\031yarn_service_pr" +
"otos.proto2\375\023\n ApplicationClientProtocol" +
"Service\022l\n\021getNewApplication\022*.hadoop.ya" +
"rn.GetNewApplicationRequestProto\032+.hadoo" +
"p.yarn.GetNewApplicationResponseProto\022u\n" +
"\024getApplicationReport\022-.hadoop.yarn.GetA" +
"pplicationReportRequestProto\032..hadoop.ya" +
"rn.GetApplicationReportResponseProto\022l\n\021" +
"submitApplication\022*.hadoop.yarn.SubmitAp",
"plicationRequestProto\032+.hadoop.yarn.Subm" +
"itApplicationResponseProto\022k\n\024forceKillA" +
"pplication\022(.hadoop.yarn.KillApplication" +
"RequestProto\032).hadoop.yarn.KillApplicati" +
"onResponseProto\022l\n\021getClusterMetrics\022*.h" +
"adoop.yarn.GetClusterMetricsRequestProto" +
"\032+.hadoop.yarn.GetClusterMetricsResponse" +
"Proto\022f\n\017getApplications\022(.hadoop.yarn.G" +
"etApplicationsRequestProto\032).hadoop.yarn" +
".GetApplicationsResponseProto\022f\n\017getClus",
"terNodes\022(.hadoop.yarn.GetClusterNodesRe" +
"questProto\032).hadoop.yarn.GetClusterNodes" +
"ResponseProto\022]\n\014getQueueInfo\022%.hadoop.y" +
"arn.GetQueueInfoRequestProto\032&.hadoop.ya" +
"rn.GetQueueInfoResponseProto\022q\n\020getQueue" +
"UserAcls\022-.hadoop.yarn.GetQueueUserAclsI" +
"nfoRequestProto\032..hadoop.yarn.GetQueueUs" +
"erAclsInfoResponseProto\022s\n\022getDelegation" +
"Token\022-.hadoop.common.GetDelegationToken" +
"RequestProto\032..hadoop.common.GetDelegati",
"onTokenResponseProto\022y\n\024renewDelegationT" +
"oken\022/.hadoop.common.RenewDelegationToke" +
"nRequestProto\0320.hadoop.common.RenewDeleg" +
"ationTokenResponseProto\022|\n\025cancelDelegat" +
"ionToken\0220.hadoop.common.CancelDelegatio" +
"nTokenRequestProto\0321.hadoop.common.Cance" +
"lDelegationTokenResponseProto\022\212\001\n\033moveAp" +
"plicationAcrossQueues\0224.hadoop.yarn.Move" +
"ApplicationAcrossQueuesRequestProto\0325.ha" +
"doop.yarn.MoveApplicationAcrossQueuesRes",
"ponseProto\022\212\001\n\033getApplicationAttemptRepo" +
"rt\0224.hadoop.yarn.GetApplicationAttemptRe" +
"portRequestProto\0325.hadoop.yarn.GetApplic" +
"ationAttemptReportResponseProto\022{\n\026getAp" +
"plicationAttempts\022/.hadoop.yarn.GetAppli" +
"cationAttemptsRequestProto\0320.hadoop.yarn" +
".GetApplicationAttemptsResponseProto\022o\n\022" +
"getContainerReport\022+.hadoop.yarn.GetCont" +
"ainerReportRequestProto\032,.hadoop.yarn.Ge" +
"tContainerReportResponseProto\022`\n\rgetCont",
"ainers\022&.hadoop.yarn.GetContainersReques" +
"tProto\032\'.hadoop.yarn.GetContainersRespon" +
"seProto\022t\n\021submitReservation\022..hadoop.ya" +
"rn.ReservationSubmissionRequestProto\032/.h" +
"adoop.yarn.ReservationSubmissionResponse" +
"Proto\022l\n\021updateReservation\022*.hadoop.yarn" +
".ReservationUpdateRequestProto\032+.hadoop." +
"yarn.ReservationUpdateResponseProto\022l\n\021d" +
"eleteReservation\022*.hadoop.yarn.Reservati" +
"onDeleteRequestProto\032+.hadoop.yarn.Reser",
"vationDeleteResponseProto\022h\n\017getNodeToLa" +
"bels\022).hadoop.yarn.GetNodesToLabelsReque" +
"stProto\032*.hadoop.yarn.GetNodesToLabelsRe" +
"sponseProto\022u\n\024getClusterNodeLabels\022-.ha" +
"doop.yarn.GetClusterNodeLabelsRequestPro" +
"to\032..hadoop.yarn.GetClusterNodeLabelsRes" +
"ponseProtoB?\n\034org.apache.hadoop.yarn.pro" +
"toB\031ApplicationClientProtocol\210\001\001\240\001\001"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
public com.google.protobuf.ExtensionRegistry assignDescriptors(
com.google.protobuf.Descriptors.FileDescriptor root) {
descriptor = root;
return null;
}
};
com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
org.apache.hadoop.security.proto.SecurityProtos.getDescriptor(),
org.apache.hadoop.yarn.proto.YarnServiceProtos.getDescriptor(),
}, assigner);
}
// @@protoc_insertion_point(outer_class_scope)
}