Class FulfillmentsStubSettings.Builder (4.33.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
Name Description
clientContext ClientContext

Builder(FulfillmentsStubSettings settings)

protected Builder(FulfillmentsStubSettings settings)
Parameter
Name Description
settings FulfillmentsStubSettings

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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
FulfillmentsStubSettings.Builder

build()

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

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>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type Description
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
Type Description
Builder<UpdateFulfillmentRequest,Fulfillment>