public sealed class Shipment.Types.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 used in conjunction with load demands."],["This class implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, allowing for various operations like deep cloning and message handling."],["The `Shipment.Types.Load` class can be constructed either with no arguments or by copying the properties from another existing instance of the same class."],["The `Amount` property, a long integer, represents the change in vehicle load during a visit, with users responsible for choosing an appropriate unit to maintain precision."],["The latest documented version is 2.6.0, with various previous versions available for reference, indicating a history of updates and improvements to this class."]]],[]]