google-cloud-optimization-v1 0.4.1 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e2668d06f18b3401d0b0e771963e65d0f1e4a513d93715d62b80a5ae28723027
4
- data.tar.gz: 55e9de5e8a2b0c5a9b317b9127aa78893f053e3d40b7a125ae96a77223768c07
3
+ metadata.gz: 1fdd08b9a744b9d517229294bcb5ea8f33a453b6d7ef9bf1b6dbb607ce3bc728
4
+ data.tar.gz: cc7658a51ffc4ad6a623e4de95af18a34a3d017d7c981b05e8b619cfef28b66d
5
5
  SHA512:
6
- metadata.gz: 671b13987547f4c332cc5e55738b99a25854db812d2cf65bf9b76c10d309c6969f66f481f6f70f46bf704489f6124addbc2cad456e061b0b44b33ba05f7ee509
7
- data.tar.gz: 236df1c37459bfe64f5ad5216d9aae818f286e34fc6aca2a1829561bc1bd147d65aa46d53bb5a00686bd0e2cb383ed45b9cfbd4f131b09cf3e77bc0edb22623d
6
+ metadata.gz: 685ed96b0fbcf5377735aeda694c36bbce6fa4f50e737f73d81cbd7d1ef37dc77cbefc9cf0a86d08b27c0dc181b28e831e7fe8a123d5072db5101a285a99612f
7
+ data.tar.gz: ad132a3d87e3c31eda380f8fbde0737a8a76f0325c6021e18d50ef1f987d46e27a4e290a1ee796bdd8fb29e8904cae6bb955fbd343b90e67dc796f597a2e9b7d
@@ -207,7 +207,7 @@ module Google
207
207
  # @param options [::Gapic::CallOptions, ::Hash]
208
208
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
209
209
  #
210
- # @overload optimize_tours(parent: nil, timeout: nil, model: nil, solving_mode: nil, max_validation_errors: nil, search_mode: nil, injected_first_solution_routes: nil, injected_solution_constraint: nil, refresh_details_routes: nil, interpret_injected_solutions_using_labels: nil, consider_road_traffic: nil, populate_polylines: nil, populate_transition_polylines: nil, allow_large_deadline_despite_interruption_risk: nil, use_geodesic_distances: nil, geodesic_meters_per_second: nil, label: nil, populate_travel_step_polylines: nil)
210
+ # @overload optimize_tours(parent: nil, timeout: nil, model: nil, solving_mode: nil, search_mode: nil, injected_first_solution_routes: nil, injected_solution_constraint: nil, refresh_details_routes: nil, interpret_injected_solutions_using_labels: nil, consider_road_traffic: nil, populate_polylines: nil, populate_transition_polylines: nil, allow_large_deadline_despite_interruption_risk: nil, use_geodesic_distances: nil, geodesic_meters_per_second: nil, max_validation_errors: nil, label: nil, populate_travel_step_polylines: nil)
211
211
  # Pass arguments to `optimize_tours` via keyword arguments. Note that at
212
212
  # least one keyword argument is required. To specify no parameters, or to keep all
213
213
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -229,14 +229,6 @@ module Google
229
229
  # Shipment model to solve.
230
230
  # @param solving_mode [::Google::Cloud::Optimization::V1::OptimizeToursRequest::SolvingMode]
231
231
  # By default, the solving mode is `DEFAULT_SOLVE` (0).
232
- # @param max_validation_errors [::Integer]
233
- # Truncates the number of validation errors returned. These errors are
234
- # typically attached to an INVALID_ARGUMENT error payload as a BadRequest
235
- # error detail (https://cloud.google.com/apis/design/errors#error_details),
236
- # unless solving_mode=VALIDATE_ONLY: see the
237
- # {::Google::Cloud::Optimization::V1::OptimizeToursResponse#validation_errors OptimizeToursResponse.validation_errors}
238
- # field.
239
- # This defaults to 100 and is capped at 10,000.
240
232
  # @param search_mode [::Google::Cloud::Optimization::V1::OptimizeToursRequest::SearchMode]
241
233
  # Search mode used to solve the request.
242
234
  # @param injected_first_solution_routes [::Array<::Google::Cloud::Optimization::V1::ShipmentRoute, ::Hash>]
@@ -391,6 +383,14 @@ module Google
391
383
  # When `use_geodesic_distances` is true, this field must be set and defines
392
384
  # the speed applied to compute travel times. Its value must be at least 1.0
393
385
  # meters/seconds.
386
+ # @param max_validation_errors [::Integer]
387
+ # Truncates the number of validation errors returned. These errors are
388
+ # typically attached to an INVALID_ARGUMENT error payload as a BadRequest
389
+ # error detail (https://cloud.google.com/apis/design/errors#error_details),
390
+ # unless solving_mode=VALIDATE_ONLY: see the
391
+ # {::Google::Cloud::Optimization::V1::OptimizeToursResponse#validation_errors OptimizeToursResponse.validation_errors}
392
+ # field.
393
+ # This defaults to 100 and is capped at 10,000.
394
394
  # @param label [::String]
395
395
  # Label that may be used to identify this request, reported back in the
396
396
  # {::Google::Cloud::Optimization::V1::OptimizeToursResponse#request_label OptimizeToursResponse.request_label}.
@@ -198,7 +198,7 @@ module Google
198
198
  # @param options [::Gapic::CallOptions, ::Hash]
199
199
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
200
200
  #
201
- # @overload optimize_tours(parent: nil, timeout: nil, model: nil, solving_mode: nil, max_validation_errors: nil, search_mode: nil, injected_first_solution_routes: nil, injected_solution_constraint: nil, refresh_details_routes: nil, interpret_injected_solutions_using_labels: nil, consider_road_traffic: nil, populate_polylines: nil, populate_transition_polylines: nil, allow_large_deadline_despite_interruption_risk: nil, use_geodesic_distances: nil, geodesic_meters_per_second: nil, label: nil, populate_travel_step_polylines: nil)
201
+ # @overload optimize_tours(parent: nil, timeout: nil, model: nil, solving_mode: nil, search_mode: nil, injected_first_solution_routes: nil, injected_solution_constraint: nil, refresh_details_routes: nil, interpret_injected_solutions_using_labels: nil, consider_road_traffic: nil, populate_polylines: nil, populate_transition_polylines: nil, allow_large_deadline_despite_interruption_risk: nil, use_geodesic_distances: nil, geodesic_meters_per_second: nil, max_validation_errors: nil, label: nil, populate_travel_step_polylines: nil)
202
202
  # Pass arguments to `optimize_tours` via keyword arguments. Note that at
203
203
  # least one keyword argument is required. To specify no parameters, or to keep all
204
204
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -220,14 +220,6 @@ module Google
220
220
  # Shipment model to solve.
221
221
  # @param solving_mode [::Google::Cloud::Optimization::V1::OptimizeToursRequest::SolvingMode]
222
222
  # By default, the solving mode is `DEFAULT_SOLVE` (0).
223
- # @param max_validation_errors [::Integer]
224
- # Truncates the number of validation errors returned. These errors are
225
- # typically attached to an INVALID_ARGUMENT error payload as a BadRequest
226
- # error detail (https://cloud.google.com/apis/design/errors#error_details),
227
- # unless solving_mode=VALIDATE_ONLY: see the
228
- # {::Google::Cloud::Optimization::V1::OptimizeToursResponse#validation_errors OptimizeToursResponse.validation_errors}
229
- # field.
230
- # This defaults to 100 and is capped at 10,000.
231
223
  # @param search_mode [::Google::Cloud::Optimization::V1::OptimizeToursRequest::SearchMode]
232
224
  # Search mode used to solve the request.
233
225
  # @param injected_first_solution_routes [::Array<::Google::Cloud::Optimization::V1::ShipmentRoute, ::Hash>]
@@ -382,6 +374,14 @@ module Google
382
374
  # When `use_geodesic_distances` is true, this field must be set and defines
383
375
  # the speed applied to compute travel times. Its value must be at least 1.0
384
376
  # meters/seconds.
377
+ # @param max_validation_errors [::Integer]
378
+ # Truncates the number of validation errors returned. These errors are
379
+ # typically attached to an INVALID_ARGUMENT error payload as a BadRequest
380
+ # error detail (https://cloud.google.com/apis/design/errors#error_details),
381
+ # unless solving_mode=VALIDATE_ONLY: see the
382
+ # {::Google::Cloud::Optimization::V1::OptimizeToursResponse#validation_errors OptimizeToursResponse.validation_errors}
383
+ # field.
384
+ # This defaults to 100 and is capped at 10,000.
385
385
  # @param label [::String]
386
386
  # Label that may be used to identify this request, reported back in the
387
387
  # {::Google::Cloud::Optimization::V1::OptimizeToursResponse#request_label OptimizeToursResponse.request_label}.
@@ -14,7 +14,7 @@ require 'google/protobuf/timestamp_pb'
14
14
  require 'google/type/latlng_pb'
15
15
 
16
16
 
17
- descriptor_data = "\n0google/cloud/optimization/v1/fleet_routing.proto\x12\x1cgoogle.cloud.optimization.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a.google/cloud/optimization/v1/async_model.proto\x1a#google/longrunning/operations.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x18google/type/latlng.proto\"\xa4\t\n\x14OptimizeToursRequest\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12*\n\x07timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12:\n\x05model\x18\x03 \x01(\x0b\x32+.google.cloud.optimization.v1.ShipmentModel\x12T\n\x0csolving_mode\x18\x04 \x01(\x0e\x32>.google.cloud.optimization.v1.OptimizeToursRequest.SolvingMode\x12\"\n\x15max_validation_errors\x18\x05 \x01(\x05H\x00\x88\x01\x01\x12R\n\x0bsearch_mode\x18\x06 \x01(\x0e\x32=.google.cloud.optimization.v1.OptimizeToursRequest.SearchMode\x12S\n\x1einjected_first_solution_routes\x18\x07 \x03(\x0b\x32+.google.cloud.optimization.v1.ShipmentRoute\x12^\n\x1cinjected_solution_constraint\x18\x08 \x01(\x0b\x32\x38.google.cloud.optimization.v1.InjectedSolutionConstraint\x12K\n\x16refresh_details_routes\x18\t \x03(\x0b\x32+.google.cloud.optimization.v1.ShipmentRoute\x12\x31\n)interpret_injected_solutions_using_labels\x18\n \x01(\x08\x12\x1d\n\x15\x63onsider_road_traffic\x18\x0b \x01(\x08\x12\x1a\n\x12populate_polylines\x18\x0c \x01(\x08\x12%\n\x1dpopulate_transition_polylines\x18\r \x01(\x08\x12\x36\n.allow_large_deadline_despite_interruption_risk\x18\x0e \x01(\x08\x12\x1e\n\x16use_geodesic_distances\x18\x0f \x01(\x08\x12\'\n\x1ageodesic_meters_per_second\x18\x10 \x01(\x01H\x01\x88\x01\x01\x12\r\n\x05label\x18\x11 \x01(\t\x12*\n\x1epopulate_travel_step_polylines\x18\x14 \x01(\x08\x42\x02\x18\x01\"Y\n\x0bSolvingMode\x12\x11\n\rDEFAULT_SOLVE\x10\x00\x12\x11\n\rVALIDATE_ONLY\x10\x01\x12$\n DETECT_SOME_INFEASIBLE_SHIPMENTS\x10\x02\"Z\n\nSearchMode\x12\x1b\n\x17SEARCH_MODE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bRETURN_FAST\x10\x01\x12\x1e\n\x1a\x43ONSUME_ALL_AVAILABLE_TIME\x10\x02\x42\x18\n\x16_max_validation_errorsB\x1d\n\x1b_geodesic_meters_per_second\"\xae\x06\n\x15OptimizeToursResponse\x12;\n\x06routes\x18\x01 \x03(\x0b\x32+.google.cloud.optimization.v1.ShipmentRoute\x12\x15\n\rrequest_label\x18\x03 \x01(\t\x12H\n\x11skipped_shipments\x18\x04 \x03(\x0b\x32-.google.cloud.optimization.v1.SkippedShipment\x12U\n\x11validation_errors\x18\x05 \x03(\x0b\x32:.google.cloud.optimization.v1.OptimizeToursValidationError\x12L\n\x07metrics\x18\x06 \x01(\x0b\x32;.google.cloud.optimization.v1.OptimizeToursResponse.Metrics\x12\x16\n\ntotal_cost\x18\x02 \x01(\x01\x42\x02\x18\x01\x1a\xb9\x03\n\x07Metrics\x12Q\n\x18\x61ggregated_route_metrics\x18\x01 \x01(\x0b\x32/.google.cloud.optimization.v1.AggregatedMetrics\x12(\n skipped_mandatory_shipment_count\x18\x02 \x01(\x05\x12\x1a\n\x12used_vehicle_count\x18\x03 \x01(\x05\x12?\n\x1b\x65\x61rliest_vehicle_start_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12;\n\x17latest_vehicle_end_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12U\n\x05\x63osts\x18\n \x03(\x0b\x32\x46.google.cloud.optimization.v1.OptimizeToursResponse.Metrics.CostsEntry\x12\x12\n\ntotal_cost\x18\x06 \x01(\x01\x1a,\n\nCostsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x01:\x02\x38\x01\"\xeb\x02\n\x19\x42\x61tchOptimizeToursRequest\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x64\n\rmodel_configs\x18\x02 \x03(\x0b\x32H.google.cloud.optimization.v1.BatchOptimizeToursRequest.AsyncModelConfigB\x03\xe0\x41\x02\x1a\xd2\x01\n\x10\x41syncModelConfig\x12\x14\n\x0c\x64isplay_name\x18\x01 \x01(\t\x12\x44\n\x0cinput_config\x18\x02 \x01(\x0b\x32).google.cloud.optimization.v1.InputConfigB\x03\xe0\x41\x02\x12\x46\n\routput_config\x18\x03 \x01(\x0b\x32*.google.cloud.optimization.v1.OutputConfigB\x03\xe0\x41\x02\x12\x1a\n\x12\x65nable_checkpoints\x18\x04 \x01(\x08\"\x1c\n\x1a\x42\x61tchOptimizeToursResponse\"\x9a\x0f\n\rShipmentModel\x12\x39\n\tshipments\x18\x01 \x03(\x0b\x32&.google.cloud.optimization.v1.Shipment\x12\x37\n\x08vehicles\x18\x02 \x03(\x0b\x32%.google.cloud.optimization.v1.Vehicle\x12 \n\x13max_active_vehicles\x18\x04 \x01(\x05H\x00\x88\x01\x01\x12\x35\n\x11global_start_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\x0fglobal_end_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12%\n\x1dglobal_duration_cost_per_hour\x18\x07 \x01(\x01\x12\x66\n\x1a\x64uration_distance_matrices\x18\x08 \x03(\x0b\x32\x42.google.cloud.optimization.v1.ShipmentModel.DurationDistanceMatrix\x12)\n!duration_distance_matrix_src_tags\x18\t \x03(\t\x12)\n!duration_distance_matrix_dst_tags\x18\n \x03(\t\x12Q\n\x15transition_attributes\x18\x0b \x03(\x0b\x32\x32.google.cloud.optimization.v1.TransitionAttributes\x12\x62\n\x1fshipment_type_incompatibilities\x18\x0c \x03(\x0b\x32\x39.google.cloud.optimization.v1.ShipmentTypeIncompatibility\x12Y\n\x1ashipment_type_requirements\x18\r \x03(\x0b\x32\x35.google.cloud.optimization.v1.ShipmentTypeRequirement\x12T\n\x10precedence_rules\x18\x0e \x03(\x0b\x32:.google.cloud.optimization.v1.ShipmentModel.PrecedenceRule\x12N\n\x0b\x62reak_rules\x18\x0f \x03(\x0b\x32\x35.google.cloud.optimization.v1.ShipmentModel.BreakRuleB\x02\x18\x01\x1a\xce\x01\n\x16\x44urationDistanceMatrix\x12T\n\x04rows\x18\x01 \x03(\x0b\x32\x46.google.cloud.optimization.v1.ShipmentModel.DurationDistanceMatrix.Row\x12\x19\n\x11vehicle_start_tag\x18\x02 \x01(\t\x1a\x43\n\x03Row\x12,\n\tdurations\x18\x01 \x03(\x0b\x32\x19.google.protobuf.Duration\x12\x0e\n\x06meters\x18\x02 \x03(\x01\x1a\xd1\x01\n\x0ePrecedenceRule\x12\x18\n\x0b\x66irst_index\x18\x01 \x01(\x05H\x00\x88\x01\x01\x12\x19\n\x11\x66irst_is_delivery\x18\x03 \x01(\x08\x12\x19\n\x0csecond_index\x18\x02 \x01(\x05H\x01\x88\x01\x01\x12\x1a\n\x12second_is_delivery\x18\x04 \x01(\x08\x12\x32\n\x0foffset_duration\x18\x05 \x01(\x0b\x32\x19.google.protobuf.DurationB\x0e\n\x0c_first_indexB\x0f\n\r_second_index\x1a\xac\x04\n\tBreakRule\x12Z\n\x0e\x62reak_requests\x18\x01 \x03(\x0b\x32\x42.google.cloud.optimization.v1.ShipmentModel.BreakRule.BreakRequest\x12h\n\x15\x66requency_constraints\x18\x02 \x03(\x0b\x32I.google.cloud.optimization.v1.ShipmentModel.BreakRule.FrequencyConstraint\x1a\xbe\x01\n\x0c\x42reakRequest\x12<\n\x13\x65\x61rliest_start_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\x12:\n\x11latest_start_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\x12\x34\n\x0cmin_duration\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x02\x1a\x93\x01\n\x13\x46requencyConstraint\x12:\n\x12min_break_duration\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x02\x12@\n\x18max_inter_break_duration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x02:\x02\x18\x01\x42\x16\n\x14_max_active_vehicles\"\x80\x0c\n\x08Shipment\x12\x44\n\x07pickups\x18\x01 \x03(\x0b\x32\x33.google.cloud.optimization.v1.Shipment.VisitRequest\x12G\n\ndeliveries\x18\x02 \x03(\x0b\x32\x33.google.cloud.optimization.v1.Shipment.VisitRequest\x12M\n\x0cload_demands\x18\x0e \x03(\x0b\x32\x37.google.cloud.optimization.v1.Shipment.LoadDemandsEntry\x12\x19\n\x0cpenalty_cost\x18\x04 \x01(\x01H\x00\x88\x01\x01\x12\x1f\n\x17\x61llowed_vehicle_indices\x18\x05 \x03(\x05\x12\x19\n\x11\x63osts_per_vehicle\x18\x06 \x03(\x01\x12!\n\x19\x63osts_per_vehicle_indices\x18\x07 \x03(\x05\x12\x35\n(pickup_to_delivery_relative_detour_limit\x18\x08 \x01(\x01H\x01\x88\x01\x01\x12K\n(pickup_to_delivery_absolute_detour_limit\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12@\n\x1dpickup_to_delivery_time_limit\x18\n \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x15\n\rshipment_type\x18\x0b \x01(\t\x12\r\n\x05label\x18\x0c \x01(\t\x12\x0e\n\x06ignore\x18\r \x01(\x08\x12\x43\n\x07\x64\x65mands\x18\x03 \x03(\x0b\x32..google.cloud.optimization.v1.CapacityQuantityB\x02\x18\x01\x1a\xa3\x05\n\x0cVisitRequest\x12-\n\x10\x61rrival_location\x18\x01 \x01(\x0b\x32\x13.google.type.LatLng\x12@\n\x10\x61rrival_waypoint\x18\x02 \x01(\x0b\x32&.google.cloud.optimization.v1.Waypoint\x12/\n\x12\x64\x65parture_location\x18\x03 \x01(\x0b\x32\x13.google.type.LatLng\x12\x42\n\x12\x64\x65parture_waypoint\x18\x04 \x01(\x0b\x32&.google.cloud.optimization.v1.Waypoint\x12\x0c\n\x04tags\x18\x05 \x03(\t\x12>\n\x0ctime_windows\x18\x06 \x03(\x0b\x32(.google.cloud.optimization.v1.TimeWindow\x12+\n\x08\x64uration\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x0c\n\x04\x63ost\x18\x08 \x01(\x01\x12Z\n\x0cload_demands\x18\x0c \x03(\x0b\x32\x44.google.cloud.optimization.v1.Shipment.VisitRequest.LoadDemandsEntry\x12\x13\n\x0bvisit_types\x18\n \x03(\t\x12\r\n\x05label\x18\x0b \x01(\t\x12\x43\n\x07\x64\x65mands\x18\t \x03(\x0b\x32..google.cloud.optimization.v1.CapacityQuantityB\x02\x18\x01\x1a_\n\x10LoadDemandsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12:\n\x05value\x18\x02 \x01(\x0b\x32+.google.cloud.optimization.v1.Shipment.Load:\x02\x38\x01\x1a\x16\n\x04Load\x12\x0e\n\x06\x61mount\x18\x02 \x01(\x03\x1a_\n\x10LoadDemandsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12:\n\x05value\x18\x02 \x01(\x0b\x32+.google.cloud.optimization.v1.Shipment.Load:\x02\x38\x01\x42\x0f\n\r_penalty_costB+\n)_pickup_to_delivery_relative_detour_limit\"\xa2\x02\n\x1bShipmentTypeIncompatibility\x12\r\n\x05types\x18\x01 \x03(\t\x12k\n\x14incompatibility_mode\x18\x02 \x01(\x0e\x32M.google.cloud.optimization.v1.ShipmentTypeIncompatibility.IncompatibilityMode\"\x86\x01\n\x13IncompatibilityMode\x12$\n INCOMPATIBILITY_MODE_UNSPECIFIED\x10\x00\x12!\n\x1dNOT_PERFORMED_BY_SAME_VEHICLE\x10\x01\x12&\n\"NOT_IN_SAME_VEHICLE_SIMULTANEOUSLY\x10\x02\"\xe8\x02\n\x17ShipmentTypeRequirement\x12+\n#required_shipment_type_alternatives\x18\x01 \x03(\t\x12 \n\x18\x64\x65pendent_shipment_types\x18\x02 \x03(\t\x12_\n\x10requirement_mode\x18\x03 \x01(\x0e\x32\x45.google.cloud.optimization.v1.ShipmentTypeRequirement.RequirementMode\"\x9c\x01\n\x0fRequirementMode\x12 \n\x1cREQUIREMENT_MODE_UNSPECIFIED\x10\x00\x12\x1d\n\x19PERFORMED_BY_SAME_VEHICLE\x10\x01\x12\"\n\x1eIN_SAME_VEHICLE_AT_PICKUP_TIME\x10\x02\x12$\n IN_SAME_VEHICLE_AT_DELIVERY_TIME\x10\x03\"\xc1\x14\n\x07Vehicle\x12\x45\n\x0btravel_mode\x18\x01 \x01(\x0e\x32\x30.google.cloud.optimization.v1.Vehicle.TravelMode\x12+\n\x0estart_location\x18\x03 \x01(\x0b\x32\x13.google.type.LatLng\x12>\n\x0estart_waypoint\x18\x04 \x01(\x0b\x32&.google.cloud.optimization.v1.Waypoint\x12)\n\x0c\x65nd_location\x18\x05 \x01(\x0b\x32\x13.google.type.LatLng\x12<\n\x0c\x65nd_waypoint\x18\x06 \x01(\x0b\x32&.google.cloud.optimization.v1.Waypoint\x12\x12\n\nstart_tags\x18\x07 \x03(\t\x12\x10\n\x08\x65nd_tags\x18\x08 \x03(\t\x12\x44\n\x12start_time_windows\x18\t \x03(\x0b\x32(.google.cloud.optimization.v1.TimeWindow\x12\x42\n\x10\x65nd_time_windows\x18\n \x03(\x0b\x32(.google.cloud.optimization.v1.TimeWindow\x12%\n\x18travel_duration_multiple\x18\x0b \x01(\x01H\x00\x88\x01\x01\x12O\n\x10unloading_policy\x18\x0c \x01(\x0e\x32\x35.google.cloud.optimization.v1.Vehicle.UnloadingPolicy\x12J\n\x0bload_limits\x18\x1e \x03(\x0b\x32\x35.google.cloud.optimization.v1.Vehicle.LoadLimitsEntry\x12\x15\n\rcost_per_hour\x18\x10 \x01(\x01\x12\x1e\n\x16\x63ost_per_traveled_hour\x18\x11 \x01(\x01\x12\x1a\n\x12\x63ost_per_kilometer\x18\x12 \x01(\x01\x12\x12\n\nfixed_cost\x18\x13 \x01(\x01\x12\x1e\n\x16used_if_route_is_empty\x18\x14 \x01(\x08\x12Q\n\x14route_duration_limit\x18\x15 \x01(\x0b\x32\x33.google.cloud.optimization.v1.Vehicle.DurationLimit\x12R\n\x15travel_duration_limit\x18\x16 \x01(\x0b\x32\x33.google.cloud.optimization.v1.Vehicle.DurationLimit\x12I\n\x14route_distance_limit\x18\x17 \x01(\x0b\x32+.google.cloud.optimization.v1.DistanceLimit\x12v\n#extra_visit_duration_for_visit_type\x18\x18 \x03(\x0b\x32I.google.cloud.optimization.v1.Vehicle.ExtraVisitDurationForVisitTypeEntry\x12;\n\nbreak_rule\x18\x19 \x01(\x0b\x32\'.google.cloud.optimization.v1.BreakRule\x12\r\n\x05label\x18\x1b \x01(\t\x12\x0e\n\x06ignore\x18\x1c \x01(\x08\x12\x1e\n\x12\x62reak_rule_indices\x18\x1d \x03(\x05\x42\x02\x18\x01\x12\x46\n\ncapacities\x18\r \x03(\x0b\x32..google.cloud.optimization.v1.CapacityQuantityB\x02\x18\x01\x12X\n\x14start_load_intervals\x18\x0e \x03(\x0b\x32\x36.google.cloud.optimization.v1.CapacityQuantityIntervalB\x02\x18\x01\x12V\n\x12\x65nd_load_intervals\x18\x0f \x03(\x0b\x32\x36.google.cloud.optimization.v1.CapacityQuantityIntervalB\x02\x18\x01\x1a\xcb\x02\n\tLoadLimit\x12\x15\n\x08max_load\x18\x01 \x01(\x03H\x00\x88\x01\x01\x12\x15\n\rsoft_max_load\x18\x02 \x01(\x03\x12$\n\x1c\x63ost_per_unit_above_soft_max\x18\x03 \x01(\x01\x12U\n\x13start_load_interval\x18\x04 \x01(\x0b\x32\x38.google.cloud.optimization.v1.Vehicle.LoadLimit.Interval\x12S\n\x11\x65nd_load_interval\x18\x05 \x01(\x0b\x32\x38.google.cloud.optimization.v1.Vehicle.LoadLimit.Interval\x1a\x31\n\x08Interval\x12\x0b\n\x03min\x18\x01 \x01(\x03\x12\x10\n\x03max\x18\x02 \x01(\x03H\x00\x88\x01\x01\x42\x06\n\x04_maxB\x0b\n\t_max_load\x1a\xf0\x02\n\rDurationLimit\x12/\n\x0cmax_duration\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11soft_max_duration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12)\n\x1c\x63ost_per_hour_after_soft_max\x18\x03 \x01(\x01H\x00\x88\x01\x01\x12>\n\x1bquadratic_soft_max_duration\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12:\n-cost_per_square_hour_after_quadratic_soft_max\x18\x05 \x01(\x01H\x01\x88\x01\x01\x42\x1f\n\x1d_cost_per_hour_after_soft_maxB0\n._cost_per_square_hour_after_quadratic_soft_max\x1a\x62\n\x0fLoadLimitsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12>\n\x05value\x18\x02 \x01(\x0b\x32/.google.cloud.optimization.v1.Vehicle.LoadLimit:\x02\x38\x01\x1a`\n#ExtraVisitDurationForVisitTypeEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12(\n\x05value\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration:\x02\x38\x01\"6\n\nTravelMode\x12\x1b\n\x17TRAVEL_MODE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x44RIVING\x10\x01\"b\n\x0fUnloadingPolicy\x12 \n\x1cUNLOADING_POLICY_UNSPECIFIED\x10\x00\x12\x15\n\x11LAST_IN_FIRST_OUT\x10\x01\x12\x16\n\x12\x46IRST_IN_FIRST_OUT\x10\x02\x42\x1b\n\x19_travel_duration_multiple\"\x84\x03\n\nTimeWindow\x12.\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\x0fsoft_start_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x31\n\rsoft_end_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x31\n$cost_per_hour_before_soft_start_time\x18\x05 \x01(\x01H\x00\x88\x01\x01\x12.\n!cost_per_hour_after_soft_end_time\x18\x06 \x01(\x01H\x01\x88\x01\x01\x42\'\n%_cost_per_hour_before_soft_start_timeB$\n\"_cost_per_hour_after_soft_end_time\"3\n\x10\x43\x61pacityQuantity\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x03:\x02\x18\x01\"x\n\x18\x43\x61pacityQuantityInterval\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x16\n\tmin_value\x18\x02 \x01(\x03H\x00\x88\x01\x01\x12\x16\n\tmax_value\x18\x03 \x01(\x03H\x01\x88\x01\x01:\x02\x18\x01\x42\x0c\n\n_min_valueB\x0c\n\n_max_value\"\xbf\x01\n\rDistanceLimit\x12\x17\n\nmax_meters\x18\x01 \x01(\x03H\x00\x88\x01\x01\x12\x1c\n\x0fsoft_max_meters\x18\x02 \x01(\x03H\x01\x88\x01\x01\x12.\n!cost_per_kilometer_above_soft_max\x18\x03 \x01(\x01H\x02\x88\x01\x01\x42\r\n\x0b_max_metersB\x12\n\x10_soft_max_metersB$\n\"_cost_per_kilometer_above_soft_max\"\x85\x02\n\x14TransitionAttributes\x12\x0f\n\x07src_tag\x18\x01 \x01(\t\x12\x18\n\x10\x65xcluded_src_tag\x18\x02 \x01(\t\x12\x0f\n\x07\x64st_tag\x18\x03 \x01(\t\x12\x18\n\x10\x65xcluded_dst_tag\x18\x04 \x01(\t\x12\x0c\n\x04\x63ost\x18\x05 \x01(\x01\x12\x1a\n\x12\x63ost_per_kilometer\x18\x06 \x01(\x01\x12\x43\n\x0e\x64istance_limit\x18\x07 \x01(\x0b\x32+.google.cloud.optimization.v1.DistanceLimit\x12(\n\x05\x64\x65lay\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\"\x81\x01\n\x08Waypoint\x12:\n\x08location\x18\x01 \x01(\x0b\x32&.google.cloud.optimization.v1.LocationH\x00\x12\x12\n\x08place_id\x18\x02 \x01(\tH\x00\x12\x14\n\x0cside_of_road\x18\x03 \x01(\x08\x42\x0f\n\rlocation_type\"R\n\x08Location\x12$\n\x07lat_lng\x18\x01 \x01(\x0b\x32\x13.google.type.LatLng\x12\x14\n\x07heading\x18\x02 \x01(\x05H\x00\x88\x01\x01\x42\n\n\x08_heading\"\x8c\x04\n\tBreakRule\x12L\n\x0e\x62reak_requests\x18\x01 \x03(\x0b\x32\x34.google.cloud.optimization.v1.BreakRule.BreakRequest\x12Z\n\x15\x66requency_constraints\x18\x02 \x03(\x0b\x32;.google.cloud.optimization.v1.BreakRule.FrequencyConstraint\x1a\xbe\x01\n\x0c\x42reakRequest\x12<\n\x13\x65\x61rliest_start_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\x12:\n\x11latest_start_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\x12\x34\n\x0cmin_duration\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x02\x1a\x93\x01\n\x13\x46requencyConstraint\x12:\n\x12min_break_duration\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x02\x12@\n\x18max_inter_break_duration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x02\"\xc3\x16\n\rShipmentRoute\x12\x15\n\rvehicle_index\x18\x01 \x01(\x05\x12\x15\n\rvehicle_label\x18\x02 \x01(\t\x12\x36\n\x12vehicle_start_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x34\n\x10vehicle_end_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x41\n\x06visits\x18\x07 \x03(\x0b\x32\x31.google.cloud.optimization.v1.ShipmentRoute.Visit\x12K\n\x0btransitions\x18\x08 \x03(\x0b\x32\x36.google.cloud.optimization.v1.ShipmentRoute.Transition\x12#\n\x1bhas_traffic_infeasibilities\x18\t \x01(\x08\x12S\n\x0eroute_polyline\x18\n \x01(\x0b\x32;.google.cloud.optimization.v1.ShipmentRoute.EncodedPolyline\x12\x41\n\x06\x62reaks\x18\x0b \x03(\x0b\x32\x31.google.cloud.optimization.v1.ShipmentRoute.Break\x12@\n\x07metrics\x18\x0c \x01(\x0b\x32/.google.cloud.optimization.v1.AggregatedMetrics\x12P\n\x0broute_costs\x18\x11 \x03(\x0b\x32;.google.cloud.optimization.v1.ShipmentRoute.RouteCostsEntry\x12\x18\n\x10route_total_cost\x18\x12 \x01(\x01\x12\x45\n\tend_loads\x18\r \x03(\x0b\x32..google.cloud.optimization.v1.CapacityQuantityB\x02\x18\x01\x12P\n\x0ctravel_steps\x18\x0e \x03(\x0b\x32\x36.google.cloud.optimization.v1.ShipmentRoute.TravelStepB\x02\x18\x01\x12\x35\n\x0evehicle_detour\x18\x0f \x01(\x0b\x32\x19.google.protobuf.DurationB\x02\x18\x01\x12W\n\x18\x64\x65lay_before_vehicle_end\x18\x10 \x01(\x0b\x32\x31.google.cloud.optimization.v1.ShipmentRoute.DelayB\x02\x18\x01\x1ah\n\x05\x44\x65lay\x12.\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12+\n\x08\x64uration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration:\x02\x18\x01\x1a\xf5\x04\n\x05Visit\x12\x16\n\x0eshipment_index\x18\x01 \x01(\x05\x12\x11\n\tis_pickup\x18\x02 \x01(\x08\x12\x1b\n\x13visit_request_index\x18\x03 \x01(\x05\x12.\n\nstart_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12X\n\x0cload_demands\x18\x0b \x03(\x0b\x32\x42.google.cloud.optimization.v1.ShipmentRoute.Visit.LoadDemandsEntry\x12)\n\x06\x64\x65tour\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x16\n\x0eshipment_label\x18\x07 \x01(\t\x12\x13\n\x0bvisit_label\x18\x08 \x01(\t\x12I\n\rarrival_loads\x18\t \x03(\x0b\x32..google.cloud.optimization.v1.CapacityQuantityB\x02\x18\x01\x12Q\n\x12\x64\x65lay_before_start\x18\n \x01(\x0b\x32\x31.google.cloud.optimization.v1.ShipmentRoute.DelayB\x02\x18\x01\x12\x43\n\x07\x64\x65mands\x18\x05 \x03(\x0b\x32..google.cloud.optimization.v1.CapacityQuantityB\x02\x18\x01\x1a_\n\x10LoadDemandsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12:\n\x05value\x18\x02 \x01(\x0b\x32+.google.cloud.optimization.v1.Shipment.Load:\x02\x38\x01\x1a\xe4\x05\n\nTransition\x12\x32\n\x0ftravel_duration\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x1e\n\x16travel_distance_meters\x18\x02 \x01(\x01\x12 \n\x18traffic_info_unavailable\x18\x03 \x01(\x08\x12\x31\n\x0e\x64\x65lay_duration\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x31\n\x0e\x62reak_duration\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x30\n\rwait_duration\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x31\n\x0etotal_duration\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12.\n\nstart_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12S\n\x0eroute_polyline\x18\t \x01(\x0b\x32;.google.cloud.optimization.v1.ShipmentRoute.EncodedPolyline\x12_\n\rvehicle_loads\x18\x0b \x03(\x0b\x32H.google.cloud.optimization.v1.ShipmentRoute.Transition.VehicleLoadsEntry\x12\x41\n\x05loads\x18\n \x03(\x0b\x32..google.cloud.optimization.v1.CapacityQuantityB\x02\x18\x01\x1al\n\x11VehicleLoadsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x46\n\x05value\x18\x02 \x01(\x0b\x32\x37.google.cloud.optimization.v1.ShipmentRoute.VehicleLoad:\x02\x38\x01\x1a\x1d\n\x0bVehicleLoad\x12\x0e\n\x06\x61mount\x18\x01 \x01(\x03\x1a!\n\x0f\x45ncodedPolyline\x12\x0e\n\x06points\x18\x01 \x01(\t\x1a\x64\n\x05\x42reak\x12.\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12+\n\x08\x64uration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x1a\xcd\x01\n\nTravelStep\x12+\n\x08\x64uration\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x17\n\x0f\x64istance_meters\x18\x02 \x01(\x01\x12 \n\x18traffic_info_unavailable\x18\x03 \x01(\x08\x12S\n\x0eroute_polyline\x18\x04 \x01(\x0b\x32;.google.cloud.optimization.v1.ShipmentRoute.EncodedPolyline:\x02\x18\x01\x1a\x31\n\x0fRouteCostsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x01:\x02\x38\x01\"\xfe\x04\n\x0fSkippedShipment\x12\r\n\x05index\x18\x01 \x01(\x05\x12\r\n\x05label\x18\x02 \x01(\t\x12\x45\n\x07reasons\x18\x03 \x03(\x0b\x32\x34.google.cloud.optimization.v1.SkippedShipment.Reason\x1a\x85\x04\n\x06Reason\x12G\n\x04\x63ode\x18\x01 \x01(\x0e\x32\x39.google.cloud.optimization.v1.SkippedShipment.Reason.Code\x12\"\n\x15\x65xample_vehicle_index\x18\x02 \x01(\x05H\x00\x88\x01\x01\x12&\n\x1e\x65xample_exceeded_capacity_type\x18\x03 \x01(\t\"\xcb\x02\n\x04\x43ode\x12\x14\n\x10\x43ODE_UNSPECIFIED\x10\x00\x12\x0e\n\nNO_VEHICLE\x10\x01\x12#\n\x1f\x44\x45MAND_EXCEEDS_VEHICLE_CAPACITY\x10\x02\x12\x35\n1CANNOT_BE_PERFORMED_WITHIN_VEHICLE_DISTANCE_LIMIT\x10\x03\x12\x35\n1CANNOT_BE_PERFORMED_WITHIN_VEHICLE_DURATION_LIMIT\x10\x04\x12<\n8CANNOT_BE_PERFORMED_WITHIN_VEHICLE_TRAVEL_DURATION_LIMIT\x10\x05\x12\x33\n/CANNOT_BE_PERFORMED_WITHIN_VEHICLE_TIME_WINDOWS\x10\x06\x12\x17\n\x13VEHICLE_NOT_ALLOWED\x10\x07\x42\x18\n\x16_example_vehicle_index\"\xd8\x05\n\x11\x41ggregatedMetrics\x12 \n\x18performed_shipment_count\x18\x01 \x01(\x05\x12\x32\n\x0ftravel_duration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x30\n\rwait_duration\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x31\n\x0e\x64\x65lay_duration\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x31\n\x0e\x62reak_duration\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x31\n\x0evisit_duration\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x31\n\x0etotal_duration\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x1e\n\x16travel_distance_meters\x18\x08 \x01(\x01\x12P\n\tmax_loads\x18\t \x03(\x0b\x32=.google.cloud.optimization.v1.AggregatedMetrics.MaxLoadsEntry\x12M\n\x05\x63osts\x18\n \x03(\x0b\x32:.google.cloud.optimization.v1.AggregatedMetrics.CostsEntryB\x02\x18\x01\x12\x16\n\ntotal_cost\x18\x0b \x01(\x01\x42\x02\x18\x01\x1ah\n\rMaxLoadsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x46\n\x05value\x18\x02 \x01(\x0b\x32\x37.google.cloud.optimization.v1.ShipmentRoute.VehicleLoad:\x02\x38\x01\x1a,\n\nCostsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x01:\x02\x38\x01\"\x9f\x06\n\x1aInjectedSolutionConstraint\x12;\n\x06routes\x18\x01 \x03(\x0b\x32+.google.cloud.optimization.v1.ShipmentRoute\x12H\n\x11skipped_shipments\x18\x02 \x03(\x0b\x32-.google.cloud.optimization.v1.SkippedShipment\x12m\n\x16\x63onstraint_relaxations\x18\x03 \x03(\x0b\x32M.google.cloud.optimization.v1.InjectedSolutionConstraint.ConstraintRelaxation\x1a\x8a\x04\n\x14\x43onstraintRelaxation\x12m\n\x0brelaxations\x18\x01 \x03(\x0b\x32X.google.cloud.optimization.v1.InjectedSolutionConstraint.ConstraintRelaxation.Relaxation\x12\x17\n\x0fvehicle_indices\x18\x02 \x03(\x05\x1a\xe9\x02\n\nRelaxation\x12m\n\x05level\x18\x01 \x01(\x0e\x32^.google.cloud.optimization.v1.InjectedSolutionConstraint.ConstraintRelaxation.Relaxation.Level\x12\x32\n\x0ethreshold_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x1d\n\x15threshold_visit_count\x18\x03 \x01(\x05\"\x98\x01\n\x05Level\x12\x15\n\x11LEVEL_UNSPECIFIED\x10\x00\x12%\n!RELAX_VISIT_TIMES_AFTER_THRESHOLD\x10\x01\x12\x32\n.RELAX_VISIT_TIMES_AND_SEQUENCE_AFTER_THRESHOLD\x10\x02\x12\x1d\n\x19RELAX_ALL_AFTER_THRESHOLD\x10\x03\"\xfd\x02\n\x1cOptimizeToursValidationError\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12Y\n\x06\x66ields\x18\x03 \x03(\x0b\x32I.google.cloud.optimization.v1.OptimizeToursValidationError.FieldReference\x12\x15\n\rerror_message\x18\x04 \x01(\t\x12\x18\n\x10offending_values\x18\x05 \x01(\t\x1a\xac\x01\n\x0e\x46ieldReference\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x05index\x18\x02 \x01(\x05H\x00\x12\r\n\x03key\x18\x04 \x01(\tH\x00\x12\\\n\tsub_field\x18\x03 \x01(\x0b\x32I.google.cloud.optimization.v1.OptimizeToursValidationError.FieldReferenceB\x0e\n\x0cindex_or_key2\xe0\x04\n\x0c\x46leetRouting\x12\xe2\x01\n\rOptimizeTours\x12\x32.google.cloud.optimization.v1.OptimizeToursRequest\x1a\x33.google.cloud.optimization.v1.OptimizeToursResponse\"h\x82\xd3\xe4\x93\x02\x62\"1/v1/{parent=projects/*/locations/*}:optimizeTours:\x01*Z*\"%/v1/{parent=projects/*}:optimizeTours:\x01*\x12\x94\x02\n\x12\x42\x61tchOptimizeTours\x12\x37.google.cloud.optimization.v1.BatchOptimizeToursRequest\x1a\x1d.google.longrunning.Operation\"\xa5\x01\x82\xd3\xe4\x93\x02l\"6/v1/{parent=projects/*/locations/*}:batchOptimizeTours:\x01*Z/\"*/v1/{parent=projects/*}:batchOptimizeTours:\x01*\xca\x41\x30\n\x1a\x42\x61tchOptimizeToursResponse\x12\x12\x41syncModelMetadata\x1aT\xca\x41 cloudoptimization.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB}\n com.google.cloud.optimization.v1B\x11\x46leetRoutingProtoP\x01ZDcloud.google.com/go/optimization/apiv1/optimizationpb;optimizationpbb\x06proto3"
17
+ descriptor_data = "\n0google/cloud/optimization/v1/fleet_routing.proto\x12\x1cgoogle.cloud.optimization.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a.google/cloud/optimization/v1/async_model.proto\x1a#google/longrunning/operations.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x18google/type/latlng.proto\"\xa4\t\n\x14OptimizeToursRequest\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12*\n\x07timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12:\n\x05model\x18\x03 \x01(\x0b\x32+.google.cloud.optimization.v1.ShipmentModel\x12T\n\x0csolving_mode\x18\x04 \x01(\x0e\x32>.google.cloud.optimization.v1.OptimizeToursRequest.SolvingMode\x12R\n\x0bsearch_mode\x18\x06 \x01(\x0e\x32=.google.cloud.optimization.v1.OptimizeToursRequest.SearchMode\x12S\n\x1einjected_first_solution_routes\x18\x07 \x03(\x0b\x32+.google.cloud.optimization.v1.ShipmentRoute\x12^\n\x1cinjected_solution_constraint\x18\x08 \x01(\x0b\x32\x38.google.cloud.optimization.v1.InjectedSolutionConstraint\x12K\n\x16refresh_details_routes\x18\t \x03(\x0b\x32+.google.cloud.optimization.v1.ShipmentRoute\x12\x31\n)interpret_injected_solutions_using_labels\x18\n \x01(\x08\x12\x1d\n\x15\x63onsider_road_traffic\x18\x0b \x01(\x08\x12\x1a\n\x12populate_polylines\x18\x0c \x01(\x08\x12%\n\x1dpopulate_transition_polylines\x18\r \x01(\x08\x12\x36\n.allow_large_deadline_despite_interruption_risk\x18\x0e \x01(\x08\x12\x1e\n\x16use_geodesic_distances\x18\x0f \x01(\x08\x12\'\n\x1ageodesic_meters_per_second\x18\x10 \x01(\x01H\x00\x88\x01\x01\x12\"\n\x15max_validation_errors\x18\x05 \x01(\x05H\x01\x88\x01\x01\x12\r\n\x05label\x18\x11 \x01(\t\x12*\n\x1epopulate_travel_step_polylines\x18\x14 \x01(\x08\x42\x02\x18\x01\"Y\n\x0bSolvingMode\x12\x11\n\rDEFAULT_SOLVE\x10\x00\x12\x11\n\rVALIDATE_ONLY\x10\x01\x12$\n DETECT_SOME_INFEASIBLE_SHIPMENTS\x10\x02\"Z\n\nSearchMode\x12\x1b\n\x17SEARCH_MODE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bRETURN_FAST\x10\x01\x12\x1e\n\x1a\x43ONSUME_ALL_AVAILABLE_TIME\x10\x02\x42\x1d\n\x1b_geodesic_meters_per_secondB\x18\n\x16_max_validation_errors\"\xae\x06\n\x15OptimizeToursResponse\x12;\n\x06routes\x18\x01 \x03(\x0b\x32+.google.cloud.optimization.v1.ShipmentRoute\x12\x15\n\rrequest_label\x18\x03 \x01(\t\x12H\n\x11skipped_shipments\x18\x04 \x03(\x0b\x32-.google.cloud.optimization.v1.SkippedShipment\x12U\n\x11validation_errors\x18\x05 \x03(\x0b\x32:.google.cloud.optimization.v1.OptimizeToursValidationError\x12L\n\x07metrics\x18\x06 \x01(\x0b\x32;.google.cloud.optimization.v1.OptimizeToursResponse.Metrics\x12\x16\n\ntotal_cost\x18\x02 \x01(\x01\x42\x02\x18\x01\x1a\xb9\x03\n\x07Metrics\x12Q\n\x18\x61ggregated_route_metrics\x18\x01 \x01(\x0b\x32/.google.cloud.optimization.v1.AggregatedMetrics\x12(\n skipped_mandatory_shipment_count\x18\x02 \x01(\x05\x12\x1a\n\x12used_vehicle_count\x18\x03 \x01(\x05\x12?\n\x1b\x65\x61rliest_vehicle_start_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12;\n\x17latest_vehicle_end_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12U\n\x05\x63osts\x18\n \x03(\x0b\x32\x46.google.cloud.optimization.v1.OptimizeToursResponse.Metrics.CostsEntry\x12\x12\n\ntotal_cost\x18\x06 \x01(\x01\x1a,\n\nCostsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x01:\x02\x38\x01\"\xeb\x02\n\x19\x42\x61tchOptimizeToursRequest\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x64\n\rmodel_configs\x18\x02 \x03(\x0b\x32H.google.cloud.optimization.v1.BatchOptimizeToursRequest.AsyncModelConfigB\x03\xe0\x41\x02\x1a\xd2\x01\n\x10\x41syncModelConfig\x12\x14\n\x0c\x64isplay_name\x18\x01 \x01(\t\x12\x44\n\x0cinput_config\x18\x02 \x01(\x0b\x32).google.cloud.optimization.v1.InputConfigB\x03\xe0\x41\x02\x12\x46\n\routput_config\x18\x03 \x01(\x0b\x32*.google.cloud.optimization.v1.OutputConfigB\x03\xe0\x41\x02\x12\x1a\n\x12\x65nable_checkpoints\x18\x04 \x01(\x08\"\x1c\n\x1a\x42\x61tchOptimizeToursResponse\"\x9a\x0f\n\rShipmentModel\x12\x39\n\tshipments\x18\x01 \x03(\x0b\x32&.google.cloud.optimization.v1.Shipment\x12\x37\n\x08vehicles\x18\x02 \x03(\x0b\x32%.google.cloud.optimization.v1.Vehicle\x12 \n\x13max_active_vehicles\x18\x04 \x01(\x05H\x00\x88\x01\x01\x12\x35\n\x11global_start_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\x0fglobal_end_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12%\n\x1dglobal_duration_cost_per_hour\x18\x07 \x01(\x01\x12\x66\n\x1a\x64uration_distance_matrices\x18\x08 \x03(\x0b\x32\x42.google.cloud.optimization.v1.ShipmentModel.DurationDistanceMatrix\x12)\n!duration_distance_matrix_src_tags\x18\t \x03(\t\x12)\n!duration_distance_matrix_dst_tags\x18\n \x03(\t\x12Q\n\x15transition_attributes\x18\x0b \x03(\x0b\x32\x32.google.cloud.optimization.v1.TransitionAttributes\x12\x62\n\x1fshipment_type_incompatibilities\x18\x0c \x03(\x0b\x32\x39.google.cloud.optimization.v1.ShipmentTypeIncompatibility\x12Y\n\x1ashipment_type_requirements\x18\r \x03(\x0b\x32\x35.google.cloud.optimization.v1.ShipmentTypeRequirement\x12T\n\x10precedence_rules\x18\x0e \x03(\x0b\x32:.google.cloud.optimization.v1.ShipmentModel.PrecedenceRule\x12N\n\x0b\x62reak_rules\x18\x0f \x03(\x0b\x32\x35.google.cloud.optimization.v1.ShipmentModel.BreakRuleB\x02\x18\x01\x1a\xce\x01\n\x16\x44urationDistanceMatrix\x12T\n\x04rows\x18\x01 \x03(\x0b\x32\x46.google.cloud.optimization.v1.ShipmentModel.DurationDistanceMatrix.Row\x12\x19\n\x11vehicle_start_tag\x18\x02 \x01(\t\x1a\x43\n\x03Row\x12,\n\tdurations\x18\x01 \x03(\x0b\x32\x19.google.protobuf.Duration\x12\x0e\n\x06meters\x18\x02 \x03(\x01\x1a\xd1\x01\n\x0ePrecedenceRule\x12\x18\n\x0b\x66irst_index\x18\x01 \x01(\x05H\x00\x88\x01\x01\x12\x19\n\x11\x66irst_is_delivery\x18\x03 \x01(\x08\x12\x19\n\x0csecond_index\x18\x02 \x01(\x05H\x01\x88\x01\x01\x12\x1a\n\x12second_is_delivery\x18\x04 \x01(\x08\x12\x32\n\x0foffset_duration\x18\x05 \x01(\x0b\x32\x19.google.protobuf.DurationB\x0e\n\x0c_first_indexB\x0f\n\r_second_index\x1a\xac\x04\n\tBreakRule\x12Z\n\x0e\x62reak_requests\x18\x01 \x03(\x0b\x32\x42.google.cloud.optimization.v1.ShipmentModel.BreakRule.BreakRequest\x12h\n\x15\x66requency_constraints\x18\x02 \x03(\x0b\x32I.google.cloud.optimization.v1.ShipmentModel.BreakRule.FrequencyConstraint\x1a\xbe\x01\n\x0c\x42reakRequest\x12<\n\x13\x65\x61rliest_start_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\x12:\n\x11latest_start_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\x12\x34\n\x0cmin_duration\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x02\x1a\x93\x01\n\x13\x46requencyConstraint\x12:\n\x12min_break_duration\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x02\x12@\n\x18max_inter_break_duration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x02:\x02\x18\x01\x42\x16\n\x14_max_active_vehicles\"\x80\x0c\n\x08Shipment\x12\x44\n\x07pickups\x18\x01 \x03(\x0b\x32\x33.google.cloud.optimization.v1.Shipment.VisitRequest\x12G\n\ndeliveries\x18\x02 \x03(\x0b\x32\x33.google.cloud.optimization.v1.Shipment.VisitRequest\x12M\n\x0cload_demands\x18\x0e \x03(\x0b\x32\x37.google.cloud.optimization.v1.Shipment.LoadDemandsEntry\x12\x19\n\x0cpenalty_cost\x18\x04 \x01(\x01H\x00\x88\x01\x01\x12\x1f\n\x17\x61llowed_vehicle_indices\x18\x05 \x03(\x05\x12\x19\n\x11\x63osts_per_vehicle\x18\x06 \x03(\x01\x12!\n\x19\x63osts_per_vehicle_indices\x18\x07 \x03(\x05\x12\x35\n(pickup_to_delivery_relative_detour_limit\x18\x08 \x01(\x01H\x01\x88\x01\x01\x12K\n(pickup_to_delivery_absolute_detour_limit\x18\t \x01(\x0b\x32\x19.google.protobuf.Duration\x12@\n\x1dpickup_to_delivery_time_limit\x18\n \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x15\n\rshipment_type\x18\x0b \x01(\t\x12\r\n\x05label\x18\x0c \x01(\t\x12\x0e\n\x06ignore\x18\r \x01(\x08\x12\x43\n\x07\x64\x65mands\x18\x03 \x03(\x0b\x32..google.cloud.optimization.v1.CapacityQuantityB\x02\x18\x01\x1a\xa3\x05\n\x0cVisitRequest\x12-\n\x10\x61rrival_location\x18\x01 \x01(\x0b\x32\x13.google.type.LatLng\x12@\n\x10\x61rrival_waypoint\x18\x02 \x01(\x0b\x32&.google.cloud.optimization.v1.Waypoint\x12/\n\x12\x64\x65parture_location\x18\x03 \x01(\x0b\x32\x13.google.type.LatLng\x12\x42\n\x12\x64\x65parture_waypoint\x18\x04 \x01(\x0b\x32&.google.cloud.optimization.v1.Waypoint\x12\x0c\n\x04tags\x18\x05 \x03(\t\x12>\n\x0ctime_windows\x18\x06 \x03(\x0b\x32(.google.cloud.optimization.v1.TimeWindow\x12+\n\x08\x64uration\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x0c\n\x04\x63ost\x18\x08 \x01(\x01\x12Z\n\x0cload_demands\x18\x0c \x03(\x0b\x32\x44.google.cloud.optimization.v1.Shipment.VisitRequest.LoadDemandsEntry\x12\x13\n\x0bvisit_types\x18\n \x03(\t\x12\r\n\x05label\x18\x0b \x01(\t\x12\x43\n\x07\x64\x65mands\x18\t \x03(\x0b\x32..google.cloud.optimization.v1.CapacityQuantityB\x02\x18\x01\x1a_\n\x10LoadDemandsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12:\n\x05value\x18\x02 \x01(\x0b\x32+.google.cloud.optimization.v1.Shipment.Load:\x02\x38\x01\x1a\x16\n\x04Load\x12\x0e\n\x06\x61mount\x18\x02 \x01(\x03\x1a_\n\x10LoadDemandsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12:\n\x05value\x18\x02 \x01(\x0b\x32+.google.cloud.optimization.v1.Shipment.Load:\x02\x38\x01\x42\x0f\n\r_penalty_costB+\n)_pickup_to_delivery_relative_detour_limit\"\xa2\x02\n\x1bShipmentTypeIncompatibility\x12\r\n\x05types\x18\x01 \x03(\t\x12k\n\x14incompatibility_mode\x18\x02 \x01(\x0e\x32M.google.cloud.optimization.v1.ShipmentTypeIncompatibility.IncompatibilityMode\"\x86\x01\n\x13IncompatibilityMode\x12$\n INCOMPATIBILITY_MODE_UNSPECIFIED\x10\x00\x12!\n\x1dNOT_PERFORMED_BY_SAME_VEHICLE\x10\x01\x12&\n\"NOT_IN_SAME_VEHICLE_SIMULTANEOUSLY\x10\x02\"\xe8\x02\n\x17ShipmentTypeRequirement\x12+\n#required_shipment_type_alternatives\x18\x01 \x03(\t\x12 \n\x18\x64\x65pendent_shipment_types\x18\x02 \x03(\t\x12_\n\x10requirement_mode\x18\x03 \x01(\x0e\x32\x45.google.cloud.optimization.v1.ShipmentTypeRequirement.RequirementMode\"\x9c\x01\n\x0fRequirementMode\x12 \n\x1cREQUIREMENT_MODE_UNSPECIFIED\x10\x00\x12\x1d\n\x19PERFORMED_BY_SAME_VEHICLE\x10\x01\x12\"\n\x1eIN_SAME_VEHICLE_AT_PICKUP_TIME\x10\x02\x12$\n IN_SAME_VEHICLE_AT_DELIVERY_TIME\x10\x03\"\xce\x14\n\x07Vehicle\x12\x45\n\x0btravel_mode\x18\x01 \x01(\x0e\x32\x30.google.cloud.optimization.v1.Vehicle.TravelMode\x12+\n\x0estart_location\x18\x03 \x01(\x0b\x32\x13.google.type.LatLng\x12>\n\x0estart_waypoint\x18\x04 \x01(\x0b\x32&.google.cloud.optimization.v1.Waypoint\x12)\n\x0c\x65nd_location\x18\x05 \x01(\x0b\x32\x13.google.type.LatLng\x12<\n\x0c\x65nd_waypoint\x18\x06 \x01(\x0b\x32&.google.cloud.optimization.v1.Waypoint\x12\x12\n\nstart_tags\x18\x07 \x03(\t\x12\x10\n\x08\x65nd_tags\x18\x08 \x03(\t\x12\x44\n\x12start_time_windows\x18\t \x03(\x0b\x32(.google.cloud.optimization.v1.TimeWindow\x12\x42\n\x10\x65nd_time_windows\x18\n \x03(\x0b\x32(.google.cloud.optimization.v1.TimeWindow\x12%\n\x18travel_duration_multiple\x18\x0b \x01(\x01H\x00\x88\x01\x01\x12O\n\x10unloading_policy\x18\x0c \x01(\x0e\x32\x35.google.cloud.optimization.v1.Vehicle.UnloadingPolicy\x12J\n\x0bload_limits\x18\x1e \x03(\x0b\x32\x35.google.cloud.optimization.v1.Vehicle.LoadLimitsEntry\x12\x15\n\rcost_per_hour\x18\x10 \x01(\x01\x12\x1e\n\x16\x63ost_per_traveled_hour\x18\x11 \x01(\x01\x12\x1a\n\x12\x63ost_per_kilometer\x18\x12 \x01(\x01\x12\x12\n\nfixed_cost\x18\x13 \x01(\x01\x12\x1e\n\x16used_if_route_is_empty\x18\x14 \x01(\x08\x12Q\n\x14route_duration_limit\x18\x15 \x01(\x0b\x32\x33.google.cloud.optimization.v1.Vehicle.DurationLimit\x12R\n\x15travel_duration_limit\x18\x16 \x01(\x0b\x32\x33.google.cloud.optimization.v1.Vehicle.DurationLimit\x12I\n\x14route_distance_limit\x18\x17 \x01(\x0b\x32+.google.cloud.optimization.v1.DistanceLimit\x12v\n#extra_visit_duration_for_visit_type\x18\x18 \x03(\x0b\x32I.google.cloud.optimization.v1.Vehicle.ExtraVisitDurationForVisitTypeEntry\x12;\n\nbreak_rule\x18\x19 \x01(\x0b\x32\'.google.cloud.optimization.v1.BreakRule\x12\r\n\x05label\x18\x1b \x01(\t\x12\x0e\n\x06ignore\x18\x1c \x01(\x08\x12\x1e\n\x12\x62reak_rule_indices\x18\x1d \x03(\x05\x42\x02\x18\x01\x12\x46\n\ncapacities\x18\r \x03(\x0b\x32..google.cloud.optimization.v1.CapacityQuantityB\x02\x18\x01\x12X\n\x14start_load_intervals\x18\x0e \x03(\x0b\x32\x36.google.cloud.optimization.v1.CapacityQuantityIntervalB\x02\x18\x01\x12V\n\x12\x65nd_load_intervals\x18\x0f \x03(\x0b\x32\x36.google.cloud.optimization.v1.CapacityQuantityIntervalB\x02\x18\x01\x1a\xcb\x02\n\tLoadLimit\x12\x15\n\x08max_load\x18\x01 \x01(\x03H\x00\x88\x01\x01\x12\x15\n\rsoft_max_load\x18\x02 \x01(\x03\x12$\n\x1c\x63ost_per_unit_above_soft_max\x18\x03 \x01(\x01\x12U\n\x13start_load_interval\x18\x04 \x01(\x0b\x32\x38.google.cloud.optimization.v1.Vehicle.LoadLimit.Interval\x12S\n\x11\x65nd_load_interval\x18\x05 \x01(\x0b\x32\x38.google.cloud.optimization.v1.Vehicle.LoadLimit.Interval\x1a\x31\n\x08Interval\x12\x0b\n\x03min\x18\x01 \x01(\x03\x12\x10\n\x03max\x18\x02 \x01(\x03H\x00\x88\x01\x01\x42\x06\n\x04_maxB\x0b\n\t_max_load\x1a\xf0\x02\n\rDurationLimit\x12/\n\x0cmax_duration\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11soft_max_duration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12)\n\x1c\x63ost_per_hour_after_soft_max\x18\x03 \x01(\x01H\x00\x88\x01\x01\x12>\n\x1bquadratic_soft_max_duration\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12:\n-cost_per_square_hour_after_quadratic_soft_max\x18\x05 \x01(\x01H\x01\x88\x01\x01\x42\x1f\n\x1d_cost_per_hour_after_soft_maxB0\n._cost_per_square_hour_after_quadratic_soft_max\x1a\x62\n\x0fLoadLimitsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12>\n\x05value\x18\x02 \x01(\x0b\x32/.google.cloud.optimization.v1.Vehicle.LoadLimit:\x02\x38\x01\x1a`\n#ExtraVisitDurationForVisitTypeEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12(\n\x05value\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration:\x02\x38\x01\"C\n\nTravelMode\x12\x1b\n\x17TRAVEL_MODE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x44RIVING\x10\x01\x12\x0b\n\x07WALKING\x10\x02\"b\n\x0fUnloadingPolicy\x12 \n\x1cUNLOADING_POLICY_UNSPECIFIED\x10\x00\x12\x15\n\x11LAST_IN_FIRST_OUT\x10\x01\x12\x16\n\x12\x46IRST_IN_FIRST_OUT\x10\x02\x42\x1b\n\x19_travel_duration_multiple\"\x84\x03\n\nTimeWindow\x12.\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\x0fsoft_start_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x31\n\rsoft_end_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x31\n$cost_per_hour_before_soft_start_time\x18\x05 \x01(\x01H\x00\x88\x01\x01\x12.\n!cost_per_hour_after_soft_end_time\x18\x06 \x01(\x01H\x01\x88\x01\x01\x42\'\n%_cost_per_hour_before_soft_start_timeB$\n\"_cost_per_hour_after_soft_end_time\"3\n\x10\x43\x61pacityQuantity\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x03:\x02\x18\x01\"x\n\x18\x43\x61pacityQuantityInterval\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x16\n\tmin_value\x18\x02 \x01(\x03H\x00\x88\x01\x01\x12\x16\n\tmax_value\x18\x03 \x01(\x03H\x01\x88\x01\x01:\x02\x18\x01\x42\x0c\n\n_min_valueB\x0c\n\n_max_value\"\x95\x02\n\rDistanceLimit\x12\x17\n\nmax_meters\x18\x01 \x01(\x03H\x00\x88\x01\x01\x12\x1c\n\x0fsoft_max_meters\x18\x02 \x01(\x03H\x01\x88\x01\x01\x12.\n!cost_per_kilometer_below_soft_max\x18\x04 \x01(\x01H\x02\x88\x01\x01\x12.\n!cost_per_kilometer_above_soft_max\x18\x03 \x01(\x01H\x03\x88\x01\x01\x42\r\n\x0b_max_metersB\x12\n\x10_soft_max_metersB$\n\"_cost_per_kilometer_below_soft_maxB$\n\"_cost_per_kilometer_above_soft_max\"\x85\x02\n\x14TransitionAttributes\x12\x0f\n\x07src_tag\x18\x01 \x01(\t\x12\x18\n\x10\x65xcluded_src_tag\x18\x02 \x01(\t\x12\x0f\n\x07\x64st_tag\x18\x03 \x01(\t\x12\x18\n\x10\x65xcluded_dst_tag\x18\x04 \x01(\t\x12\x0c\n\x04\x63ost\x18\x05 \x01(\x01\x12\x1a\n\x12\x63ost_per_kilometer\x18\x06 \x01(\x01\x12\x43\n\x0e\x64istance_limit\x18\x07 \x01(\x0b\x32+.google.cloud.optimization.v1.DistanceLimit\x12(\n\x05\x64\x65lay\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\"\x81\x01\n\x08Waypoint\x12:\n\x08location\x18\x01 \x01(\x0b\x32&.google.cloud.optimization.v1.LocationH\x00\x12\x12\n\x08place_id\x18\x02 \x01(\tH\x00\x12\x14\n\x0cside_of_road\x18\x03 \x01(\x08\x42\x0f\n\rlocation_type\"R\n\x08Location\x12$\n\x07lat_lng\x18\x01 \x01(\x0b\x32\x13.google.type.LatLng\x12\x14\n\x07heading\x18\x02 \x01(\x05H\x00\x88\x01\x01\x42\n\n\x08_heading\"\x8c\x04\n\tBreakRule\x12L\n\x0e\x62reak_requests\x18\x01 \x03(\x0b\x32\x34.google.cloud.optimization.v1.BreakRule.BreakRequest\x12Z\n\x15\x66requency_constraints\x18\x02 \x03(\x0b\x32;.google.cloud.optimization.v1.BreakRule.FrequencyConstraint\x1a\xbe\x01\n\x0c\x42reakRequest\x12<\n\x13\x65\x61rliest_start_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\x12:\n\x11latest_start_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\x12\x34\n\x0cmin_duration\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x02\x1a\x93\x01\n\x13\x46requencyConstraint\x12:\n\x12min_break_duration\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x02\x12@\n\x18max_inter_break_duration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x02\"\xc3\x16\n\rShipmentRoute\x12\x15\n\rvehicle_index\x18\x01 \x01(\x05\x12\x15\n\rvehicle_label\x18\x02 \x01(\t\x12\x36\n\x12vehicle_start_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x34\n\x10vehicle_end_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x41\n\x06visits\x18\x07 \x03(\x0b\x32\x31.google.cloud.optimization.v1.ShipmentRoute.Visit\x12K\n\x0btransitions\x18\x08 \x03(\x0b\x32\x36.google.cloud.optimization.v1.ShipmentRoute.Transition\x12#\n\x1bhas_traffic_infeasibilities\x18\t \x01(\x08\x12S\n\x0eroute_polyline\x18\n \x01(\x0b\x32;.google.cloud.optimization.v1.ShipmentRoute.EncodedPolyline\x12\x41\n\x06\x62reaks\x18\x0b \x03(\x0b\x32\x31.google.cloud.optimization.v1.ShipmentRoute.Break\x12@\n\x07metrics\x18\x0c \x01(\x0b\x32/.google.cloud.optimization.v1.AggregatedMetrics\x12P\n\x0broute_costs\x18\x11 \x03(\x0b\x32;.google.cloud.optimization.v1.ShipmentRoute.RouteCostsEntry\x12\x18\n\x10route_total_cost\x18\x12 \x01(\x01\x12\x45\n\tend_loads\x18\r \x03(\x0b\x32..google.cloud.optimization.v1.CapacityQuantityB\x02\x18\x01\x12P\n\x0ctravel_steps\x18\x0e \x03(\x0b\x32\x36.google.cloud.optimization.v1.ShipmentRoute.TravelStepB\x02\x18\x01\x12\x35\n\x0evehicle_detour\x18\x0f \x01(\x0b\x32\x19.google.protobuf.DurationB\x02\x18\x01\x12W\n\x18\x64\x65lay_before_vehicle_end\x18\x10 \x01(\x0b\x32\x31.google.cloud.optimization.v1.ShipmentRoute.DelayB\x02\x18\x01\x1ah\n\x05\x44\x65lay\x12.\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12+\n\x08\x64uration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration:\x02\x18\x01\x1a\xf5\x04\n\x05Visit\x12\x16\n\x0eshipment_index\x18\x01 \x01(\x05\x12\x11\n\tis_pickup\x18\x02 \x01(\x08\x12\x1b\n\x13visit_request_index\x18\x03 \x01(\x05\x12.\n\nstart_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12X\n\x0cload_demands\x18\x0b \x03(\x0b\x32\x42.google.cloud.optimization.v1.ShipmentRoute.Visit.LoadDemandsEntry\x12)\n\x06\x64\x65tour\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x16\n\x0eshipment_label\x18\x07 \x01(\t\x12\x13\n\x0bvisit_label\x18\x08 \x01(\t\x12I\n\rarrival_loads\x18\t \x03(\x0b\x32..google.cloud.optimization.v1.CapacityQuantityB\x02\x18\x01\x12Q\n\x12\x64\x65lay_before_start\x18\n \x01(\x0b\x32\x31.google.cloud.optimization.v1.ShipmentRoute.DelayB\x02\x18\x01\x12\x43\n\x07\x64\x65mands\x18\x05 \x03(\x0b\x32..google.cloud.optimization.v1.CapacityQuantityB\x02\x18\x01\x1a_\n\x10LoadDemandsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12:\n\x05value\x18\x02 \x01(\x0b\x32+.google.cloud.optimization.v1.Shipment.Load:\x02\x38\x01\x1a\xe4\x05\n\nTransition\x12\x32\n\x0ftravel_duration\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x1e\n\x16travel_distance_meters\x18\x02 \x01(\x01\x12 \n\x18traffic_info_unavailable\x18\x03 \x01(\x08\x12\x31\n\x0e\x64\x65lay_duration\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x31\n\x0e\x62reak_duration\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x30\n\rwait_duration\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x31\n\x0etotal_duration\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12.\n\nstart_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12S\n\x0eroute_polyline\x18\t \x01(\x0b\x32;.google.cloud.optimization.v1.ShipmentRoute.EncodedPolyline\x12_\n\rvehicle_loads\x18\x0b \x03(\x0b\x32H.google.cloud.optimization.v1.ShipmentRoute.Transition.VehicleLoadsEntry\x12\x41\n\x05loads\x18\n \x03(\x0b\x32..google.cloud.optimization.v1.CapacityQuantityB\x02\x18\x01\x1al\n\x11VehicleLoadsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x46\n\x05value\x18\x02 \x01(\x0b\x32\x37.google.cloud.optimization.v1.ShipmentRoute.VehicleLoad:\x02\x38\x01\x1a\x1d\n\x0bVehicleLoad\x12\x0e\n\x06\x61mount\x18\x01 \x01(\x03\x1a!\n\x0f\x45ncodedPolyline\x12\x0e\n\x06points\x18\x01 \x01(\t\x1a\x64\n\x05\x42reak\x12.\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12+\n\x08\x64uration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x1a\xcd\x01\n\nTravelStep\x12+\n\x08\x64uration\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x17\n\x0f\x64istance_meters\x18\x02 \x01(\x01\x12 \n\x18traffic_info_unavailable\x18\x03 \x01(\x08\x12S\n\x0eroute_polyline\x18\x04 \x01(\x0b\x32;.google.cloud.optimization.v1.ShipmentRoute.EncodedPolyline:\x02\x18\x01\x1a\x31\n\x0fRouteCostsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x01:\x02\x38\x01\"\xfe\x04\n\x0fSkippedShipment\x12\r\n\x05index\x18\x01 \x01(\x05\x12\r\n\x05label\x18\x02 \x01(\t\x12\x45\n\x07reasons\x18\x03 \x03(\x0b\x32\x34.google.cloud.optimization.v1.SkippedShipment.Reason\x1a\x85\x04\n\x06Reason\x12G\n\x04\x63ode\x18\x01 \x01(\x0e\x32\x39.google.cloud.optimization.v1.SkippedShipment.Reason.Code\x12\"\n\x15\x65xample_vehicle_index\x18\x02 \x01(\x05H\x00\x88\x01\x01\x12&\n\x1e\x65xample_exceeded_capacity_type\x18\x03 \x01(\t\"\xcb\x02\n\x04\x43ode\x12\x14\n\x10\x43ODE_UNSPECIFIED\x10\x00\x12\x0e\n\nNO_VEHICLE\x10\x01\x12#\n\x1f\x44\x45MAND_EXCEEDS_VEHICLE_CAPACITY\x10\x02\x12\x35\n1CANNOT_BE_PERFORMED_WITHIN_VEHICLE_DISTANCE_LIMIT\x10\x03\x12\x35\n1CANNOT_BE_PERFORMED_WITHIN_VEHICLE_DURATION_LIMIT\x10\x04\x12<\n8CANNOT_BE_PERFORMED_WITHIN_VEHICLE_TRAVEL_DURATION_LIMIT\x10\x05\x12\x33\n/CANNOT_BE_PERFORMED_WITHIN_VEHICLE_TIME_WINDOWS\x10\x06\x12\x17\n\x13VEHICLE_NOT_ALLOWED\x10\x07\x42\x18\n\x16_example_vehicle_index\"\xd8\x05\n\x11\x41ggregatedMetrics\x12 \n\x18performed_shipment_count\x18\x01 \x01(\x05\x12\x32\n\x0ftravel_duration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x30\n\rwait_duration\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x31\n\x0e\x64\x65lay_duration\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x31\n\x0e\x62reak_duration\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x31\n\x0evisit_duration\x18\x06 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x31\n\x0etotal_duration\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x1e\n\x16travel_distance_meters\x18\x08 \x01(\x01\x12P\n\tmax_loads\x18\t \x03(\x0b\x32=.google.cloud.optimization.v1.AggregatedMetrics.MaxLoadsEntry\x12M\n\x05\x63osts\x18\n \x03(\x0b\x32:.google.cloud.optimization.v1.AggregatedMetrics.CostsEntryB\x02\x18\x01\x12\x16\n\ntotal_cost\x18\x0b \x01(\x01\x42\x02\x18\x01\x1ah\n\rMaxLoadsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x46\n\x05value\x18\x02 \x01(\x0b\x32\x37.google.cloud.optimization.v1.ShipmentRoute.VehicleLoad:\x02\x38\x01\x1a,\n\nCostsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x01:\x02\x38\x01\"\x9f\x06\n\x1aInjectedSolutionConstraint\x12;\n\x06routes\x18\x01 \x03(\x0b\x32+.google.cloud.optimization.v1.ShipmentRoute\x12H\n\x11skipped_shipments\x18\x02 \x03(\x0b\x32-.google.cloud.optimization.v1.SkippedShipment\x12m\n\x16\x63onstraint_relaxations\x18\x03 \x03(\x0b\x32M.google.cloud.optimization.v1.InjectedSolutionConstraint.ConstraintRelaxation\x1a\x8a\x04\n\x14\x43onstraintRelaxation\x12m\n\x0brelaxations\x18\x01 \x03(\x0b\x32X.google.cloud.optimization.v1.InjectedSolutionConstraint.ConstraintRelaxation.Relaxation\x12\x17\n\x0fvehicle_indices\x18\x02 \x03(\x05\x1a\xe9\x02\n\nRelaxation\x12m\n\x05level\x18\x01 \x01(\x0e\x32^.google.cloud.optimization.v1.InjectedSolutionConstraint.ConstraintRelaxation.Relaxation.Level\x12\x32\n\x0ethreshold_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x1d\n\x15threshold_visit_count\x18\x03 \x01(\x05\"\x98\x01\n\x05Level\x12\x15\n\x11LEVEL_UNSPECIFIED\x10\x00\x12%\n!RELAX_VISIT_TIMES_AFTER_THRESHOLD\x10\x01\x12\x32\n.RELAX_VISIT_TIMES_AND_SEQUENCE_AFTER_THRESHOLD\x10\x02\x12\x1d\n\x19RELAX_ALL_AFTER_THRESHOLD\x10\x03\"\xfd\x02\n\x1cOptimizeToursValidationError\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12Y\n\x06\x66ields\x18\x03 \x03(\x0b\x32I.google.cloud.optimization.v1.OptimizeToursValidationError.FieldReference\x12\x15\n\rerror_message\x18\x04 \x01(\t\x12\x18\n\x10offending_values\x18\x05 \x01(\t\x1a\xac\x01\n\x0e\x46ieldReference\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x05index\x18\x02 \x01(\x05H\x00\x12\r\n\x03key\x18\x04 \x01(\tH\x00\x12\\\n\tsub_field\x18\x03 \x01(\x0b\x32I.google.cloud.optimization.v1.OptimizeToursValidationError.FieldReferenceB\x0e\n\x0cindex_or_key2\xe0\x04\n\x0c\x46leetRouting\x12\xe2\x01\n\rOptimizeTours\x12\x32.google.cloud.optimization.v1.OptimizeToursRequest\x1a\x33.google.cloud.optimization.v1.OptimizeToursResponse\"h\x82\xd3\xe4\x93\x02\x62\"1/v1/{parent=projects/*/locations/*}:optimizeTours:\x01*Z*\"%/v1/{parent=projects/*}:optimizeTours:\x01*\x12\x94\x02\n\x12\x42\x61tchOptimizeTours\x12\x37.google.cloud.optimization.v1.BatchOptimizeToursRequest\x1a\x1d.google.longrunning.Operation\"\xa5\x01\x82\xd3\xe4\x93\x02l\"6/v1/{parent=projects/*/locations/*}:batchOptimizeTours:\x01*Z/\"*/v1/{parent=projects/*}:batchOptimizeTours:\x01*\xca\x41\x30\n\x1a\x42\x61tchOptimizeToursResponse\x12\x12\x41syncModelMetadata\x1aT\xca\x41 cloudoptimization.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB}\n com.google.cloud.optimization.v1B\x11\x46leetRoutingProtoP\x01ZDcloud.google.com/go/optimization/apiv1/optimizationpb;optimizationpbb\x06proto3"
18
18
 
