@java.lang.Override
    public int getMaxSpeakerCount() {
      return maxSpeakerCount_;
    }
<pre>
Maximum number of speakers in the conversation. This range gives you more
flexibility by allowing the system to automatically determine the correct
number of speakers. If not set, the default value is 6.
</pre>

<code>int32 max_speaker_count = 3;</code>

@return The maxSpeakerCount.
java-speech/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/SpeakerDiarizationConfig.java