public static class ContextsStubSettings.Builder extends StubSettings.Builder<ContextsStubSettings,ContextsStubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(ContextsStubSettings settings) |
Modifier and Type | Method and Description |
---|---|
ContextsStubSettings.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.
|
ContextsStubSettings |
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.
|
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.
|
com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> |
unaryMethodSettingsBuilders() |
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, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setTracerFactory, setTransportChannelProvider, toString
protected Builder()
protected Builder(ClientContext clientContext)
protected Builder(ContextsStubSettings settings)
public ContextsStubSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
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 ContextsStubSettings build() throws IOException
build
in class StubSettings.Builder<ContextsStubSettings,ContextsStubSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.