code: public void updateFromEntry(UpdateInodeEntry entry) {
      if (entry.hasAcl()) {
        setInternalAcl(ProtoUtils.fromProto(entry.getAcl()));
      }
      if (entry.hasCreationTimeMs()) {
        setCreationTimeMs(entry.getCreationTimeMs());
      }
      if (entry.hasGroup()) {
        setGroup(entry.getGroup());
      }
      if (entry.hasLastModificationTimeMs()) {
        setLastModificationTimeMs(entry.getLastModificationTimeMs(),
            entry.getOverwriteModificationTime());
      }
      if (entry.hasMode()) {
        setMode((short) entry.getMode());
      }
      if (entry.hasName()) {
        setName(entry.getName());
      }
      if (entry.hasOwner()) {
        setOwner(entry.getOwner());
      }
      if (entry.hasParentId()) {
        setParentId(entry.getParentId());
      }
      if (entry.hasPersistenceState()) {
        setPersistenceState(PersistenceState.valueOf(entry.getPersistenceState()));
      }
      if (entry.hasPinned()) {
        setPinned(entry.getPinned());
      }
      if (entry.hasTtl()) {
        setTtl(entry.getTtl());
      }
      if (entry.hasTtlAction()) {
        setTtlAction(ProtobufUtils.fromProtobuf(entry.getTtlAction()));
      }
      if (entry.hasUfsFingerprint()) {
        setUfsFingerprint(entry.getUfsFingerprint());
      }
    }
docs: Updates this inode's state from the given entry.
  
  @param entry the entry