com.google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettingsOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-dialogflow-cx-v3beta1 Show documentation
Show all versions of proto-google-cloud-dialogflow-cx-v3beta1 Show documentation
PROTO library for proto-google-cloud-dialogflow-cx-v3beta1
The 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.5
package com.google.cloud.dialogflow.cx.v3beta1;
public interface TextToSpeechSettingsOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.cx.v3beta1.TextToSpeechSettings)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Configuration of how speech should be synthesized, mapping from language
* (https://cloud.google.com/dialogflow/cx/docs/reference/language) to
* SynthesizeSpeechConfig.
*
* These settings affect:
*
* - The [phone
* gateway](https://cloud.google.com/dialogflow/cx/docs/concept/integration/phone-gateway)
* synthesize configuration set via
* [Agent.text_to_speech_settings][google.cloud.dialogflow.cx.v3beta1.Agent.text_to_speech_settings].
*
* - How speech is synthesized when invoking
* [session][google.cloud.dialogflow.cx.v3beta1.Sessions] APIs.
* [Agent.text_to_speech_settings][google.cloud.dialogflow.cx.v3beta1.Agent.text_to_speech_settings]
* only applies if
* [OutputAudioConfig.synthesize_speech_config][google.cloud.dialogflow.cx.v3beta1.OutputAudioConfig.synthesize_speech_config]
* is not specified.
*
*
*
* map<string, .google.cloud.dialogflow.cx.v3beta1.SynthesizeSpeechConfig> synthesize_speech_configs = 1;
*
*/
int getSynthesizeSpeechConfigsCount();
/**
*
*
*
* Configuration of how speech should be synthesized, mapping from language
* (https://cloud.google.com/dialogflow/cx/docs/reference/language) to
* SynthesizeSpeechConfig.
*
* These settings affect:
*
* - The [phone
* gateway](https://cloud.google.com/dialogflow/cx/docs/concept/integration/phone-gateway)
* synthesize configuration set via
* [Agent.text_to_speech_settings][google.cloud.dialogflow.cx.v3beta1.Agent.text_to_speech_settings].
*
* - How speech is synthesized when invoking
* [session][google.cloud.dialogflow.cx.v3beta1.Sessions] APIs.
* [Agent.text_to_speech_settings][google.cloud.dialogflow.cx.v3beta1.Agent.text_to_speech_settings]
* only applies if
* [OutputAudioConfig.synthesize_speech_config][google.cloud.dialogflow.cx.v3beta1.OutputAudioConfig.synthesize_speech_config]
* is not specified.
*
*
*
* map<string, .google.cloud.dialogflow.cx.v3beta1.SynthesizeSpeechConfig> synthesize_speech_configs = 1;
*
*/
boolean containsSynthesizeSpeechConfigs(java.lang.String key);
/** Use {@link #getSynthesizeSpeechConfigsMap()} instead. */
@java.lang.Deprecated
java.util.Map
getSynthesizeSpeechConfigs();
/**
*
*
*
* Configuration of how speech should be synthesized, mapping from language
* (https://cloud.google.com/dialogflow/cx/docs/reference/language) to
* SynthesizeSpeechConfig.
*
* These settings affect:
*
* - The [phone
* gateway](https://cloud.google.com/dialogflow/cx/docs/concept/integration/phone-gateway)
* synthesize configuration set via
* [Agent.text_to_speech_settings][google.cloud.dialogflow.cx.v3beta1.Agent.text_to_speech_settings].
*
* - How speech is synthesized when invoking
* [session][google.cloud.dialogflow.cx.v3beta1.Sessions] APIs.
* [Agent.text_to_speech_settings][google.cloud.dialogflow.cx.v3beta1.Agent.text_to_speech_settings]
* only applies if
* [OutputAudioConfig.synthesize_speech_config][google.cloud.dialogflow.cx.v3beta1.OutputAudioConfig.synthesize_speech_config]
* is not specified.
*
*
*
* map<string, .google.cloud.dialogflow.cx.v3beta1.SynthesizeSpeechConfig> synthesize_speech_configs = 1;
*
*/
java.util.Map
getSynthesizeSpeechConfigsMap();
/**
*
*
*
* Configuration of how speech should be synthesized, mapping from language
* (https://cloud.google.com/dialogflow/cx/docs/reference/language) to
* SynthesizeSpeechConfig.
*
* These settings affect:
*
* - The [phone
* gateway](https://cloud.google.com/dialogflow/cx/docs/concept/integration/phone-gateway)
* synthesize configuration set via
* [Agent.text_to_speech_settings][google.cloud.dialogflow.cx.v3beta1.Agent.text_to_speech_settings].
*
* - How speech is synthesized when invoking
* [session][google.cloud.dialogflow.cx.v3beta1.Sessions] APIs.
* [Agent.text_to_speech_settings][google.cloud.dialogflow.cx.v3beta1.Agent.text_to_speech_settings]
* only applies if
* [OutputAudioConfig.synthesize_speech_config][google.cloud.dialogflow.cx.v3beta1.OutputAudioConfig.synthesize_speech_config]
* is not specified.
*
*
*
* map<string, .google.cloud.dialogflow.cx.v3beta1.SynthesizeSpeechConfig> synthesize_speech_configs = 1;
*
*/
/* nullable */
com.google.cloud.dialogflow.cx.v3beta1.SynthesizeSpeechConfig getSynthesizeSpeechConfigsOrDefault(
java.lang.String key,
/* nullable */
com.google.cloud.dialogflow.cx.v3beta1.SynthesizeSpeechConfig defaultValue);
/**
*
*
*
* Configuration of how speech should be synthesized, mapping from language
* (https://cloud.google.com/dialogflow/cx/docs/reference/language) to
* SynthesizeSpeechConfig.
*
* These settings affect:
*
* - The [phone
* gateway](https://cloud.google.com/dialogflow/cx/docs/concept/integration/phone-gateway)
* synthesize configuration set via
* [Agent.text_to_speech_settings][google.cloud.dialogflow.cx.v3beta1.Agent.text_to_speech_settings].
*
* - How speech is synthesized when invoking
* [session][google.cloud.dialogflow.cx.v3beta1.Sessions] APIs.
* [Agent.text_to_speech_settings][google.cloud.dialogflow.cx.v3beta1.Agent.text_to_speech_settings]
* only applies if
* [OutputAudioConfig.synthesize_speech_config][google.cloud.dialogflow.cx.v3beta1.OutputAudioConfig.synthesize_speech_config]
* is not specified.
*
*
*
* map<string, .google.cloud.dialogflow.cx.v3beta1.SynthesizeSpeechConfig> synthesize_speech_configs = 1;
*
*/
com.google.cloud.dialogflow.cx.v3beta1.SynthesizeSpeechConfig getSynthesizeSpeechConfigsOrThrow(
java.lang.String key);
}