Class TextToSpeechLongAudioSynthesizeStubSettings.Builder (2.38.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

getEndpoint()

public String getEndpoint()

Returns the endpoint set by the user or the the service's default endpoint.

Returns
TypeDescription
String
Overrides

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<?,?>>