# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/dialogflow/cx/v3/audio_config.proto require 'google/protobuf' require 'google/api/field_behavior_pb' require 'google/api/resource_pb' require 'google/protobuf/duration_pb' require 'google/protobuf/timestamp_pb' require 'google/api/annotations_pb' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("google/cloud/dialogflow/cx/v3/audio_config.proto", :syntax => :proto3) do add_message "google.cloud.dialogflow.cx.v3.SpeechWordInfo" do optional :word, :string, 3 optional :start_offset, :message, 1, "google.protobuf.Duration" optional :end_offset, :message, 2, "google.protobuf.Duration" optional :confidence, :float, 4 end add_message "google.cloud.dialogflow.cx.v3.InputAudioConfig" do optional :audio_encoding, :enum, 1, "google.cloud.dialogflow.cx.v3.AudioEncoding" optional :sample_rate_hertz, :int32, 2 optional :enable_word_info, :bool, 13 repeated :phrase_hints, :string, 4 optional :model, :string, 7 optional :model_variant, :enum, 10, "google.cloud.dialogflow.cx.v3.SpeechModelVariant" optional :single_utterance, :bool, 8 end add_message "google.cloud.dialogflow.cx.v3.VoiceSelectionParams" do optional :name, :string, 1 optional :ssml_gender, :enum, 2, "google.cloud.dialogflow.cx.v3.SsmlVoiceGender" end add_message "google.cloud.dialogflow.cx.v3.SynthesizeSpeechConfig" do optional :speaking_rate, :double, 1 optional :pitch, :double, 2 optional :volume_gain_db, :double, 3 repeated :effects_profile_id, :string, 5 optional :voice, :message, 4, "google.cloud.dialogflow.cx.v3.VoiceSelectionParams" end add_message "google.cloud.dialogflow.cx.v3.OutputAudioConfig" do optional :audio_encoding, :enum, 1, "google.cloud.dialogflow.cx.v3.OutputAudioEncoding" optional :sample_rate_hertz, :int32, 2 optional :synthesize_speech_config, :message, 3, "google.cloud.dialogflow.cx.v3.SynthesizeSpeechConfig" end add_enum "google.cloud.dialogflow.cx.v3.AudioEncoding" do value :AUDIO_ENCODING_UNSPECIFIED, 0 value :AUDIO_ENCODING_LINEAR_16, 1 value :AUDIO_ENCODING_FLAC, 2 value :AUDIO_ENCODING_MULAW, 3 value :AUDIO_ENCODING_AMR, 4 value :AUDIO_ENCODING_AMR_WB, 5 value :AUDIO_ENCODING_OGG_OPUS, 6 value :AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE, 7 end add_enum "google.cloud.dialogflow.cx.v3.SpeechModelVariant" do value :SPEECH_MODEL_VARIANT_UNSPECIFIED, 0 value :USE_BEST_AVAILABLE, 1 value :USE_STANDARD, 2 value :USE_ENHANCED, 3 end add_enum "google.cloud.dialogflow.cx.v3.SsmlVoiceGender" do value :SSML_VOICE_GENDER_UNSPECIFIED, 0 value :SSML_VOICE_GENDER_MALE, 1 value :SSML_VOICE_GENDER_FEMALE, 2 value :SSML_VOICE_GENDER_NEUTRAL, 3 end add_enum "google.cloud.dialogflow.cx.v3.OutputAudioEncoding" do value :OUTPUT_AUDIO_ENCODING_UNSPECIFIED, 0 value :OUTPUT_AUDIO_ENCODING_LINEAR_16, 1 value :OUTPUT_AUDIO_ENCODING_MP3, 2 value :OUTPUT_AUDIO_ENCODING_MP3_64_KBPS, 4 value :OUTPUT_AUDIO_ENCODING_OGG_OPUS, 3 value :OUTPUT_AUDIO_ENCODING_MULAW, 5 end end end module Google module Cloud module Dialogflow module CX module V3 SpeechWordInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.SpeechWordInfo").msgclass InputAudioConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.InputAudioConfig").msgclass VoiceSelectionParams = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.VoiceSelectionParams").msgclass SynthesizeSpeechConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.SynthesizeSpeechConfig").msgclass OutputAudioConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.OutputAudioConfig").msgclass AudioEncoding = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.AudioEncoding").enummodule SpeechModelVariant = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.SpeechModelVariant").enummodule SsmlVoiceGender = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.SsmlVoiceGender").enummodule OutputAudioEncoding = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.OutputAudioEncoding").enummodule end end end end end