# Google Maps FleetEngine V1 Client - Class Waypoint (0.5.3)

0.5.3 (latest) 0.5.2 0.4.1 0.3.1 0.2.0 0.1.6 Reference documentation and code samples for the Google Maps FleetEngine V1 Client class Waypoint.

Describes intermediate points along a route for a `VehicleMatch` in a
`SearchVehiclesResponse`. This concept is represented as a `TripWaypoint` in
all other endpoints.

Generated from protobuf message `maps.fleetengine.v1.Waypoint`

## Namespace

Google \\ Maps \\ FleetEngine \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ lat_lng` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.LatLng.html` The location of this waypoint. |
| `↳ eta` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` The estimated time that the vehicle will arrive at this waypoint. |

### getLatLng

The location of this waypoint.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.LatLng.html|null` |   |

### hasLatLng

### clearLatLng

### setLatLng

The location of this waypoint.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.LatLng.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getEta

The estimated time that the vehicle will arrive at this waypoint.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp|null` |   |

### hasEta

### clearEta

### setEta

The estimated time that the vehicle will arrive at this waypoint.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |