hash = (53 * hash) + getUfsFingerprint().hashCode();
result = result && getUfsFingerprint() .equals(other.getUfsFingerprint());
/** * @param entry the entry to use * @throws InvalidPathException if an invalid path is encountered * @throws InvalidFileSizeException if an invalid file size is encountered * @throws FileAlreadyCompletedException if the file has already been completed */ private void completeFileFromEntry(CompleteFileEntry entry) throws InvalidPathException, InvalidFileSizeException, FileAlreadyCompletedException, UnavailableException { try (LockedInodePath inodePath = mInodeTree .lockFullInodePath(entry.getId(), InodeTree.LockMode.WRITE)) { completeFileInternal(entry.getBlockIdsList(), inodePath, entry.getLength(), entry.getOpTimeMs(), entry.getUfsFingerprint(), true); } catch (FileDoesNotExistException e) { throw new RuntimeException(e); } }
/** * <code>optional string ufs_fingerprint = 5;</code> */ public Builder clearUfsFingerprint() { bitField0_ = (bitField0_ & ~0x00000010); ufsFingerprint_ = getDefaultInstance().getUfsFingerprint(); onChanged(); return this; } /**
private void apply(CompleteFileEntry entry) { apply(UpdateInodeEntry.newBuilder() .setId(entry.getId()) .setLastModificationTimeMs(entry.getOpTimeMs()) .setOverwriteModificationTime(true) .setUfsFingerprint(entry.getUfsFingerprint()) .build()); apply(UpdateInodeFileEntry.newBuilder() .setId(entry.getId()) .setLength(entry.getLength()) .addAllSetBlocks(entry.getBlockIdsList()) .build()); }
/** * <code>optional string ufs_fingerprint = 5;</code> */ public Builder clearUfsFingerprint() { bitField0_ = (bitField0_ & ~0x00000010); ufsFingerprint_ = getDefaultInstance().getUfsFingerprint(); onChanged(); return this; } /**