# frozen_string_literal: true
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/maps/fleetengine/v1/trips.proto

require 'google/protobuf'

require 'google/api/field_behavior_pb'
require 'google/api/resource_pb'
require 'google/maps/fleetengine/v1/fleetengine_pb'
require 'google/maps/fleetengine/v1/traffic_pb'
require 'google/protobuf/duration_pb'
require 'google/protobuf/timestamp_pb'
require 'google/protobuf/wrappers_pb'
require 'google/type/latlng_pb'


descriptor_data = "\n&google/maps/fleetengine/v1/trips.proto\x12\x13maps.fleetengine.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a,google/maps/fleetengine/v1/fleetengine.proto\x1a(google/maps/fleetengine/v1/traffic.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x18google/type/latlng.proto\"\xef\x10\n\x04Trip\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x12\n\nvehicle_id\x18\x02 \x01(\t\x12\x34\n\x0btrip_status\x18\x03 \x01(\x0e\x32\x1f.maps.fleetengine.v1.TripStatus\x12\x30\n\ttrip_type\x18\x04 \x01(\x0e\x32\x1d.maps.fleetengine.v1.TripType\x12;\n\x0cpickup_point\x18\x05 \x01(\x0b\x32%.maps.fleetengine.v1.TerminalLocation\x12\x43\n\x13\x61\x63tual_pickup_point\x18\x16 \x01(\x0b\x32!.maps.fleetengine.v1.StopLocationB\x03\xe0\x41\x04\x12K\n\x1b\x61\x63tual_pickup_arrival_point\x18  \x01(\x0b\x32!.maps.fleetengine.v1.StopLocationB\x03\xe0\x41\x04\x12\x34\n\x0bpickup_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12H\n\x19intermediate_destinations\x18\x0e \x03(\x0b\x32%.maps.fleetengine.v1.TerminalLocation\x12\x45\n!intermediate_destinations_version\x18\x19 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12&\n\x1eintermediate_destination_index\x18\x0f \x01(\x05\x12^\n.actual_intermediate_destination_arrival_points\x18! \x03(\x0b\x32!.maps.fleetengine.v1.StopLocationB\x03\xe0\x41\x04\x12P\n actual_intermediate_destinations\x18\" \x03(\x0b\x32!.maps.fleetengine.v1.StopLocationB\x03\xe0\x41\x04\x12<\n\rdropoff_point\x18\x07 \x01(\x0b\x32%.maps.fleetengine.v1.TerminalLocation\x12\x44\n\x14\x61\x63tual_dropoff_point\x18\x17 \x01(\x0b\x32!.maps.fleetengine.v1.StopLocationB\x03\xe0\x41\x04\x12\x35\n\x0c\x64ropoff_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x43\n\x13remaining_waypoints\x18\x10 \x03(\x0b\x32!.maps.fleetengine.v1.TripWaypointB\x03\xe0\x41\x03\x12<\n\x11vehicle_waypoints\x18\x14 \x03(\x0b\x32!.maps.fleetengine.v1.TripWaypoint\x12\'\n\x05route\x18\t \x03(\x0b\x32\x13.google.type.LatLngB\x03\xe0\x41\x03\x12\"\n\x15\x63urrent_route_segment\x18\x15 \x01(\tB\x03\xe0\x41\x03\x12\x46\n\x1d\x63urrent_route_segment_version\x18\x11 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12Z\n\x1d\x63urrent_route_segment_traffic\x18\x1c \x01(\x0b\x32..maps.fleetengine.v1.ConsumableTrafficPolylineB\x03\xe0\x41\x03\x12N\n%current_route_segment_traffic_version\x18\x1e \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12O\n\x1f\x63urrent_route_segment_end_point\x18\x18 \x01(\x0b\x32!.maps.fleetengine.v1.TripWaypointB\x03\xe0\x41\x03\x12\x43\n\x19remaining_distance_meters\x18\x0c \x01(\x0b\x32\x1b.google.protobuf.Int32ValueB\x03\xe0\x41\x03\x12>\n\x15\x65ta_to_first_waypoint\x18\r \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12H\n remaining_time_to_first_waypoint\x18\x1b \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x03\x12\x44\n\x1bremaining_waypoints_version\x18\x13 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12J\n!remaining_waypoints_route_version\x18\x1d \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12!\n\x14number_of_passengers\x18\n \x01(\x05\x42\x03\xe0\x41\x05\x12@\n\rlast_location\x18\x0b \x01(\x0b\x32$.maps.fleetengine.v1.VehicleLocationB\x03\xe0\x41\x03\x12$\n\x17last_location_snappable\x18\x1a \x01(\x08\x42\x03\xe0\x41\x03\x12+\n\x04view\x18\x1f \x01(\x0e\x32\x1d.maps.fleetengine.v1.TripView\x12\x36\n\nattributes\x18# \x03(\x0b\x32\".maps.fleetengine.v1.TripAttribute:G\xea\x41\x44\n\x1f\x66leetengine.googleapis.com/Trip\x12!providers/{provider}/trips/{trip}\"\x9c\x01\n\x0cStopLocation\x12\'\n\x05point\x18\x01 \x01(\x0b\x32\x13.google.type.LatLngB\x03\xe0\x41\x02\x12-\n\ttimestamp\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x34\n\tstop_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x05\x18\x01\xe0\x41\x04*\xe2\x01\n\nTripStatus\x12\x17\n\x13UNKNOWN_TRIP_STATUS\x10\x00\x12\x07\n\x03NEW\x10\x01\x12\x15\n\x11\x45NROUTE_TO_PICKUP\x10\x02\x12\x15\n\x11\x41RRIVED_AT_PICKUP\x10\x03\x12\'\n#ARRIVED_AT_INTERMEDIATE_DESTINATION\x10\x07\x12\'\n#ENROUTE_TO_INTERMEDIATE_DESTINATION\x10\x08\x12\x16\n\x12\x45NROUTE_TO_DROPOFF\x10\x04\x12\x0c\n\x08\x43OMPLETE\x10\x05\x12\x0c\n\x08\x43\x41NCELED\x10\x06*\x7f\n\x19\x42illingPlatformIdentifier\x12+\n\'BILLING_PLATFORM_IDENTIFIER_UNSPECIFIED\x10\x00\x12\n\n\x06SERVER\x10\x01\x12\x07\n\x03WEB\x10\x02\x12\x0b\n\x07\x41NDROID\x10\x03\x12\x07\n\x03IOS\x10\x04\x12\n\n\x06OTHERS\x10\x05*G\n\x08TripView\x12\x19\n\x15TRIP_VIEW_UNSPECIFIED\x10\x00\x12\x07\n\x03SDK\x10\x01\x12\x17\n\x13JOURNEY_SHARING_V1S\x10\x02\x42\xd1\x01\n\x1e\x63om.google.maps.fleetengine.v1B\x05TripsP\x01ZFcloud.google.com/go/maps/fleetengine/apiv1/fleetenginepb;fleetenginepb\xa2\x02\x03\x43\x46\x45\xaa\x02\x1aGoogle.Maps.FleetEngine.V1\xca\x02\x1aGoogle\\Maps\\FleetEngine\\V1\xea\x02\x1dGoogle::Maps::FleetEngine::V1b\x06proto3"

