code: public static MountPOptions fromMountEntry(File.AddMountPointEntry mountEntryPoint) {
      MountPOptions.Builder optionsBuilder = MountPOptions.newBuilder();
      if (mountEntryPoint != null) {
        if (mountEntryPoint.hasReadOnly()) {
          optionsBuilder.setReadOnly(mountEntryPoint.getReadOnly());
        }
        for (File.StringPairEntry entry : mountEntryPoint.getPropertiesList()) {
          optionsBuilder.putProperties(entry.getKey(), entry.getValue());
        }
        if (mountEntryPoint.hasShared()) {
          optionsBuilder.setShared(mountEntryPoint.getShared());
        }
      }
      return optionsBuilder.build();
    }
docs: Creates mount proto options from {@link File.AddMountPointEntry}.
  @param mountEntryPoint mount point entry
  @return created mount proto options