public Optional<GroupType> type() {
        return type;
    }
The type of the consumer group.

@return An Optional containing the type, if available.
clients/src/main/java/org/apache/kafka/clients/admin/ConsumerGroupListing.java