public Set<GroupType> types() {
        return types;
    }
Returns the list of group types that are requested or empty if no types have been specified.
clients/src/main/java/org/apache/kafka/clients/admin/ListConsumerGroupsOptions.java