public sealed class Load : IMessage<Shipment.Types.Load>, IEquatable<Shipment.Types.Load>, IDeepCloneable<Shipment.Types.Load>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Optimization v1 API class Shipment.Types.Load.
When performing a visit, a predefined amount may be added to the vehicle
load if it's a pickup, or subtracted if it's a delivery. This message
defines such amount. See [load_demands][google.cloud.optimization.v1.Shipment.load_demands].
The amount by which the load of the vehicle performing the corresponding
visit will vary. Since it is an integer, users are advised to choose an
appropriate unit to avoid loss of precision. Must be ≥ 0.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["The `Shipment.Types.Load` class in the Cloud Optimization v1 API is used to define the amount added to or subtracted from a vehicle's load during a visit, which is detailed in the `load_demands` section of the `Shipment` class."],["This class implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and inherits from `Object`."],["There are two constructors for the `Load` class: a default constructor and one that takes another `Shipment.Types.Load` object as a parameter."],["The `Amount` property, of type `Int64`, represents the change in the vehicle's load and must be a non-negative integer."],["This documentation covers version 2.0.0 of the API and offers links to different versions of the API, including the most recent 2.6.0 version."]]],[]]