public static class CompletionServiceSettings.Builder extends ClientSettings.Builder<CompletionServiceSettings,CompletionServiceSettings.Builder>
Builder for CompletionServiceSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Builder(CompletionServiceSettings settings)
protected Builder(CompletionServiceSettings settings)
Builder(CompletionServiceStubSettings.Builder stubSettings)
protected Builder(CompletionServiceStubSettings.Builder stubSettings)
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public CompletionServiceSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
Note: This method does not support applying settings to streaming methods.
build()
public CompletionServiceSettings build()
Overrides
completeQuerySettings()
public UnaryCallSettings.Builder<CompleteQueryRequest,CompleteQueryResponse> completeQuerySettings()
Returns the builder for the settings used for calls to completeQuery.
getStubSettingsBuilder()
public CompletionServiceStubSettings.Builder getStubSettingsBuilder()
importCompletionSuggestionsOperationSettings()
public OperationCallSettings.Builder<ImportCompletionSuggestionsRequest,ImportCompletionSuggestionsResponse,ImportCompletionSuggestionsMetadata> importCompletionSuggestionsOperationSettings()
Returns the builder for the settings used for calls to importCompletionSuggestions.
importCompletionSuggestionsSettings()
public UnaryCallSettings.Builder<ImportCompletionSuggestionsRequest,Operation> importCompletionSuggestionsSettings()
Returns the builder for the settings used for calls to importCompletionSuggestions.
importSuggestionDenyListEntriesOperationSettings()
public OperationCallSettings.Builder<ImportSuggestionDenyListEntriesRequest,ImportSuggestionDenyListEntriesResponse,ImportSuggestionDenyListEntriesMetadata> importSuggestionDenyListEntriesOperationSettings()
Returns the builder for the settings used for calls to importSuggestionDenyListEntries.
importSuggestionDenyListEntriesSettings()
public UnaryCallSettings.Builder<ImportSuggestionDenyListEntriesRequest,Operation> importSuggestionDenyListEntriesSettings()
Returns the builder for the settings used for calls to importSuggestionDenyListEntries.
purgeCompletionSuggestionsOperationSettings()
public OperationCallSettings.Builder<PurgeCompletionSuggestionsRequest,PurgeCompletionSuggestionsResponse,PurgeCompletionSuggestionsMetadata> purgeCompletionSuggestionsOperationSettings()
Returns the builder for the settings used for calls to purgeCompletionSuggestions.
purgeCompletionSuggestionsSettings()
public UnaryCallSettings.Builder<PurgeCompletionSuggestionsRequest,Operation> purgeCompletionSuggestionsSettings()
Returns the builder for the settings used for calls to purgeCompletionSuggestions.
purgeSuggestionDenyListEntriesOperationSettings()
public OperationCallSettings.Builder<PurgeSuggestionDenyListEntriesRequest,PurgeSuggestionDenyListEntriesResponse,PurgeSuggestionDenyListEntriesMetadata> purgeSuggestionDenyListEntriesOperationSettings()
Returns the builder for the settings used for calls to purgeSuggestionDenyListEntries.
purgeSuggestionDenyListEntriesSettings()
public UnaryCallSettings.Builder<PurgeSuggestionDenyListEntriesRequest,Operation> purgeSuggestionDenyListEntriesSettings()
Returns the builder for the settings used for calls to purgeSuggestionDenyListEntries.