Class HomepageServiceStubSettings.Builder (0.4.0)

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

Builder for HomepageServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > HomepageServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(HomepageServiceStubSettings settings)

protected Builder(HomepageServiceStubSettings settings)
Parameter
Name Description
settings HomepageServiceStubSettings

Methods

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

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

build()

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

unaryMethodSettingsBuilders()

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