@@ -57,6 +57,9 @@ class OptimizeToursRequest(proto.Message):
5757 defines the shipment model to solve as well as optimization
5858 parameters.
5959
60+
61+ .. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
62+
6063 Attributes:
6164 parent (str):
6265 Required. Target project and location to make a call.
@@ -616,6 +619,9 @@ class ShipmentModel(proto.Message):
616619 - the unperformed shipment penalties.
617620 - the cost of the global duration of the shipments
618621
622+
623+ .. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
624+
619625 Attributes:
620626 shipments (MutableSequence[google.cloud.optimization_v1.types.Shipment]):
621627 Set of shipments which must be performed in
@@ -874,6 +880,9 @@ class PrecedenceRule(proto.Message):
874880 Furthermore, precedences only apply when both shipments are
875881 performed and are otherwise ignored.
876882
883+
884+ .. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
885+
877886 Attributes:
878887 first_index (int):
879888 Shipment index of the "first" event. This
@@ -1139,6 +1148,9 @@ class Shipment(proto.Message):
11391148 visit one of its delivery locations later on (and therefore
11401149 re-increase its spare capacities accordingly).
11411150
1151+
1152+ .. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
1153+
11421154 Attributes:
11431155 pickups (MutableSequence[google.cloud.optimization_v1.types.Shipment.VisitRequest]):
11441156 Set of pickup alternatives associated to the
@@ -1595,6 +1607,9 @@ class Vehicle(proto.Message):
15951607 ``end_location`` for this vehicle. A route is a sequence of visits
15961608 (see ``ShipmentRoute``).
15971609
1610+
1611+ .. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
1612+
15981613 Attributes:
15991614 travel_mode (google.cloud.optimization_v1.types.Vehicle.TravelMode):
16001615 The travel mode which affects the roads usable by the
@@ -1826,6 +1841,9 @@ class LoadLimit(proto.Message):
18261841 only carry up to 3500 kg". See
18271842 [load_limits][google.cloud.optimization.v1.Vehicle.load_limits].
18281843
1844+
1845+ .. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
1846+
18291847 Attributes:
18301848 max_load (int):
18311849 The maximum acceptable amount of load.
@@ -1855,6 +1873,8 @@ class LoadLimit(proto.Message):
18551873 class Interval (proto .Message ):
18561874 r"""Interval of acceptable load amounts.
18571875
1876+ .. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
1877+
18581878 Attributes:
18591879 min_ (int):
18601880 A minimum acceptable load. Must be ≥ 0. If they're both
@@ -1914,6 +1934,9 @@ class DurationLimit(proto.Message):
19141934 When a soft limit field is defined, both the soft max threshold
19151935 and its associated cost must be defined together.
19161936
1937+
1938+ .. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
1939+
19171940 Attributes:
19181941 max_duration (google.protobuf.duration_pb2.Duration):
19191942 A hard limit constraining the duration to be at most
@@ -2163,6 +2186,9 @@ class TimeWindow(proto.Message):
21632186 0 <= `start_time` <= `soft_start_time` <= `end_time` and
21642187 0 <= `start_time` <= `soft_end_time` <= `end_time`.
21652188
2189+
2190+ .. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
2191+
21662192 Attributes:
21672193 start_time (google.protobuf.timestamp_pb2.Timestamp):
21682194 The hard time window start time. If unspecified it will be
@@ -2260,6 +2286,8 @@ class CapacityQuantity(proto.Message):
22602286class CapacityQuantityInterval (proto .Message ):
22612287 r"""Deprecated: Use [Vehicle.LoadLimit.Interval][] instead.
22622288
2289+ .. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
2290+
22632291 Attributes:
22642292 type_ (str):
22652293
@@ -2295,6 +2323,9 @@ class DistanceLimit(proto.Message):
22952323 ``cost_per_kilometer_above_soft_max`` must be defined and be
22962324 nonnegative.
22972325
2326+
2327+ .. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
2328+
22982329 Attributes:
22992330 max_meters (int):
23002331 A hard limit constraining the distance to be at most
@@ -2489,6 +2520,9 @@ class Location(proto.Message):
24892520 r"""Encapsulates a location (a geographic point, and an optional
24902521 heading).
24912522
2523+
2524+ .. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
2525+
24922526 Attributes:
24932527 lat_lng (google.type.latlng_pb2.LatLng):
24942528 The waypoint's geographic coordinates.
@@ -3354,6 +3388,9 @@ class Reason(proto.Message):
33543388 3) and at least one vehicle's distance limit would be exceeded
33553389 (including vehicle 1).
33563390
3391+
3392+ .. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
3393+
33573394 Attributes:
33583395 code (google.cloud.optimization_v1.types.SkippedShipment.Reason.Code):
33593396 Refer to the comments of Code.
0 commit comments