19
19
  pool = Google::Protobuf::DescriptorPool.generated_pool
20
20
 
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Optimization
23
23
  module V1
24
- VERSION = "0.4.1"
24
+ VERSION = "0.5.0"
25
25
  end
26
26
  end
27
27
  end
@@ -66,6 +66,20 @@ module Google
66
66
  # a non-empty value will be returned. The user will not be aware of what
67
67
  # non-empty value to expect.
68
68
  NON_EMPTY_DEFAULT = 7
69
+
70
+ # Denotes that the field in a resource (a message annotated with
71
+ # google.api.resource) is used in the resource name to uniquely identify the
72
+ # resource. For AIP-compliant APIs, this should only be applied to the
73
+ # `name` field on the resource.
74
+ #
75
+ # This behavior should not be applied to references to other resources within
76
+ # the message.
77
+ #
78
+ # The identifier field of resources often have different field behavior
79
+ # depending on the request it is embedded in (e.g. for Create methods name
80
+ # is optional and unused, while for Update methods it is required). Instead
81
+ # of method-specific annotations, only `IDENTIFIER` is required.
82
+ IDENTIFIER = 8
69
83
  end
70
84
  end
71
85
  end
@@ -44,15 +44,6 @@ module Google
44
44
  # @!attribute [rw] solving_mode
