public GroupingLevel setGroupPrototype(Group group) {
        this.collect = group;
        return this;
    }
<p>Sets the prototype to use when creating groups at this level.</p>

@param group The group prototype.
@return This, to allow chaining.
searchlib/src/main/java/com/yahoo/searchlib/aggregation/GroupingLevel.java