public Builder mergeFrom(alluxio.proto.journal.File.UpdateInodeDirectoryEntry other) { if (other == alluxio.proto.journal.File.UpdateInodeDirectoryEntry.getDefaultInstance()) return this; if (other.hasId()) { setId(other.getId()); } if (other.hasMountPoint()) { setMountPoint(other.getMountPoint()); } if (other.hasDirectChildrenLoaded()) { setDirectChildrenLoaded(other.getDirectChildrenLoaded()); } if (other.hasDefaultAcl()) { mergeDefaultAcl(other.getDefaultAcl()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
/** * Marks an inode directory as having its direct children loaded. * * @param context journal context supplier * @param dir the inode directory */ public void setDirectChildrenLoaded(Supplier<JournalContext> context, InodeDirectory dir) { mState.applyAndJournal(context, UpdateInodeDirectoryEntry.newBuilder() .setId(dir.getId()) .setDirectChildrenLoaded(true) .build()); }