Class ShippingSettingsServiceStubSettings.Builder (0.10.0)

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

Builder for ShippingSettingsServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > ShippingSettingsServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(ShippingSettingsServiceStubSettings settings)

protected Builder(ShippingSettingsServiceStubSettings settings)
Parameter
Name Description
settings ShippingSettingsServiceStubSettings

Methods

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

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

build()

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

getShippingSettingsSettings()

public UnaryCallSettings.Builder<GetShippingSettingsRequest,ShippingSettings> getShippingSettingsSettings()

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

Returns
Type Description
Builder<GetShippingSettingsRequest,ShippingSettings>

insertShippingSettingsSettings()

public UnaryCallSettings.Builder<InsertShippingSettingsRequest,ShippingSettings> insertShippingSettingsSettings()

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

Returns
Type Description
Builder<InsertShippingSettingsRequest,ShippingSettings>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type Description
com.google.common.collect.ImmutableList<Builder<?,?>>