pool = Google::Protobuf::DescriptorPool.generated_pool

begin
  pool.add_serialized_file(descriptor_data)
rescue TypeError
  # Compatibility code: will be removed in the next major version.
  require 'google/protobuf/descriptor_pb'
  parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
  parsed.clear_dependency
  serialized = parsed.class.encode(parsed)
  file = pool.add_serialized_file(serialized)
  warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
  imports = [
    ["maps.fleetengine.v1.TerminalLocation", "google/maps/fleetengine/v1/fleetengine.proto"],
    ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
    ["google.type.LatLng", "google/type/latlng.proto"],
    ["maps.fleetengine.v1.ConsumableTrafficPolyline", "google/maps/fleetengine/v1/traffic.proto"],
    ["google.protobuf.Int32Value", "google/protobuf/wrappers.proto"],
    ["google.protobuf.Duration", "google/protobuf/duration.proto"],
  ]
  imports.each do |type_name, expected_filename|
    import_file = pool.lookup(type_name).file_descriptor
    if import_file.name != expected_filename
      warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
    end
  end
  warn "Each proto file must use a consistent fully-qualified name."
  warn "This will become an error in the next major version."
end

module Google
  module Maps
    module FleetEngine
      module V1
        Trip = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("maps.fleetengine.v1.Trip").msgclass
        StopLocation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("maps.fleetengine.v1.StopLocation").msgclass
        TripStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("maps.fleetengine.v1.TripStatus").enummodule
        BillingPlatformIdentifier = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("maps.fleetengine.v1.BillingPlatformIdentifier").enummodule
        TripView = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("maps.fleetengine.v1.TripView").enummodule
      end
    end
  end
end
