in src-gen/com/facebook/buck/frontend/thrift/RuleKeyStoreLogEntry.java [699:797]
public int compareTo(RuleKeyStoreLogEntry other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
int lastComparison = 0;
lastComparison = java.lang.Boolean.valueOf(isSetStoreId()).compareTo(other.isSetStoreId());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetStoreId()) {
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.storeId, other.storeId);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = java.lang.Boolean.valueOf(isSetStoreTTLSeconds()).compareTo(other.isSetStoreTTLSeconds());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetStoreTTLSeconds()) {
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.storeTTLSeconds, other.storeTTLSeconds);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = java.lang.Boolean.valueOf(isSetLastStoreEpochSeconds()).compareTo(other.isSetLastStoreEpochSeconds());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetLastStoreEpochSeconds()) {
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lastStoreEpochSeconds, other.lastStoreEpochSeconds);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = java.lang.Boolean.valueOf(isSetLastAttemptedStoreEpochSeconds()).compareTo(other.isSetLastAttemptedStoreEpochSeconds());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetLastAttemptedStoreEpochSeconds()) {
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lastAttemptedStoreEpochSeconds, other.lastAttemptedStoreEpochSeconds);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = java.lang.Boolean.valueOf(isSetLastFetchEpochSeconds()).compareTo(other.isSetLastFetchEpochSeconds());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetLastFetchEpochSeconds()) {
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lastFetchEpochSeconds, other.lastFetchEpochSeconds);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = java.lang.Boolean.valueOf(isSetRepository()).compareTo(other.isSetRepository());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetRepository()) {
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.repository, other.repository);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = java.lang.Boolean.valueOf(isSetScheduleType()).compareTo(other.isSetScheduleType());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetScheduleType()) {
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.scheduleType, other.scheduleType);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = java.lang.Boolean.valueOf(isSetFetchCount()).compareTo(other.isSetFetchCount());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetFetchCount()) {
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.fetchCount, other.fetchCount);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = java.lang.Boolean.valueOf(isSetAttemptedStoreCount()).compareTo(other.isSetAttemptedStoreCount());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetAttemptedStoreCount()) {
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.attemptedStoreCount, other.attemptedStoreCount);
if (lastComparison != 0) {
return lastComparison;
}
}
return 0;
}