public static class CompletionSettings.Builder extends ClientSettings.Builder<CompletionSettings,CompletionSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(CompletionSettings settings) |
protected |
Builder(CompletionStubSettings.Builder stubSettings) |
Modifier and Type | Method and Description |
---|---|
CompletionSettings.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.
|
CompletionSettings |
build() |
UnaryCallSettings.Builder<CompleteQueryRequest,CompleteQueryResponse> |
completeQuerySettings()
Returns the builder for the settings used for calls to completeQuery.
|
CompletionStubSettings.Builder |
getStubSettingsBuilder() |
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(CompletionSettings settings)
protected Builder(CompletionStubSettings.Builder stubSettings)
public CompletionStubSettings.Builder getStubSettingsBuilder()
public CompletionSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Note: This method does not support applying settings to streaming methods.
public UnaryCallSettings.Builder<CompleteQueryRequest,CompleteQueryResponse> completeQuerySettings()
public CompletionSettings build() throws IOException
build
in class ClientSettings.Builder<CompletionSettings,CompletionSettings.Builder>
IOException
Copyright © 2022 Google LLC. All rights reserved.