All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.apache.hadoop.yarn.proto.ApplicationClientProtocol Maven / Gradle / Ivy

There is a newer version: 3.4.0
Show newest version
// 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);

    }

    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);
        }

      };
    }

    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);
            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();
            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();
            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);

    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;
        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();
        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();
        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 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;
    }

    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());
      }

    }

    // @@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\340\n\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" +
      "lDelegationTokenResponseProtoB?\n\034org.apa" +
      "che.hadoop.yarn.protoB\031ApplicationClient" +
      "Protocol\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)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy