Interface SpeakerDiarizationConfigOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
SpeakerDiarizationConfig, SpeakerDiarizationConfig.Builder

@Generated public interface SpeakerDiarizationConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    If 'true', enables speaker detection for each recognized word in the top alternative of the recognition result using a speaker_label provided in the WordInfo.
    int
    Maximum number of speakers in the conversation.
    int
    Minimum number of speakers in the conversation.
    int
    Deprecated.
    google.cloud.speech.v1.SpeakerDiarizationConfig.speaker_tag is deprecated.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getEnableSpeakerDiarization

      boolean getEnableSpeakerDiarization()
       If 'true', enables speaker detection for each recognized word in
       the top alternative of the recognition result using a speaker_label
       provided in the WordInfo.
       
      bool enable_speaker_diarization = 1;
      Returns:
      The enableSpeakerDiarization.
    • getMinSpeakerCount

      int getMinSpeakerCount()
       Minimum 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 2.
       
      int32 min_speaker_count = 2;
      Returns:
      The minSpeakerCount.
    • getMaxSpeakerCount

      int getMaxSpeakerCount()
       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.
       
      int32 max_speaker_count = 3;
      Returns:
      The maxSpeakerCount.
    • getSpeakerTag

      @Deprecated int getSpeakerTag()
      Deprecated.
      google.cloud.speech.v1.SpeakerDiarizationConfig.speaker_tag is deprecated. See google/cloud/speech/v1/cloud_speech.proto;l=493
       Output only. Unused.
       
      int32 speaker_tag = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The speakerTag.