int (connectToDebugger_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; lastComparison = java.lang.Boolean.compare(isSetLocalPort(), other.isSetLocalPort()); if (lastComparison != 0) { return lastComparison; } if (isSetLocalPort()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.localPort, other.localPort); if (lastComparison != 0) { return lastComparison; } } lastComparison = java.lang.Boolean.compare(isSetHost(), other.isSetHost()); if (lastComparison != 0) { return lastComparison; } if (isSetHost()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.host, other.host); if (lastComparison != 0) { return lastComparison; } } lastComparison = java.lang.Boolean.compare(isSetOpts(), other.isSetOpts()); if (lastComparison != 0) { return lastComparison; } if (isSetOpts()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.opts, other.opts); if (lastComparison != 0) { return lastComparison; } } lastComparison = java.lang.Boolean.compare(isSetExtraEnvs(), other.isSetExtraEnvs()); if (lastComparison != 0) { return lastComparison; } if (isSetExtraEnvs()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.extraEnvs, other.extraEnvs); if (lastComparison != 0) { return lastComparison; } } return 0; }