45
45
  # @return [::Google::Cloud::Optimization::V1::OptimizeToursRequest::SolvingMode]
46
46
  # By default, the solving mode is `DEFAULT_SOLVE` (0).
47
- # @!attribute [rw] max_validation_errors
48
- # @return [::Integer]
49
- # Truncates the number of validation errors returned. These errors are
50
- # typically attached to an INVALID_ARGUMENT error payload as a BadRequest
51
- # error detail (https://cloud.google.com/apis/design/errors#error_details),
52
- # unless solving_mode=VALIDATE_ONLY: see the
53
- # {::Google::Cloud::Optimization::V1::OptimizeToursResponse#validation_errors OptimizeToursResponse.validation_errors}
54
- # field.
55
- # This defaults to 100 and is capped at 10,000.
56
47
  # @!attribute [rw] search_mode
57
48
  # @return [::Google::Cloud::Optimization::V1::OptimizeToursRequest::SearchMode]
58
49
  # Search mode used to solve the request.
@@ -218,6 +209,15 @@ module Google
218
209
  # When `use_geodesic_distances` is true, this field must be set and defines
219
210
  # the speed applied to compute travel times. Its value must be at least 1.0
220
211
  # meters/seconds.
212
+ # @!attribute [rw] max_validation_errors
213
+ # @return [::Integer]
214
+ # Truncates the number of validation errors returned. These errors are
215
+ # typically attached to an INVALID_ARGUMENT error payload as a BadRequest
216
+ # error detail (https://cloud.google.com/apis/design/errors#error_details),
217
+ # unless solving_mode=VALIDATE_ONLY: see the
218
+ # {::Google::Cloud::Optimization::V1::OptimizeToursResponse#validation_errors OptimizeToursResponse.validation_errors}
219
+ # field.
220
+ # This defaults to 100 and is capped at 10,000.
221
221
  # @!attribute [rw] label
