first = false; if (isSetCacheBlocks()) { if (!first) sb.append(", "); sb.append("cacheBlocks:");
lastComparison = java.lang.Boolean.valueOf(isSetCacheBlocks()).compareTo(other.isSetCacheBlocks()); if (lastComparison != 0) { return lastComparison; if (isSetCacheBlocks()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.cacheBlocks, other.cacheBlocks); if (lastComparison != 0) {
oprot.writeFieldEnd(); if (struct.isSetCacheBlocks()) { oprot.writeFieldBegin(CACHE_BLOCKS_FIELD_DESC); oprot.writeBool(struct.cacheBlocks);
optionals.set(8); if (struct.isSetCacheBlocks()) { optionals.set(9); oprot.writeI32(struct.targetReplicaId); if (struct.isSetCacheBlocks()) { oprot.writeBool(struct.cacheBlocks);
return isSetTargetReplicaId(); case CACHE_BLOCKS: return isSetCacheBlocks(); case STORE_LIMIT: return isSetStoreLimit();
hashCode = hashCode * 8191 + targetReplicaId; hashCode = hashCode * 8191 + ((isSetCacheBlocks()) ? 131071 : 524287); if (isSetCacheBlocks()) hashCode = hashCode * 8191 + ((cacheBlocks) ? 131071 : 524287);
boolean this_present_cacheBlocks = true && this.isSetCacheBlocks(); boolean that_present_cacheBlocks = true && that.isSetCacheBlocks(); if (this_present_cacheBlocks || that_present_cacheBlocks) { if (!(this_present_cacheBlocks && that_present_cacheBlocks))
if (in.isSetCacheBlocks()) { out.setCacheBlocks(in.isCacheBlocks());