Class AutofeedSettingsServiceStubSettings.Builder (0.10.0)

public static class AutofeedSettingsServiceStubSettings.Builder extends StubSettings.Builder<AutofeedSettingsServiceStubSettings,AutofeedSettingsServiceStubSettings.Builder>

Builder for AutofeedSettingsServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > AutofeedSettingsServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(AutofeedSettingsServiceStubSettings settings)

protected Builder(AutofeedSettingsServiceStubSettings settings)
Parameter
Name Description
settings AutofeedSettingsServiceStubSettings

Methods

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

public AutofeedSettingsServiceStubSettings.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
AutofeedSettingsServiceStubSettings.Builder

build()

public AutofeedSettingsServiceStubSettings build()
Returns
Type Description
AutofeedSettingsServiceStubSettings
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>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type Description
com.google.common.collect.ImmutableList<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>