public void setProtocolName(Optional<String> protocolName) {
        this.protocolName = protocolName;
    }
Sets protocolName.

@param protocolName the value to set.
group-coordinator/src/main/java/org/apache/kafka/coordinator/group/classic/ClassicGroup.java