Google Maps FleetEngine Delivery V1 Client - Class VehicleStop (0.2.0)

Reference documentation and code samples for the Google Maps FleetEngine Delivery V1 Client class VehicleStop.

Describes a point where a Vehicle stops to perform one or more Task s.

Generated from protobuf message maps.fleetengine.delivery.v1.VehicleStop

Namespace

Google \ Maps \ FleetEngine \ Delivery \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ planned_location
LocationInfo

Required. The location of the stop. Note that the locations in the Task s might not exactly match this location, but will be within a short distance of it. This field won't be populated in the response of a GetTask call.

↳ tasks
array< VehicleStop\TaskInfo >

The list of Task s to be performed at this stop. This field won't be populated in the response of a GetTask call.

↳ state
int

The state of the VehicleStop . This field won't be populated in the response of a GetTask call.

getPlannedLocation

Required. The location of the stop. Note that the locations in the Task s might not exactly match this location, but will be within a short distance of it. This field won't be populated in the response of a GetTask call.

Returns
Type
Description
LocationInfo |null

hasPlannedLocation

clearPlannedLocation

setPlannedLocation

Required. The location of the stop. Note that the locations in the Task s might not exactly match this location, but will be within a short distance of it. This field won't be populated in the response of a GetTask call.

Parameter
Name
Description
Returns
Type
Description
$this

getTasks

The list of Task s to be performed at this stop. This field won't be populated in the response of a GetTask call.

Returns
Type
Description

setTasks

The list of Task s to be performed at this stop. This field won't be populated in the response of a GetTask call.

Parameter
Name
Description
var
Returns
Type
Description
$this

getState

The state of the VehicleStop . This field won't be populated in the response of a GetTask call.

Returns
Type
Description
int

setState

The state of the VehicleStop . This field won't be populated in the response of a GetTask call.

Parameter
Name
Description
var
int
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: