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

require 'google/protobuf'

require 'google/api/annotations_pb'
require 'google/api/client_pb'
require 'google/api/field_behavior_pb'
require 'google/api/resource_pb'
require 'google/api/routing_pb'
require 'google/geo/type/viewport_pb'
require 'google/maps/fleetengine/delivery/v1/delivery_vehicles_pb'
require 'google/maps/fleetengine/delivery/v1/header_pb'
require 'google/maps/fleetengine/delivery/v1/task_tracking_info_pb'
require 'google/maps/fleetengine/delivery/v1/tasks_pb'
require 'google/protobuf/empty_pb'
require 'google/protobuf/field_mask_pb'


descriptor_data = "\n6google/maps/fleetengine/delivery/v1/delivery_api.proto\x12\x1cmaps.fleetengine.delivery.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x18google/api/routing.proto\x1a\x1egoogle/geo/type/viewport.proto\x1a;google/maps/fleetengine/delivery/v1/delivery_vehicles.proto\x1a\x30google/maps/fleetengine/delivery/v1/header.proto\x1a<google/maps/fleetengine/delivery/v1/task_tracking_info.proto\x1a/google/maps/fleetengine/delivery/v1/tasks.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\xed\x01\n\x1c\x43reateDeliveryVehicleRequest\x12H\n\x06header\x18\x01 \x01(\x0b\x32\x33.maps.fleetengine.delivery.v1.DeliveryRequestHeaderB\x03\xe0\x41\x01\x12\x13\n\x06parent\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12 \n\x13\x64\x65livery_vehicle_id\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12L\n\x10\x64\x65livery_vehicle\x18\x05 \x01(\x0b\x32-.maps.fleetengine.delivery.v1.DeliveryVehicleB\x03\xe0\x41\x02\"\xa7\x01\n\x19GetDeliveryVehicleRequest\x12H\n\x06header\x18\x01 \x01(\x0b\x32\x33.maps.fleetengine.delivery.v1.DeliveryRequestHeaderB\x03\xe0\x41\x01\x12@\n\x04name\x18\x03 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*fleetengine.googleapis.com/DeliveryVehicle\"\xaa\x01\n\x1c\x44\x65leteDeliveryVehicleRequest\x12H\n\x06header\x18\x01 \x01(\x0b\x32\x33.maps.fleetengine.delivery.v1.DeliveryRequestHeaderB\x03\xe0\x41\x01\x12@\n\x04name\x18\x02 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*fleetengine.googleapis.com/DeliveryVehicle\"\xa3\x02\n\x1bListDeliveryVehiclesRequest\x12H\n\x06header\x18\x01 \x01(\x0b\x32\x33.maps.fleetengine.delivery.v1.DeliveryRequestHeaderB\x03\xe0\x41\x01\x12\x42\n\x06parent\x18\x03 \x01(\tB2\xe0\x41\x02\xfa\x41,\x12*fleetengine.googleapis.com/DeliveryVehicle\x12\x16\n\tpage_size\x18\x04 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12\x30\n\x08viewport\x18\x07 \x01(\x0b\x32\x19.google.geo.type.ViewportB\x03\xe0\x41\x01\"\x95\x01\n\x1cListDeliveryVehiclesResponse\x12H\n\x11\x64\x65livery_vehicles\x18\x01 \x03(\x0b\x32-.maps.fleetengine.delivery.v1.DeliveryVehicle\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x12\n\ntotal_size\x18\x03 \x01(\x03\"\xec\x01\n\x1cUpdateDeliveryVehicleRequest\x12H\n\x06header\x18\x01 \x01(\x0b\x32\x33.maps.fleetengine.delivery.v1.DeliveryRequestHeaderB\x03\xe0\x41\x01\x12L\n\x10\x64\x65livery_vehicle\x18\x03 \x01(\x0b\x32-.maps.fleetengine.delivery.v1.DeliveryVehicleB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"\xe4\x01\n\x17\x42\x61tchCreateTasksRequest\x12H\n\x06header\x18\x01 \x01(\x0b\x32\x33.maps.fleetengine.delivery.v1.DeliveryRequestHeaderB\x03\xe0\x41\x01\x12\x37\n\x06parent\x18\x03 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1f\x66leetengine.googleapis.com/Task\x12\x46\n\x08requests\x18\x04 \x03(\x0b\x32/.maps.fleetengine.delivery.v1.CreateTaskRequestB\x03\xe0\x41\x02\"M\n\x18\x42\x61tchCreateTasksResponse\x12\x31\n\x05tasks\x18\x01 \x03(\x0b\x32\".maps.fleetengine.delivery.v1.Task\"\xbf\x01\n\x11\x43reateTaskRequest\x12H\n\x06header\x18\x01 \x01(\x0b\x32\x33.maps.fleetengine.delivery.v1.DeliveryRequestHeaderB\x03\xe0\x41\x01\x12\x13\n\x06parent\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x14\n\x07task_id\x18\x05 \x01(\tB\x03\xe0\x41\x02\x12\x35\n\x04task\x18\x04 \x01(\x0b\x32\".maps.fleetengine.delivery.v1.TaskB\x03\xe0\x41\x02\"\x91\x01\n\x0eGetTaskRequest\x12H\n\x06header\x18\x01 \x01(\x0b\x32\x33.maps.fleetengine.delivery.v1.DeliveryRequestHeaderB\x03\xe0\x41\x01\x12\x35\n\x04name\x18\x03 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x66leetengine.googleapis.com/Task\"\x94\x01\n\x11\x44\x65leteTaskRequest\x12H\n\x06header\x18\x01 \x01(\x0b\x32\x33.maps.fleetengine.delivery.v1.DeliveryRequestHeaderB\x03\xe0\x41\x01\x12\x35\n\x04name\x18\x02 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x66leetengine.googleapis.com/Task\"\xca\x01\n\x11UpdateTaskRequest\x12H\n\x06header\x18\x01 \x01(\x0b\x32\x33.maps.fleetengine.delivery.v1.DeliveryRequestHeaderB\x03\xe0\x41\x01\x12\x35\n\x04task\x18\x03 \x01(\x0b\x32\".maps.fleetengine.delivery.v1.TaskB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"\xdb\x01\n\x10ListTasksRequest\x12H\n\x06header\x18\x01 \x01(\x0b\x32\x33.maps.fleetengine.delivery.v1.DeliveryRequestHeaderB\x03\xe0\x41\x01\x12\x37\n\x06parent\x18\x03 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1f\x66leetengine.googleapis.com/Task\x12\x16\n\tpage_size\x18\x04 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x06 \x01(\tB\x03\xe0\x41\x01\"s\n\x11ListTasksResponse\x12\x31\n\x05tasks\x18\x01 \x03(\x0b\x32\".maps.fleetengine.delivery.v1.Task\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x12\n\ntotal_size\x18\x03 \x01(\x03\"\xa9\x01\n\x1aGetTaskTrackingInfoRequest\x12H\n\x06header\x18\x01 \x01(\x0b\x32\x33.maps.fleetengine.delivery.v1.DeliveryRequestHeaderB\x03\xe0\x41\x01\x12\x41\n\x04name\x18\x03 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+fleetengine.googleapis.com/TaskTrackingInfo2\x8b\x16\n\x0f\x44\x65liveryService\x12\xa1\x02\n\x15\x43reateDeliveryVehicle\x12:.maps.fleetengine.delivery.v1.CreateDeliveryVehicleRequest\x1a-.maps.fleetengine.delivery.v1.DeliveryVehicle\"\x9c\x01\xda\x41+parent,delivery_vehicle,delivery_vehicle_id\x82\xd3\xe4\x93\x02=\")/v1/{parent=providers/*}/deliveryVehicles:\x10\x64\x65livery_vehicle\x8a\xd3\xe4\x93\x02%\x12#\n\x06parent\x12\x19{provider_id=providers/*}\x12\xdf\x01\n\x12GetDeliveryVehicle\x12\x37.maps.fleetengine.delivery.v1.GetDeliveryVehicleRequest\x1a-.maps.fleetengine.delivery.v1.DeliveryVehicle\"a\xda\x41\x04name\x82\xd3\xe4\x93\x02+\x12)/v1/{name=providers/*/deliveryVehicles/*}\x8a\xd3\xe4\x93\x02#\x12!\n\x04name\x12\x19{provider_id=providers/*}\x12\xce\x01\n\x15\x44\x65leteDeliveryVehicle\x12:.maps.fleetengine.delivery.v1.DeleteDeliveryVehicleRequest\x1a\x16.google.protobuf.Empty\"a\xda\x41\x04name\x82\xd3\xe4\x93\x02+*)/v1/{name=providers/*/deliveryVehicles/*}\x8a\xd3\xe4\x93\x02#\x12!\n\x04name\x12\x19{provider_id=providers/*}\x12\xb2\x02\n\x15UpdateDeliveryVehicle\x12:.maps.fleetengine.delivery.v1.UpdateDeliveryVehicleRequest\x1a-.maps.fleetengine.delivery.v1.DeliveryVehicle\"\xad\x01\xda\x41\x1c\x64\x65livery_vehicle,update_mask\x82\xd3\xe4\x93\x02N2:/v1/{delivery_vehicle.name=providers/*/deliveryVehicles/*}:\x10\x64\x65livery_vehicle\x8a\xd3\xe4\x93\x02\x34\x12\x32\n\x15\x64\x65livery_vehicle.name\x12\x19{provider_id=providers/*}\x12\xe3\x01\n\x10\x42\x61tchCreateTasks\x12\x35.maps.fleetengine.delivery.v1.BatchCreateTasksRequest\x1a\x36.maps.fleetengine.delivery.v1.BatchCreateTasksResponse\"`\x82\xd3\xe4\x93\x02/\"*/v1/{parent=providers/*}/tasks:batchCreate:\x01*\x8a\xd3\xe4\x93\x02%\x12#\n\x06parent\x12\x19{provider_id=providers/*}\x12\xd0\x01\n\nCreateTask\x12/.maps.fleetengine.delivery.v1.CreateTaskRequest\x1a\".maps.fleetengine.delivery.v1.Task\"m\xda\x41\x13parent,task,task_id\x82\xd3\xe4\x93\x02&\"\x1e/v1/{parent=providers/*}/tasks:\x04task\x8a\xd3\xe4\x93\x02%\x12#\n\x06parent\x12\x19{provider_id=providers/*}\x12\xb3\x01\n\x07GetTask\x12,.maps.fleetengine.delivery.v1.GetTaskRequest\x1a\".maps.fleetengine.delivery.v1.Task\"V\xda\x41\x04name\x82\xd3\xe4\x93\x02 \x12\x1e/v1/{name=providers/*/tasks/*}\x8a\xd3\xe4\x93\x02#\x12!\n\x04name\x12\x19{provider_id=providers/*}\x12\xad\x01\n\nDeleteTask\x12/.maps.fleetengine.delivery.v1.DeleteTaskRequest\x1a\x16.google.protobuf.Empty\"V\xda\x41\x04name\x82\xd3\xe4\x93\x02 *\x1e/v1/{name=providers/*/tasks/*}\x8a\xd3\xe4\x93\x02#\x12!\n\x04name\x12\x19{provider_id=providers/*}\x12\xd5\x01\n\nUpdateTask\x12/.maps.fleetengine.delivery.v1.UpdateTaskRequest\x1a\".maps.fleetengine.delivery.v1.Task\"r\xda\x41\x10task,update_mask\x82\xd3\xe4\x93\x02+2#/v1/{task.name=providers/*/tasks/*}:\x04task\x8a\xd3\xe4\x93\x02(\x12&\n\ttask.name\x12\x19{provider_id=providers/*}\x12\xc8\x01\n\tListTasks\x12..maps.fleetengine.delivery.v1.ListTasksRequest\x1a/.maps.fleetengine.delivery.v1.ListTasksResponse\"Z\xda\x41\x06parent\x82\xd3\xe4\x93\x02 \x12\x1e/v1/{parent=providers/*}/tasks\x8a\xd3\xe4\x93\x02%\x12#\n\x06parent\x12\x19{provider_id=providers/*}\x12\xe2\x01\n\x13GetTaskTrackingInfo\x12\x38.maps.fleetengine.delivery.v1.GetTaskTrackingInfoRequest\x1a..maps.fleetengine.delivery.v1.TaskTrackingInfo\"a\xda\x41\x04name\x82\xd3\xe4\x93\x02+\x12)/v1/{name=providers/*/taskTrackingInfo/*}\x8a\xd3\xe4\x93\x02#\x12!\n\x04name\x12\x19{provider_id=providers/*}\x12\xf4\x01\n\x14ListDeliveryVehicles\x12\x39.maps.fleetengine.delivery.v1.ListDeliveryVehiclesRequest\x1a:.maps.fleetengine.delivery.v1.ListDeliveryVehiclesResponse\"e\xda\x41\x06parent\x82\xd3\xe4\x93\x02+\x12)/v1/{parent=providers/*}/deliveryVehicles\x8a\xd3\xe4\x93\x02%\x12#\n\x06parent\x12\x19{provider_id=providers/*}\x1aN\xca\x41\x1a\x66leetengine.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xbe\x02\n\'com.google.maps.fleetengine.delivery.v1B\x0b\x44\x65liveryApiP\x01ZIcloud.google.com/go/maps/fleetengine/delivery/apiv1/deliverypb;deliverypb\xa2\x02\x04\x43\x46\x45\x44\xaa\x02#Google.Maps.FleetEngine.Delivery.V1\xca\x02#Google\\Maps\\FleetEngine\\Delivery\\V1\xea\x02\'Google::Maps::FleetEngine::Delivery::V1\xea\x41;\n#fleetengine.googleapis.com/Provider\x12\x14providers/{provider}b\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.delivery.v1.DeliveryRequestHeader", "google/maps/fleetengine/delivery/v1/header.proto"],
    ["maps.fleetengine.delivery.v1.DeliveryVehicle", "google/maps/fleetengine/delivery/v1/delivery_vehicles.proto"],
    ["google.geo.type.Viewport", "google/geo/type/viewport.proto"],
    ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
    ["maps.fleetengine.delivery.v1.Task", "google/maps/fleetengine/delivery/v1/tasks.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 Delivery
        module V1
          CreateDeliveryVehicleRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("maps.fleetengine.delivery.v1.CreateDeliveryVehicleRequest").msgclass
          GetDeliveryVehicleRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("maps.fleetengine.delivery.v1.GetDeliveryVehicleRequest").msgclass
          DeleteDeliveryVehicleRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("maps.fleetengine.delivery.v1.DeleteDeliveryVehicleRequest").msgclass
          ListDeliveryVehiclesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("maps.fleetengine.delivery.v1.ListDeliveryVehiclesRequest").msgclass
          ListDeliveryVehiclesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("maps.fleetengine.delivery.v1.ListDeliveryVehiclesResponse").msgclass
          UpdateDeliveryVehicleRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("maps.fleetengine.delivery.v1.UpdateDeliveryVehicleRequest").msgclass
          BatchCreateTasksRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("maps.fleetengine.delivery.v1.BatchCreateTasksRequest").msgclass
          BatchCreateTasksResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("maps.fleetengine.delivery.v1.BatchCreateTasksResponse").msgclass
          CreateTaskRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("maps.fleetengine.delivery.v1.CreateTaskRequest").msgclass
          GetTaskRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("maps.fleetengine.delivery.v1.GetTaskRequest").msgclass
          DeleteTaskRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("maps.fleetengine.delivery.v1.DeleteTaskRequest").msgclass
          UpdateTaskRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("maps.fleetengine.delivery.v1.UpdateTaskRequest").msgclass
          ListTasksRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("maps.fleetengine.delivery.v1.ListTasksRequest").msgclass
          ListTasksResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("maps.fleetengine.delivery.v1.ListTasksResponse").msgclass
          GetTaskTrackingInfoRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("maps.fleetengine.delivery.v1.GetTaskTrackingInfoRequest").msgclass
        end
      end
    end
  end
end
