Class FulfillmentsSettings.Builder (4.3.1)

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

Builder for FulfillmentsSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > FulfillmentsSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(FulfillmentsSettings settings)

protected Builder(FulfillmentsSettings settings)
Parameter
NameDescription
settingsFulfillmentsSettings

Builder(FulfillmentsStubSettings.Builder stubSettings)

protected Builder(FulfillmentsStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsFulfillmentsStubSettings.Builder

Methods

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

public FulfillmentsSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
FulfillmentsSettings.Builder

build()

public FulfillmentsSettings build()
Returns
TypeDescription
FulfillmentsSettings
Overrides Exceptions
TypeDescription
IOException

getFulfillmentSettings()

public UnaryCallSettings.Builder<GetFulfillmentRequest,Fulfillment> getFulfillmentSettings()

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

Returns
TypeDescription
Builder<GetFulfillmentRequest,Fulfillment>

getStubSettingsBuilder()

public FulfillmentsStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
FulfillmentsStubSettings.Builder

updateFulfillmentSettings()

public UnaryCallSettings.Builder<UpdateFulfillmentRequest,Fulfillment> updateFulfillmentSettings()

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

Returns
TypeDescription
Builder<UpdateFulfillmentRequest,Fulfillment>