@Override
    public int compareTo(getArray_args other) {
      if (!getClass().equals(other.getClass())) {
        return getClass().getName().compareTo(other.getClass().getName());
      }

      int lastComparison = 0;

      lastComparison = java.lang.Boolean.compare(isSetVars(), other.isSetVars());
      if (lastComparison != 0) {
        return lastComparison;
      }
      if (isSetVars()) {
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.vars, other.vars);
        if (lastComparison != 0) {
          return lastComparison;
        }
      }
      lastComparison = java.lang.Boolean.compare(isSetRowOffset(), other.isSetRowOffset());
      if (lastComparison != 0) {
        return lastComparison;
      }
      if (isSetRowOffset()) {
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.rowOffset, other.rowOffset);
        if (lastComparison != 0) {
          return lastComparison;
        }
      }
      lastComparison = java.lang.Boolean.compare(isSetColOffset(), other.isSetColOffset());
      if (lastComparison != 0) {
        return lastComparison;
      }
      if (isSetColOffset()) {
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.colOffset, other.colOffset);
        if (lastComparison != 0) {
          return lastComparison;
        }
      }
      lastComparison = java.lang.Boolean.compare(isSetRows(), other.isSetRows());
      if (lastComparison != 0) {
        return lastComparison;
      }
      if (isSetRows()) {
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.rows, other.rows);
        if (lastComparison != 0) {
          return lastComparison;
        }
      }
      lastComparison = java.lang.Boolean.compare(isSetCols(), other.isSetCols());
      if (lastComparison != 0) {
        return lastComparison;
      }
      if (isSetCols()) {
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.cols, other.cols);
        if (lastComparison != 0) {
          return lastComparison;
        }
      }
      lastComparison = java.lang.Boolean.compare(isSetFormat(), other.isSetFormat());
      if (lastComparison != 0) {
        return lastComparison;
      }
      if (isSetFormat()) {
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.format, other.format);
        if (lastComparison != 0) {
          return lastComparison;
        }
      }
      return 0;
    }
@Override
    public int compareTo(getArray_args other)