[Obsolete]
public sealed class BreakRule : IMessage<ShipmentModel.Types.BreakRule>, IEquatable<ShipmentModel.Types.BreakRule>, IDeepCloneable<ShipmentModel.Types.BreakRule>, IBufferMessage, IMessage
Deprecated: Use top level [BreakRule][] instead. Rules to generate time breaks for a vehicle (e.g. lunch breaks). A break is a contiguous period of time during which the vehicle remains idle at its current position and cannot perform any visit. A break may occur:
- during the travel between two visits (which includes the time right before or right after a visit, but not in the middle of a visit), in which case it extends the corresponding transit time between the visits,
- or before the vehicle start (the vehicle may not start in the middle of a break), in which case it does not affect the vehicle start time.
- or after the vehicle end (ditto, with the vehicle end time).
Implements
IMessage<ShipmentModel.Types.BreakRule>, IEquatable<ShipmentModel.Types.BreakRule>, IDeepCloneable<ShipmentModel.Types.BreakRule>, IBufferMessage, IMessageNamespace
Google.Cloud.Optimization.V1Assembly
Google.Cloud.Optimization.V1.dll
Constructors
BreakRule()
public BreakRule()
BreakRule(ShipmentModel.Types.BreakRule)
public BreakRule(ShipmentModel.Types.BreakRule other)
Parameter | |
---|---|
Name | Description |
other | ShipmentModel.Types.BreakRule |
Properties
BreakRequests
public RepeatedField<ShipmentModel.Types.BreakRule.Types.BreakRequest> BreakRequests { get; }
Sequence of breaks. See the BreakRequest
message.
Property Value | |
---|---|
Type | Description |
RepeatedField<ShipmentModel.Types.BreakRule.Types.BreakRequest> |
FrequencyConstraints
public RepeatedField<ShipmentModel.Types.BreakRule.Types.FrequencyConstraint> FrequencyConstraints { get; }
Several FrequencyConstraint
may apply. They must all be satisfied by
the BreakRequest
s of this BreakRule
. See FrequencyConstraint
.
Property Value | |
---|---|
Type | Description |
RepeatedField<ShipmentModel.Types.BreakRule.Types.FrequencyConstraint> |