public sealed class ShipmentTypeRequirement : IMessage<ShipmentTypeRequirement>, IEquatable<ShipmentTypeRequirement>, IDeepCloneable<ShipmentTypeRequirement>, IBufferMessage, IMessage
Specifies requirements between shipments based on their shipment_type.
The specifics of the requirement are defined by the requirement mode.
public RepeatedField<string> DependentShipmentTypes { get; }
All shipments with a type in the dependent_shipment_types field require
at least one shipment of type required_shipment_type_alternatives to be
visited on the same route.
NOTE: Chains of requirements such that a shipment_type depends on itself
are not allowed.
[[["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."],[[["\u003cp\u003eThis document provides details for the \u003ccode\u003eShipmentTypeRequirement\u003c/code\u003e class within the Google Cloud Optimization V1 library, specifically version 1.0.0-beta01.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eShipmentTypeRequirement\u003c/code\u003e class is used to specify relationships between shipments based on their \u003ccode\u003eshipment_type\u003c/code\u003e, dictating which types are dependent and which are required.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, and \u003ccode\u003eIDeepCloneable\u003c/code\u003e, allowing for message handling, equality checks, and deep cloning.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003eShipmentTypeRequirement\u003c/code\u003e include \u003ccode\u003eDependentShipmentTypes\u003c/code\u003e, \u003ccode\u003eRequiredShipmentTypeAlternatives\u003c/code\u003e, and \u003ccode\u003eRequirementMode\u003c/code\u003e, which define the specifics of the shipment relationship.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eShipmentTypeRequirement\u003c/code\u003e class has two constructors available, a default constructor, and one that takes another \u003ccode\u003eShipmentTypeRequirement\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"]]],[],null,[]]