/** * <code>repeated int64 block_ids = 1;</code> */ public Builder setBlockIds( int index, long value) { ensureBlockIdsIsMutable(); blockIds_.set(index, value); onChanged(); return this; } /**
/** * <code>repeated int64 block_ids = 1;</code> */ public Builder addBlockIds(long value) { ensureBlockIdsIsMutable(); blockIds_.add(value); onChanged(); return this; } /**
/** * <code>repeated int64 block_ids = 1;</code> */ public Builder addAllBlockIds( java.lang.Iterable<? extends java.lang.Long> values) { ensureBlockIdsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, blockIds_); onChanged(); return this; } /**
public Builder mergeFrom(alluxio.proto.journal.File.CompleteFileEntry other) { if (other == alluxio.proto.journal.File.CompleteFileEntry.getDefaultInstance()) return this; if (!other.blockIds_.isEmpty()) { if (blockIds_.isEmpty()) { blockIds_ = other.blockIds_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureBlockIdsIsMutable(); blockIds_.addAll(other.blockIds_); } onChanged(); } if (other.hasId()) { setId(other.getId()); } if (other.hasLength()) { setLength(other.getLength()); } if (other.hasOpTimeMs()) { setOpTimeMs(other.getOpTimeMs()); } if (other.hasUfsFingerprint()) { bitField0_ |= 0x00000010; ufsFingerprint_ = other.ufsFingerprint_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
/** * <code>repeated int64 block_ids = 1;</code> */ public Builder addAllBlockIds( java.lang.Iterable<? extends java.lang.Long> values) { ensureBlockIdsIsMutable(); super.addAll(values, blockIds_); onChanged(); return this; } /**
/** * <code>repeated int64 block_ids = 1;</code> */ public Builder addBlockIds(long value) { ensureBlockIdsIsMutable(); blockIds_.add(value); onChanged(); return this; } /**
/** * <code>repeated int64 block_ids = 1;</code> */ public Builder setBlockIds( int index, long value) { ensureBlockIdsIsMutable(); blockIds_.set(index, value); onChanged(); return this; } /**
public Builder mergeFrom(alluxio.proto.journal.File.CompleteFileEntry other) { if (other == alluxio.proto.journal.File.CompleteFileEntry.getDefaultInstance()) return this; if (!other.blockIds_.isEmpty()) { if (blockIds_.isEmpty()) { blockIds_ = other.blockIds_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureBlockIdsIsMutable(); blockIds_.addAll(other.blockIds_); } onChanged(); } if (other.hasId()) { setId(other.getId()); } if (other.hasLength()) { setLength(other.getLength()); } if (other.hasOpTimeMs()) { setOpTimeMs(other.getOpTimeMs()); } if (other.hasUfsFingerprint()) { bitField0_ |= 0x00000010; ufsFingerprint_ = other.ufsFingerprint_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }