public static class ContextsSettings.Builder extends ClientSettings.Builder<ContextsSettings,ContextsSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(ContextsSettings settings) |
protected |
Builder(ContextsStubSettings.Builder stubSettings) |
Modifier and Type | Method and Description |
---|---|
ContextsSettings.Builder |
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
ContextsSettings |
build() |
UnaryCallSettings.Builder<com.google.cloud.dialogflow.v2beta1.CreateContextRequest,com.google.cloud.dialogflow.v2beta1.Context> |
createContextSettings()
Returns the builder for the settings used for calls to createContext.
|
UnaryCallSettings.Builder<com.google.cloud.dialogflow.v2beta1.DeleteAllContextsRequest,Empty> |
deleteAllContextsSettings()
Returns the builder for the settings used for calls to deleteAllContexts.
|
UnaryCallSettings.Builder<com.google.cloud.dialogflow.v2beta1.DeleteContextRequest,Empty> |
deleteContextSettings()
Returns the builder for the settings used for calls to deleteContext.
|
UnaryCallSettings.Builder<com.google.cloud.dialogflow.v2beta1.GetContextRequest,com.google.cloud.dialogflow.v2beta1.Context> |
getContextSettings()
Returns the builder for the settings used for calls to getContext.
|
ContextsStubSettings.Builder |
getStubSettingsBuilder() |
PagedCallSettings.Builder<com.google.cloud.dialogflow.v2beta1.ListContextsRequest,com.google.cloud.dialogflow.v2beta1.ListContextsResponse,ContextsClient.ListContextsPagedResponse> |
listContextsSettings()
Returns the builder for the settings used for calls to listContexts.
|
UnaryCallSettings.Builder<com.google.cloud.dialogflow.v2beta1.UpdateContextRequest,com.google.cloud.dialogflow.v2beta1.Context> |
updateContextSettings()
Returns the builder for the settings used for calls to updateContext.
|
applyToAllUnaryMethods, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
protected Builder() throws IOException
IOException
protected Builder(ClientContext clientContext)
protected Builder(ContextsSettings settings)
protected Builder(ContextsStubSettings.Builder stubSettings)
public ContextsStubSettings.Builder getStubSettingsBuilder()
public ContextsSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public PagedCallSettings.Builder<com.google.cloud.dialogflow.v2beta1.ListContextsRequest,com.google.cloud.dialogflow.v2beta1.ListContextsResponse,ContextsClient.ListContextsPagedResponse> listContextsSettings()
public UnaryCallSettings.Builder<com.google.cloud.dialogflow.v2beta1.GetContextRequest,com.google.cloud.dialogflow.v2beta1.Context> getContextSettings()
public UnaryCallSettings.Builder<com.google.cloud.dialogflow.v2beta1.CreateContextRequest,com.google.cloud.dialogflow.v2beta1.Context> createContextSettings()
public UnaryCallSettings.Builder<com.google.cloud.dialogflow.v2beta1.UpdateContextRequest,com.google.cloud.dialogflow.v2beta1.Context> updateContextSettings()
public UnaryCallSettings.Builder<com.google.cloud.dialogflow.v2beta1.DeleteContextRequest,Empty> deleteContextSettings()
public UnaryCallSettings.Builder<com.google.cloud.dialogflow.v2beta1.DeleteAllContextsRequest,Empty> deleteAllContextsSettings()
public ContextsSettings build() throws IOException
build
in class ClientSettings.Builder<ContextsSettings,ContextsSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.