Google Maps Route Optimization V1 Client - Class Interval (0.2.0)

Reference documentation and code samples for the Google Maps Route Optimization V1 Client class Interval.

Interval of acceptable load amounts.

Generated from protobuf message google.maps.routeoptimization.v1.Vehicle.LoadLimit.Interval

Namespace

Google \ Maps \ RouteOptimization \ V1 \ Vehicle \ LoadLimit

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ min int|string

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.

getMin

A minimum acceptable load. Must be ≥ 0.

If they're both specified, min must be ≤ max.

Returns
Type Description
int|string

setMin

A minimum acceptable load. Must be ≥ 0.

If they're both specified, min must be ≤ max.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getMax

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.

Returns
Type Description
int|string

hasMax

clearMax

setMax

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.

Parameter
Name Description
var int|string
Returns
Type Description
$this