google-maps-route_optimization-v1 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2d0bb464d06d7ca934b855c3c3de7a62e7c28e774b87757d855c446afc19a248
4
- data.tar.gz: 64316ed404c85c886a22b4779385bbebe8386e0bc56d6efb345715d3a4752194
3
+ metadata.gz: fd6fa7df5cb2573c2de0d993ad938defa87de483d00f46fca6363bb16ea83e52
4
+ data.tar.gz: b83bffbf4f335ef511421b1b08f9cdcab059e1659a461eb741d756da08a7bba1
5
5
  SHA512:
6
- metadata.gz: b8abfec2643617f3180cf4c0f89fd4e2ecac311215d0c90b039cfe04572d6ec3160d00dc0e3b89685ae93307781307748884dc6b4236d602d1b68684061ab470
7
- data.tar.gz: 7712583491291bc24de916241338140eb15ced233f31ddb611407a6ae90550e8dc0ca4e582797ce97fcfc330c08a98af852b0b15916555c395e1c9e6ea527a4c
6
+ metadata.gz: 4c8a650d14c5a114c32b01e9a280d6936cc0f73a04c01bdf18c93cccfaf6c8ae7a23ee1a74a9d1fbe17f71bfbb74bdcd2aaad9ea11d8e05cb2d78d887ae2f73e
7
+ data.tar.gz: f18eaa92d7e58ec09fbc9f8ca3b788f495b975f840429213a5fddc8ca83e2ed657d7758a60c88d211c63a246f19c0fc4671b0bbecf554aef450df45423a5913b
@@ -21,7 +21,7 @@ module Google
21
21
  module Maps
22
22
  module RouteOptimization
23
23
  module V1
24
- VERSION = "0.1.0"
24
+ VERSION = "0.2.0"
25
25
  end
26
26
  end
27
27
  end
@@ -13,7 +13,7 @@ require 'google/protobuf/timestamp_pb'
13
13
  require 'google/type/latlng_pb'
14
14
 
15
15
 
