A minimum acceptable load. Must be ≥ 0. If they're both specified, min must be ≤ max.
↳ max
int|string
A maximum acceptable load. Must be ≥ 0. If unspecified, the maximum load is unrestricted by this message. If they're both specified, min must be ≤ max.
[[["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-09-04 UTC."],[],[],null,["# Google Maps Route Optimization V1 Client - Class Interval (0.4.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.4.1 (latest)](/php/docs/reference/maps-routeoptimization/latest/V1.Vehicle.LoadLimit.Interval)\n- [0.4.0](/php/docs/reference/maps-routeoptimization/0.4.0/V1.Vehicle.LoadLimit.Interval)\n- [0.3.3](/php/docs/reference/maps-routeoptimization/0.3.3/V1.Vehicle.LoadLimit.Interval)\n- [0.2.0](/php/docs/reference/maps-routeoptimization/0.2.0/V1.Vehicle.LoadLimit.Interval)\n- [0.1.0](/php/docs/reference/maps-routeoptimization/0.1.0/V1.Vehicle.LoadLimit.Interval) \nReference documentation and code samples for the Google Maps Route Optimization V1 Client class Interval.\n\nInterval of acceptable load amounts.\n\nGenerated from protobuf message `google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval`\n\nNamespace\n---------\n\nGoogle \\\\ Maps \\\\ RouteOptimization \\\\ V1 \\\\ Vehicle \\\\ LoadLimit\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getMin\n\nA minimum acceptable load. Must be ≥ 0.\n\nIf they're both specified,\n[min](/php/docs/reference/maps-routeoptimization/latest/V1.Vehicle.LoadLimit.Interval#_Google_Maps_RouteOptimization_V1_Vehicle_LoadLimit_Interval__getMin__)\nmust be ≤\n[max](/php/docs/reference/maps-routeoptimization/latest/V1.Vehicle.LoadLimit.Interval#_Google_Maps_RouteOptimization_V1_Vehicle_LoadLimit_Interval__getMax__).\n\n### setMin\n\nA minimum acceptable load. Must be ≥ 0.\n\nIf they're both specified,\n[min](/php/docs/reference/maps-routeoptimization/latest/V1.Vehicle.LoadLimit.Interval#_Google_Maps_RouteOptimization_V1_Vehicle_LoadLimit_Interval__getMin__)\nmust be ≤\n[max](/php/docs/reference/maps-routeoptimization/latest/V1.Vehicle.LoadLimit.Interval#_Google_Maps_RouteOptimization_V1_Vehicle_LoadLimit_Interval__getMax__).\n\n### getMax\n\nA maximum acceptable load. Must be ≥ 0. If unspecified, the maximum\nload is unrestricted by this message.\n\nIf they're both specified,\n[min](/php/docs/reference/maps-routeoptimization/latest/V1.Vehicle.LoadLimit.Interval#_Google_Maps_RouteOptimization_V1_Vehicle_LoadLimit_Interval__getMin__)\nmust be ≤\n[max](/php/docs/reference/maps-routeoptimization/latest/V1.Vehicle.LoadLimit.Interval#_Google_Maps_RouteOptimization_V1_Vehicle_LoadLimit_Interval__getMax__).\n\n### hasMax\n\n### clearMax\n\n### setMax\n\nA maximum acceptable load. Must be ≥ 0. If unspecified, the maximum\nload is unrestricted by this message.\n\nIf they're both specified,\n[min](/php/docs/reference/maps-routeoptimization/latest/V1.Vehicle.LoadLimit.Interval#_Google_Maps_RouteOptimization_V1_Vehicle_LoadLimit_Interval__getMin__)\nmust be ≤\n[max](/php/docs/reference/maps-routeoptimization/latest/V1.Vehicle.LoadLimit.Interval#_Google_Maps_RouteOptimization_V1_Vehicle_LoadLimit_Interval__getMax__)."]]