Class ShippingSettingsServiceSettings.Builder (0.10.0)

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

Builder for ShippingSettingsServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > ShippingSettingsServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(ShippingSettingsServiceSettings settings)

protected Builder(ShippingSettingsServiceSettings settings)
Parameter
Name Description
settings ShippingSettingsServiceSettings

Builder(ShippingSettingsServiceStubSettings.Builder stubSettings)

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

Methods

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

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

build()

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

getStubSettingsBuilder()

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

insertShippingSettingsSettings()

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

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

Returns
Type Description
Builder<InsertShippingSettingsRequest,ShippingSettings>