Class HomepageServiceSettings.Builder (0.9.0)

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

Builder for HomepageServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > HomepageServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(HomepageServiceSettings settings)

protected Builder(HomepageServiceSettings settings)
Parameter
Name Description
settings HomepageServiceSettings

Builder(HomepageServiceStubSettings.Builder stubSettings)

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

Methods

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

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

build()

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

claimHomepageSettings()

public UnaryCallSettings.Builder<ClaimHomepageRequest,Homepage> claimHomepageSettings()

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

Returns
Type Description
Builder<ClaimHomepageRequest,Homepage>

getHomepageSettings()

public UnaryCallSettings.Builder<GetHomepageRequest,Homepage> getHomepageSettings()

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

Returns
Type Description
Builder<GetHomepageRequest,Homepage>

getStubSettingsBuilder()

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

unclaimHomepageSettings()

public UnaryCallSettings.Builder<UnclaimHomepageRequest,Homepage> unclaimHomepageSettings()

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

Returns
Type Description
Builder<UnclaimHomepageRequest,Homepage>

updateHomepageSettings()

public UnaryCallSettings.Builder<UpdateHomepageRequest,Homepage> updateHomepageSettings()

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

Returns
Type Description
Builder<UpdateHomepageRequest,Homepage>