public QueryProfileType getType(String type) {
        return queryProfileTypeRegistry.getComponent(type);
    }
Returns a query profile type by name, or null if not found
container-search/src/main/java/com/yahoo/search/query/profile/QueryProfileRegistry.java