Google Maps FleetEngine V1 Client - Class StopLocation (0.1.2)

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

The actual location where a stop (pickup/dropoff) happened.

Generated from protobuf message maps.fleetengine.v1.StopLocation

Namespace

Google \ Maps \ FleetEngine \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ point Google\Type\LatLng

Required. Denotes the actual location.

↳ timestamp Google\Protobuf\Timestamp

Indicates when the stop happened.

↳ stop_time Google\Protobuf\Timestamp

Input only. Deprecated. Use the timestamp field.

getPoint

Required. Denotes the actual location.

Returns
Type Description
Google\Type\LatLng|null

hasPoint

clearPoint

setPoint

Required. Denotes the actual location.

Parameter
Name Description
var Google\Type\LatLng
Returns
Type Description
$this

getTimestamp

Indicates when the stop happened.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasTimestamp

clearTimestamp

setTimestamp

Indicates when the stop happened.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getStopTime

Input only. Deprecated. Use the timestamp field.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasStopTime

clearStopTime

setStopTime

Input only. Deprecated. Use the timestamp field.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this