/** * <code>repeated int64 block_ids = 1;</code> */ public Builder clearBlockIds() { blockIds_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; }
/** * <code>optional string ufs_fingerprint = 5;</code> */ public Builder setUfsFingerprint( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; ufsFingerprint_ = value; onChanged(); return this; } /**
/** * <code>optional string ufs_fingerprint = 5;</code> */ public Builder setUfsFingerprintBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; ufsFingerprint_ = value; onChanged(); return this; } public final Builder setUnknownFields(
/** * <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>optional string ufs_fingerprint = 5;</code> */ public Builder clearUfsFingerprint() { bitField0_ = (bitField0_ & ~0x00000010); ufsFingerprint_ = getDefaultInstance().getUfsFingerprint(); onChanged(); return this; } /**
/** * <code>optional int64 id = 2;</code> */ public Builder clearId() { bitField0_ = (bitField0_ & ~0x00000002); id_ = 0L; onChanged(); return this; }
/** * <code>repeated int64 block_ids = 1;</code> */ public Builder clearBlockIds() { blockIds_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; }
/** * <code>optional int64 op_time_ms = 4;</code> */ public Builder clearOpTimeMs() { bitField0_ = (bitField0_ & ~0x00000008); opTimeMs_ = 0L; 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; }
/** * <code>optional int64 length = 3;</code> */ public Builder clearLength() { bitField0_ = (bitField0_ & ~0x00000004); length_ = 0L; onChanged(); return this; }
/** * <code>optional int64 length = 3;</code> */ public Builder setLength(long value) { bitField0_ |= 0x00000004; length_ = value; onChanged(); return this; } /**
/** * <code>optional int64 id = 2;</code> */ public Builder clearId() { bitField0_ = (bitField0_ & ~0x00000002); id_ = 0L; onChanged(); return this; }
/** * <code>optional string ufs_fingerprint = 5;</code> */ public Builder clearUfsFingerprint() { bitField0_ = (bitField0_ & ~0x00000010); ufsFingerprint_ = getDefaultInstance().getUfsFingerprint(); onChanged(); return this; } /**
/** * <code>repeated int64 block_ids = 1;</code> */ public Builder addBlockIds(long value) { ensureBlockIdsIsMutable(); blockIds_.add(value); onChanged(); return this; } /**
/** * <code>optional int64 op_time_ms = 4;</code> */ public Builder setOpTimeMs(long value) { bitField0_ |= 0x00000008; opTimeMs_ = 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; } /**
/** * <code>repeated int64 block_ids = 1;</code> */ public Builder setBlockIds( int index, long value) { ensureBlockIdsIsMutable(); blockIds_.set(index, value); onChanged(); return this; } /**
/** * <code>optional int64 op_time_ms = 4;</code> */ public Builder clearOpTimeMs() { bitField0_ = (bitField0_ & ~0x00000008); opTimeMs_ = 0L; onChanged(); return this; }
/** * <code>optional int64 id = 2;</code> */ public Builder setId(long value) { bitField0_ |= 0x00000002; id_ = value; onChanged(); return this; } /**