Class: Google::Maps::FleetEngine::V1::TripWaypoint

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/maps/fleetengine/v1/fleetengine.rb

Overview

Describes a stopping point on a vehicle's route or an ending point on a vehicle's trip.

Instance Attribute Summary collapse

Instance Attribute Details

#distance_meters::Google::Protobuf::Int32Value

Returns The path distance from the previous waypoint to the current waypoint. Undefined for the first waypoint in a list.

Returns:

  • (::Google::Protobuf::Int32Value)

    The path distance from the previous waypoint to the current waypoint. Undefined for the first waypoint in a list.



107
108
109
110
# File 'proto_docs/google/maps/fleetengine/v1/fleetengine.rb', line 107

class TripWaypoint
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#duration::Google::Protobuf::Duration

Returns The travel time from previous waypoint to this point. Undefined for the first waypoint in a list.

Returns:



107
108
109
110
# File 'proto_docs/google/maps/fleetengine/v1/fleetengine.rb', line 107

class TripWaypoint
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#encoded_path_to_waypoint::String

Returns The encoded path from the previous waypoint to the current waypoint.

Note: This field is intended only for use by the Driver SDK and Consumer SDK. Decoding is not yet supported.

Returns:

  • (::String)

    The encoded path from the previous waypoint to the current waypoint.

    Note: This field is intended only for use by the Driver SDK and Consumer SDK. Decoding is not yet supported.



107
108
109
110
# File 'proto_docs/google/maps/fleetengine/v1/fleetengine.rb', line 107

class TripWaypoint
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#eta::Google::Protobuf::Timestamp

Returns The estimated time of arrival at this waypoint. Undefined for the first waypoint in a list.

Returns:



107
108
109
110
# File 'proto_docs/google/maps/fleetengine/v1/fleetengine.rb', line 107

class TripWaypoint
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#location::Google::Maps::FleetEngine::V1::TerminalLocation

Returns The location of this waypoint.

Returns:



107
108
109
110
# File 'proto_docs/google/maps/fleetengine/v1/fleetengine.rb', line 107

class TripWaypoint
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#path_to_waypoint::Array<::Google::Type::LatLng>

Returns 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.

Returns:

  • (::Array<::Google::Type::LatLng>)

    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.



107
108
109
110
# File 'proto_docs/google/maps/fleetengine/v1/fleetengine.rb', line 107

class TripWaypoint
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#traffic_to_waypoint::Google::Maps::FleetEngine::V1::ConsumableTrafficPolyline

Returns The traffic conditions along the path to this waypoint. Note that traffic is only available for Google Map Platform Rides and Deliveries Solution customers.

Returns:



107
108
109
110
# File 'proto_docs/google/maps/fleetengine/v1/fleetengine.rb', line 107

class TripWaypoint
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#trip_id::String

Returns The trip associated with this waypoint.

Returns:

  • (::String)

    The trip associated with this waypoint.



107
108
109
110
# File 'proto_docs/google/maps/fleetengine/v1/fleetengine.rb', line 107

class TripWaypoint
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#waypoint_type::Google::Maps::FleetEngine::V1::WaypointType

Returns The role this waypoint plays in this trip, such as pickup or dropoff.

Returns:



107
108
109
110
# File 'proto_docs/google/maps/fleetengine/v1/fleetengine.rb', line 107

class TripWaypoint
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end