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."],[[["This document provides reference documentation for the `Shipment.Types.Load` class within the Cloud Optimization v1 API, with the latest version being 2.6.0."],["The `Shipment.Types.Load` class defines the amount by which a vehicle's load will change during a visit, either added for a pickup or subtracted for a delivery."],["`Shipment.Types.Load` implements several interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The `Amount` property, which is of type long, represents the integer value of the load change and must be greater than or equal to zero."],["There are also version specific references to the Shipment.Types.Load class from 1.0.0-beta01 to 2.6.0."]]],[]]