Class TextToSpeechLongAudioSynthesizeStubSettings.Builder (2.14.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
NameDescription
clientContextClientContext

Builder(TextToSpeechLongAudioSynthesizeStubSettings settings)

protected Builder(TextToSpeechLongAudioSynthesizeStubSettings settings)
Parameter
NameDescription
settingsTextToSpeechLongAudioSynthesizeStubSettings

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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
TextToSpeechLongAudioSynthesizeStubSettings.Builder

build()

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

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>

unaryMethodSettingsBuilders()

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