222
222
  # @return [::String]
223
223
  # Label that may be used to identify this request, reported back in the
@@ -249,12 +249,20 @@ module Google
249
249
  VALIDATE_ONLY = 1
250
250
 
251
251
  # Only populates
252
+ # {::Google::Cloud::Optimization::V1::OptimizeToursResponse#validation_errors OptimizeToursResponse.validation_errors}
253
+ # or
252
254
  # {::Google::Cloud::Optimization::V1::OptimizeToursResponse#skipped_shipments OptimizeToursResponse.skipped_shipments},
253
255
  # and doesn't actually solve the rest of the request (`status` and `routes`
254
256
  # are unset in the response).
257
+ # If infeasibilities in `injected_solution_constraint` routes are detected
258
+ # they are populated in the
259
+ # {::Google::Cloud::Optimization::V1::OptimizeToursResponse#validation_errors OptimizeToursResponse.validation_errors}
260
+ # field and
261
+ # {::Google::Cloud::Optimization::V1::OptimizeToursResponse#skipped_shipments OptimizeToursResponse.skipped_shipments}
262
+ # is left empty.
255
263
  #
256
264
  # *IMPORTANT*: not all infeasible shipments are returned here, but only the
257
- # ones that are detected as infeasible as a preprocessing.
265
+ # ones that are detected as infeasible during preprocessing.
258
266
  DETECT_SOME_INFEASIBLE_SHIPMENTS = 2
