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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-02 UTC."],[[["The `Shipment.Types.Load` class, part of the Cloud Optimization v1 API, manages load adjustments for vehicles during visits."],["Version 2.6.0 is the latest version of `Shipment.Types.Load`, with previous versions ranging from 2.5.0 down to 1.0.0-beta01."],["The `Load` class implements interfaces like `IMessage`, `IEquatable`, and `IDeepCloneable`, and inherits from the `object` class."],["The `Amount` property, a long integer, defines the load variation for the vehicle during a visit, and it must be greater than or equal to 0."]]],[]]