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

    int lastComparison = 0;

    lastComparison = java.lang.Boolean.compare(isSetName(), other.isSetName());
    if (lastComparison != 0) {
      return lastComparison;
    }
    if (isSetName()) {
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.name, other.name);
      if (lastComparison != 0) {
        return lastComparison;
      }
    }
    lastComparison = java.lang.Boolean.compare(isSetType(), other.isSetType());
    if (lastComparison != 0) {
      return lastComparison;
    }
    if (isSetType()) {
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.type, other.type);
      if (lastComparison != 0) {
        return lastComparison;
      }
    }
    lastComparison = java.lang.Boolean.compare(isSetQualifier(), other.isSetQualifier());
    if (lastComparison != 0) {
      return lastComparison;
    }
    if (isSetQualifier()) {
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.qualifier, other.qualifier);
      if (lastComparison != 0) {
        return lastComparison;
      }
    }
    lastComparison = java.lang.Boolean.compare(isSetValue(), other.isSetValue());
    if (lastComparison != 0) {
      return lastComparison;
    }
    if (isSetValue()) {
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.value, other.value);
      if (lastComparison != 0) {
        return lastComparison;
      }
    }
    lastComparison = java.lang.Boolean.compare(isSetIsContainer(), other.isSetIsContainer());
    if (lastComparison != 0) {
      return lastComparison;
    }
    if (isSetIsContainer()) {
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.isContainer, other.isContainer);
      if (lastComparison != 0) {
        return lastComparison;
      }
    }
    lastComparison = java.lang.Boolean.compare(isSetShape(), other.isSetShape());
    if (lastComparison != 0) {
      return lastComparison;
    }
    if (isSetShape()) {
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.shape, other.shape);
      if (lastComparison != 0) {
        return lastComparison;
      }
    }
    lastComparison = java.lang.Boolean.compare(isSetIsReturnedValue(), other.isSetIsReturnedValue());
    if (lastComparison != 0) {
      return lastComparison;
    }
    if (isSetIsReturnedValue()) {
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.isReturnedValue, other.isReturnedValue);
      if (lastComparison != 0) {
        return lastComparison;
      }
    }
    lastComparison = java.lang.Boolean.compare(isSetIsIPythonHidden(), other.isSetIsIPythonHidden());
    if (lastComparison != 0) {
      return lastComparison;
    }
    if (isSetIsIPythonHidden()) {
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.isIPythonHidden, other.isIPythonHidden);
      if (lastComparison != 0) {
        return lastComparison;
      }
    }
    lastComparison = java.lang.Boolean.compare(isSetIsErrorOnEval(), other.isSetIsErrorOnEval());
    if (lastComparison != 0) {
      return lastComparison;
    }
    if (isSetIsErrorOnEval()) {
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.isErrorOnEval, other.isErrorOnEval);
      if (lastComparison != 0) {
        return lastComparison;
      }
    }
    lastComparison = java.lang.Boolean.compare(isSetTypeRendererId(), other.isSetTypeRendererId());
    if (lastComparison != 0) {
      return lastComparison;
    }
    if (isSetTypeRendererId()) {
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.typeRendererId, other.typeRendererId);
      if (lastComparison != 0) {
        return lastComparison;
      }
    }
    return 0;
  }
@Override
  public int compareTo(DebugValue other)