@Override
    public String toInstanceDescription() {
        return "reference to a query profile" + (type != null ? " of type '" + type.getId().getName() + "'" : "");
    }
Returns the query profile type of this, or null if any type works
container-search/src/main/java/com/yahoo/search/query/profile/types/QueryProfileFieldType.java