Guide the optimization algorithm in finding a first solution that is
similar to a previous solution.
If non-empty, the given routes will be refreshed, without modifying their
underlying sequence of visits or travel times: only other details will be
updated.
Guide the optimization algorithm in finding a first solution that is
similar to a previous solution.
Guide the optimization algorithm in finding a first solution that is
similar to a previous solution.
Guide the optimization algorithm in finding a first solution that is
similar to a previous solution.
Guide the optimization algorithm in finding a first solution that is
similar to a previous solution.
If non-empty, the given routes will be refreshed, without modifying their
underlying sequence of visits or travel times: only other details will be
updated.
If non-empty, the given routes will be refreshed, without modifying their
underlying sequence of visits or travel times: only other details will be
updated.
If non-empty, the given routes will be refreshed, without modifying their
underlying sequence of visits or travel times: only other details will be
updated.
If non-empty, the given routes will be refreshed, without modifying their
underlying sequence of visits or travel times: only other details will be
updated.
OptimizeToursRequest.Builder.clear()
If this is set, then the request can have a deadline
(see https://grpc.io/blog/deadlines) of up to 60 minutes.
Consider traffic estimation in calculating `ShipmentRoute` fields
[Transition.travel_duration][google.cloud.optimization.v1.ShipmentRoute.Transition.travel_duration],
[Visit.start_time][google.cloud.optimization.v1.ShipmentRoute.Visit.start_time],
and `vehicle_end_time`; in setting the
[ShipmentRoute.has_traffic_infeasibilities][google.cloud.optimization.v1.ShipmentRoute.has_traffic_infeasibilities]
field, and in calculating the
[OptimizeToursResponse.total_cost][google.cloud.optimization.v1.OptimizeToursResponse.total_cost]
field.
When `use_geodesic_distances` is true, this field must be set and defines
the speed applied to compute travel times.
Guide the optimization algorithm in finding a first solution that is
similar to a previous solution.
Constrain the optimization algorithm to find a final solution that is
similar to a previous solution.
If true:
* uses
[ShipmentRoute.vehicle_label][google.cloud.optimization.v1.ShipmentRoute.vehicle_label]
instead of `vehicle_index` to
match routes in an injected solution with vehicles in the request;
reuses the mapping of original
[ShipmentRoute.vehicle_index][google.cloud.optimization.v1.ShipmentRoute.vehicle_index]
to new
[ShipmentRoute.vehicle_index][google.cloud.optimization.v1.ShipmentRoute.vehicle_index]
to update
[ConstraintRelaxation.vehicle_indices][google.cloud.optimization.v1.InjectedSolutionConstraint.ConstraintRelaxation.vehicle_indices]
if non-empty, but the mapping must be unambiguous (i.e., multiple
`ShipmentRoute`s must not share the same original `vehicle_index`)
Label that may be used to identify this request, reported back in the
[OptimizeToursResponse.request_label][google.cloud.optimization.v1.OptimizeToursResponse.request_label].
Truncates the number of validation errors returned.
If true, polylines will be populated in response `ShipmentRoute`s.
If true, polylines will be populated in response
[ShipmentRoute.transitions][google.cloud.optimization.v1.ShipmentRoute.transitions].
If non-empty, the given routes will be refreshed, without modifying their
underlying sequence of visits or travel times: only other details will be
updated.
Search mode used to solve the request.
By default, the solving mode is `DEFAULT_SOLVE` (0).
If this timeout is set, the server returns a response before the timeout
period has elapsed or the server deadline for synchronous requests is
reached, whichever is sooner.
If true, travel distances will be computed using geodesic distances instead
of Google Maps distances, and travel times will be computed using geodesic
distances with a speed defined by `geodesic_meters_per_second`.
OptimizeToursRequest.Builder.mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
OptimizeToursRequest.Builder.mergeFrom(com.google.protobuf.Message other)
Constrain the optimization algorithm to find a final solution that is
similar to a previous solution.
OptimizeToursRequest.Builder.mergeTimeout(com.google.protobuf.Duration value)
If this timeout is set, the server returns a response before the timeout
period has elapsed or the server deadline for synchronous requests is
reached, whichever is sooner.
OptimizeToursRequest.newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
Guide the optimization algorithm in finding a first solution that is
similar to a previous solution.
If non-empty, the given routes will be refreshed, without modifying their
underlying sequence of visits or travel times: only other details will be
updated.
If this is set, then the request can have a deadline
(see https://grpc.io/blog/deadlines) of up to 60 minutes.
Consider traffic estimation in calculating `ShipmentRoute` fields
[Transition.travel_duration][google.cloud.optimization.v1.ShipmentRoute.Transition.travel_duration],
[Visit.start_time][google.cloud.optimization.v1.ShipmentRoute.Visit.start_time],
and `vehicle_end_time`; in setting the
[ShipmentRoute.has_traffic_infeasibilities][google.cloud.optimization.v1.ShipmentRoute.has_traffic_infeasibilities]
field, and in calculating the
[OptimizeToursResponse.total_cost][google.cloud.optimization.v1.OptimizeToursResponse.total_cost]
field.
When `use_geodesic_distances` is true, this field must be set and defines
the speed applied to compute travel times.
Guide the optimization algorithm in finding a first solution that is
similar to a previous solution.
Guide the optimization algorithm in finding a first solution that is
similar to a previous solution.
Constrain the optimization algorithm to find a final solution that is
similar to a previous solution.
Constrain the optimization algorithm to find a final solution that is
similar to a previous solution.
If true:
* uses
[ShipmentRoute.vehicle_label][google.cloud.optimization.v1.ShipmentRoute.vehicle_label]
instead of `vehicle_index` to
match routes in an injected solution with vehicles in the request;
reuses the mapping of original
[ShipmentRoute.vehicle_index][google.cloud.optimization.v1.ShipmentRoute.vehicle_index]
to new
[ShipmentRoute.vehicle_index][google.cloud.optimization.v1.ShipmentRoute.vehicle_index]
to update
[ConstraintRelaxation.vehicle_indices][google.cloud.optimization.v1.InjectedSolutionConstraint.ConstraintRelaxation.vehicle_indices]
if non-empty, but the mapping must be unambiguous (i.e., multiple
`ShipmentRoute`s must not share the same original `vehicle_index`)
Label that may be used to identify this request, reported back in the
[OptimizeToursResponse.request_label][google.cloud.optimization.v1.OptimizeToursResponse.request_label].
OptimizeToursRequest.Builder.setLabelBytes(com.google.protobuf.ByteString value)
Label that may be used to identify this request, reported back in the
[OptimizeToursResponse.request_label][google.cloud.optimization.v1.OptimizeToursResponse.request_label].
Truncates the number of validation errors returned.
OptimizeToursRequest.Builder.setParentBytes(com.google.protobuf.ByteString value)
If true, polylines will be populated in response `ShipmentRoute`s.
If true, polylines will be populated in response
[ShipmentRoute.transitions][google.cloud.optimization.v1.ShipmentRoute.transitions].
If non-empty, the given routes will be refreshed, without modifying their
underlying sequence of visits or travel times: only other details will be
updated.
If non-empty, the given routes will be refreshed, without modifying their
underlying sequence of visits or travel times: only other details will be
updated.
Search mode used to solve the request.
Search mode used to solve the request.
By default, the solving mode is `DEFAULT_SOLVE` (0).
By default, the solving mode is `DEFAULT_SOLVE` (0).
OptimizeToursRequest.Builder.setTimeout(com.google.protobuf.Duration value)
If this timeout is set, the server returns a response before the timeout
period has elapsed or the server deadline for synchronous requests is
reached, whichever is sooner.
OptimizeToursRequest.Builder.setTimeout(com.google.protobuf.Duration.Builder builderForValue)
If this timeout is set, the server returns a response before the timeout
period has elapsed or the server deadline for synchronous requests is
reached, whichever is sooner.
If true, travel distances will be computed using geodesic distances instead
of Google Maps distances, and travel times will be computed using geodesic
distances with a speed defined by `geodesic_meters_per_second`.