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.
|
SpeechSettings |
build() |
com.google.api.gax.rpc.OperationCallSettings.Builder<com.google.cloud.speech.v1.LongRunningRecognizeRequest,com.google.cloud.speech.v1.LongRunningRecognizeResponse,com.google.cloud.speech.v1.LongRunningRecognizeMetadata> |
longRunningRecognizeOperationSettings()
Returns the builder for the settings used for calls to longRunningRecognize.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.cloud.speech.v1.LongRunningRecognizeRequest,com.google.longrunning.Operation> |
longRunningRecognizeSettings()
Returns the builder for the settings used for calls to longRunningRecognize.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.cloud.speech.v1.RecognizeRequest,com.google.cloud.speech.v1.RecognizeResponse> |
recognizeSettings()
Returns the builder for the settings used for calls to recognize.
|
com.google.api.gax.rpc.StreamingCallSettings.Builder<com.google.cloud.speech.v1.StreamingRecognizeRequest,com.google.cloud.speech.v1.StreamingRecognizeResponse> |
streamingRecognizeSettings()
Returns the builder for the settings used for calls to streamingRecognize.
|
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.v1.RecognizeRequest,com.google.cloud.speech.v1.RecognizeResponse> recognizeSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.cloud.speech.v1.LongRunningRecognizeRequest,com.google.longrunning.Operation> longRunningRecognizeSettings()
public com.google.api.gax.rpc.OperationCallSettings.Builder<com.google.cloud.speech.v1.LongRunningRecognizeRequest,com.google.cloud.speech.v1.LongRunningRecognizeResponse,com.google.cloud.speech.v1.LongRunningRecognizeMetadata> longRunningRecognizeOperationSettings()
public com.google.api.gax.rpc.StreamingCallSettings.Builder<com.google.cloud.speech.v1.StreamingRecognizeRequest,com.google.cloud.speech.v1.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.