259
267
  end
260
268
 
@@ -1458,6 +1466,9 @@ module Google
1458
1466
 
1459
1467
  # Travel mode corresponding to driving directions (car, ...).
1460
1468
  DRIVING = 1
1469
+
1470
+ # Travel mode corresponding to walking directions.
1471
+ WALKING = 2
1461
1472
  end
1462
1473
 
1463
1474
  # Policy on how a vehicle can be unloaded. Applies only to shipments having
@@ -1587,6 +1598,15 @@ module Google
1587
1598
  #
1588
1599
  # If defined soft_max_meters must be less than max_meters and must be
1589
1600
  # nonnegative.
1601
+ # @!attribute [rw] cost_per_kilometer_below_soft_max
1602
+ # @return [::Float]
1603
+ # Cost per kilometer incurred, increasing up to `soft_max_meters`, with
1604
+ # formula:
1605
+ # ```
1606
+ # min(distance_meters, soft_max_meters) / 1000.0 *
1607
+ # cost_per_kilometer_below_soft_max.
1608
+ # ```
1609
+ # This cost is not supported in `route_distance_limit`.
1590
1610
  # @!attribute [rw] cost_per_kilometer_above_soft_max
1591
1611
  # @return [::Float]
1592
1612
  # Cost per kilometer incurred if distance is above `soft_max_meters` limit.
