public static class SessionsSettings.Builder extends ClientSettings.Builder<SessionsSettings,SessionsSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(SessionsSettings settings) |
protected |
Builder(SessionsStubSettings.Builder stubSettings) |
Modifier and Type | Method and Description |
---|---|
SessionsSettings.Builder |
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
SessionsSettings |
build() |
UnaryCallSettings.Builder<DetectIntentRequest,DetectIntentResponse> |
detectIntentSettings()
Returns the builder for the settings used for calls to detectIntent.
|
UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
getLocationSettings()
Returns the builder for the settings used for calls to getLocation.
|
SessionsStubSettings.Builder |
getStubSettingsBuilder() |
PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,SessionsClient.ListLocationsPagedResponse> |
listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.
|
StreamingCallSettings.Builder<StreamingDetectIntentRequest,StreamingDetectIntentResponse> |
streamingDetectIntentSettings()
Returns the builder for the settings used for calls to streamingDetectIntent.
|
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
protected Builder() throws IOException
IOException
protected Builder(ClientContext clientContext)
protected Builder(SessionsSettings settings)
protected Builder(SessionsStubSettings.Builder stubSettings)
public SessionsStubSettings.Builder getStubSettingsBuilder()
public SessionsSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Note: This method does not support applying settings to streaming methods.
public UnaryCallSettings.Builder<DetectIntentRequest,DetectIntentResponse> detectIntentSettings()
public StreamingCallSettings.Builder<StreamingDetectIntentRequest,StreamingDetectIntentResponse> streamingDetectIntentSettings()
public PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,SessionsClient.ListLocationsPagedResponse> listLocationsSettings()
public UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationSettings()
public SessionsSettings build() throws IOException
build
in class ClientSettings.Builder<SessionsSettings,SessionsSettings.Builder>
IOException
Copyright © 2022 Google LLC. All rights reserved.