Interface StreamingSynthesizeConfigOrBuilder (2.63.0)

public interface StreamingSynthesizeConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCustomPronunciations()

public abstract CustomPronunciations getCustomPronunciations()

Optional. The pronunciation customizations are applied to the input. If this is set, the input is synthesized using the given pronunciation customizations.

The initial support is for en-us, with plans to expand to other locales in the future. Instant Clone voices aren't supported.

In order to customize the pronunciation of a phrase, there must be an exact match of the phrase in the input types. If using SSML, the phrase must not be inside a phoneme tag.

.google.cloud.texttospeech.v1.CustomPronunciations custom_pronunciations = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CustomPronunciations

The customPronunciations.

getCustomPronunciationsOrBuilder()

public abstract CustomPronunciationsOrBuilder getCustomPronunciationsOrBuilder()

Optional. The pronunciation customizations are applied to the input. If this is set, the input is synthesized using the given pronunciation customizations.

The initial support is for en-us, with plans to expand to other locales in the future. Instant Clone voices aren't supported.

In order to customize the pronunciation of a phrase, there must be an exact match of the phrase in the input types. If using SSML, the phrase must not be inside a phoneme tag.

.google.cloud.texttospeech.v1.CustomPronunciations custom_pronunciations = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CustomPronunciationsOrBuilder

getStreamingAudioConfig()

public abstract StreamingAudioConfig getStreamingAudioConfig()

Optional. The configuration of the synthesized audio.

.google.cloud.texttospeech.v1.StreamingAudioConfig streaming_audio_config = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
StreamingAudioConfig

The streamingAudioConfig.

getStreamingAudioConfigOrBuilder()

public abstract StreamingAudioConfigOrBuilder getStreamingAudioConfigOrBuilder()

Optional. The configuration of the synthesized audio.

.google.cloud.texttospeech.v1.StreamingAudioConfig streaming_audio_config = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
StreamingAudioConfigOrBuilder

getVoice()

public abstract VoiceSelectionParams getVoice()

Required. The desired voice of the synthesized audio.

.google.cloud.texttospeech.v1.VoiceSelectionParams voice = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
VoiceSelectionParams

The voice.

getVoiceOrBuilder()

public abstract VoiceSelectionParamsOrBuilder getVoiceOrBuilder()

Required. The desired voice of the synthesized audio.

.google.cloud.texttospeech.v1.VoiceSelectionParams voice = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
VoiceSelectionParamsOrBuilder

hasCustomPronunciations()

public abstract boolean hasCustomPronunciations()

Optional. The pronunciation customizations are applied to the input. If this is set, the input is synthesized using the given pronunciation customizations.

The initial support is for en-us, with plans to expand to other locales in the future. Instant Clone voices aren't supported.

In order to customize the pronunciation of a phrase, there must be an exact match of the phrase in the input types. If using SSML, the phrase must not be inside a phoneme tag.

.google.cloud.texttospeech.v1.CustomPronunciations custom_pronunciations = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the customPronunciations field is set.

hasStreamingAudioConfig()

public abstract boolean hasStreamingAudioConfig()

Optional. The configuration of the synthesized audio.

.google.cloud.texttospeech.v1.StreamingAudioConfig streaming_audio_config = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the streamingAudioConfig field is set.

hasVoice()

public abstract boolean hasVoice()

Required. The desired voice of the synthesized audio.

.google.cloud.texttospeech.v1.VoiceSelectionParams voice = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the voice field is set.