Class FleetRoutingSettings.Builder (1.53.0)

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

Builder for FleetRoutingSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > FleetRoutingSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(FleetRoutingSettings settings)

protected Builder(FleetRoutingSettings settings)
Parameter
Name Description
settings FleetRoutingSettings

Builder(FleetRoutingStubSettings.Builder stubSettings)

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

Methods

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

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

batchOptimizeToursOperationSettings()

public OperationCallSettings.Builder<BatchOptimizeToursRequest,BatchOptimizeToursResponse,AsyncModelMetadata> batchOptimizeToursOperationSettings()

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

Returns
Type Description
Builder<BatchOptimizeToursRequest,BatchOptimizeToursResponse,AsyncModelMetadata>

batchOptimizeToursSettings()

public UnaryCallSettings.Builder<BatchOptimizeToursRequest,Operation> batchOptimizeToursSettings()

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

Returns
Type Description
Builder<BatchOptimizeToursRequest,Operation>

build()

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

getStubSettingsBuilder()

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

optimizeToursSettings()

public UnaryCallSettings.Builder<OptimizeToursRequest,OptimizeToursResponse> optimizeToursSettings()

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

Returns
Type Description
Builder<OptimizeToursRequest,OptimizeToursResponse>