if (isSetConsistency()) { if (!first) sb.append(", "); sb.append("consistency:");
lastComparison = java.lang.Boolean.valueOf(isSetConsistency()).compareTo(other.isSetConsistency()); if (lastComparison != 0) { return lastComparison; if (isSetConsistency()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.consistency, other.consistency); if (lastComparison != 0) {
if (struct.isSetConsistency()) { oprot.writeFieldBegin(CONSISTENCY_FIELD_DESC); oprot.writeI32(struct.consistency.getValue());
this.authorizations = new TAuthorization(other.authorizations); if (other.isSetConsistency()) { this.consistency = other.consistency;
optionals.set(6); if (struct.isSetConsistency()) { optionals.set(7); struct.authorizations.write(oprot); if (struct.isSetConsistency()) { oprot.writeI32(struct.consistency.getValue());
return isSetAuthorizations(); case CONSISTENCY: return isSetConsistency(); case TARGET_REPLICA_ID: return isSetTargetReplicaId();
hashCode = hashCode * 8191 + authorizations.hashCode(); hashCode = hashCode * 8191 + ((isSetConsistency()) ? 131071 : 524287); if (isSetConsistency()) hashCode = hashCode * 8191 + consistency.getValue();
boolean this_present_consistency = true && this.isSetConsistency(); boolean that_present_consistency = true && that.isSetConsistency(); if (this_present_consistency || that_present_consistency) { if (!(this_present_consistency && that_present_consistency))
if (in.isSetConsistency()) { out.setConsistency(consistencyFromThrift(in.getConsistency()));