public static class TextToSpeechStubSettings.Builder extends StubSettings.Builder<TextToSpeechStubSettings,TextToSpeechStubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(TextToSpeechStubSettings settings) |
Modifier and Type | Method and Description |
---|---|
TextToSpeechStubSettings.Builder |
applyToAllUnaryMethods(com.google.api.core.ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
TextToSpeechStubSettings |
build() |
UnaryCallSettings.Builder<ListVoicesRequest,ListVoicesResponse> |
listVoicesSettings()
Returns the builder for the settings used for calls to listVoices.
|
UnaryCallSettings.Builder<SynthesizeSpeechRequest,SynthesizeSpeechResponse> |
synthesizeSpeechSettings()
Returns the builder for the settings used for calls to synthesizeSpeech.
|
com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> |
unaryMethodSettingsBuilders() |
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, toString
protected Builder()
protected Builder(ClientContext clientContext)
protected Builder(TextToSpeechStubSettings settings)
public TextToSpeechStubSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Note: This method does not support applying settings to streaming methods.
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
public UnaryCallSettings.Builder<ListVoicesRequest,ListVoicesResponse> listVoicesSettings()
public UnaryCallSettings.Builder<SynthesizeSpeechRequest,SynthesizeSpeechResponse> synthesizeSpeechSettings()
public TextToSpeechStubSettings build() throws IOException
build
in class StubSettings.Builder<TextToSpeechStubSettings,TextToSpeechStubSettings.Builder>
IOException
Copyright © 2022 Google LLC. All rights reserved.