in src-gen/com/facebook/buck/artifact_cache/thrift/BuckCacheResponse.java [1059:1207]
public int compareTo(BuckCacheResponse other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
int lastComparison = 0;
lastComparison = java.lang.Boolean.valueOf(isSetWasSuccessful()).compareTo(other.isSetWasSuccessful());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetWasSuccessful()) {
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.wasSuccessful, other.wasSuccessful);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = java.lang.Boolean.valueOf(isSetErrorMessage()).compareTo(other.isSetErrorMessage());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetErrorMessage()) {
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.errorMessage, other.errorMessage);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = java.lang.Boolean.valueOf(isSetType()).compareTo(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.valueOf(isSetDiagnosticServerInfo()).compareTo(other.isSetDiagnosticServerInfo());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetDiagnosticServerInfo()) {
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.diagnosticServerInfo, other.diagnosticServerInfo);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = java.lang.Boolean.valueOf(isSetPayloads()).compareTo(other.isSetPayloads());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetPayloads()) {
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.payloads, other.payloads);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = java.lang.Boolean.valueOf(isSetFetchResponse()).compareTo(other.isSetFetchResponse());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetFetchResponse()) {
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.fetchResponse, other.fetchResponse);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = java.lang.Boolean.valueOf(isSetStoreResponse()).compareTo(other.isSetStoreResponse());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetStoreResponse()) {
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.storeResponse, other.storeResponse);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = java.lang.Boolean.valueOf(isSetMultiFetchResponse()).compareTo(other.isSetMultiFetchResponse());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetMultiFetchResponse()) {
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.multiFetchResponse, other.multiFetchResponse);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = java.lang.Boolean.valueOf(isSetDeleteResponse()).compareTo(other.isSetDeleteResponse());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetDeleteResponse()) {
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.deleteResponse, other.deleteResponse);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = java.lang.Boolean.valueOf(isSetMultiContainsResponse()).compareTo(other.isSetMultiContainsResponse());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetMultiContainsResponse()) {
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.multiContainsResponse, other.multiContainsResponse);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = java.lang.Boolean.valueOf(isSetManifestAppendResponse()).compareTo(other.isSetManifestAppendResponse());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetManifestAppendResponse()) {
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.manifestAppendResponse, other.manifestAppendResponse);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = java.lang.Boolean.valueOf(isSetManifestFetchResponse()).compareTo(other.isSetManifestFetchResponse());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetManifestFetchResponse()) {
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.manifestFetchResponse, other.manifestFetchResponse);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = java.lang.Boolean.valueOf(isSetManifestDeleteResponse()).compareTo(other.isSetManifestDeleteResponse());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetManifestDeleteResponse()) {
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.manifestDeleteResponse, other.manifestDeleteResponse);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = java.lang.Boolean.valueOf(isSetManifestSetResponse()).compareTo(other.isSetManifestSetResponse());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetManifestSetResponse()) {
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.manifestSetResponse, other.manifestSetResponse);
if (lastComparison != 0) {
return lastComparison;
}
}
return 0;
}