public static class SessionsSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<SessionsSettings,SessionsSettings.Builder>
| Modifier and Type | Method and Description |
|---|---|
SessionsSettings.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.
|
SessionsSettings |
build() |
com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.cloud.dialogflow.v2beta1.DetectIntentRequest,com.google.cloud.dialogflow.v2beta1.DetectIntentResponse> |
detectIntentSettings()
Returns the builder for the settings used for calls to detectIntent.
|
com.google.api.gax.rpc.StreamingCallSettings.Builder<com.google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest,com.google.cloud.dialogflow.v2beta1.StreamingDetectIntentResponse> |
streamingDetectIntentSettings()
Returns the builder for the settings used for calls to streamingDetectIntent.
|
applyToAllUnaryMethods, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getTransportChannelProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setTransportChannelProvider, toStringpublic SessionsSettings.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.dialogflow.v2beta1.DetectIntentRequest,com.google.cloud.dialogflow.v2beta1.DetectIntentResponse> detectIntentSettings()
public com.google.api.gax.rpc.StreamingCallSettings.Builder<com.google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest,com.google.cloud.dialogflow.v2beta1.StreamingDetectIntentResponse> streamingDetectIntentSettings()
public SessionsSettings build() throws IOException
build in class com.google.api.gax.rpc.ClientSettings.Builder<SessionsSettings,SessionsSettings.Builder>IOExceptionCopyright © 2017 Google. All rights reserved.