public void set(Optional<T> value) {
        this.value = value.orElse(null);
    }
Creates a new settable optional with the given value, or an empty
vespajlib/src/main/java/com/yahoo/lang/SettableOptional.java