Class FulfillmentsSettings.Builder (4.61.0)

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
Name Description
clientContext ClientContext

Builder(FulfillmentsSettings settings)

protected Builder(FulfillmentsSettings settings)
Parameter
Name Description
settings FulfillmentsSettings

Builder(FulfillmentsStubSettings.Builder stubSettings)

protected Builder(FulfillmentsStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings FulfillmentsStubSettings.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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
FulfillmentsSettings.Builder

build()

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

getFulfillmentSettings()

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

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

Returns
Type Description
Builder<GetFulfillmentRequest,Fulfillment>

getLocationSettings()

public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()

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

Returns
Type Description
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>

getStubSettingsBuilder()

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

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,FulfillmentsClient.ListLocationsPagedResponse> listLocationsSettings()

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

Returns
Type Description
Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse>

updateFulfillmentSettings()

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

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

Returns
Type Description
Builder<UpdateFulfillmentRequest,Fulfillment>