16
- descriptor_data = "\nAgoogle/maps/routeoptimization/v1/route_optimization_service.proto\x12 google.maps.routeoptimization.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a#google/longrunning/operations.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x18google/type/latlng.proto\"\x12\n\x03Uri\x12\x0b\n\x03uri\x18\x01 \x01(\t\"\xa5\x01\n\x17OptimizeToursUriRequest\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x39\n\x05input\x18\x02 \x01(\x0b\x32%.google.maps.routeoptimization.v1.UriB\x03\xe0\x41\x02\x12:\n\x06output\x18\x03 \x01(\x0b\x32%.google.maps.routeoptimization.v1.UriB\x03\xe0\x41\x02\"V\n\x18OptimizeToursUriResponse\x12:\n\x06output\x18\x01 \x01(\x0b\x32%.google.maps.routeoptimization.v1.UriB\x03\xe0\x41\x01\"\x1a\n\x18OptimizeToursUriMetadata\"\xe0\x02\n\x19\x42\x61tchOptimizeToursRequest\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12h\n\rmodel_configs\x18\x02 \x03(\x0b\x32L.google.maps.routeoptimization.v1.BatchOptimizeToursRequest.AsyncModelConfigB\x03\xe0\x41\x02\x1a\xc3\x01\n\x10\x41syncModelConfig\x12\x19\n\x0c\x64isplay_name\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12H\n\x0cinput_config\x18\x02 \x01(\x0b\x32-.google.maps.routeoptimization.v1.InputConfigB\x03\xe0\x41\x02\x12J\n\routput_config\x18\x03 \x01(\x0b\x32..google.maps.routeoptimization.v1.OutputConfigB\x03\xe0\x41\x02\"\x1c\n\x1a\x42\x61tchOptimizeToursResponse\"\x1c\n\x1a\x42\x61tchOptimizeToursMetadata\"\"\n OptimizeToursLongRunningMetadata\"\xb2\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.maps.routeoptimization.v1.ShipmentModel\x12X\n\x0csolving_mode\x18\x04 \x01(\x0e\x32\x42.google.maps.routeoptimization.v1.OptimizeToursRequest.SolvingMode\x12V\n\x0bsearch_mode\x18\x06 \x01(\x0e\x32\x41.google.maps.routeoptimization.v1.OptimizeToursRequest.SearchMode\x12W\n\x1einjected_first_solution_routes\x18\x07 \x03(\x0b\x32/.google.maps.routeoptimization.v1.ShipmentRoute\x12\x62\n\x1cinjected_solution_constraint\x18\x08 \x01(\x0b\x32<.google.maps.routeoptimization.v1.InjectedSolutionConstraint\x12O\n\x16refresh_details_routes\x18\t \x03(\x0b\x32/.google.maps.routeoptimization.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\"{\n\x0bSolvingMode\x12\x11\n\rDEFAULT_SOLVE\x10\x00\x12\x11\n\rVALIDATE_ONLY\x10\x01\x12$\n DETECT_SOME_INFEASIBLE_SHIPMENTS\x10\x02\x12 \n\x1cTRANSFORM_AND_RETURN_REQUEST\x10\x03\"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\"\x81\x07\n\x15OptimizeToursResponse\x12?\n\x06routes\x18\x01 \x03(\x0b\x32/.google.maps.routeoptimization.v1.ShipmentRoute\x12\x15\n\rrequest_label\x18\x03 \x01(\t\x12L\n\x11skipped_shipments\x18\x04 \x03(\x0b\x32\x31.google.maps.routeoptimization.v1.SkippedShipment\x12Y\n\x11validation_errors\x18\x05 \x03(\x0b\x32>.google.maps.routeoptimization.v1.OptimizeToursValidationError\x12Q\n\x11processed_request\x18\x15 \x01(\x0b\x32\x36.google.maps.routeoptimization.v1.OptimizeToursRequest\x12P\n\x07metrics\x18\x06 \x01(\x0b\x32?.google.maps.routeoptimization.v1.OptimizeToursResponse.Metrics\x1a\xc1\x03\n\x07Metrics\x12U\n\x18\x61ggregated_route_metrics\x18\x01 \x01(\x0b\x32\x33.google.maps.routeoptimization.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\x12Y\n\x05\x63osts\x18\n \x03(\x0b\x32J.google.maps.routeoptimization.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\"\xfc\x0c\n\rShipmentModel\x12=\n\tshipments\x18\x01 \x03(\x0b\x32*.google.maps.routeoptimization.v1.Shipment\x12;\n\x08vehicles\x18\x02 \x03(\x0b\x32).google.maps.routeoptimization.v1.Vehicle\x12M\n\nobjectives\x18\x11 \x03(\x0b\x32\x39.google.maps.routeoptimization.v1.ShipmentModel.Objective\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\x12j\n\x1a\x64uration_distance_matrices\x18\x08 \x03(\x0b\x32\x46.google.maps.routeoptimization.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\x12U\n\x15transition_attributes\x18\x0b \x03(\x0b\x32\x36.google.maps.routeoptimization.v1.TransitionAttributes\x12\x66\n\x1fshipment_type_incompatibilities\x18\x0c \x03(\x0b\x32=.google.maps.routeoptimization.v1.ShipmentTypeIncompatibility\x12]\n\x1ashipment_type_requirements\x18\r \x03(\x0b\x32\x39.google.maps.routeoptimization.v1.ShipmentTypeRequirement\x12X\n\x10precedence_rules\x18\x0e \x03(\x0b\x32>.google.maps.routeoptimization.v1.ShipmentModel.PrecedenceRule\x1a\xef\x01\n\tObjective\x12Q\n\x04type\x18\x01 \x01(\x0e\x32>.google.maps.routeoptimization.v1.ShipmentModel.Objective.TypeH\x00\x88\x01\x01\x12\x13\n\x06weight\x18\x02 \x01(\x01H\x01\x88\x01\x01\"f\n\x04Type\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x00\x12\x10\n\x0cMIN_DISTANCE\x10\n\x12\x14\n\x10MIN_WORKING_TIME\x10\x0b\x12\x13\n\x0fMIN_TRAVEL_TIME\x10\x0c\x12\x14\n\x10MIN_NUM_VEHICLES\x10\rB\x07\n\x05_typeB\t\n\x07_weight\x1a\xd2\x01\n\x16\x44urationDistanceMatrix\x12X\n\x04rows\x18\x01 \x03(\x0b\x32J.google.maps.routeoptimization.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_indexB\x16\n\x14_max_active_vehicles\"\xde\x0b\n\x08Shipment\x12\x14\n\x0c\x64isplay_name\x18\x10 \x01(\t\x12H\n\x07pickups\x18\x01 \x03(\x0b\x32\x37.google.maps.routeoptimization.v1.Shipment.VisitRequest\x12K\n\ndeliveries\x18\x02 \x03(\x0b\x32\x37.google.maps.routeoptimization.v1.Shipment.VisitRequest\x12Q\n\x0cload_demands\x18\x0e \x03(\x0b\x32;.google.maps.routeoptimization.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\x1a\xa0\x05\n\x0cVisitRequest\x12-\n\x10\x61rrival_location\x18\x01 \x01(\x0b\x32\x13.google.type.LatLng\x12\x44\n\x10\x61rrival_waypoint\x18\x02 \x01(\x0b\x32*.google.maps.routeoptimization.v1.Waypoint\x12/\n\x12\x64\x65parture_location\x18\x03 \x01(\x0b\x32\x13.google.type.LatLng\x12\x46\n\x12\x64\x65parture_waypoint\x18\x04 \x01(\x0b\x32*.google.maps.routeoptimization.v1.Waypoint\x12\x0c\n\x04tags\x18\x05 \x03(\t\x12\x42\n\x0ctime_windows\x18\x06 \x03(\x0b\x32,.google.maps.routeoptimization.v1.TimeWindow\x12+\n\x08\x64uration\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x0c\n\x04\x63ost\x18\x08 \x01(\x01\x12^\n\x0cload_demands\x18\x0c \x03(\x0b\x32H.google.maps.routeoptimization.v1.Shipment.VisitRequest.LoadDemandsEntry\x12\x13\n\x0bvisit_types\x18\n \x03(\t\x12\r\n\x05label\x18\x0b \x01(\t\x12\x1a\n\ravoid_u_turns\x18\r \x01(\x08H\x00\x88\x01\x01\x1a\x63\n\x10LoadDemandsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12>\n\x05value\x18\x02 \x01(\x0b\x32/.google.maps.routeoptimization.v1.Shipment.Load:\x02\x38\x01\x42\x10\n\x0e_avoid_u_turns\x1a\x16\n\x04Load\x12\x0e\n\x06\x61mount\x18\x02 \x01(\x03\x1a\x63\n\x10LoadDemandsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12>\n\x05value\x18\x02 \x01(\x0b\x32/.google.maps.routeoptimization.v1.Shipment.Load:\x02\x38\x01\x42\x0f\n\r_penalty_costB+\n)_pickup_to_delivery_relative_detour_limit\"\xa6\x02\n\x1bShipmentTypeIncompatibility\x12\r\n\x05types\x18\x01 \x03(\t\x12o\n\x14incompatibility_mode\x18\x02 \x01(\x0e\x32Q.google.maps.routeoptimization.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\"\xec\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\x63\n\x10requirement_mode\x18\x03 \x01(\x0e\x32I.google.maps.routeoptimization.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\"o\n\x0eRouteModifiers\x12\x13\n\x0b\x61void_tolls\x18\x02 \x01(\x08\x12\x16\n\x0e\x61void_highways\x18\x03 \x01(\x08\x12\x15\n\ravoid_ferries\x18\x04 \x01(\x08\x12\x19\n\x0c\x61void_indoor\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\"\x9e\x17\n\x07Vehicle\x12\x14\n\x0c\x64isplay_name\x18 \x01(\t\x12I\n\x0btravel_mode\x18\x01 \x01(\x0e\x32\x34.google.maps.routeoptimization.v1.Vehicle.TravelMode\x12I\n\x0froute_modifiers\x18\x02 \x01(\x0b\x32\x30.google.maps.routeoptimization.v1.RouteModifiers\x12+\n\x0estart_location\x18\x03 \x01(\x0b\x32\x13.google.type.LatLng\x12\x42\n\x0estart_waypoint\x18\x04 \x01(\x0b\x32*.google.maps.routeoptimization.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.maps.routeoptimization.v1.Waypoint\x12\x12\n\nstart_tags\x18\x07 \x03(\t\x12\x10\n\x08\x65nd_tags\x18\x08 \x03(\t\x12H\n\x12start_time_windows\x18\t \x03(\x0b\x32,.google.maps.routeoptimization.v1.TimeWindow\x12\x46\n\x10\x65nd_time_windows\x18\n \x03(\x0b\x32,.google.maps.routeoptimization.v1.TimeWindow\x12%\n\x18travel_duration_multiple\x18\x0b \x01(\x01H\x00\x88\x01\x01\x12S\n\x10unloading_policy\x18\x0c \x01(\x0e\x32\x39.google.maps.routeoptimization.v1.Vehicle.UnloadingPolicy\x12N\n\x0bload_limits\x18\x1e \x03(\x0b\x32\x39.google.maps.routeoptimization.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\x12U\n\x14route_duration_limit\x18\x15 \x01(\x0b\x32\x37.google.maps.routeoptimization.v1.Vehicle.DurationLimit\x12V\n\x15travel_duration_limit\x18\x16 \x01(\x0b\x32\x37.google.maps.routeoptimization.v1.Vehicle.DurationLimit\x12M\n\x14route_distance_limit\x18\x17 \x01(\x0b\x32/.google.maps.routeoptimization.v1.DistanceLimit\x12z\n#extra_visit_duration_for_visit_type\x18\x18 \x03(\x0b\x32M.google.maps.routeoptimization.v1.Vehicle.ExtraVisitDurationForVisitTypeEntry\x12?\n\nbreak_rule\x18\x19 \x01(\x0b\x32+.google.maps.routeoptimization.v1.BreakRule\x12\r\n\x05label\x18\x1b \x01(\t\x12\x0e\n\x06ignore\x18\x1c \x01(\x08\x1a\xa0\x06\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\x12Y\n\x13start_load_interval\x18\x04 \x01(\x0b\x32<.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval\x12W\n\x11\x65nd_load_interval\x18\x05 \x01(\x0b\x32<.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval\x12]\n\x12\x63ost_per_kilometer\x18\x06 \x01(\x0b\x32<.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCostH\x01\x88\x01\x01\x12\x61\n\x16\x63ost_per_traveled_hour\x18\x07 \x01(\x0b\x32<.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCostH\x02\x88\x01\x01\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_max\x1a\xd6\x01\n\x08LoadCost\x12\x1b\n\x0eload_threshold\x18\x01 \x01(\x03H\x00\x88\x01\x01\x12*\n\x1d\x63ost_per_unit_below_threshold\x18\x02 \x01(\x01H\x01\x88\x01\x01\x12*\n\x1d\x63ost_per_unit_above_threshold\x18\x03 \x01(\x01H\x02\x88\x01\x01\x42\x11\n\x0f_load_thresholdB \n\x1e_cost_per_unit_below_thresholdB \n\x1e_cost_per_unit_above_thresholdB\x0b\n\t_max_loadB\x15\n\x13_cost_per_kilometerB\x19\n\x17_cost_per_traveled_hour\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\x66\n\x0fLoadLimitsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x42\n\x05value\x18\x02 \x01(\x0b\x32\x33.google.maps.routeoptimization.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\"\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\"\x89\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\x12G\n\x0e\x64istance_limit\x18\x07 \x01(\x0b\x32/.google.maps.routeoptimization.v1.DistanceLimit\x12(\n\x05\x64\x65lay\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\"\xa4\x01\n\x08Waypoint\x12>\n\x08location\x18\x01 \x01(\x0b\x32*.google.maps.routeoptimization.v1.LocationH\x00\x12\x12\n\x08place_id\x18\x02 \x01(\tH\x00\x12\x19\n\x0cside_of_road\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\x12\x18\n\x10vehicle_stopover\x18\x04 \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\"\x94\x04\n\tBreakRule\x12P\n\x0e\x62reak_requests\x18\x01 \x03(\x0b\x32\x38.google.maps.routeoptimization.v1.BreakRule.BreakRequest\x12^\n\x15\x66requency_constraints\x18\x02 \x03(\x0b\x32?.google.maps.routeoptimization.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\"\xa1\x11\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\x45\n\x06visits\x18\x07 \x03(\x0b\x32\x35.google.maps.routeoptimization.v1.ShipmentRoute.Visit\x12O\n\x0btransitions\x18\x08 \x03(\x0b\x32:.google.maps.routeoptimization.v1.ShipmentRoute.Transition\x12#\n\x1bhas_traffic_infeasibilities\x18\t \x01(\x08\x12W\n\x0eroute_polyline\x18\n \x01(\x0b\x32?.google.maps.routeoptimization.v1.ShipmentRoute.EncodedPolyline\x12\x45\n\x06\x62reaks\x18\x0b \x03(\x0b\x32\x35.google.maps.routeoptimization.v1.ShipmentRoute.Break\x12\x44\n\x07metrics\x18\x0c \x01(\x0b\x32\x33.google.maps.routeoptimization.v1.AggregatedMetrics\x12K\n\x10vehicle_fullness\x18\x14 \x01(\x0b\x32\x31.google.maps.routeoptimization.v1.VehicleFullness\x12T\n\x0broute_costs\x18\x11 \x03(\x0b\x32?.google.maps.routeoptimization.v1.ShipmentRoute.RouteCostsEntry\x12\x18\n\x10route_total_cost\x18\x12 \x01(\x01\x1a\xee\x03\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\x12\\\n\x0cload_demands\x18\x0b \x03(\x0b\x32\x46.google.maps.routeoptimization.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\x12-\n injected_solution_location_token\x18\r \x01(\x05H\x00\x88\x01\x01\x1a\x63\n\x10LoadDemandsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12>\n\x05value\x18\x02 \x01(\x0b\x32/.google.maps.routeoptimization.v1.Shipment.Load:\x02\x38\x01\x42#\n!_injected_solution_location_token\x1a\xc7\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\x12W\n\x0eroute_polyline\x18\t \x01(\x0b\x32?.google.maps.routeoptimization.v1.ShipmentRoute.EncodedPolyline\x12\x18\n\x0broute_token\x18\x0c \x01(\tB\x03\xe0\x41\x03\x12\x63\n\rvehicle_loads\x18\x0b \x03(\x0b\x32L.google.maps.routeoptimization.v1.ShipmentRoute.Transition.VehicleLoadsEntry\x1ap\n\x11VehicleLoadsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12J\n\x05value\x18\x02 \x01(\x0b\x32;.google.maps.routeoptimization.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\x31\n\x0fRouteCostsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x01:\x02\x38\x01\"\xcf\x07\n\x0fSkippedShipment\x12\r\n\x05index\x18\x01 \x01(\x05\x12\r\n\x05label\x18\x02 \x01(\t\x12\x19\n\x0cpenalty_cost\x18\x06 \x01(\x01H\x00\x88\x01\x01\x12\x31\n$estimated_incompatible_vehicle_ratio\x18\x05 \x01(\x01H\x01\x88\x01\x01\x12I\n\x07reasons\x18\x03 \x03(\x0b\x32\x38.google.maps.routeoptimization.v1.SkippedShipment.Reason\x1a\xca\x05\n\x06Reason\x12K\n\x04\x63ode\x18\x01 \x01(\x0e\x32=.google.maps.routeoptimization.v1.SkippedShipment.Reason.Code\x12\"\n\x15\x65xample_vehicle_index\x18\x02 \x01(\x05H\x00\x88\x01\x01\x12\x1f\n\x17\x65xample_vehicle_indices\x18\x05 \x03(\x05\x12&\n\x1e\x65xample_exceeded_capacity_type\x18\x03 \x01(\t\"\xeb\x03\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\x12\x13\n\x0fVEHICLE_IGNORED\x10\x08\x12\x14\n\x10SHIPMENT_IGNORED\x10\t\x12+\n\'SKIPPED_IN_INJECTED_SOLUTION_CONSTRAINT\x10\n\x12/\n+VEHICLE_ROUTE_IS_FULLY_SEQUENCE_CONSTRAINED\x10\x0b\x12\x15\n\x11ZERO_PENALTY_COST\x10\rB\x18\n\x16_example_vehicle_indexB\x0f\n\r_penalty_costB\'\n%_estimated_incompatible_vehicle_ratio\"\xfd\x05\n\x11\x41ggregatedMetrics\x12 \n\x18performed_shipment_count\x18\x01 \x01(\x05\x12/\n\"performed_mandatory_shipment_count\x18\x0c \x01(\x05H\x00\x88\x01\x01\x12\x30\n#performed_shipment_penalty_cost_sum\x18\r \x01(\x01H\x01\x88\x01\x01\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\x12T\n\tmax_loads\x18\t \x03(\x0b\x32\x41.google.maps.routeoptimization.v1.AggregatedMetrics.MaxLoadsEntry\x1al\n\rMaxLoadsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12J\n\x05value\x18\x02 \x01(\x0b\x32;.google.maps.routeoptimization.v1.ShipmentRoute.VehicleLoad:\x02\x38\x01\x42%\n#_performed_mandatory_shipment_countB&\n$_performed_shipment_penalty_cost_sum\"\x93\x02\n\x0fVehicleFullness\x12\x19\n\x0cmax_fullness\x18\x01 \x01(\x01H\x00\x88\x01\x01\x12\x15\n\x08\x64istance\x18\x02 \x01(\x01H\x01\x88\x01\x01\x12\x1c\n\x0ftravel_duration\x18\x03 \x01(\x01H\x02\x88\x01\x01\x12\x1c\n\x0f\x61\x63tive_duration\x18\x04 \x01(\x01H\x03\x88\x01\x01\x12\x15\n\x08max_load\x18\x05 \x01(\x01H\x04\x88\x01\x01\x12\x18\n\x0b\x61\x63tive_span\x18\x06 \x01(\x01H\x05\x88\x01\x01\x42\x0f\n\r_max_fullnessB\x0b\n\t_distanceB\x12\n\x10_travel_durationB\x12\n\x10_active_durationB\x0b\n\t_max_loadB\x0e\n\x0c_active_span\"\xb3\x06\n\x1aInjectedSolutionConstraint\x12?\n\x06routes\x18\x01 \x03(\x0b\x32/.google.maps.routeoptimization.v1.ShipmentRoute\x12L\n\x11skipped_shipments\x18\x02 \x03(\x0b\x32\x31.google.maps.routeoptimization.v1.SkippedShipment\x12q\n\x16\x63onstraint_relaxations\x18\x03 \x03(\x0b\x32Q.google.maps.routeoptimization.v1.InjectedSolutionConstraint.ConstraintRelaxation\x1a\x92\x04\n\x14\x43onstraintRelaxation\x12q\n\x0brelaxations\x18\x01 \x03(\x0b\x32\\.google.maps.routeoptimization.v1.InjectedSolutionConstraint.ConstraintRelaxation.Relaxation\x12\x17\n\x0fvehicle_indices\x18\x02 \x03(\x05\x1a\xed\x02\n\nRelaxation\x12q\n\x05level\x18\x01 \x01(\x0e\x32\x62.google.maps.routeoptimization.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\"\x85\x03\n\x1cOptimizeToursValidationError\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12]\n\x06\x66ields\x18\x03 \x03(\x0b\x32M.google.maps.routeoptimization.v1.OptimizeToursValidationError.FieldReference\x12\x15\n\rerror_message\x18\x04 \x01(\t\x12\x18\n\x10offending_values\x18\x05 \x01(\t\x1a\xb0\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\x32M.google.maps.routeoptimization.v1.OptimizeToursValidationError.FieldReferenceB\x0e\n\x0cindex_or_key\"\xa2\x01\n\x0bInputConfig\x12\x41\n\ngcs_source\x18\x01 \x01(\x0b\x32+.google.maps.routeoptimization.v1.GcsSourceH\x00\x12\x46\n\x0b\x64\x61ta_format\x18\x02 \x01(\x0e\x32,.google.maps.routeoptimization.v1.DataFormatB\x03\xe0\x41\x02\x42\x08\n\x06source\"\xb2\x01\n\x0cOutputConfig\x12K\n\x0fgcs_destination\x18\x01 \x01(\x0b\x32\x30.google.maps.routeoptimization.v1.GcsDestinationH\x00\x12\x46\n\x0b\x64\x61ta_format\x18\x02 \x01(\x0e\x32,.google.maps.routeoptimization.v1.DataFormatB\x03\xe0\x41\x02\x42\r\n\x0b\x64\x65stination\"\x1d\n\tGcsSource\x12\x10\n\x03uri\x18\x01 \x01(\tB\x03\xe0\x41\x02\"\"\n\x0eGcsDestination\x12\x10\n\x03uri\x18\x01 \x01(\tB\x03\xe0\x41\x02*C\n\nDataFormat\x12\x1b\n\x17\x44\x41TA_FORMAT_UNSPECIFIED\x10\x00\x12\x08\n\x04JSON\x10\x01\x12\x0e\n\nPROTO_TEXT\x10\x02\x32\xc1\t\n\x11RouteOptimization\x12\xea\x01\n\rOptimizeTours\x12\x36.google.maps.routeoptimization.v1.OptimizeToursRequest\x1a\x37.google.maps.routeoptimization.v1.OptimizeToursResponse\"h\x82\xd3\xe4\x93\x02\x62\"1/v1/{parent=projects/*/locations/*}:optimizeTours:\x01*Z*\"%/v1/{parent=projects/*}:optimizeTours:\x01*\x12\xa0\x02\n\x12\x42\x61tchOptimizeTours\x12;.google.maps.routeoptimization.v1.BatchOptimizeToursRequest\x1a\x1d.google.longrunning.Operation\"\xad\x01\xca\x41\x38\n\x1a\x42\x61tchOptimizeToursResponse\x12\x1a\x42\x61tchOptimizeToursMetadata\x82\xd3\xe4\x93\x02l\"6/v1/{parent=projects/*/locations/*}:batchOptimizeTours:\x01*Z/\"*/v1/{parent=projects/*}:batchOptimizeTours:\x01*\x12\xae\x02\n\x18OptimizeToursLongRunning\x12\x36.google.maps.routeoptimization.v1.OptimizeToursRequest\x1a\x1d.google.longrunning.Operation\"\xba\x01\xca\x41\x39\n\x15OptimizeToursResponse\x12 OptimizeToursLongRunningMetadata\x82\xd3\xe4\x93\x02x\"</v1/{parent=projects/*/locations/*}:optimizeToursLongRunning:\x01*Z5\"0/v1/{parent=projects/*}:optimizeToursLongRunning:\x01*\x12\x94\x02\n\x10OptimizeToursUri\x12\x39.google.maps.routeoptimization.v1.OptimizeToursUriRequest\x1a\x1d.google.longrunning.Operation\"\xa5\x01\xca\x41\x34\n\x18OptimizeToursUriResponse\x12\x18OptimizeToursUriMetadata\x82\xd3\xe4\x93\x02h\"4/v1/{parent=projects/*/locations/*}:OptimizeToursUri:\x01*Z-\"(/v1/{parent=projects/*}:OptimizeToursUri:\x01*\x1aT\xca\x41 routeoptimization.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x8d\x02\n$com.google.maps.routeoptimization.v1B\x1dRouteOptimizationServiceProtoP\x01ZXcloud.google.com/go/maps/routeoptimization/apiv1/routeoptimizationpb;routeoptimizationpb\xaa\x02 Google.Maps.RouteOptimization.V1\xca\x02 Google\\Maps\\RouteOptimization\\V1\xea\x02#Google::Maps::RouteOptimization::V1b\x06proto3"
16
+ descriptor_data = "\nAgoogle/maps/routeoptimization/v1/route_optimization_service.proto\x12 google.maps.routeoptimization.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a#google/longrunning/operations.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x18google/type/latlng.proto\"\x12\n\x03Uri\x12\x0b\n\x03uri\x18\x01 \x01(\t\"\xa8\x01\n\x17OptimizeToursUriRequest\x12\x14\n\x06parent\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12:\n\x05input\x18\x02 \x01(\x0b\x32%.google.maps.routeoptimization.v1.UriB\x04\xe2\x41\x01\x02\x12;\n\x06output\x18\x03 \x01(\x0b\x32%.google.maps.routeoptimization.v1.UriB\x04\xe2\x41\x01\x02\"W\n\x18OptimizeToursUriResponse\x12;\n\x06output\x18\x01 \x01(\x0b\x32%.google.maps.routeoptimization.v1.UriB\x04\xe2\x41\x01\x01\"\x1a\n\x18OptimizeToursUriMetadata\"\xe5\x02\n\x19\x42\x61tchOptimizeToursRequest\x12\x14\n\x06parent\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12i\n\rmodel_configs\x18\x02 \x03(\x0b\x32L.google.maps.routeoptimization.v1.BatchOptimizeToursRequest.AsyncModelConfigB\x04\xe2\x41\x01\x02\x1a\xc6\x01\n\x10\x41syncModelConfig\x12\x1a\n\x0c\x64isplay_name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x01\x12I\n\x0cinput_config\x18\x02 \x01(\x0b\x32-.google.maps.routeoptimization.v1.InputConfigB\x04\xe2\x41\x01\x02\x12K\n\routput_config\x18\x03 \x01(\x0b\x32..google.maps.routeoptimization.v1.OutputConfigB\x04\xe2\x41\x01\x02\"\x1c\n\x1a\x42\x61tchOptimizeToursResponse\"\x1c\n\x1a\x42\x61tchOptimizeToursMetadata\"\"\n OptimizeToursLongRunningMetadata\"\xb3\t\n\x14OptimizeToursRequest\x12\x14\n\x06parent\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12*\n\x07timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12>\n\x05model\x18\x03 \x01(\x0b\x32/.google.maps.routeoptimization.v1.ShipmentModel\x12X\n\x0csolving_mode\x18\x04 \x01(\x0e\x32\x42.google.maps.routeoptimization.v1.OptimizeToursRequest.SolvingMode\x12V\n\x0bsearch_mode\x18\x06 \x01(\x0e\x32\x41.google.maps.routeoptimization.v1.OptimizeToursRequest.SearchMode\x12W\n\x1einjected_first_solution_routes\x18\x07 \x03(\x0b\x32/.google.maps.routeoptimization.v1.ShipmentRoute\x12\x62\n\x1cinjected_solution_constraint\x18\x08 \x01(\x0b\x32<.google.maps.routeoptimization.v1.InjectedSolutionConstraint\x12O\n\x16refresh_details_routes\x18\t \x03(\x0b\x32/.google.maps.routeoptimization.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\"{\n\x0bSolvingMode\x12\x11\n\rDEFAULT_SOLVE\x10\x00\x12\x11\n\rVALIDATE_ONLY\x10\x01\x12$\n DETECT_SOME_INFEASIBLE_SHIPMENTS\x10\x02\x12 \n\x1cTRANSFORM_AND_RETURN_REQUEST\x10\x03\"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\"\x81\x07\n\x15OptimizeToursResponse\x12?\n\x06routes\x18\x01 \x03(\x0b\x32/.google.maps.routeoptimization.v1.ShipmentRoute\x12\x15\n\rrequest_label\x18\x03 \x01(\t\x12L\n\x11skipped_shipments\x18\x04 \x03(\x0b\x32\x31.google.maps.routeoptimization.v1.SkippedShipment\x12Y\n\x11validation_errors\x18\x05 \x03(\x0b\x32>.google.maps.routeoptimization.v1.OptimizeToursValidationError\x12Q\n\x11processed_request\x18\x15 \x01(\x0b\x32\x36.google.maps.routeoptimization.v1.OptimizeToursRequest\x12P\n\x07metrics\x18\x06 \x01(\x0b\x32?.google.maps.routeoptimization.v1.OptimizeToursResponse.Metrics\x1a\xc1\x03\n\x07Metrics\x12U\n\x18\x61ggregated_route_metrics\x18\x01 \x01(\x0b\x32\x33.google.maps.routeoptimization.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\x12Y\n\x05\x63osts\x18\n \x03(\x0b\x32J.google.maps.routeoptimization.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\"\xfc\x0c\n\rShipmentModel\x12=\n\tshipments\x18\x01 \x03(\x0b\x32*.google.maps.routeoptimization.v1.Shipment\x12;\n\x08vehicles\x18\x02 \x03(\x0b\x32).google.maps.routeoptimization.v1.Vehicle\x12M\n\nobjectives\x18\x11 \x03(\x0b\x32\x39.google.maps.routeoptimization.v1.ShipmentModel.Objective\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\x12j\n\x1a\x64uration_distance_matrices\x18\x08 \x03(\x0b\x32\x46.google.maps.routeoptimization.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\x12U\n\x15transition_attributes\x18\x0b \x03(\x0b\x32\x36.google.maps.routeoptimization.v1.TransitionAttributes\x12\x66\n\x1fshipment_type_incompatibilities\x18\x0c \x03(\x0b\x32=.google.maps.routeoptimization.v1.ShipmentTypeIncompatibility\x12]\n\x1ashipment_type_requirements\x18\r \x03(\x0b\x32\x39.google.maps.routeoptimization.v1.ShipmentTypeRequirement\x12X\n\x10precedence_rules\x18\x0e \x03(\x0b\x32>.google.maps.routeoptimization.v1.ShipmentModel.PrecedenceRule\x1a\xef\x01\n\tObjective\x12Q\n\x04type\x18\x01 \x01(\x0e\x32>.google.maps.routeoptimization.v1.ShipmentModel.Objective.TypeH\x00\x88\x01\x01\x12\x13\n\x06weight\x18\x02 \x01(\x01H\x01\x88\x01\x01\"f\n\x04Type\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x00\x12\x10\n\x0cMIN_DISTANCE\x10\n\x12\x14\n\x10MIN_WORKING_TIME\x10\x0b\x12\x13\n\x0fMIN_TRAVEL_TIME\x10\x0c\x12\x14\n\x10MIN_NUM_VEHICLES\x10\rB\x07\n\x05_typeB\t\n\x07_weight\x1a\xd2\x01\n\x16\x44urationDistanceMatrix\x12X\n\x04rows\x18\x01 \x03(\x0b\x32J.google.maps.routeoptimization.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_indexB\x16\n\x14_max_active_vehicles\"\xde\x0b\n\x08Shipment\x12\x14\n\x0c\x64isplay_name\x18\x10 \x01(\t\x12H\n\x07pickups\x18\x01 \x03(\x0b\x32\x37.google.maps.routeoptimization.v1.Shipment.VisitRequest\x12K\n\ndeliveries\x18\x02 \x03(\x0b\x32\x37.google.maps.routeoptimization.v1.Shipment.VisitRequest\x12Q\n\x0cload_demands\x18\x0e \x03(\x0b\x32;.google.maps.routeoptimization.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\x1a\xa0\x05\n\x0cVisitRequest\x12-\n\x10\x61rrival_location\x18\x01 \x01(\x0b\x32\x13.google.type.LatLng\x12\x44\n\x10\x61rrival_waypoint\x18\x02 \x01(\x0b\x32*.google.maps.routeoptimization.v1.Waypoint\x12/\n\x12\x64\x65parture_location\x18\x03 \x01(\x0b\x32\x13.google.type.LatLng\x12\x46\n\x12\x64\x65parture_waypoint\x18\x04 \x01(\x0b\x32*.google.maps.routeoptimization.v1.Waypoint\x12\x0c\n\x04tags\x18\x05 \x03(\t\x12\x42\n\x0ctime_windows\x18\x06 \x03(\x0b\x32,.google.maps.routeoptimization.v1.TimeWindow\x12+\n\x08\x64uration\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x0c\n\x04\x63ost\x18\x08 \x01(\x01\x12^\n\x0cload_demands\x18\x0c \x03(\x0b\x32H.google.maps.routeoptimization.v1.Shipment.VisitRequest.LoadDemandsEntry\x12\x13\n\x0bvisit_types\x18\n \x03(\t\x12\r\n\x05label\x18\x0b \x01(\t\x12\x1a\n\ravoid_u_turns\x18\r \x01(\x08H\x00\x88\x01\x01\x1a\x63\n\x10LoadDemandsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12>\n\x05value\x18\x02 \x01(\x0b\x32/.google.maps.routeoptimization.v1.Shipment.Load:\x02\x38\x01\x42\x10\n\x0e_avoid_u_turns\x1a\x16\n\x04Load\x12\x0e\n\x06\x61mount\x18\x02 \x01(\x03\x1a\x63\n\x10LoadDemandsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12>\n\x05value\x18\x02 \x01(\x0b\x32/.google.maps.routeoptimization.v1.Shipment.Load:\x02\x38\x01\x42\x0f\n\r_penalty_costB+\n)_pickup_to_delivery_relative_detour_limit\"\xa6\x02\n\x1bShipmentTypeIncompatibility\x12\r\n\x05types\x18\x01 \x03(\t\x12o\n\x14incompatibility_mode\x18\x02 \x01(\x0e\x32Q.google.maps.routeoptimization.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\"\xec\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\x63\n\x10requirement_mode\x18\x03 \x01(\x0e\x32I.google.maps.routeoptimization.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\"p\n\x0eRouteModifiers\x12\x13\n\x0b\x61void_tolls\x18\x02 \x01(\x08\x12\x16\n\x0e\x61void_highways\x18\x03 \x01(\x08\x12\x15\n\ravoid_ferries\x18\x04 \x01(\x08\x12\x1a\n\x0c\x61void_indoor\x18\x05 \x01(\x08\x42\x04\xe2\x41\x01\x01\"\x9e\x17\n\x07Vehicle\x12\x14\n\x0c\x64isplay_name\x18 \x01(\t\x12I\n\x0btravel_mode\x18\x01 \x01(\x0e\x32\x34.google.maps.routeoptimization.v1.Vehicle.TravelMode\x12I\n\x0froute_modifiers\x18\x02 \x01(\x0b\x32\x30.google.maps.routeoptimization.v1.RouteModifiers\x12+\n\x0estart_location\x18\x03 \x01(\x0b\x32\x13.google.type.LatLng\x12\x42\n\x0estart_waypoint\x18\x04 \x01(\x0b\x32*.google.maps.routeoptimization.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.maps.routeoptimization.v1.Waypoint\x12\x12\n\nstart_tags\x18\x07 \x03(\t\x12\x10\n\x08\x65nd_tags\x18\x08 \x03(\t\x12H\n\x12start_time_windows\x18\t \x03(\x0b\x32,.google.maps.routeoptimization.v1.TimeWindow\x12\x46\n\x10\x65nd_time_windows\x18\n \x03(\x0b\x32,.google.maps.routeoptimization.v1.TimeWindow\x12%\n\x18travel_duration_multiple\x18\x0b \x01(\x01H\x00\x88\x01\x01\x12S\n\x10unloading_policy\x18\x0c \x01(\x0e\x32\x39.google.maps.routeoptimization.v1.Vehicle.UnloadingPolicy\x12N\n\x0bload_limits\x18\x1e \x03(\x0b\x32\x39.google.maps.routeoptimization.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\x12U\n\x14route_duration_limit\x18\x15 \x01(\x0b\x32\x37.google.maps.routeoptimization.v1.Vehicle.DurationLimit\x12V\n\x15travel_duration_limit\x18\x16 \x01(\x0b\x32\x37.google.maps.routeoptimization.v1.Vehicle.DurationLimit\x12M\n\x14route_distance_limit\x18\x17 \x01(\x0b\x32/.google.maps.routeoptimization.v1.DistanceLimit\x12z\n#extra_visit_duration_for_visit_type\x18\x18 \x03(\x0b\x32M.google.maps.routeoptimization.v1.Vehicle.ExtraVisitDurationForVisitTypeEntry\x12?\n\nbreak_rule\x18\x19 \x01(\x0b\x32+.google.maps.routeoptimization.v1.BreakRule\x12\r\n\x05label\x18\x1b \x01(\t\x12\x0e\n\x06ignore\x18\x1c \x01(\x08\x1a\xa0\x06\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\x12Y\n\x13start_load_interval\x18\x04 \x01(\x0b\x32<.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval\x12W\n\x11\x65nd_load_interval\x18\x05 \x01(\x0b\x32<.google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval\x12]\n\x12\x63ost_per_kilometer\x18\x06 \x01(\x0b\x32<.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCostH\x01\x88\x01\x01\x12\x61\n\x16\x63ost_per_traveled_hour\x18\x07 \x01(\x0b\x32<.google.maps.routeoptimization.v1.Vehicle.LoadLimit.LoadCostH\x02\x88\x01\x01\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_max\x1a\xd6\x01\n\x08LoadCost\x12\x1b\n\x0eload_threshold\x18\x01 \x01(\x03H\x00\x88\x01\x01\x12*\n\x1d\x63ost_per_unit_below_threshold\x18\x02 \x01(\x01H\x01\x88\x01\x01\x12*\n\x1d\x63ost_per_unit_above_threshold\x18\x03 \x01(\x01H\x02\x88\x01\x01\x42\x11\n\x0f_load_thresholdB \n\x1e_cost_per_unit_below_thresholdB \n\x1e_cost_per_unit_above_thresholdB\x0b\n\t_max_loadB\x15\n\x13_cost_per_kilometerB\x19\n\x17_cost_per_traveled_hour\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\x66\n\x0fLoadLimitsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x42\n\x05value\x18\x02 \x01(\x0b\x32\x33.google.maps.routeoptimization.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\"\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\"\x89\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\x12G\n\x0e\x64istance_limit\x18\x07 \x01(\x0b\x32/.google.maps.routeoptimization.v1.DistanceLimit\x12(\n\x05\x64\x65lay\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\"\xa5\x01\n\x08Waypoint\x12>\n\x08location\x18\x01 \x01(\x0b\x32*.google.maps.routeoptimization.v1.LocationH\x00\x12\x12\n\x08place_id\x18\x02 \x01(\tH\x00\x12\x1a\n\x0cside_of_road\x18\x03 \x01(\x08\x42\x04\xe2\x41\x01\x01\x12\x18\n\x10vehicle_stopover\x18\x04 \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\"\x99\x04\n\tBreakRule\x12P\n\x0e\x62reak_requests\x18\x01 \x03(\x0b\x32\x38.google.maps.routeoptimization.v1.BreakRule.BreakRequest\x12^\n\x15\x66requency_constraints\x18\x02 \x03(\x0b\x32?.google.maps.routeoptimization.v1.BreakRule.FrequencyConstraint\x1a\xc1\x01\n\x0c\x42reakRequest\x12=\n\x13\x65\x61rliest_start_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x02\x12;\n\x11latest_start_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x02\x12\x35\n\x0cmin_duration\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\xe2\x41\x01\x02\x1a\x95\x01\n\x13\x46requencyConstraint\x12;\n\x12min_break_duration\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\xe2\x41\x01\x02\x12\x41\n\x18max_inter_break_duration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\xe2\x41\x01\x02\"\xa2\x11\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\x45\n\x06visits\x18\x07 \x03(\x0b\x32\x35.google.maps.routeoptimization.v1.ShipmentRoute.Visit\x12O\n\x0btransitions\x18\x08 \x03(\x0b\x32:.google.maps.routeoptimization.v1.ShipmentRoute.Transition\x12#\n\x1bhas_traffic_infeasibilities\x18\t \x01(\x08\x12W\n\x0eroute_polyline\x18\n \x01(\x0b\x32?.google.maps.routeoptimization.v1.ShipmentRoute.EncodedPolyline\x12\x45\n\x06\x62reaks\x18\x0b \x03(\x0b\x32\x35.google.maps.routeoptimization.v1.ShipmentRoute.Break\x12\x44\n\x07metrics\x18\x0c \x01(\x0b\x32\x33.google.maps.routeoptimization.v1.AggregatedMetrics\x12K\n\x10vehicle_fullness\x18\x14 \x01(\x0b\x32\x31.google.maps.routeoptimization.v1.VehicleFullness\x12T\n\x0broute_costs\x18\x11 \x03(\x0b\x32?.google.maps.routeoptimization.v1.ShipmentRoute.RouteCostsEntry\x12\x18\n\x10route_total_cost\x18\x12 \x01(\x01\x1a\xee\x03\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\x12\\\n\x0cload_demands\x18\x0b \x03(\x0b\x32\x46.google.maps.routeoptimization.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\x12-\n injected_solution_location_token\x18\r \x01(\x05H\x00\x88\x01\x01\x1a\x63\n\x10LoadDemandsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12>\n\x05value\x18\x02 \x01(\x0b\x32/.google.maps.routeoptimization.v1.Shipment.Load:\x02\x38\x01\x42#\n!_injected_solution_location_token\x1a\xc8\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\x12W\n\x0eroute_polyline\x18\t \x01(\x0b\x32?.google.maps.routeoptimization.v1.ShipmentRoute.EncodedPolyline\x12\x19\n\x0broute_token\x18\x0c \x01(\tB\x04\xe2\x41\x01\x03\x12\x63\n\rvehicle_loads\x18\x0b \x03(\x0b\x32L.google.maps.routeoptimization.v1.ShipmentRoute.Transition.VehicleLoadsEntry\x1ap\n\x11VehicleLoadsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12J\n\x05value\x18\x02 \x01(\x0b\x32;.google.maps.routeoptimization.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\x31\n\x0fRouteCostsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x01:\x02\x38\x01\"\xcf\x07\n\x0fSkippedShipment\x12\r\n\x05index\x18\x01 \x01(\x05\x12\r\n\x05label\x18\x02 \x01(\t\x12\x19\n\x0cpenalty_cost\x18\x06 \x01(\x01H\x00\x88\x01\x01\x12\x31\n$estimated_incompatible_vehicle_ratio\x18\x05 \x01(\x01H\x01\x88\x01\x01\x12I\n\x07reasons\x18\x03 \x03(\x0b\x32\x38.google.maps.routeoptimization.v1.SkippedShipment.Reason\x1a\xca\x05\n\x06Reason\x12K\n\x04\x63ode\x18\x01 \x01(\x0e\x32=.google.maps.routeoptimization.v1.SkippedShipment.Reason.Code\x12\"\n\x15\x65xample_vehicle_index\x18\x02 \x01(\x05H\x00\x88\x01\x01\x12\x1f\n\x17\x65xample_vehicle_indices\x18\x05 \x03(\x05\x12&\n\x1e\x65xample_exceeded_capacity_type\x18\x03 \x01(\t\"\xeb\x03\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\x12\x13\n\x0fVEHICLE_IGNORED\x10\x08\x12\x14\n\x10SHIPMENT_IGNORED\x10\t\x12+\n\'SKIPPED_IN_INJECTED_SOLUTION_CONSTRAINT\x10\n\x12/\n+VEHICLE_ROUTE_IS_FULLY_SEQUENCE_CONSTRAINED\x10\x0b\x12\x15\n\x11ZERO_PENALTY_COST\x10\rB\x18\n\x16_example_vehicle_indexB\x0f\n\r_penalty_costB\'\n%_estimated_incompatible_vehicle_ratio\"\xfd\x05\n\x11\x41ggregatedMetrics\x12 \n\x18performed_shipment_count\x18\x01 \x01(\x05\x12/\n\"performed_mandatory_shipment_count\x18\x0c \x01(\x05H\x00\x88\x01\x01\x12\x30\n#performed_shipment_penalty_cost_sum\x18\r \x01(\x01H\x01\x88\x01\x01\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\x12T\n\tmax_loads\x18\t \x03(\x0b\x32\x41.google.maps.routeoptimization.v1.AggregatedMetrics.MaxLoadsEntry\x1al\n\rMaxLoadsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12J\n\x05value\x18\x02 \x01(\x0b\x32;.google.maps.routeoptimization.v1.ShipmentRoute.VehicleLoad:\x02\x38\x01\x42%\n#_performed_mandatory_shipment_countB&\n$_performed_shipment_penalty_cost_sum\"\x93\x02\n\x0fVehicleFullness\x12\x19\n\x0cmax_fullness\x18\x01 \x01(\x01H\x00\x88\x01\x01\x12\x15\n\x08\x64istance\x18\x02 \x01(\x01H\x01\x88\x01\x01\x12\x1c\n\x0ftravel_duration\x18\x03 \x01(\x01H\x02\x88\x01\x01\x12\x1c\n\x0f\x61\x63tive_duration\x18\x04 \x01(\x01H\x03\x88\x01\x01\x12\x15\n\x08max_load\x18\x05 \x01(\x01H\x04\x88\x01\x01\x12\x18\n\x0b\x61\x63tive_span\x18\x06 \x01(\x01H\x05\x88\x01\x01\x42\x0f\n\r_max_fullnessB\x0b\n\t_distanceB\x12\n\x10_travel_durationB\x12\n\x10_active_durationB\x0b\n\t_max_loadB\x0e\n\x0c_active_span\"\xb3\x06\n\x1aInjectedSolutionConstraint\x12?\n\x06routes\x18\x01 \x03(\x0b\x32/.google.maps.routeoptimization.v1.ShipmentRoute\x12L\n\x11skipped_shipments\x18\x02 \x03(\x0b\x32\x31.google.maps.routeoptimization.v1.SkippedShipment\x12q\n\x16\x63onstraint_relaxations\x18\x03 \x03(\x0b\x32Q.google.maps.routeoptimization.v1.InjectedSolutionConstraint.ConstraintRelaxation\x1a\x92\x04\n\x14\x43onstraintRelaxation\x12q\n\x0brelaxations\x18\x01 \x03(\x0b\x32\\.google.maps.routeoptimization.v1.InjectedSolutionConstraint.ConstraintRelaxation.Relaxation\x12\x17\n\x0fvehicle_indices\x18\x02 \x03(\x05\x1a\xed\x02\n\nRelaxation\x12q\n\x05level\x18\x01 \x01(\x0e\x32\x62.google.maps.routeoptimization.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\"\x85\x03\n\x1cOptimizeToursValidationError\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12]\n\x06\x66ields\x18\x03 \x03(\x0b\x32M.google.maps.routeoptimization.v1.OptimizeToursValidationError.FieldReference\x12\x15\n\rerror_message\x18\x04 \x01(\t\x12\x18\n\x10offending_values\x18\x05 \x01(\t\x1a\xb0\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\x32M.google.maps.routeoptimization.v1.OptimizeToursValidationError.FieldReferenceB\x0e\n\x0cindex_or_key\"\xa3\x01\n\x0bInputConfig\x12\x41\n\ngcs_source\x18\x01 \x01(\x0b\x32+.google.maps.routeoptimization.v1.GcsSourceH\x00\x12G\n\x0b\x64\x61ta_format\x18\x02 \x01(\x0e\x32,.google.maps.routeoptimization.v1.DataFormatB\x04\xe2\x41\x01\x02\x42\x08\n\x06source\"\xb3\x01\n\x0cOutputConfig\x12K\n\x0fgcs_destination\x18\x01 \x01(\x0b\x32\x30.google.maps.routeoptimization.v1.GcsDestinationH\x00\x12G\n\x0b\x64\x61ta_format\x18\x02 \x01(\x0e\x32,.google.maps.routeoptimization.v1.DataFormatB\x04\xe2\x41\x01\x02\x42\r\n\x0b\x64\x65stination\"\x1e\n\tGcsSource\x12\x11\n\x03uri\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\"#\n\x0eGcsDestination\x12\x11\n\x03uri\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02*C\n\nDataFormat\x12\x1b\n\x17\x44\x41TA_FORMAT_UNSPECIFIED\x10\x00\x12\x08\n\x04JSON\x10\x01\x12\x0e\n\nPROTO_TEXT\x10\x02\x32\xc1\t\n\x11RouteOptimization\x12\xea\x01\n\rOptimizeTours\x12\x36.google.maps.routeoptimization.v1.OptimizeToursRequest\x1a\x37.google.maps.routeoptimization.v1.OptimizeToursResponse\"h\x82\xd3\xe4\x93\x02\x62\"1/v1/{parent=projects/*/locations/*}:optimizeTours:\x01*Z*\"%/v1/{parent=projects/*}:optimizeTours:\x01*\x12\xa0\x02\n\x12\x42\x61tchOptimizeTours\x12;.google.maps.routeoptimization.v1.BatchOptimizeToursRequest\x1a\x1d.google.longrunning.Operation\"\xad\x01\xca\x41\x38\n\x1a\x42\x61tchOptimizeToursResponse\x12\x1a\x42\x61tchOptimizeToursMetadata\x82\xd3\xe4\x93\x02l\"6/v1/{parent=projects/*/locations/*}:batchOptimizeTours:\x01*Z/\"*/v1/{parent=projects/*}:batchOptimizeTours:\x01*\x12\xae\x02\n\x18OptimizeToursLongRunning\x12\x36.google.maps.routeoptimization.v1.OptimizeToursRequest\x1a\x1d.google.longrunning.Operation\"\xba\x01\xca\x41\x39\n\x15OptimizeToursResponse\x12 OptimizeToursLongRunningMetadata\x82\xd3\xe4\x93\x02x\"</v1/{parent=projects/*/locations/*}:optimizeToursLongRunning:\x01*Z5\"0/v1/{parent=projects/*}:optimizeToursLongRunning:\x01*\x12\x94\x02\n\x10OptimizeToursUri\x12\x39.google.maps.routeoptimization.v1.OptimizeToursUriRequest\x1a\x1d.google.longrunning.Operation\"\xa5\x01\xca\x41\x34\n\x18OptimizeToursUriResponse\x12\x18OptimizeToursUriMetadata\x82\xd3\xe4\x93\x02h\"4/v1/{parent=projects/*/locations/*}:OptimizeToursUri:\x01*Z-\"(/v1/{parent=projects/*}:OptimizeToursUri:\x01*\x1aT\xca\x41 routeoptimization.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x8d\x02\n$com.google.maps.routeoptimization.v1B\x1dRouteOptimizationServiceProtoP\x01ZXcloud.google.com/go/maps/routeoptimization/apiv1/routeoptimizationpb;routeoptimizationpb\xaa\x02 Google.Maps.RouteOptimization.V1\xca\x02 Google\\Maps\\RouteOptimization\\V1\xea\x02#Google::Maps::RouteOptimization::V1b\x06proto3"
17
17
 
