code: public void updateFromEntry(UpdateInodeDirectoryEntry entry) {
      if (entry.hasDefaultAcl()) {
        setDefaultACL(
            (DefaultAccessControlList) ProtoUtils.fromProto(entry.getDefaultAcl()));
      }
      if (entry.hasDirectChildrenLoaded()) {
        setDirectChildrenLoaded(entry.getDirectChildrenLoaded());
      }
      if (entry.hasMountPoint()) {
        setMountPoint(entry.getMountPoint());
      }
    }
docs: Updates this inode directory's state from the given entry.
  
  @param entry the entry