public static class SpeechSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<SpeechSettings,SpeechSettings.Builder>
| Modifier and Type | Method and Description |
|---|---|
SpeechSettings.Builder |
applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
com.google.api.gax.rpc.OperationCallSettings.Builder<com.google.cloud.speech.v1beta1.AsyncRecognizeRequest,com.google.cloud.speech.v1beta1.AsyncRecognizeResponse,com.google.cloud.speech.v1beta1.AsyncRecognizeMetadata> |
asyncRecognizeOperationSettings()
Returns the builder for the settings used for calls to asyncRecognize.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.cloud.speech.v1beta1.AsyncRecognizeRequest,com.google.longrunning.Operation> |
asyncRecognizeSettings()
Returns the builder for the settings used for calls to asyncRecognize.
|
SpeechSettings |
build() |
com.google.api.gax.rpc.StreamingCallSettings.Builder<com.google.cloud.speech.v1beta1.StreamingRecognizeRequest,com.google.cloud.speech.v1beta1.StreamingRecognizeResponse> |
streamingRecognizeSettings()
Returns the builder for the settings used for calls to streamingRecognize.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.cloud.speech.v1beta1.SyncRecognizeRequest,com.google.cloud.speech.v1beta1.SyncRecognizeResponse> |
syncRecognizeSettings()
Returns the builder for the settings used for calls to syncRecognize.
|
applyToAllUnaryMethods, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getTransportChannelProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setTransportChannelProvider, toStringpublic SpeechSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exceptionpublic com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.cloud.speech.v1beta1.SyncRecognizeRequest,com.google.cloud.speech.v1beta1.SyncRecognizeResponse> syncRecognizeSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.cloud.speech.v1beta1.AsyncRecognizeRequest,com.google.longrunning.Operation> asyncRecognizeSettings()
public com.google.api.gax.rpc.OperationCallSettings.Builder<com.google.cloud.speech.v1beta1.AsyncRecognizeRequest,com.google.cloud.speech.v1beta1.AsyncRecognizeResponse,com.google.cloud.speech.v1beta1.AsyncRecognizeMetadata> asyncRecognizeOperationSettings()
public com.google.api.gax.rpc.StreamingCallSettings.Builder<com.google.cloud.speech.v1beta1.StreamingRecognizeRequest,com.google.cloud.speech.v1beta1.StreamingRecognizeResponse> streamingRecognizeSettings()
public SpeechSettings build() throws IOException
build in class com.google.api.gax.rpc.ClientSettings.Builder<SpeechSettings,SpeechSettings.Builder>IOExceptionCopyright © 2017 Google. All rights reserved.