Class TextToSpeechLongAudioSynthesizeSettings.Builder (2.49.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
Name Description
clientContext ClientContext

Builder(TextToSpeechLongAudioSynthesizeSettings settings)

protected Builder(TextToSpeechLongAudioSynthesizeSettings settings)
Parameter
Name Description
settings TextToSpeechLongAudioSynthesizeSettings

Builder(TextToSpeechLongAudioSynthesizeStubSettings.Builder stubSettings)

protected Builder(TextToSpeechLongAudioSynthesizeStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings TextToSpeechLongAudioSynthesizeStubSettings.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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
TextToSpeechLongAudioSynthesizeSettings.Builder

build()

public TextToSpeechLongAudioSynthesizeSettings build()
Returns
Type Description
TextToSpeechLongAudioSynthesizeSettings
Overrides
Exceptions
Type Description
IOException

getStubSettingsBuilder()

public TextToSpeechLongAudioSynthesizeStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
TextToSpeechLongAudioSynthesizeStubSettings.Builder

synthesizeLongAudioOperationSettings()

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

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

Returns
Type Description
Builder<SynthesizeLongAudioRequest,SynthesizeLongAudioResponse,SynthesizeLongAudioMetadata>

synthesizeLongAudioSettings()

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

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

Returns
Type Description
Builder<SynthesizeLongAudioRequest,Operation>