Reference documentation and code samples for the Google Maps Route Optimization V1 Client class IncompatibilityMode.
Modes defining how the appearance of incompatible shipments are restricted on the same route.
Protobuf type google.maps.routeoptimization.v1.ShipmentTypeIncompatibility.IncompatibilityMode
Namespace
Google \ Maps \ RouteOptimization \ V1 \ ShipmentTypeIncompatibilityMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
INCOMPATIBILITY_MODE_UNSPECIFIED
Value: 0Unspecified incompatibility mode. This value should never be used.
Generated from protobuf enum INCOMPATIBILITY_MODE_UNSPECIFIED = 0;
NOT_PERFORMED_BY_SAME_VEHICLE
Value: 1In this mode, two shipments with incompatible types can never share the same vehicle.
Generated from protobuf enum NOT_PERFORMED_BY_SAME_VEHICLE = 1;
NOT_IN_SAME_VEHICLE_SIMULTANEOUSLY
Value: 2In this mode, two shipments with incompatible types can never be on the same vehicle at the same time:
They can share the same vehicle only if one is delivered before the other is picked up.
When both shipments are pickups-only (no deliveries) or deliveries-only (no pickups), they can't share the same vehicle at all.
Generated from protobuf enum NOT_IN_SAME_VEHICLE_SIMULTANEOUSLY = 2;