Class TextToSpeechLongAudioSynthesizeStubSettings.Builder (2.55.0)

public static class TextToSpeechLongAudioSynthesizeStubSettings.Builder extends StubSettings.Builder<TextToSpeechLongAudioSynthesizeStubSettings,TextToSpeechLongAudioSynthesizeStubSettings.Builder>

Builder for TextToSpeechLongAudioSynthesizeStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > TextToSpeechLongAudioSynthesizeStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(TextToSpeechLongAudioSynthesizeStubSettings settings)

protected Builder(TextToSpeechLongAudioSynthesizeStubSettings settings)
Parameter
Name Description
settings TextToSpeechLongAudioSynthesizeStubSettings

Methods

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

public TextToSpeechLongAudioSynthesizeStubSettings.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
TextToSpeechLongAudioSynthesizeStubSettings.Builder

build()

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

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>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type Description
com.google.common.collect.ImmutableList<Builder<?,?>>