Google Maps FleetEngine V1 Client - Class TerminalLocation (0.1.2)

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

Describes the location of a waypoint.

Generated from protobuf message maps.fleetengine.v1.TerminalLocation

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 location of a trip waypoint.

↳ terminal_point_id Google\Maps\FleetEngine\V1\TerminalPointId

Deprecated: Specify the point field instead.

↳ access_point_id string

Deprecated: Specify the point field instead.

↳ trip_id string

Deprecated.

↳ terminal_location_type int

Deprecated: Vehicle.waypoint will have this data.

getPoint

Required. Denotes the location of a trip waypoint.

Returns
Type Description
Google\Type\LatLng|null

hasPoint

clearPoint

setPoint

Required. Denotes the location of a trip waypoint.

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

getTerminalPointId

Deprecated: Specify the point field instead.

Returns
Type Description
Google\Maps\FleetEngine\V1\TerminalPointId|null

hasTerminalPointId

clearTerminalPointId

setTerminalPointId

Deprecated: Specify the point field instead.

Parameter
Name Description
var Google\Maps\FleetEngine\V1\TerminalPointId
Returns
Type Description
$this

getAccessPointId

Deprecated: Specify the point field instead.

Returns
Type Description
string

setAccessPointId

Deprecated: Specify the point field instead.

Parameter
Name Description
var string
Returns
Type Description
$this

getTripId

Deprecated.

Returns
Type Description
string

setTripId

Deprecated.

Parameter
Name Description
var string
Returns
Type Description
$this

getTerminalLocationType

Deprecated: Vehicle.waypoint will have this data.

Returns
Type Description
int

setTerminalLocationType

Deprecated: Vehicle.waypoint will have this data.

Parameter
Name Description
var int
Returns
Type Description
$this