@Override
        public String toString() {
            return "constant '" + name + "' " + type + ":" +
                   (value().isPresent() ? value.get().toAbbreviatedString() : " file:" + valuePath.get());
        }
Returns the path type, if valuePath is set.
config-model/src/main/java/com/yahoo/schema/RankProfile.java