public static com.google.cloud.speech.v2.SpeakerDiarizationConfig parseFrom(
      java.io.InputStream input) throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
  }
<pre>
Required. Maximum number of speakers in the conversation. Valid values are:
1-6. Must be &gt;= `min_speaker_count`. This range gives you more flexibility
by allowing the system to automatically determine the correct number of
speakers.
</pre>

<code>int32 max_speaker_count = 3 [(.google.api.field_behavior) = REQUIRED];</code>

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