Interface AdvancedSettings.SpeechSettingsOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
AdvancedSettings.SpeechSettings, AdvancedSettings.SpeechSettings.Builder
Enclosing class:
AdvancedSettings

public static interface AdvancedSettings.SpeechSettingsOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Mapping from language to Speech-to-Text model.
    int
    Sensitivity of the speech model that detects the end of speech.
    Deprecated.
    int
    Mapping from language to Speech-to-Text model.
    Mapping from language to Speech-to-Text model.
    getModelsOrDefault(String key, String defaultValue)
    Mapping from language to Speech-to-Text model.
    Mapping from language to Speech-to-Text model.
    com.google.protobuf.Duration
    Timeout before detecting no speech.
    com.google.protobuf.DurationOrBuilder
    Timeout before detecting no speech.
    boolean
    Use timeout based endpointing, interpreting endpointer sensitivity as seconds of timeout value.
    boolean
    Timeout before detecting no speech.

    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

    • getEndpointerSensitivity

      int getEndpointerSensitivity()
       Sensitivity of the speech model that detects the end of speech.
       Scale from 0 to 100.
       
      int32 endpointer_sensitivity = 1;
      Returns:
      The endpointerSensitivity.
    • hasNoSpeechTimeout

      boolean hasNoSpeechTimeout()
       Timeout before detecting no speech.
       
      .google.protobuf.Duration no_speech_timeout = 2;
      Returns:
      Whether the noSpeechTimeout field is set.
    • getNoSpeechTimeout

      com.google.protobuf.Duration getNoSpeechTimeout()
       Timeout before detecting no speech.
       
      .google.protobuf.Duration no_speech_timeout = 2;
      Returns:
      The noSpeechTimeout.
    • getNoSpeechTimeoutOrBuilder

      com.google.protobuf.DurationOrBuilder getNoSpeechTimeoutOrBuilder()
       Timeout before detecting no speech.
       
      .google.protobuf.Duration no_speech_timeout = 2;
    • getUseTimeoutBasedEndpointing

      boolean getUseTimeoutBasedEndpointing()
       Use timeout based endpointing, interpreting endpointer sensitivity as
       seconds of timeout value.
       
      bool use_timeout_based_endpointing = 3;
      Returns:
      The useTimeoutBasedEndpointing.
    • getModelsCount

      int getModelsCount()
       Mapping from language to Speech-to-Text model. The mapped Speech-to-Text
       model will be selected for requests from its corresponding language.
       For more information, see
       [Speech
       models](https://cloud.google.com/dialogflow/cx/docs/concept/speech-models).
       
      map<string, string> models = 5;
    • containsModels

      boolean containsModels(String key)
       Mapping from language to Speech-to-Text model. The mapped Speech-to-Text
       model will be selected for requests from its corresponding language.
       For more information, see
       [Speech
       models](https://cloud.google.com/dialogflow/cx/docs/concept/speech-models).
       
      map<string, string> models = 5;
    • getModels

      Deprecated.
      Use getModelsMap() instead.
    • getModelsMap

      Map<String,String> getModelsMap()
       Mapping from language to Speech-to-Text model. The mapped Speech-to-Text
       model will be selected for requests from its corresponding language.
       For more information, see
       [Speech
       models](https://cloud.google.com/dialogflow/cx/docs/concept/speech-models).
       
      map<string, string> models = 5;
    • getModelsOrDefault

      String getModelsOrDefault(String key, String defaultValue)
       Mapping from language to Speech-to-Text model. The mapped Speech-to-Text
       model will be selected for requests from its corresponding language.
       For more information, see
       [Speech
       models](https://cloud.google.com/dialogflow/cx/docs/concept/speech-models).
       
      map<string, string> models = 5;
    • getModelsOrThrow

      String getModelsOrThrow(String key)
       Mapping from language to Speech-to-Text model. The mapped Speech-to-Text
       model will be selected for requests from its corresponding language.
       For more information, see
       [Speech
       models](https://cloud.google.com/dialogflow/cx/docs/concept/speech-models).
       
      map<string, string> models = 5;