Class AutofeedSettingsServiceSettings.Builder (0.8.0)

public static class AutofeedSettingsServiceSettings.Builder extends ClientSettings.Builder<AutofeedSettingsServiceSettings,AutofeedSettingsServiceSettings.Builder>

Builder for AutofeedSettingsServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > AutofeedSettingsServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(AutofeedSettingsServiceSettings settings)

protected Builder(AutofeedSettingsServiceSettings settings)
Parameter
Name Description
settings AutofeedSettingsServiceSettings

Builder(AutofeedSettingsServiceStubSettings.Builder stubSettings)

protected Builder(AutofeedSettingsServiceStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings AutofeedSettingsServiceStubSettings.Builder

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public AutofeedSettingsServiceSettings.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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
AutofeedSettingsServiceSettings.Builder

build()

public AutofeedSettingsServiceSettings build()
Returns
Type Description
AutofeedSettingsServiceSettings
Overrides
Exceptions
Type Description
IOException

getAutofeedSettingsSettings()

public UnaryCallSettings.Builder<GetAutofeedSettingsRequest,AutofeedSettings> getAutofeedSettingsSettings()

Returns the builder for the settings used for calls to getAutofeedSettings.

Returns
Type Description
Builder<GetAutofeedSettingsRequest,AutofeedSettings>

getStubSettingsBuilder()

public AutofeedSettingsServiceStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
AutofeedSettingsServiceStubSettings.Builder

updateAutofeedSettingsSettings()

public UnaryCallSettings.Builder<UpdateAutofeedSettingsRequest,AutofeedSettings> updateAutofeedSettingsSettings()

Returns the builder for the settings used for calls to updateAutofeedSettings.

Returns
Type Description
Builder<UpdateAutofeedSettingsRequest,AutofeedSettings>