public static List<EntityData> entityToData(ClientQuotaEntity entity) {
        List<EntityData> entityData = new ArrayList<>(entity.entries().size());
        for (Entry<String, String> entry : entity.entries().entrySet()) {
            entityData.add(new EntityData().
                setEntityType(entry.getKey()).
                setEntityName(entry.getValue()));
        }
        return entityData;
    }
Represents a quota for a client entity in the metadata image.

This class is thread-safe.
metadata/src/main/java/org/apache/kafka/image/ClientQuotaImage.java