public static class TextToSpeechStubSettings.Builder extends StubSettings.Builder<TextToSpeechStubSettings,TextToSpeechStubSettings.Builder>
Builder for TextToSpeechStubSettings.
Constructors
Builder()
protected Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Name | Description |
clientContext | ClientContext |
Builder(TextToSpeechStubSettings settings)
protected Builder(TextToSpeechStubSettings settings)
Name | Description |
settings | TextToSpeechStubSettings |
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public TextToSpeechStubSettings.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.
Name | Description |
settingsUpdater | ApiFunction<Builder<?,?>,java.lang.Void> |
Type | Description |
TextToSpeechStubSettings.Builder |
build()
public TextToSpeechStubSettings build()
Type | Description |
TextToSpeechStubSettings |
Type | Description |
IOException |
listVoicesSettings()
public UnaryCallSettings.Builder<ListVoicesRequest,ListVoicesResponse> listVoicesSettings()
Returns the builder for the settings used for calls to listVoices.
Type | Description |
Builder<ListVoicesRequest,ListVoicesResponse> |
synthesizeSpeechSettings()
public UnaryCallSettings.Builder<SynthesizeSpeechRequest,SynthesizeSpeechResponse> synthesizeSpeechSettings()
Returns the builder for the settings used for calls to synthesizeSpeech.
Type | Description |
Builder<SynthesizeSpeechRequest,SynthesizeSpeechResponse> |
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Type | Description |
com.google.common.collect.ImmutableList<Builder<?,?>> |