public List<GroupingLevel> getLevels() {
        return groupingLevels;
    }
Returns the list of grouping levels that make up this grouping request.
searchlib/src/main/java/com/yahoo/searchlib/aggregation/Grouping.java