public EndQuery group(Group group) {
        return group(group.toString());
    }
Group.
https://docs.vespa.ai/en/reference/query-language-reference.html#grouping

@param group the group
@return the end query
client/src/main/java/ai/vespa/client/dsl/EndQuery.java