public FieldDescription withName(CompoundName name) {
        return new FieldDescription(name, type, aliases, mandatory, overridable);
    }
Returns a copy of this with the name set to the argument name
container-search/src/main/java/com/yahoo/search/query/profile/types/FieldDescription.java