Class TextToSpeechLongAudioSynthesizeSettings.Builder (2.25.0)

public static class TextToSpeechLongAudioSynthesizeSettings.Builder extends ClientSettings.Builder<TextToSpeechLongAudioSynthesizeSettings,TextToSpeechLongAudioSynthesizeSettings.Builder>

Builder for TextToSpeechLongAudioSynthesizeSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > TextToSpeechLongAudioSynthesizeSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(TextToSpeechLongAudioSynthesizeSettings settings)

protected Builder(TextToSpeechLongAudioSynthesizeSettings settings)
Parameter
NameDescription
settingsTextToSpeechLongAudioSynthesizeSettings

Builder(TextToSpeechLongAudioSynthesizeStubSettings.Builder stubSettings)

protected Builder(TextToSpeechLongAudioSynthesizeStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsTextToSpeechLongAudioSynthesizeStubSettings.Builder

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public TextToSpeechLongAudioSynthesizeSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

Applies the given settings updater function to all of the unary API methods in this service.

Note: This method does not support applying settings to streaming methods.

Parameter
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
TextToSpeechLongAudioSynthesizeSettings.Builder

build()

public TextToSpeechLongAudioSynthesizeSettings build()
Returns
TypeDescription
TextToSpeechLongAudioSynthesizeSettings
Overrides
Exceptions
TypeDescription
IOException

getStubSettingsBuilder()

public TextToSpeechLongAudioSynthesizeStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
TextToSpeechLongAudioSynthesizeStubSettings.Builder

synthesizeLongAudioOperationSettings()

public OperationCallSettings.Builder<SynthesizeLongAudioRequest,SynthesizeLongAudioResponse,SynthesizeLongAudioMetadata> synthesizeLongAudioOperationSettings()

Returns the builder for the settings used for calls to synthesizeLongAudio.

Returns
TypeDescription
Builder<SynthesizeLongAudioRequest,SynthesizeLongAudioResponse,SynthesizeLongAudioMetadata>

synthesizeLongAudioSettings()

public UnaryCallSettings.Builder<SynthesizeLongAudioRequest,Operation> synthesizeLongAudioSettings()

Returns the builder for the settings used for calls to synthesizeLongAudio.

Returns
TypeDescription
Builder<SynthesizeLongAudioRequest,Operation>