public Builder setMaxSpeakerCount(int value) {

      maxSpeakerCount_ = value;
      bitField0_ |= 0x00000004;
      onChanged();
      return this;
    }
<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>

@param value The maxSpeakerCount to set.
@return This builder for chaining.
java-speech/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/SpeakerDiarizationConfig.java