@@ -2390,10 +2410,10 @@ module Google
2390
2410
  # @!attribute [rw] total_duration
2391
2411
  # @return [::Google::Protobuf::Duration]
2392
2412
  # The total duration should be equal to the sum of all durations above.
2393
- # For routes, it also corresponds to
2413
+ # For routes, it also corresponds to:
2394
2414
  # {::Google::Cloud::Optimization::V1::ShipmentRoute#vehicle_end_time ShipmentRoute.vehicle_end_time}
2395
- # -
2396
- # {::Google::Cloud::Optimization::V1::ShipmentRoute#vehicle_start_time ShipmentRoute.vehicle_start_time}.
2415
+ # `-`
2416
+ # {::Google::Cloud::Optimization::V1::ShipmentRoute#vehicle_start_time ShipmentRoute.vehicle_start_time}
2397
2417
  # @!attribute [rw] travel_distance_meters
2398
2418
  # @return [::Float]
2399
2419
  # Total travel distance for a route or a solution.
@@ -2563,7 +2583,8 @@ module Google
2563
2583
  RELAX_VISIT_TIMES_AFTER_THRESHOLD = 1
2564
2584
 
2565
2585
  # Same as `RELAX_VISIT_TIMES_AFTER_THRESHOLD`, but the visit sequence
