google-cloud-optimization-v1 0.8.1 → 0.8.2

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: 21941651a7ef7318a2f4e4a3c54a585812f7e6b0faeaf10f94b9806b1e252323
4
- data.tar.gz: 1fd02e541a7e0b6ff60a37cf77e4577322042508d999d1c7cab8010c95a023e2
3
+ metadata.gz: 10c21bf836e474a47cf578a56e02488a41ab0fa8510aa10e0db10eabc0a23831
4
+ data.tar.gz: '09ab7486725187b8ea2dc3ae6585ad1a276365d895043c6754731d4110d49087'
5
5
  SHA512:
6
- metadata.gz: 5043a829586ab809545d956fa559f7a6714699ee30cc50bfd3285c013333397b56925afac1980030189a1b6ed3600ad3cb54d0bf8c4a68957165da501f7d4439
7
- data.tar.gz: 573e2dd83847ba7a83e6c36e3418764b350a0d39d1f07bea26d895b6885fc460c613acbe15d1d6a63ba35fd1edaf243948db9761a32b76034116a42fc20811ba
6
+ metadata.gz: db5c1bea80eb98f9026247b1036889e06d271ede8a551875d837d3cdd4ea6112319d018b5232e5282be5d535bd5018aed7bd44c9065d70ba36a28b4bf0c5ec09
7
+ data.tar.gz: 30c19c46a1d99861831ecdd20ca74dc26a077b83e9edef53f0bb2cf1120b7fccfffdd55eb3d510d724f802ff90330a85eebe94ca5660e4cc2b82221b0adb3ad6
@@ -8,13 +8,13 @@ require 'google/api/field_behavior_pb'
8
8
  require 'google/protobuf/timestamp_pb'
9
9
 
10
10
 
