Interface SpeechToTextConfigOrBuilder

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

    public interface SpeechToTextConfigOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getModel()
      Which Speech model to select.
      com.google.protobuf.ByteString getModelBytes()
      Which Speech model to select.
      SpeechModelVariant getSpeechModelVariant()
      The speech model used in speech to text.
      int getSpeechModelVariantValue()
      The speech model used in speech to text.
      boolean getUseTimeoutBasedEndpointing()
      Use timeout based endpointing, interpreting endpointer sensitivy as seconds of timeout value.
      • 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 Detail

      • getSpeechModelVariantValue

        int getSpeechModelVariantValue()
         The speech model used in speech to text.
         `SPEECH_MODEL_VARIANT_UNSPECIFIED`, `USE_BEST_AVAILABLE` will be treated as
         `USE_ENHANCED`. It can be overridden in
         [AnalyzeContentRequest][google.cloud.dialogflow.v2.AnalyzeContentRequest]
         and
         [StreamingAnalyzeContentRequest][google.cloud.dialogflow.v2.StreamingAnalyzeContentRequest]
         request. If enhanced model variant is specified and an enhanced version of
         the specified model for the language does not exist, then it would emit an
         error.
         
        .google.cloud.dialogflow.v2.SpeechModelVariant speech_model_variant = 1;
        Returns:
        The enum numeric value on the wire for speechModelVariant.
      • getSpeechModelVariant

        SpeechModelVariant getSpeechModelVariant()
         The speech model used in speech to text.
         `SPEECH_MODEL_VARIANT_UNSPECIFIED`, `USE_BEST_AVAILABLE` will be treated as
         `USE_ENHANCED`. It can be overridden in
         [AnalyzeContentRequest][google.cloud.dialogflow.v2.AnalyzeContentRequest]
         and
         [StreamingAnalyzeContentRequest][google.cloud.dialogflow.v2.StreamingAnalyzeContentRequest]
         request. If enhanced model variant is specified and an enhanced version of
         the specified model for the language does not exist, then it would emit an
         error.
         
        .google.cloud.dialogflow.v2.SpeechModelVariant speech_model_variant = 1;
        Returns:
        The speechModelVariant.
      • getModel

        String getModel()
         Which Speech model to select. Select the model best suited to your domain
         to get best results. If a model is not explicitly specified, then a default
         model is used.
         Refer to
         [Cloud Speech API
         documentation](https://cloud.google.com/speech-to-text/docs/basics#select-model)
         for more details.
         
        string model = 2;
        Returns:
        The model.
      • getModelBytes

        com.google.protobuf.ByteString getModelBytes()
         Which Speech model to select. Select the model best suited to your domain
         to get best results. If a model is not explicitly specified, then a default
         model is used.
         Refer to
         [Cloud Speech API
         documentation](https://cloud.google.com/speech-to-text/docs/basics#select-model)
         for more details.
         
        string model = 2;
        Returns:
        The bytes for model.
      • getUseTimeoutBasedEndpointing

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