18
18
  pool = ::Google::Protobuf::DescriptorPool.generated_pool
19
19
  pool.add_serialized_file(descriptor_data)
@@ -2559,9 +2559,9 @@ module Google
2559
2559
  # The total duration should be equal to the sum of all durations above.
2560
2560
  # For routes, it also corresponds to:
2561
2561
  # ```
2562
- # {::Google::Maps::RouteOptimization::V1::ShipmentRoute#vehicle_end_time ShipmentRoute.vehicle_end_time}
2562
+ # [ShipmentRoute.vehicle_end_time][google.maps.routeoptimization.v1.ShipmentRoute.vehicle_end_time]
2563
2563
  # -
2564
- # {::Google::Maps::RouteOptimization::V1::ShipmentRoute#vehicle_start_time ShipmentRoute.vehicle_start_time}
2564
+ # [ShipmentRoute.vehicle_start_time][google.maps.routeoptimization.v1.ShipmentRoute.vehicle_start_time]
2565
2565
  # ```
2566
2566
  # @!attribute [rw] travel_distance_meters
2567
2567
  # @return [::Float]
@@ -2814,7 +2814,7 @@ module Google
2814
2814
  # done as follows:
2815
2815
  # ```
2816
2816
  # fields { name: "vehicles" index: 4}
2817
- # fields { name: "shipments" index: 2 sub_field \\{name: "pickups" index: 0} }
2817
+ # fields { name: "shipments" index: 2 sub_field {name: "pickups" index: 0} }
2818
2818
  # ```
2819
2819
  # Note, however, that the cardinality of `fields` should not change for a
2820
2820
  # given error code.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-maps-route_optimization-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -15,14 +15,14 @@ dependencies:
15
15
  requirements:
16
16
  - - "~>"
17
17
  - !ruby/object:Gem::Version
18
- version: '1.3'
18
+ version: '1.6'
19
19
  type: :runtime
20
20
  prerelease: false
21
21
  version_requirements: !ruby/object:Gem::Requirement
22
22
  requirements:
23
23
  - - "~>"
24
24
  - !ruby/object:Gem::Version
25
- version: '1.3'
25
+ version: '1.6'
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: google-cloud-errors
28
28
  requirement: !ruby/object:Gem::Requirement