11
- descriptor_data = "\n.google/cloud/optimization/v1/async_model.proto\x12\x1cgoogle.cloud.optimization.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x95\x01\n\x0bInputConfig\x12=\n\ngcs_source\x18\x01 \x01(\x0b\x32\'.google.cloud.optimization.v1.GcsSourceH\x00\x12=\n\x0b\x64\x61ta_format\x18\x02 \x01(\x0e\x32(.google.cloud.optimization.v1.DataFormatB\x08\n\x06source\"\xa5\x01\n\x0cOutputConfig\x12G\n\x0fgcs_destination\x18\x01 \x01(\x0b\x32,.google.cloud.optimization.v1.GcsDestinationH\x00\x12=\n\x0b\x64\x61ta_format\x18\x02 \x01(\x0e\x32(.google.cloud.optimization.v1.DataFormatB\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\"\xab\x02\n\x12\x41syncModelMetadata\x12\x45\n\x05state\x18\x01 \x01(\x0e\x32\x36.google.cloud.optimization.v1.AsyncModelMetadata.State\x12\x15\n\rstate_message\x18\x02 \x01(\t\x12/\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"U\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07RUNNING\x10\x01\x12\r\n\tSUCCEEDED\x10\x02\x12\r\n\tCANCELLED\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04*?\n\nDataFormat\x12\x1b\n\x17\x44\x41TA_FORMAT_UNSPECIFIED\x10\x00\x12\x08\n\x04JSON\x10\x01\x12\n\n\x06STRING\x10\x02\x42{\n com.google.cloud.optimization.v1B\x0f\x41syncModelProtoP\x01ZDcloud.google.com/go/optimization/apiv1/optimizationpb;optimizationpbb\x06proto3"
11
+ descriptor_data = "\n.google/cloud/optimization/v1/async_model.proto\x12\x1cgoogle.cloud.optimization.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x95\x01\n\x0bInputConfig\x12=\n\ngcs_source\x18\x01 \x01(\x0b\x32\'.google.cloud.optimization.v1.GcsSourceH\x00\x12=\n\x0b\x64\x61ta_format\x18\x02 \x01(\x0e\x32(.google.cloud.optimization.v1.DataFormatB\x08\n\x06source\"\xa5\x01\n\x0cOutputConfig\x12G\n\x0fgcs_destination\x18\x01 \x01(\x0b\x32,.google.cloud.optimization.v1.GcsDestinationH\x00\x12=\n\x0b\x64\x61ta_format\x18\x02 \x01(\x0e\x32(.google.cloud.optimization.v1.DataFormatB\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\"\xab\x02\n\x12\x41syncModelMetadata\x12\x45\n\x05state\x18\x01 \x01(\x0e\x32\x36.google.cloud.optimization.v1.AsyncModelMetadata.State\x12\x15\n\rstate_message\x18\x02 \x01(\t\x12/\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"U\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07RUNNING\x10\x01\x12\r\n\tSUCCEEDED\x10\x02\x12\r\n\tCANCELLED\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04*?\n\nDataFormat\x12\x1b\n\x17\x44\x41TA_FORMAT_UNSPECIFIED\x10\x00\x12\x08\n\x04JSON\x10\x01\x12\n\n\x06STRING\x10\x02\x42{\n com.google.cloud.optimization.v1B\x0f\x41syncModelProtoP\x01ZDcloud.google.com/go/optimization/apiv1/optimizationpb;optimizationpbb\x06proto3"
12
12
 
13
13
  pool = Google::Protobuf::DescriptorPool.generated_pool
14
14
 
15
15
  begin
16
16
  pool.add_serialized_file(descriptor_data)
17
- rescue TypeError => e
17
+ rescue TypeError
18
18
  # Compatibility code: will be removed in the next major version.
19
19
  require 'google/protobuf/descriptor_pb'
20
20
  parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
@@ -14,13 +14,13 @@ 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\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\"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\"\x9a\x15\n\x07Vehicle\x12\x45\n\x0btravel_mode\x18\x01 \x01(\x0e\x32\x30.google.cloud.optimization.v1.Vehicle.TravelMode\x12J\n\x0froute_modifiers\x18\x02 \x01(\x0b\x32,.google.cloud.optimization.v1.RouteModifiersB\x03\xe0\x41\x01\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"
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\"\xa5\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.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\"\xef\x02\n\x19\x42\x61tchOptimizeToursRequest\x12\x14\n\x06parent\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x65\n\rmodel_configs\x18\x02 \x03(\x0b\x32H.google.cloud.optimization.v1.BatchOptimizeToursRequest.AsyncModelConfigB\x04\xe2\x41\x01\x02\x1a\xd4\x01\n\x10\x41syncModelConfig\x12\x14\n\x0c\x64isplay_name\x18\x01 \x01(\t\x12\x45\n\x0cinput_config\x18\x02 \x01(\x0b\x32).google.cloud.optimization.v1.InputConfigB\x04\xe2\x41\x01\x02\x12G\n\routput_config\x18\x03 \x01(\x0b\x32*.google.cloud.optimization.v1.OutputConfigB\x04\xe2\x41\x01\x02\x12\x1a\n\x12\x65nable_checkpoints\x18\x04 \x01(\x08\"\x1c\n\x1a\x42\x61tchOptimizeToursResponse\"\x9f\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\xb1\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\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:\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\"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\"\x9b\x15\n\x07Vehicle\x12\x45\n\x0btravel_mode\x18\x01 \x01(\x0e\x32\x30.google.cloud.optimization.v1.Vehicle.TravelMode\x12K\n\x0froute_modifiers\x18\x02 \x01(\x0b\x32,.google.cloud.optimization.v1.RouteModifiersB\x04\xe2\x41\x01\x01\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\"\x91\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\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\"\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\xca\x41\x30\n\x1a\x42\x61tchOptimizeToursResponse\x12\x12\x41syncModelMetadata\x82\xd3\xe4\x93\x02l\"6/v1/{parent=projects/*/locations/*}:batchOptimizeTours:\x01*Z/\"*/v1/{parent=projects/*}:batchOptimizeTours:\x01*\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
21
  begin
22
22
  pool.add_serialized_file(descriptor_data)
23
- rescue TypeError => e
23
+ rescue TypeError
24
24
  # Compatibility code: will be removed in the next major version.
25
25
  require 'google/protobuf/descriptor_pb'
26
26
  parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Optimization
23
23
  module V1
24
- VERSION = "0.8.1"
24
+ VERSION = "0.8.2"
25
25
  end
26
26
  end
27
27
  end
@@ -129,7 +129,8 @@ module Google
129
129
  #
130
130
  # Note: this functionality is not currently available in the official
131
131
  # protobuf release, and it is not used for type URLs beginning with
132
- # type.googleapis.com.
132
+ # type.googleapis.com. As of May 2023, there are no widely used type server
133
+ # implementations and no plans to implement one.
133
134
  #
134
135
  # Schemes other than `http`, `https` (or the empty scheme) might be
135
136
  # used with implementation specific semantics.
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.8.1
4
+ version: 0.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-12 00:00:00.000000000 Z
11
+ date: 2024-02-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common