Class TripWaypoint
Describes a stopping point on a vehicle's route or an ending point on a vehicle's trip.
Implements
Namespace: Google.Maps.FleetEngine.V1
Assembly: Google.Maps.FleetEngine.V1.dll
Syntax
public sealed class TripWaypoint : IMessage<TripWaypoint>, IEquatable<TripWaypoint>, IDeepCloneable<TripWaypoint>, IBufferMessage, IMessage
Constructors
TripWaypoint()
Declaration
public TripWaypoint()
TripWaypoint(TripWaypoint)
Declaration
public TripWaypoint(TripWaypoint other)
Parameters
Type | Name | Description |
---|---|---|
TripWaypoint | other |
Properties
DistanceMeters
The path distance from the previous waypoint to the current waypoint. Undefined for the first waypoint in a list.
Declaration
public int? DistanceMeters { get; set; }
Property Value
Type | Description |
---|---|
int? |
Duration
The travel time from previous waypoint to this point. Undefined for the first waypoint in a list.
Declaration
public Duration Duration { get; set; }
Property Value
Type | Description |
---|---|
Duration |
EncodedPathToWaypoint
The encoded path from the previous waypoint to the current waypoint.
<p>Note: This field is intended only for use by the Driver SDK and Consumer SDK. Decoding is not yet supported.
Declaration
public string EncodedPathToWaypoint { get; set; }
Property Value
Type | Description |
---|---|
string |
Eta
The estimated time of arrival at this waypoint. Undefined for the first waypoint in a list.
Declaration
public Timestamp Eta { get; set; }
Property Value
Type | Description |
---|---|
Timestamp |
Location
The location of this waypoint.
Declaration
public TerminalLocation Location { get; set; }
Property Value
Type | Description |
---|---|
TerminalLocation |
PathToWaypoint
The path from the previous waypoint to the current waypoint. Undefined for the first waypoint in a list. This field is only populated when requested.
Declaration
public RepeatedField<LatLng> PathToWaypoint { get; }
Property Value
Type | Description |
---|---|
RepeatedField<LatLng> |
TrafficToWaypoint
The traffic conditions along the path to this waypoint. Note that traffic is only available for Google Map Platform Rides and Deliveries Solution customers.
Declaration
public ConsumableTrafficPolyline TrafficToWaypoint { get; set; }
Property Value
Type | Description |
---|---|
ConsumableTrafficPolyline |
TripId
The trip associated with this waypoint.
Declaration
public string TripId { get; set; }
Property Value
Type | Description |
---|---|
string |
WaypointType
The role this waypoint plays in this trip, such as pickup or dropoff.
Declaration
public WaypointType WaypointType { get; set; }
Property Value
Type | Description |
---|---|
WaypointType |