Interface BidiStreamingAnalyzeContentRequest.Config.VoiceSessionConfigOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
BidiStreamingAnalyzeContentRequest.Config.VoiceSessionConfig, BidiStreamingAnalyzeContentRequest.Config.VoiceSessionConfig.Builder
Enclosing class:
BidiStreamingAnalyzeContentRequest.Config

public static interface BidiStreamingAnalyzeContentRequest.Config.VoiceSessionConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getInputAudioEncodingValue

      int getInputAudioEncodingValue()
       Required. The encoding of input audio.
       
      .google.cloud.dialogflow.v2beta1.AudioEncoding input_audio_encoding = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The enum numeric value on the wire for inputAudioEncoding.
    • getInputAudioEncoding

      AudioEncoding getInputAudioEncoding()
       Required. The encoding of input audio.
       
      .google.cloud.dialogflow.v2beta1.AudioEncoding input_audio_encoding = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The inputAudioEncoding.
    • getInputAudioSampleRateHertz

      int getInputAudioSampleRateHertz()
       Required. The sample rate of input audio.
       
      int32 input_audio_sample_rate_hertz = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The inputAudioSampleRateHertz.
    • getOutputAudioEncodingValue

      int getOutputAudioEncodingValue()
       Required. The encoding of output audio.
       
      .google.cloud.dialogflow.v2beta1.OutputAudioEncoding output_audio_encoding = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The enum numeric value on the wire for outputAudioEncoding.
    • getOutputAudioEncoding

      OutputAudioEncoding getOutputAudioEncoding()
       Required. The encoding of output audio.
       
      .google.cloud.dialogflow.v2beta1.OutputAudioEncoding output_audio_encoding = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The outputAudioEncoding.
    • getOutputAudioSampleRateHertz

      int getOutputAudioSampleRateHertz()
       Required. The sample rate of output audio.
       
      int32 output_audio_sample_rate_hertz = 4 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The outputAudioSampleRateHertz.
    • getEnableCxProactiveProcessing

      boolean getEnableCxProactiveProcessing()
       Optional. Whether to enable CX proactive processing.
       
      bool enable_cx_proactive_processing = 5 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The enableCxProactiveProcessing.
    • getEnableStreamingSynthesize

      boolean getEnableStreamingSynthesize()
       Optional. If true, Dialogflow will stream the audio bytes from Cloud
       TTS for speech synthesis using the StreamingSynthesize api.
       
      bool enable_streaming_synthesize = 23 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The enableStreamingSynthesize.