Class FulfillmentsStubSettings.Builder (4.4.0)

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

Builder for FulfillmentsStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > FulfillmentsStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(FulfillmentsStubSettings settings)

protected Builder(FulfillmentsStubSettings settings)
Parameter
NameDescription
settingsFulfillmentsStubSettings

Methods

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

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

build()

public FulfillmentsStubSettings build()
Returns
TypeDescription
FulfillmentsStubSettings
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>

unaryMethodSettingsBuilders()

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

updateFulfillmentSettings()

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

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

Returns
TypeDescription
Builder<UpdateFulfillmentRequest,Fulfillment>