All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.cloud.dialogflow.cx.v3beta1.OutputAudioConfigOrBuilder Maven / Gradle / Ivy

There is a newer version: 0.65.0
Show newest version
/*
 * Copyright 2024 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/dialogflow/cx/v3beta1/audio_config.proto

// Protobuf Java Version: 3.25.3
package com.google.cloud.dialogflow.cx.v3beta1;

public interface OutputAudioConfigOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.cx.v3beta1.OutputAudioConfig)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * 
   * Required. Audio encoding of the synthesized audio content.
   * 
* * * .google.cloud.dialogflow.cx.v3beta1.OutputAudioEncoding audio_encoding = 1 [(.google.api.field_behavior) = REQUIRED]; * * * @return The enum numeric value on the wire for audioEncoding. */ int getAudioEncodingValue(); /** * * *
   * Required. Audio encoding of the synthesized audio content.
   * 
* * * .google.cloud.dialogflow.cx.v3beta1.OutputAudioEncoding audio_encoding = 1 [(.google.api.field_behavior) = REQUIRED]; * * * @return The audioEncoding. */ com.google.cloud.dialogflow.cx.v3beta1.OutputAudioEncoding getAudioEncoding(); /** * * *
   * Optional. The synthesis sample rate (in hertz) for this audio. If not
   * provided, then the synthesizer will use the default sample rate based on
   * the audio encoding. If this is different from the voice's natural sample
   * rate, then the synthesizer will honor this request by converting to the
   * desired sample rate (which might result in worse audio quality).
   * 
* * int32 sample_rate_hertz = 2; * * @return The sampleRateHertz. */ int getSampleRateHertz(); /** * * *
   * Optional. Configuration of how speech should be synthesized.
   * If not specified,
   * [Agent.text_to_speech_settings][google.cloud.dialogflow.cx.v3beta1.Agent.text_to_speech_settings]
   * is applied.
   * 
* * .google.cloud.dialogflow.cx.v3beta1.SynthesizeSpeechConfig synthesize_speech_config = 3; * * * @return Whether the synthesizeSpeechConfig field is set. */ boolean hasSynthesizeSpeechConfig(); /** * * *
   * Optional. Configuration of how speech should be synthesized.
   * If not specified,
   * [Agent.text_to_speech_settings][google.cloud.dialogflow.cx.v3beta1.Agent.text_to_speech_settings]
   * is applied.
   * 
* * .google.cloud.dialogflow.cx.v3beta1.SynthesizeSpeechConfig synthesize_speech_config = 3; * * * @return The synthesizeSpeechConfig. */ com.google.cloud.dialogflow.cx.v3beta1.SynthesizeSpeechConfig getSynthesizeSpeechConfig(); /** * * *
   * Optional. Configuration of how speech should be synthesized.
   * If not specified,
   * [Agent.text_to_speech_settings][google.cloud.dialogflow.cx.v3beta1.Agent.text_to_speech_settings]
   * is applied.
   * 
* * .google.cloud.dialogflow.cx.v3beta1.SynthesizeSpeechConfig synthesize_speech_config = 3; * */ com.google.cloud.dialogflow.cx.v3beta1.SynthesizeSpeechConfigOrBuilder getSynthesizeSpeechConfigOrBuilder(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy