Send feedback
Class ServingConfigServiceStubSettings.Builder (2.11.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.11.0 keyboard_arrow_down
public static class ServingConfigServiceStubSettings . Builder extends StubSettings . Builder<ServingConfigServiceStubSettings , ServingConfigServiceStubSettings . Builder >
Builder for ServingConfigServiceStubSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder ( ClientContext clientContext )
Parameter
Builder(ServingConfigServiceStubSettings settings)
protected Builder ( ServingConfigServiceStubSettings settings )
Parameter
Methods
addControlSettings()
public UnaryCallSettings . Builder<AddControlRequest , ServingConfig > addControlSettings ()
Returns the builder for the settings used for calls to addControl.
Returns
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public ServingConfigServiceStubSettings . 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.
Parameter
Returns
build()
public ServingConfigServiceStubSettings build ()
Returns
Overrides
Exceptions
createServingConfigSettings()
public UnaryCallSettings . Builder<CreateServingConfigRequest , ServingConfig > createServingConfigSettings ()
Returns the builder for the settings used for calls to createServingConfig.
Returns
deleteServingConfigSettings()
public UnaryCallSettings . Builder<DeleteServingConfigRequest , Empty > deleteServingConfigSettings ()
Returns the builder for the settings used for calls to deleteServingConfig.
Returns
getServingConfigSettings()
public UnaryCallSettings . Builder<GetServingConfigRequest , ServingConfig > getServingConfigSettings ()
Returns the builder for the settings used for calls to getServingConfig.
Returns
listServingConfigsSettings()
public PagedCallSettings . Builder<ListServingConfigsRequest , ListServingConfigsResponse , ServingConfigServiceClient . ListServingConfigsPagedResponse > listServingConfigsSettings ()
Returns the builder for the settings used for calls to listServingConfigs.
Returns
removeControlSettings()
public UnaryCallSettings . Builder<RemoveControlRequest , ServingConfig > removeControlSettings ()
Returns the builder for the settings used for calls to removeControl.
Returns
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings . Builder <? , ? >> unaryMethodSettingsBuilders ()
Returns
Type Description com.google.common.collect.ImmutableList <Builder <? ,? >>
updateServingConfigSettings()
public UnaryCallSettings . Builder<UpdateServingConfigRequest , ServingConfig > updateServingConfigSettings ()
Returns the builder for the settings used for calls to updateServingConfig.
Returns
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]