2566
- # is also relaxed: visits remain simply bound to their vehicle.
2586
+ # is also relaxed: visits can only be performed by this vehicle, but
2587
+ # can potentially become unperformed.
2567
2588
  RELAX_VISIT_TIMES_AND_SEQUENCE_AFTER_THRESHOLD = 2
2568
2589
 
2569
2590
  # Same as `RELAX_VISIT_TIMES_AND_SEQUENCE_AFTER_THRESHOLD`, but the
@@ -2628,6 +2649,7 @@ module Google
2628
2649
  # * INJECTED_SOLUTION_CONCURRENT_SOLUTION_TYPES = 2005;
2629
2650
  # * INJECTED_SOLUTION_MORE_THAN_ONE_PER_TYPE = 2006;
2630
2651
  # * INJECTED_SOLUTION_REFRESH_WITHOUT_POPULATE = 2008;
2652
+ # * INJECTED_SOLUTION_CONSTRAINED_ROUTE_PORTION_INFEASIBLE = 2010;
2631
2653
  # * SHIPMENT_MODEL_ERROR = 22;
2632
2654
  # * SHIPMENT_MODEL_TOO_LARGE = 2200;
2633
2655
  # * SHIPMENT_MODEL_TOO_MANY_CAPACITY_TYPES = 2201;
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-optimization-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-06 00:00:00.000000000 Z
11
+ date: 2023-09-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -218,7 +218,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
218
218
  - !ruby/object:Gem::Version
219
219
  version: '0'
220
220
  requirements: []
221
- rubygems_version: 3.4.2
221
+ rubygems_version: 3.4.19
222
222
  signing_key:
223
223
  specification_version: 4
224
224
  summary: Cloud Optimization API provides a portfolio of solvers to address common