@Override public int compareTo(InsertEventRequestData other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; lastComparison = Boolean.valueOf(isSetFilesAdded()).compareTo(other.isSetFilesAdded()); if (lastComparison != 0) { return lastComparison; } if (isSetFilesAdded()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.filesAdded, other.filesAdded); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetFilesAddedChecksum()).compareTo(other.isSetFilesAddedChecksum()); if (lastComparison != 0) { return lastComparison; } if (isSetFilesAddedChecksum()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo( this.filesAddedChecksum, other.filesAddedChecksum); if (lastComparison != 0) { return lastComparison; } } return 0; }
@Override public int compareTo(QueryResult other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; lastComparison = Boolean.valueOf(isSetDocumentType()).compareTo(other.isSetDocumentType()); if (lastComparison != 0) { return lastComparison; } if (isSetDocumentType()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.documentType, other.documentType); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetId()).compareTo(other.isSetId()); if (lastComparison != 0) { return lastComparison; } if (isSetId()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.id, other.id); if (lastComparison != 0) { return lastComparison; } } return 0; }
@Override public int compareTo(LineageCommand other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; lastComparison = Boolean.valueOf(isSetCommandType()).compareTo(other.isSetCommandType()); if (lastComparison != 0) { return lastComparison; } if (isSetCommandType()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.commandType, other.commandType); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetCheckpointFiles()).compareTo(other.isSetCheckpointFiles()); if (lastComparison != 0) { return lastComparison; } if (isSetCheckpointFiles()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.checkpointFiles, other.checkpointFiles); if (lastComparison != 0) { return lastComparison; } } return 0; }
@Override public int compareTo(Action other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; lastComparison = Boolean.valueOf(isSetTemplate()).compareTo(other.isSetTemplate()); if (lastComparison != 0) { return lastComparison; } if (isSetTemplate()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.template, other.template); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetTargetModule()).compareTo(other.isSetTargetModule()); if (lastComparison != 0) { return lastComparison; } if (isSetTargetModule()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.targetModule, other.targetModule); if (lastComparison != 0) { return lastComparison; } } return 0; }
@Override public int compareTo(ConditionalUpdates other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; lastComparison = Boolean.valueOf(isSetConditions()).compareTo(other.isSetConditions()); if (lastComparison != 0) { return lastComparison; } if (isSetConditions()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.conditions, other.conditions); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetUpdates()).compareTo(other.isSetUpdates()); if (lastComparison != 0) { return lastComparison; } if (isSetUpdates()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.updates, other.updates); if (lastComparison != 0) { return lastComparison; } } return 0; }
@Override public int compareTo(TColumnDesc other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; lastComparison = Boolean.valueOf(isSetName()).compareTo(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 = 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; } } return 0; }
@Override public int compareTo(TGetTypeInfoResp other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; lastComparison = Boolean.valueOf(isSetStatus()).compareTo(other.isSetStatus()); if (lastComparison != 0) { return lastComparison; } if (isSetStatus()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, other.status); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetOperationHandle()).compareTo(other.isSetOperationHandle()); if (lastComparison != 0) { return lastComparison; } if (isSetOperationHandle()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.operationHandle, other.operationHandle); if (lastComparison != 0) { return lastComparison; } } return 0; }
@Override public int compareTo(SharedStructV7 other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; lastComparison = Boolean.valueOf(isSetName()).compareTo(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 = Boolean.valueOf(isSetKey()).compareTo(other.isSetKey()); if (lastComparison != 0) { return lastComparison; } if (isSetKey()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.key, other.key); if (lastComparison != 0) { return lastComparison; } } return 0; }
@Override public int compareTo(PersistFile other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; lastComparison = Boolean.valueOf(isSetFileId()).compareTo(other.isSetFileId()); if (lastComparison != 0) { return lastComparison; } if (isSetFileId()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.fileId, other.fileId); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetBlockIds()).compareTo(other.isSetBlockIds()); if (lastComparison != 0) { return lastComparison; } if (isSetBlockIds()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.blockIds, other.blockIds); if (lastComparison != 0) { return lastComparison; } } return 0; }
@Override public int compareTo(TransferMessage other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; lastComparison = Boolean.valueOf(isSetOrig_branchId()).compareTo(other.isSetOrig_branchId()); if (lastComparison != 0) { return lastComparison; } if (isSetOrig_branchId()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.orig_branchId, other.orig_branchId); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetAmount()).compareTo(other.isSetAmount()); if (lastComparison != 0) { return lastComparison; } if (isSetAmount()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.amount, other.amount); if (lastComparison != 0) { return lastComparison; } } return 0; }
@Override public int compareTo(ResourceUri other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; lastComparison = Boolean.valueOf(isSetResourceType()).compareTo(other.isSetResourceType()); if (lastComparison != 0) { return lastComparison; } if (isSetResourceType()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.resourceType, other.resourceType); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetUri()).compareTo(other.isSetUri()); if (lastComparison != 0) { return lastComparison; } if (isSetUri()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.uri, other.uri); if (lastComparison != 0) { return lastComparison; } } return 0; }
@Override public int compareTo(BasicRequestException other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; lastComparison = Boolean.valueOf(isSetCode()).compareTo(other.isSetCode()); if (lastComparison != 0) { return lastComparison; } if (isSetCode()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.code, other.code); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetReason()).compareTo(other.isSetReason()); if (lastComparison != 0) { return lastComparison; } if (isSetReason()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.reason, other.reason); if (lastComparison != 0) { return lastComparison; } } return 0; }
@Override public int compareTo(LockBlockResult other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; lastComparison = Boolean.valueOf(isSetLockId()).compareTo(other.isSetLockId()); if (lastComparison != 0) { return lastComparison; } if (isSetLockId()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lockId, other.lockId); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetBlockPath()).compareTo(other.isSetBlockPath()); if (lastComparison != 0) { return lastComparison; } if (isSetBlockPath()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.blockPath, other.blockPath); if (lastComparison != 0) { return lastComparison; } } return 0; }
@Override public int compareTo(Commit other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; lastComparison = Boolean.valueOf(isSetMessage()).compareTo(other.isSetMessage()); if (lastComparison != 0) { return lastComparison; } if (isSetMessage()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.message, other.message); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetAuthor()).compareTo(other.isSetAuthor()); if (lastComparison != 0) { return lastComparison; } if (isSetAuthor()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.author, other.author); if (lastComparison != 0) { return lastComparison; } } return 0; }
@Override public int compareTo(State other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; lastComparison = Boolean.valueOf(isSetBase()).compareTo(other.isSetBase()); if (lastComparison != 0) { return lastComparison; } if (isSetBase()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.base, other.base); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetState()).compareTo(other.isSetState()); if (lastComparison != 0) { return lastComparison; } if (isSetState()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.state, other.state); if (lastComparison != 0) { return lastComparison; } } return 0; }
@Override public int compareTo(PushResult other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; lastComparison = Boolean.valueOf(isSetCode()).compareTo(other.isSetCode()); if (lastComparison != 0) { return lastComparison; } if (isSetCode()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.code, other.code); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetDesc()).compareTo(other.isSetDesc()); if (lastComparison != 0) { return lastComparison; } if (isSetDesc()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.desc, other.desc); if (lastComparison != 0) { return lastComparison; } } return 0; }
public int compareTo(InvalidOperation other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; lastComparison = Boolean.valueOf(isSetWhatOp()).compareTo(other.isSetWhatOp()); if (lastComparison != 0) { return lastComparison; } if (isSetWhatOp()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.whatOp, other.whatOp); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetWhy()).compareTo(other.isSetWhy()); if (lastComparison != 0) { return lastComparison; } if (isSetWhy()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.why, other.why); if (lastComparison != 0) { return lastComparison; } } return 0; }
@Override public int compareTo(SettableBlobMeta other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; lastComparison = Boolean.valueOf(is_set_acl()).compareTo(other.is_set_acl()); if (lastComparison != 0) { return lastComparison; } if (is_set_acl()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.acl, other.acl); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(is_set_replication_factor()).compareTo(other.is_set_replication_factor()); if (lastComparison != 0) { return lastComparison; } if (is_set_replication_factor()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo( this.replication_factor, other.replication_factor); if (lastComparison != 0) { return lastComparison; } } return 0; }
@Override public int compareTo(ArchivedGame other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; lastComparison = Boolean.valueOf(isSetId()).compareTo(other.isSetId()); if (lastComparison != 0) { return lastComparison; } if (isSetId()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.id, other.id); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetGame()).compareTo(other.isSetGame()); if (lastComparison != 0) { return lastComparison; } if (isSetGame()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.game, other.game); if (lastComparison != 0) { return lastComparison; } } return 0; }
@Override public int compareTo(RemoteApplicationResult other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); if (lastComparison != 0) { return lastComparison; } if (isSetSuccess()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetMsg()).compareTo(other.isSetMsg()); if (lastComparison != 0) { return lastComparison; } if (isSetMsg()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.msg, other.msg); if (lastComparison != 0) { return lastComparison; } } return 0; }
@Override public int compareTo(Credentials other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; lastComparison = Boolean.valueOf(isSetUsername()).compareTo(other.isSetUsername()); if (lastComparison != 0) { return lastComparison; } if (isSetUsername()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.username, other.username); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetPassword()).compareTo(other.isSetPassword()); if (lastComparison != 0) { return lastComparison; } if (isSetPassword()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.password, other.password); if (lastComparison != 0) { return lastComparison; } } return 0; }
@Override public int compareTo(TI16Column other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; lastComparison = Boolean.valueOf(isSetValues()).compareTo(other.isSetValues()); if (lastComparison != 0) { return lastComparison; } if (isSetValues()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.values, other.values); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetNulls()).compareTo(other.isSetNulls()); if (lastComparison != 0) { return lastComparison; } if (isSetNulls()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.nulls, other.nulls); if (lastComparison != 0) { return lastComparison; } } return 0; }
public Object getFieldValue(_Fields field) { switch (field) { case STRING_VAL: return getString_val(); case BOOL_VAL: return Boolean.valueOf(isBool_val()); case I32_VAL: return Integer.valueOf(getI32_val()); case I64_VAL: return Long.valueOf(getI64_val()); case DOUBLE_VAL: return Double.valueOf(getDouble_val()); case NULL_VAL: return Boolean.valueOf(isNull_val()); case REF_VAL: return Integer.valueOf(getRef_val()); case ARRAY_VAL: return getArray_val(); } throw new IllegalStateException(); }
@Override public int compareTo(ThriftSecurityException other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; lastComparison = Boolean.valueOf(isSetUser()).compareTo(other.isSetUser()); if (lastComparison != 0) { return lastComparison; } if (isSetUser()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.user, other.user); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetCode()).compareTo(other.isSetCode()); if (lastComparison != 0) { return lastComparison; } if (isSetCode()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.code, other.code); if (lastComparison != 0) { return lastComparison; } } return 0; }
@Override public int compareTo(TCell other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; lastComparison = Boolean.valueOf(isSetValue()).compareTo(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 = Boolean.valueOf(isSetTimestamp()).compareTo(other.isSetTimestamp()); if (lastComparison != 0) { return lastComparison; } if (isSetTimestamp()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.timestamp, other.timestamp); if (lastComparison != 0) { return lastComparison; } } return 0; }
@Override public int compareTo(AggregationInfo other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; lastComparison = Boolean.valueOf(isSetAggregationType()).compareTo(other.isSetAggregationType()); if (lastComparison != 0) { return lastComparison; } if (isSetAggregationType()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.aggregationType, other.aggregationType); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetAggregationParams()).compareTo(other.isSetAggregationParams()); if (lastComparison != 0) { return lastComparison; } if (isSetAggregationParams()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.aggregationParams, other.aggregationParams); if (lastComparison != 0) { return lastComparison; } } return 0; }
@Override public int compareTo(PrivilegeGrantInfo other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; lastComparison = Boolean.valueOf(isSetPrivilege()).compareTo(other.isSetPrivilege()); if (lastComparison != 0) { return lastComparison; } if (isSetPrivilege()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.privilege, other.privilege); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetCreateTime()).compareTo(other.isSetCreateTime()); if (lastComparison != 0) { return lastComparison; } if (isSetCreateTime()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.createTime, other.createTime); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetGrantor()).compareTo(other.isSetGrantor()); if (lastComparison != 0) { return lastComparison; } if (isSetGrantor()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.grantor, other.grantor); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetGrantorType()).compareTo(other.isSetGrantorType()); if (lastComparison != 0) { return lastComparison; } if (isSetGrantorType()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.grantorType, other.grantorType); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetGrantOption()).compareTo(other.isSetGrantOption()); if (lastComparison != 0) { return lastComparison; } if (isSetGrantOption()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.grantOption, other.grantOption); if (lastComparison != 0) { return lastComparison; } } return 0; }
@Override public int compareTo(UnaryPredicate other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; lastComparison = Boolean.valueOf(isSetPredicateName()).compareTo(other.isSetPredicateName()); if (lastComparison != 0) { return lastComparison; } if (isSetPredicateName()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.predicateName, other.predicateName); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetValues()).compareTo(other.isSetValues()); if (lastComparison != 0) { return lastComparison; } if (isSetValues()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.values, other.values); if (lastComparison != 0) { return lastComparison; } } return 0; }
@Override public int compareTo(NimbusSummary other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; lastComparison = Boolean.valueOf(is_set_host()).compareTo(other.is_set_host()); if (lastComparison != 0) { return lastComparison; } if (is_set_host()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.host, other.host); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(is_set_port()).compareTo(other.is_set_port()); if (lastComparison != 0) { return lastComparison; } if (is_set_port()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.port, other.port); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(is_set_uptime_secs()).compareTo(other.is_set_uptime_secs()); if (lastComparison != 0) { return lastComparison; } if (is_set_uptime_secs()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.uptime_secs, other.uptime_secs); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(is_set_isLeader()).compareTo(other.is_set_isLeader()); if (lastComparison != 0) { return lastComparison; } if (is_set_isLeader()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.isLeader, other.isLeader); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(is_set_version()).compareTo(other.is_set_version()); if (lastComparison != 0) { return lastComparison; } if (is_set_version()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.version, other.version); if (lastComparison != 0) { return lastComparison; } } return 0; }
@Override public int compareTo(TExerciseType other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; lastComparison = Boolean.valueOf(isSetMyid()).compareTo(other.isSetMyid()); if (lastComparison != 0) { return lastComparison; } if (isSetMyid()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.myid, other.myid); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetTypeName()).compareTo(other.isSetTypeName()); if (lastComparison != 0) { return lastComparison; } if (isSetTypeName()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.typeName, other.typeName); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetCreateAt()).compareTo(other.isSetCreateAt()); if (lastComparison != 0) { return lastComparison; } if (isSetCreateAt()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.createAt, other.createAt); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetUpdateAt()).compareTo(other.isSetUpdateAt()); if (lastComparison != 0) { return lastComparison; } if (isSetUpdateAt()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.updateAt, other.updateAt); if (lastComparison != 0) { return lastComparison; } } lastComparison = Boolean.valueOf(isSetActive()).compareTo(other.isSetActive()); if (lastComparison != 0) { return lastComparison; } if (isSetActive()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.active, other.active); if (lastComparison != 0) { return lastComparison; } } return 0; }