.computeBytesSize(5, getUfsFingerprintBytes()); size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size;
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); for (int i = 0; i < blockIds_.size(); i++) { output.writeInt64(1, blockIds_.get(i)); } if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt64(2, id_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeInt64(3, length_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeInt64(4, opTimeMs_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeBytes(5, getUfsFingerprintBytes()); } getUnknownFields().writeTo(output); }
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; }