...

Source file src/google.golang.org/genproto/googleapis/maps/fleetengine/delivery/v1/delivery_vehicles.pb.go

Documentation: google.golang.org/genproto/googleapis/maps/fleetengine/delivery/v1

     1  // Copyright 2023 Google LLC
     2  //
     3  // Licensed under the Apache License, Version 2.0 (the "License");
     4  // you may not use this file except in compliance with the License.
     5  // You may obtain a copy of the License at
     6  //
     7  //     http://www.apache.org/licenses/LICENSE-2.0
     8  //
     9  // Unless required by applicable law or agreed to in writing, software
    10  // distributed under the License is distributed on an "AS IS" BASIS,
    11  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12  // See the License for the specific language governing permissions and
    13  // limitations under the License.
    14  
    15  // Code generated by protoc-gen-go. DO NOT EDIT.
    16  // versions:
    17  // 	protoc-gen-go v1.26.0
    18  // 	protoc        v3.21.9
    19  // source: google/maps/fleetengine/delivery/v1/delivery_vehicles.proto
    20  
    21  package delivery
    22  
    23  import (
    24  	reflect "reflect"
    25  	sync "sync"
    26  
    27  	_ "google.golang.org/genproto/googleapis/api/annotations"
    28  	latlng "google.golang.org/genproto/googleapis/type/latlng"
    29  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    30  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    31  	durationpb "google.golang.org/protobuf/types/known/durationpb"
    32  	wrapperspb "google.golang.org/protobuf/types/known/wrapperspb"
    33  )
    34  
    35  const (
    36  	// Verify that this generated code is sufficiently up-to-date.
    37  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    38  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    39  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    40  )
    41  
    42  // The current state of a `VehicleStop`.
    43  type VehicleStop_State int32
    44  
    45  const (
    46  	// Unknown.
    47  	VehicleStop_STATE_UNSPECIFIED VehicleStop_State = 0
    48  	// Created, but not actively routing.
    49  	VehicleStop_NEW VehicleStop_State = 1
    50  	// Assigned and actively routing.
    51  	VehicleStop_ENROUTE VehicleStop_State = 2
    52  	// Arrived at stop. Assumes that when the Vehicle is routing to the next
    53  	// stop, that all previous stops have been completed.
    54  	VehicleStop_ARRIVED VehicleStop_State = 3
    55  )
    56  
    57  // Enum value maps for VehicleStop_State.
    58  var (
    59  	VehicleStop_State_name = map[int32]string{
    60  		0: "STATE_UNSPECIFIED",
    61  		1: "NEW",
    62  		2: "ENROUTE",
    63  		3: "ARRIVED",
    64  	}
    65  	VehicleStop_State_value = map[string]int32{
    66  		"STATE_UNSPECIFIED": 0,
    67  		"NEW":               1,
    68  		"ENROUTE":           2,
    69  		"ARRIVED":           3,
    70  	}
    71  )
    72  
    73  func (x VehicleStop_State) Enum() *VehicleStop_State {
    74  	p := new(VehicleStop_State)
    75  	*p = x
    76  	return p
    77  }
    78  
    79  func (x VehicleStop_State) String() string {
    80  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
    81  }
    82  
    83  func (VehicleStop_State) Descriptor() protoreflect.EnumDescriptor {
    84  	return file_google_maps_fleetengine_delivery_v1_delivery_vehicles_proto_enumTypes[0].Descriptor()
    85  }
    86  
    87  func (VehicleStop_State) Type() protoreflect.EnumType {
    88  	return &file_google_maps_fleetengine_delivery_v1_delivery_vehicles_proto_enumTypes[0]
    89  }
    90  
    91  func (x VehicleStop_State) Number() protoreflect.EnumNumber {
    92  	return protoreflect.EnumNumber(x)
    93  }
    94  
    95  // Deprecated: Use VehicleStop_State.Descriptor instead.
    96  func (VehicleStop_State) EnumDescriptor() ([]byte, []int) {
    97  	return file_google_maps_fleetengine_delivery_v1_delivery_vehicles_proto_rawDescGZIP(), []int{3, 0}
    98  }
    99  
   100  // The `DeliveryVehicle` message. A delivery vehicle transports shipments from a
   101  // depot to a delivery location, and from a pickup location to the depot. In
   102  // some cases, delivery vehicles also transport shipments directly from the
   103  // pickup location to the delivery location.
   104  //
   105  // Note: gRPC and REST APIs use different field naming conventions. For example,
   106  // the `DeliveryVehicle.current_route_segment` field in the gRPC API and the
   107  // `DeliveryVehicle.currentRouteSegment` field in the REST API refer to the same
   108  // field.
   109  type DeliveryVehicle struct {
   110  	state         protoimpl.MessageState
   111  	sizeCache     protoimpl.SizeCache
   112  	unknownFields protoimpl.UnknownFields
   113  
   114  	// The unique name of this Delivery Vehicle.
   115  	// The format is `providers/{provider}/deliveryVehicles/{vehicle}`.
   116  	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
   117  	// The last reported location of the Delivery Vehicle.
   118  	LastLocation *DeliveryVehicleLocation `protobuf:"bytes,2,opt,name=last_location,json=lastLocation,proto3" json:"last_location,omitempty"`
   119  	// The Delivery Vehicle's navigation status.
   120  	NavigationStatus DeliveryVehicleNavigationStatus `protobuf:"varint,3,opt,name=navigation_status,json=navigationStatus,proto3,enum=maps.fleetengine.delivery.v1.DeliveryVehicleNavigationStatus" json:"navigation_status,omitempty"`
   121  	// The encoded polyline specifying the route that the navigation recommends
   122  	// taking to the next waypoint. Your driver app updates this when a
   123  	// stop is reached or passed, and when the navigation reroutes. These LatLngs
   124  	// are returned in
   125  	// `Task.journey_sharing_info.remaining_vehicle_journey_segments[0].path`
   126  	// (gRPC) or `Task.journeySharingInfo.remainingVehicleJourneySegments[0].path`
   127  	// (REST) for all active Tasks assigned to the Vehicle.
   128  	//
   129  	// There are a few cases where this field might not be used to populate
   130  	// `Task.journey_sharing_info.remaining_vehicle_journey_segments[0].path`
   131  	// (gRPC) or `Task.journeySharingInfo.remainingVehicleJourneySegments[0].path`
   132  	// (REST):
   133  	//
   134  	// * The endpoint of the `current_route_segment` does not match
   135  	// `DeliveryVehicle.remaining_vehicle_journey_segments[0].stop` (gRPC) or
   136  	// `DeliveryVehicle.remainingVehicleJourneySegments[0].stop` (REST).
   137  	//
   138  	// * The driver app has not updated its location recently, so the last
   139  	// updated value for this field might be stale.
   140  	//
   141  	// * The driver app has recently updated its location, but the
   142  	// `current_route_segment` is stale, and points to a previous vehicle stop.
   143  	//
   144  	// In these cases, Fleet Engine populates this field with a route from the
   145  	// most recently passed VehicleStop to the upcoming VehicleStop to ensure that
   146  	// the consumer of this field has the best available information on the
   147  	// current path of the Delivery Vehicle.
   148  	CurrentRouteSegment []byte `protobuf:"bytes,4,opt,name=current_route_segment,json=currentRouteSegment,proto3" json:"current_route_segment,omitempty"`
   149  	// The location where the `current_route_segment` ends. This is not currently
   150  	// populated by the driver app, but you can supply it on
   151  	// `UpdateDeliveryVehicle` calls. It is either the LatLng from the upcoming
   152  	// vehicle stop, or the last LatLng of the `current_route_segment`. Fleet
   153  	// Engine will then do its best to interpolate to an actual `VehicleStop`.
   154  	//
   155  	// This field is ignored in `UpdateDeliveryVehicle` calls if the
   156  	// `current_route_segment` field is empty.
   157  	CurrentRouteSegmentEndPoint *latlng.LatLng `protobuf:"bytes,5,opt,name=current_route_segment_end_point,json=currentRouteSegmentEndPoint,proto3" json:"current_route_segment_end_point,omitempty"`
   158  	// The remaining driving distance for the `current_route_segment`.
   159  	// This value is usually updated by the driver app because it is considered to
   160  	// have more accurate information about the current route than Fleet Engine.
   161  	// However, it might be populated by Fleet Engine. For more information, see
   162  	// [DeliveryVehicle.current_route_segment][maps.fleetengine.delivery.v1.DeliveryVehicle.current_route_segment].
   163  	// This field is returned in
   164  	// `Task.remaining_vehicle_journey_segments[0].driving_distance_meters` (gRPC)
   165  	// or `Task.remainingVehicleJourneySegments[0].drivingDistanceMeters` (REST)
   166  	// for all active Tasks assigned to the Delivery Vehicle.
   167  	//
   168  	// This field is ignored in `UpdateDeliveryVehicle` calls if the
   169  	// `current_route_segment` field is empty.
   170  	RemainingDistanceMeters *wrapperspb.Int32Value `protobuf:"bytes,6,opt,name=remaining_distance_meters,json=remainingDistanceMeters,proto3" json:"remaining_distance_meters,omitempty"`
   171  	// The remaining driving time for the `current_route_segment`.
   172  	// This value is usually updated by the driver app because it is considered to
   173  	// have more accurate information about the current route than Fleet Engine.
   174  	// However, it might be populated by Fleet Engine. For more information, see
   175  	// [DeliveryVehicle.current_route_segment][maps.fleetengine.delivery.v1.DeliveryVehicle.current_route_segment].
   176  	// This field is returned in
   177  	// `Task.remaining_vehicle_journey_segments[0].driving_duration` (gRPC) or
   178  	// `Task.remainingVehicleJourneySegments[0].drivingDuration` (REST) for all
   179  	// active tasks assigned to the Delivery Vehicle.
   180  	//
   181  	// This field is ignored in `UpdateDeliveryVehicle` calls if the
   182  	// `current_route_segment` field is empty.
   183  	RemainingDuration *durationpb.Duration `protobuf:"bytes,7,opt,name=remaining_duration,json=remainingDuration,proto3" json:"remaining_duration,omitempty"`
   184  	// The journey segments assigned to this Delivery Vehicle, starting from the
   185  	// Vehicle's most recently reported location. This field won't be populated
   186  	// in the response of `ListDeliveryVehicles`.
   187  	RemainingVehicleJourneySegments []*VehicleJourneySegment `protobuf:"bytes,8,rep,name=remaining_vehicle_journey_segments,json=remainingVehicleJourneySegments,proto3" json:"remaining_vehicle_journey_segments,omitempty"`
   188  	// A list of custom Delivery Vehicle attributes. A Delivery Vehicle can have
   189  	// at most 50 attributes, and each attribute must have a unique key.
   190  	Attributes []*DeliveryVehicleAttribute `protobuf:"bytes,9,rep,name=attributes,proto3" json:"attributes,omitempty"`
   191  }
   192  
   193  func (x *DeliveryVehicle) Reset() {
   194  	*x = DeliveryVehicle{}
   195  	if protoimpl.UnsafeEnabled {
   196  		mi := &file_google_maps_fleetengine_delivery_v1_delivery_vehicles_proto_msgTypes[0]
   197  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   198  		ms.StoreMessageInfo(mi)
   199  	}
   200  }
   201  
   202  func (x *DeliveryVehicle) String() string {
   203  	return protoimpl.X.MessageStringOf(x)
   204  }
   205  
   206  func (*DeliveryVehicle) ProtoMessage() {}
   207  
   208  func (x *DeliveryVehicle) ProtoReflect() protoreflect.Message {
   209  	mi := &file_google_maps_fleetengine_delivery_v1_delivery_vehicles_proto_msgTypes[0]
   210  	if protoimpl.UnsafeEnabled && x != nil {
   211  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   212  		if ms.LoadMessageInfo() == nil {
   213  			ms.StoreMessageInfo(mi)
   214  		}
   215  		return ms
   216  	}
   217  	return mi.MessageOf(x)
   218  }
   219  
   220  // Deprecated: Use DeliveryVehicle.ProtoReflect.Descriptor instead.
   221  func (*DeliveryVehicle) Descriptor() ([]byte, []int) {
   222  	return file_google_maps_fleetengine_delivery_v1_delivery_vehicles_proto_rawDescGZIP(), []int{0}
   223  }
   224  
   225  func (x *DeliveryVehicle) GetName() string {
   226  	if x != nil {
   227  		return x.Name
   228  	}
   229  	return ""
   230  }
   231  
   232  func (x *DeliveryVehicle) GetLastLocation() *DeliveryVehicleLocation {
   233  	if x != nil {
   234  		return x.LastLocation
   235  	}
   236  	return nil
   237  }
   238  
   239  func (x *DeliveryVehicle) GetNavigationStatus() DeliveryVehicleNavigationStatus {
   240  	if x != nil {
   241  		return x.NavigationStatus
   242  	}
   243  	return DeliveryVehicleNavigationStatus_UNKNOWN_NAVIGATION_STATUS
   244  }
   245  
   246  func (x *DeliveryVehicle) GetCurrentRouteSegment() []byte {
   247  	if x != nil {
   248  		return x.CurrentRouteSegment
   249  	}
   250  	return nil
   251  }
   252  
   253  func (x *DeliveryVehicle) GetCurrentRouteSegmentEndPoint() *latlng.LatLng {
   254  	if x != nil {
   255  		return x.CurrentRouteSegmentEndPoint
   256  	}
   257  	return nil
   258  }
   259  
   260  func (x *DeliveryVehicle) GetRemainingDistanceMeters() *wrapperspb.Int32Value {
   261  	if x != nil {
   262  		return x.RemainingDistanceMeters
   263  	}
   264  	return nil
   265  }
   266  
   267  func (x *DeliveryVehicle) GetRemainingDuration() *durationpb.Duration {
   268  	if x != nil {
   269  		return x.RemainingDuration
   270  	}
   271  	return nil
   272  }
   273  
   274  func (x *DeliveryVehicle) GetRemainingVehicleJourneySegments() []*VehicleJourneySegment {
   275  	if x != nil {
   276  		return x.RemainingVehicleJourneySegments
   277  	}
   278  	return nil
   279  }
   280  
   281  func (x *DeliveryVehicle) GetAttributes() []*DeliveryVehicleAttribute {
   282  	if x != nil {
   283  		return x.Attributes
   284  	}
   285  	return nil
   286  }
   287  
   288  // A location with any additional identifiers.
   289  type LocationInfo struct {
   290  	state         protoimpl.MessageState
   291  	sizeCache     protoimpl.SizeCache
   292  	unknownFields protoimpl.UnknownFields
   293  
   294  	// The location's coordinates.
   295  	Point *latlng.LatLng `protobuf:"bytes,1,opt,name=point,proto3" json:"point,omitempty"`
   296  }
   297  
   298  func (x *LocationInfo) Reset() {
   299  	*x = LocationInfo{}
   300  	if protoimpl.UnsafeEnabled {
   301  		mi := &file_google_maps_fleetengine_delivery_v1_delivery_vehicles_proto_msgTypes[1]
   302  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   303  		ms.StoreMessageInfo(mi)
   304  	}
   305  }
   306  
   307  func (x *LocationInfo) String() string {
   308  	return protoimpl.X.MessageStringOf(x)
   309  }
   310  
   311  func (*LocationInfo) ProtoMessage() {}
   312  
   313  func (x *LocationInfo) ProtoReflect() protoreflect.Message {
   314  	mi := &file_google_maps_fleetengine_delivery_v1_delivery_vehicles_proto_msgTypes[1]
   315  	if protoimpl.UnsafeEnabled && x != nil {
   316  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   317  		if ms.LoadMessageInfo() == nil {
   318  			ms.StoreMessageInfo(mi)
   319  		}
   320  		return ms
   321  	}
   322  	return mi.MessageOf(x)
   323  }
   324  
   325  // Deprecated: Use LocationInfo.ProtoReflect.Descriptor instead.
   326  func (*LocationInfo) Descriptor() ([]byte, []int) {
   327  	return file_google_maps_fleetengine_delivery_v1_delivery_vehicles_proto_rawDescGZIP(), []int{1}
   328  }
   329  
   330  func (x *LocationInfo) GetPoint() *latlng.LatLng {
   331  	if x != nil {
   332  		return x.Point
   333  	}
   334  	return nil
   335  }
   336  
   337  // Represents a Vehicle’s travel segment - from its previous stop to the
   338  // current stop. If it is the first active stop, then it is from the
   339  // Vehicle’s current location to this stop.
   340  type VehicleJourneySegment struct {
   341  	state         protoimpl.MessageState
   342  	sizeCache     protoimpl.SizeCache
   343  	unknownFields protoimpl.UnknownFields
   344  
   345  	// Specifies the stop location, along with the Tasks associated with
   346  	// the stop. Some fields of the VehicleStop might not be present if this
   347  	// journey segment is part of `JourneySharingInfo`.
   348  	Stop *VehicleStop `protobuf:"bytes,1,opt,name=stop,proto3" json:"stop,omitempty"`
   349  	// Output only. The travel distance from the previous stop to this stop.
   350  	// If the current stop is the first stop in the list of journey
   351  	// segments, then the starting point is the vehicle's location recorded
   352  	// at the time that this stop was added to the list. This field might not be
   353  	// present if this journey segment is part of `JourneySharingInfo`.
   354  	DrivingDistanceMeters *wrapperspb.Int32Value `protobuf:"bytes,2,opt,name=driving_distance_meters,json=drivingDistanceMeters,proto3" json:"driving_distance_meters,omitempty"`
   355  	// Output only. The travel time from the previous stop to this stop.
   356  	// If the current stop is the first stop in the list of journey
   357  	// segments, then the starting point is the Vehicle's location recorded
   358  	// at the time that this stop was added to the list.
   359  	//
   360  	// If this field is defined in the path
   361  	// `Task.remaining_vehicle_journey_segments[0].driving_duration` (gRPC) or
   362  	// `Task.remainingVehicleJourneySegments[0].drivingDuration` (REST),
   363  	// then it may be populated with the value from
   364  	// `DeliveryVehicle.remaining_duration` (gRPC) or
   365  	// `DeliveryVehicle.remainingDuration` (REST).
   366  	// This provides the remaining driving duration from the driver app's latest
   367  	// known location rather than the driving time from the previous stop.
   368  	DrivingDuration *durationpb.Duration `protobuf:"bytes,3,opt,name=driving_duration,json=drivingDuration,proto3" json:"driving_duration,omitempty"`
   369  	// Output only. The path from the previous stop to this stop. If the current
   370  	// stop is the first stop in the list of journey segments, then this is the
   371  	// path from the vehicle's current location to this stop at the time that the
   372  	// stop was added to the list. This field might not be present if this journey
   373  	// segment is part of `JourneySharingInfo`.
   374  	//
   375  	// If this field is defined in the path
   376  	// `Task.journey_sharing_info.remaining_vehicle_journey_segments[0].path`
   377  	// (gRPC) or `Task.journeySharingInfo.remainingVehicleJourneySegments[0].path`
   378  	// (REST), then it may be populated with the LatLngs decoded from
   379  	// `DeliveryVehicle.current_route_segment` (gRPC) or
   380  	// `DeliveryVehicle.currentRouteSegment` (REST). This provides the driving
   381  	// path from the driver app's latest known location rather than the path from
   382  	// the previous stop.
   383  	Path []*latlng.LatLng `protobuf:"bytes,5,rep,name=path,proto3" json:"path,omitempty"`
   384  }
   385  
   386  func (x *VehicleJourneySegment) Reset() {
   387  	*x = VehicleJourneySegment{}
   388  	if protoimpl.UnsafeEnabled {
   389  		mi := &file_google_maps_fleetengine_delivery_v1_delivery_vehicles_proto_msgTypes[2]
   390  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   391  		ms.StoreMessageInfo(mi)
   392  	}
   393  }
   394  
   395  func (x *VehicleJourneySegment) String() string {
   396  	return protoimpl.X.MessageStringOf(x)
   397  }
   398  
   399  func (*VehicleJourneySegment) ProtoMessage() {}
   400  
   401  func (x *VehicleJourneySegment) ProtoReflect() protoreflect.Message {
   402  	mi := &file_google_maps_fleetengine_delivery_v1_delivery_vehicles_proto_msgTypes[2]
   403  	if protoimpl.UnsafeEnabled && x != nil {
   404  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   405  		if ms.LoadMessageInfo() == nil {
   406  			ms.StoreMessageInfo(mi)
   407  		}
   408  		return ms
   409  	}
   410  	return mi.MessageOf(x)
   411  }
   412  
   413  // Deprecated: Use VehicleJourneySegment.ProtoReflect.Descriptor instead.
   414  func (*VehicleJourneySegment) Descriptor() ([]byte, []int) {
   415  	return file_google_maps_fleetengine_delivery_v1_delivery_vehicles_proto_rawDescGZIP(), []int{2}
   416  }
   417  
   418  func (x *VehicleJourneySegment) GetStop() *VehicleStop {
   419  	if x != nil {
   420  		return x.Stop
   421  	}
   422  	return nil
   423  }
   424  
   425  func (x *VehicleJourneySegment) GetDrivingDistanceMeters() *wrapperspb.Int32Value {
   426  	if x != nil {
   427  		return x.DrivingDistanceMeters
   428  	}
   429  	return nil
   430  }
   431  
   432  func (x *VehicleJourneySegment) GetDrivingDuration() *durationpb.Duration {
   433  	if x != nil {
   434  		return x.DrivingDuration
   435  	}
   436  	return nil
   437  }
   438  
   439  func (x *VehicleJourneySegment) GetPath() []*latlng.LatLng {
   440  	if x != nil {
   441  		return x.Path
   442  	}
   443  	return nil
   444  }
   445  
   446  // Describes a point where a Vehicle stops to perform one or more Tasks.
   447  type VehicleStop struct {
   448  	state         protoimpl.MessageState
   449  	sizeCache     protoimpl.SizeCache
   450  	unknownFields protoimpl.UnknownFields
   451  
   452  	// Required. The location of the stop. Note that the locations in the Tasks
   453  	// might not exactly match this location, but will be within a short distance
   454  	// of it. This field won't be populated in the response of either a `GetTask`,
   455  	// or a `SearchTasks` call.
   456  	PlannedLocation *LocationInfo `protobuf:"bytes,1,opt,name=planned_location,json=plannedLocation,proto3" json:"planned_location,omitempty"`
   457  	// The list of Tasks to be performed at this stop. This field won't be
   458  	// populated in the response of either a `GetTask`, or a `SearchTasks` call.
   459  	Tasks []*VehicleStop_TaskInfo `protobuf:"bytes,2,rep,name=tasks,proto3" json:"tasks,omitempty"`
   460  	// The state of the `VehicleStop`. This field won't be populated in the
   461  	// response of either a `GetTask`, or a `SearchTasks` call.
   462  	State VehicleStop_State `protobuf:"varint,3,opt,name=state,proto3,enum=maps.fleetengine.delivery.v1.VehicleStop_State" json:"state,omitempty"`
   463  }
   464  
   465  func (x *VehicleStop) Reset() {
   466  	*x = VehicleStop{}
   467  	if protoimpl.UnsafeEnabled {
   468  		mi := &file_google_maps_fleetengine_delivery_v1_delivery_vehicles_proto_msgTypes[3]
   469  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   470  		ms.StoreMessageInfo(mi)
   471  	}
   472  }
   473  
   474  func (x *VehicleStop) String() string {
   475  	return protoimpl.X.MessageStringOf(x)
   476  }
   477  
   478  func (*VehicleStop) ProtoMessage() {}
   479  
   480  func (x *VehicleStop) ProtoReflect() protoreflect.Message {
   481  	mi := &file_google_maps_fleetengine_delivery_v1_delivery_vehicles_proto_msgTypes[3]
   482  	if protoimpl.UnsafeEnabled && x != nil {
   483  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   484  		if ms.LoadMessageInfo() == nil {
   485  			ms.StoreMessageInfo(mi)
   486  		}
   487  		return ms
   488  	}
   489  	return mi.MessageOf(x)
   490  }
   491  
   492  // Deprecated: Use VehicleStop.ProtoReflect.Descriptor instead.
   493  func (*VehicleStop) Descriptor() ([]byte, []int) {
   494  	return file_google_maps_fleetengine_delivery_v1_delivery_vehicles_proto_rawDescGZIP(), []int{3}
   495  }
   496  
   497  func (x *VehicleStop) GetPlannedLocation() *LocationInfo {
   498  	if x != nil {
   499  		return x.PlannedLocation
   500  	}
   501  	return nil
   502  }
   503  
   504  func (x *VehicleStop) GetTasks() []*VehicleStop_TaskInfo {
   505  	if x != nil {
   506  		return x.Tasks
   507  	}
   508  	return nil
   509  }
   510  
   511  func (x *VehicleStop) GetState() VehicleStop_State {
   512  	if x != nil {
   513  		return x.State
   514  	}
   515  	return VehicleStop_STATE_UNSPECIFIED
   516  }
   517  
   518  // Additional information about the Task performed at this stop.
   519  type VehicleStop_TaskInfo struct {
   520  	state         protoimpl.MessageState
   521  	sizeCache     protoimpl.SizeCache
   522  	unknownFields protoimpl.UnknownFields
   523  
   524  	// The Task ID. This field won't be populated in the response of either a
   525  	// `GetTask`, or a `SearchTasks` call. Task IDs are subject to the following
   526  	// restrictions:
   527  	//
   528  	// * Must be a valid Unicode string.
   529  	// * Limited to a maximum length of 64 characters.
   530  	// * Normalized according to [Unicode Normalization Form C]
   531  	// (http://www.unicode.org/reports/tr15/).
   532  	// * May not contain any of the following ASCII characters: '/', ':', '?',
   533  	// ',', or '#'.
   534  	TaskId string `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
   535  	// Output only. The time required to perform the Task.
   536  	TaskDuration *durationpb.Duration `protobuf:"bytes,2,opt,name=task_duration,json=taskDuration,proto3" json:"task_duration,omitempty"`
   537  	// Output only. The time window during which the task should be completed.
   538  	// This is only set in the response to `GetDeliveryVehicle`.
   539  	TargetTimeWindow *TimeWindow `protobuf:"bytes,3,opt,name=target_time_window,json=targetTimeWindow,proto3" json:"target_time_window,omitempty"`
   540  }
   541  
   542  func (x *VehicleStop_TaskInfo) Reset() {
   543  	*x = VehicleStop_TaskInfo{}
   544  	if protoimpl.UnsafeEnabled {
   545  		mi := &file_google_maps_fleetengine_delivery_v1_delivery_vehicles_proto_msgTypes[4]
   546  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   547  		ms.StoreMessageInfo(mi)
   548  	}
   549  }
   550  
   551  func (x *VehicleStop_TaskInfo) String() string {
   552  	return protoimpl.X.MessageStringOf(x)
   553  }
   554  
   555  func (*VehicleStop_TaskInfo) ProtoMessage() {}
   556  
   557  func (x *VehicleStop_TaskInfo) ProtoReflect() protoreflect.Message {
   558  	mi := &file_google_maps_fleetengine_delivery_v1_delivery_vehicles_proto_msgTypes[4]
   559  	if protoimpl.UnsafeEnabled && x != nil {
   560  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   561  		if ms.LoadMessageInfo() == nil {
   562  			ms.StoreMessageInfo(mi)
   563  		}
   564  		return ms
   565  	}
   566  	return mi.MessageOf(x)
   567  }
   568  
   569  // Deprecated: Use VehicleStop_TaskInfo.ProtoReflect.Descriptor instead.
   570  func (*VehicleStop_TaskInfo) Descriptor() ([]byte, []int) {
   571  	return file_google_maps_fleetengine_delivery_v1_delivery_vehicles_proto_rawDescGZIP(), []int{3, 0}
   572  }
   573  
   574  func (x *VehicleStop_TaskInfo) GetTaskId() string {
   575  	if x != nil {
   576  		return x.TaskId
   577  	}
   578  	return ""
   579  }
   580  
   581  func (x *VehicleStop_TaskInfo) GetTaskDuration() *durationpb.Duration {
   582  	if x != nil {
   583  		return x.TaskDuration
   584  	}
   585  	return nil
   586  }
   587  
   588  func (x *VehicleStop_TaskInfo) GetTargetTimeWindow() *TimeWindow {
   589  	if x != nil {
   590  		return x.TargetTimeWindow
   591  	}
   592  	return nil
   593  }
   594  
   595  var File_google_maps_fleetengine_delivery_v1_delivery_vehicles_proto protoreflect.FileDescriptor
   596  
   597  var file_google_maps_fleetengine_delivery_v1_delivery_vehicles_proto_rawDesc = []byte{
   598  	0x0a, 0x3b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6d, 0x61, 0x70, 0x73, 0x2f, 0x66, 0x6c,
   599  	0x65, 0x65, 0x74, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2f, 0x64, 0x65, 0x6c, 0x69, 0x76, 0x65,
   600  	0x72, 0x79, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x5f, 0x76,
   601  	0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1c, 0x6d,
   602  	0x61, 0x70, 0x73, 0x2e, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e,
   603  	0x64, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f,
   604  	0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65,
   605  	0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f,
   606  	0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
   607  	0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x30, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
   608  	0x6d, 0x61, 0x70, 0x73, 0x2f, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65,
   609  	0x2f, 0x64, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d,
   610  	0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
   611  	0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74,
   612  	0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
   613  	0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70,
   614  	0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
   615  	0x65, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x6c, 0x61, 0x74, 0x6c, 0x6e, 0x67, 0x2e, 0x70, 0x72,
   616  	0x6f, 0x74, 0x6f, 0x22, 0xdc, 0x06, 0x0a, 0x0f, 0x44, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79,
   617  	0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
   618  	0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x5a, 0x0a, 0x0d, 0x6c,
   619  	0x61, 0x73, 0x74, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01,
   620  	0x28, 0x0b, 0x32, 0x35, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x65,
   621  	0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e, 0x64, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x2e, 0x76,
   622  	0x31, 0x2e, 0x44, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c,
   623  	0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x6c, 0x61, 0x73, 0x74, 0x4c,
   624  	0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x6a, 0x0a, 0x11, 0x6e, 0x61, 0x76, 0x69, 0x67,
   625  	0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01,
   626  	0x28, 0x0e, 0x32, 0x3d, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x65,
   627  	0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e, 0x64, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x2e, 0x76,
   628  	0x31, 0x2e, 0x44, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c,
   629  	0x65, 0x4e, 0x61, 0x76, 0x69, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75,
   630  	0x73, 0x52, 0x10, 0x6e, 0x61, 0x76, 0x69, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61,
   631  	0x74, 0x75, 0x73, 0x12, 0x32, 0x0a, 0x15, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x72,
   632  	0x6f, 0x75, 0x74, 0x65, 0x5f, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01,
   633  	0x28, 0x0c, 0x52, 0x13, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x52, 0x6f, 0x75, 0x74, 0x65,
   634  	0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x59, 0x0a, 0x1f, 0x63, 0x75, 0x72, 0x72, 0x65,
   635  	0x6e, 0x74, 0x5f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x5f, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74,
   636  	0x5f, 0x65, 0x6e, 0x64, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b,
   637  	0x32, 0x13, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x4c,
   638  	0x61, 0x74, 0x4c, 0x6e, 0x67, 0x52, 0x1b, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x52, 0x6f,
   639  	0x75, 0x74, 0x65, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x45, 0x6e, 0x64, 0x50, 0x6f, 0x69,
   640  	0x6e, 0x74, 0x12, 0x57, 0x0a, 0x19, 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x5f,
   641  	0x64, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18,
   642  	0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
   643  	0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c,
   644  	0x75, 0x65, 0x52, 0x17, 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x44, 0x69, 0x73,
   645  	0x74, 0x61, 0x6e, 0x63, 0x65, 0x4d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x48, 0x0a, 0x12, 0x72,
   646  	0x65, 0x6d, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f,
   647  	0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
   648  	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69,
   649  	0x6f, 0x6e, 0x52, 0x11, 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x44, 0x75, 0x72,
   650  	0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x80, 0x01, 0x0a, 0x22, 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e,
   651  	0x69, 0x6e, 0x67, 0x5f, 0x76, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x5f, 0x6a, 0x6f, 0x75, 0x72,
   652  	0x6e, 0x65, 0x79, 0x5f, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x08, 0x20, 0x03,
   653  	0x28, 0x0b, 0x32, 0x33, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x65,
   654  	0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e, 0x64, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x2e, 0x76,
   655  	0x31, 0x2e, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x4a, 0x6f, 0x75, 0x72, 0x6e, 0x65, 0x79,
   656  	0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x1f, 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x69,
   657  	0x6e, 0x67, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x4a, 0x6f, 0x75, 0x72, 0x6e, 0x65, 0x79,
   658  	0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x56, 0x0a, 0x0a, 0x61, 0x74, 0x74, 0x72,
   659  	0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x6d,
   660  	0x61, 0x70, 0x73, 0x2e, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e,
   661  	0x64, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x69,
   662  	0x76, 0x65, 0x72, 0x79, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x41, 0x74, 0x74, 0x72, 0x69,
   663  	0x62, 0x75, 0x74, 0x65, 0x52, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73,
   664  	0x3a, 0x60, 0xea, 0x41, 0x5d, 0x0a, 0x2a, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x65, 0x6e, 0x67, 0x69,
   665  	0x6e, 0x65, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f,
   666  	0x6d, 0x2f, 0x44, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c,
   667  	0x65, 0x12, 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x2f, 0x7b, 0x70, 0x72,
   668  	0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x7d, 0x2f, 0x64, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79,
   669  	0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x73, 0x2f, 0x7b, 0x76, 0x65, 0x68, 0x69, 0x63, 0x6c,
   670  	0x65, 0x7d, 0x22, 0x39, 0x0a, 0x0c, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e,
   671  	0x66, 0x6f, 0x12, 0x29, 0x0a, 0x05, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28,
   672  	0x0b, 0x32, 0x13, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e,
   673  	0x4c, 0x61, 0x74, 0x4c, 0x6e, 0x67, 0x52, 0x05, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x22, 0xa9, 0x02,
   674  	0x0a, 0x15, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x4a, 0x6f, 0x75, 0x72, 0x6e, 0x65, 0x79,
   675  	0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x3d, 0x0a, 0x04, 0x73, 0x74, 0x6f, 0x70, 0x18,
   676  	0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x66, 0x6c, 0x65,
   677  	0x65, 0x74, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e, 0x64, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72,
   678  	0x79, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x53, 0x74, 0x6f, 0x70,
   679  	0x52, 0x04, 0x73, 0x74, 0x6f, 0x70, 0x12, 0x58, 0x0a, 0x17, 0x64, 0x72, 0x69, 0x76, 0x69, 0x6e,
   680  	0x67, 0x5f, 0x64, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x6d, 0x65, 0x74, 0x65, 0x72,
   681  	0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
   682  	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56,
   683  	0x61, 0x6c, 0x75, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x15, 0x64, 0x72, 0x69, 0x76, 0x69,
   684  	0x6e, 0x67, 0x44, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x4d, 0x65, 0x74, 0x65, 0x72, 0x73,
   685  	0x12, 0x49, 0x0a, 0x10, 0x64, 0x72, 0x69, 0x76, 0x69, 0x6e, 0x67, 0x5f, 0x64, 0x75, 0x72, 0x61,
   686  	0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f,
   687  	0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72,
   688  	0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0f, 0x64, 0x72, 0x69, 0x76,
   689  	0x69, 0x6e, 0x67, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2c, 0x0a, 0x04, 0x70,
   690  	0x61, 0x74, 0x68, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
   691  	0x6c, 0x65, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x4c, 0x61, 0x74, 0x4c, 0x6e, 0x67, 0x42, 0x03,
   692  	0xe0, 0x41, 0x03, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x85, 0x04, 0x0a, 0x0b, 0x56, 0x65,
   693  	0x68, 0x69, 0x63, 0x6c, 0x65, 0x53, 0x74, 0x6f, 0x70, 0x12, 0x5a, 0x0a, 0x10, 0x70, 0x6c, 0x61,
   694  	0x6e, 0x6e, 0x65, 0x64, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20,
   695  	0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x66, 0x6c, 0x65, 0x65, 0x74,
   696  	0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e, 0x64, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x2e,
   697  	0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x42,
   698  	0x03, 0xe0, 0x41, 0x02, 0x52, 0x0f, 0x70, 0x6c, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x4c, 0x6f, 0x63,
   699  	0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x48, 0x0a, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x02,
   700  	0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x66, 0x6c, 0x65, 0x65,
   701  	0x74, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e, 0x64, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79,
   702  	0x2e, 0x76, 0x31, 0x2e, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x53, 0x74, 0x6f, 0x70, 0x2e,
   703  	0x54, 0x61, 0x73, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x12,
   704  	0x45, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f,
   705  	0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x65, 0x6e, 0x67, 0x69, 0x6e,
   706  	0x65, 0x2e, 0x64, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x65,
   707  	0x68, 0x69, 0x63, 0x6c, 0x65, 0x53, 0x74, 0x6f, 0x70, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52,
   708  	0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x1a, 0xc5, 0x01, 0x0a, 0x08, 0x54, 0x61, 0x73, 0x6b, 0x49,
   709  	0x6e, 0x66, 0x6f, 0x12, 0x17, 0x0a, 0x07, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x01,
   710  	0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x12, 0x43, 0x0a, 0x0d,
   711  	0x74, 0x61, 0x73, 0x6b, 0x5f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20,
   712  	0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
   713  	0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x03,
   714  	0xe0, 0x41, 0x03, 0x52, 0x0c, 0x74, 0x61, 0x73, 0x6b, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f,
   715  	0x6e, 0x12, 0x5b, 0x0a, 0x12, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65,
   716  	0x5f, 0x77, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e,
   717  	0x6d, 0x61, 0x70, 0x73, 0x2e, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65,
   718  	0x2e, 0x64, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x69, 0x6d,
   719  	0x65, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x10, 0x74, 0x61,
   720  	0x72, 0x67, 0x65, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x22, 0x41,
   721  	0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x45,
   722  	0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x07,
   723  	0x0a, 0x03, 0x4e, 0x45, 0x57, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x45, 0x4e, 0x52, 0x4f, 0x55,
   724  	0x54, 0x45, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x41, 0x52, 0x52, 0x49, 0x56, 0x45, 0x44, 0x10,
   725  	0x03, 0x42, 0x8d, 0x01, 0x0a, 0x23, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70,
   726  	0x73, 0x2e, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e, 0x64, 0x65,
   727  	0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x42, 0x10, 0x44, 0x65, 0x6c, 0x69, 0x76,
   728  	0x65, 0x72, 0x79, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x73, 0x50, 0x01, 0x5a, 0x4b, 0x67,
   729  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67,
   730  	0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
   731  	0x61, 0x70, 0x69, 0x73, 0x2f, 0x6d, 0x61, 0x70, 0x73, 0x2f, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x65,
   732  	0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2f, 0x64, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x2f, 0x76,
   733  	0x31, 0x3b, 0x64, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0xa2, 0x02, 0x04, 0x43, 0x46, 0x45,
   734  	0x44, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   735  }
   736  
   737  var (
   738  	file_google_maps_fleetengine_delivery_v1_delivery_vehicles_proto_rawDescOnce sync.Once
   739  	file_google_maps_fleetengine_delivery_v1_delivery_vehicles_proto_rawDescData = file_google_maps_fleetengine_delivery_v1_delivery_vehicles_proto_rawDesc
   740  )
   741  
   742  func file_google_maps_fleetengine_delivery_v1_delivery_vehicles_proto_rawDescGZIP() []byte {
   743  	file_google_maps_fleetengine_delivery_v1_delivery_vehicles_proto_rawDescOnce.Do(func() {
   744  		file_google_maps_fleetengine_delivery_v1_delivery_vehicles_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_maps_fleetengine_delivery_v1_delivery_vehicles_proto_rawDescData)
   745  	})
   746  	return file_google_maps_fleetengine_delivery_v1_delivery_vehicles_proto_rawDescData
   747  }
   748  
   749  var file_google_maps_fleetengine_delivery_v1_delivery_vehicles_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
   750  var file_google_maps_fleetengine_delivery_v1_delivery_vehicles_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
   751  var file_google_maps_fleetengine_delivery_v1_delivery_vehicles_proto_goTypes = []interface{}{
   752  	(VehicleStop_State)(0),               // 0: maps.fleetengine.delivery.v1.VehicleStop.State
   753  	(*DeliveryVehicle)(nil),              // 1: maps.fleetengine.delivery.v1.DeliveryVehicle
   754  	(*LocationInfo)(nil),                 // 2: maps.fleetengine.delivery.v1.LocationInfo
   755  	(*VehicleJourneySegment)(nil),        // 3: maps.fleetengine.delivery.v1.VehicleJourneySegment
   756  	(*VehicleStop)(nil),                  // 4: maps.fleetengine.delivery.v1.VehicleStop
   757  	(*VehicleStop_TaskInfo)(nil),         // 5: maps.fleetengine.delivery.v1.VehicleStop.TaskInfo
   758  	(*DeliveryVehicleLocation)(nil),      // 6: maps.fleetengine.delivery.v1.DeliveryVehicleLocation
   759  	(DeliveryVehicleNavigationStatus)(0), // 7: maps.fleetengine.delivery.v1.DeliveryVehicleNavigationStatus
   760  	(*latlng.LatLng)(nil),                // 8: google.type.LatLng
   761  	(*wrapperspb.Int32Value)(nil),        // 9: google.protobuf.Int32Value
   762  	(*durationpb.Duration)(nil),          // 10: google.protobuf.Duration
   763  	(*DeliveryVehicleAttribute)(nil),     // 11: maps.fleetengine.delivery.v1.DeliveryVehicleAttribute
   764  	(*TimeWindow)(nil),                   // 12: maps.fleetengine.delivery.v1.TimeWindow
   765  }
   766  var file_google_maps_fleetengine_delivery_v1_delivery_vehicles_proto_depIdxs = []int32{
   767  	6,  // 0: maps.fleetengine.delivery.v1.DeliveryVehicle.last_location:type_name -> maps.fleetengine.delivery.v1.DeliveryVehicleLocation
   768  	7,  // 1: maps.fleetengine.delivery.v1.DeliveryVehicle.navigation_status:type_name -> maps.fleetengine.delivery.v1.DeliveryVehicleNavigationStatus
   769  	8,  // 2: maps.fleetengine.delivery.v1.DeliveryVehicle.current_route_segment_end_point:type_name -> google.type.LatLng
   770  	9,  // 3: maps.fleetengine.delivery.v1.DeliveryVehicle.remaining_distance_meters:type_name -> google.protobuf.Int32Value
   771  	10, // 4: maps.fleetengine.delivery.v1.DeliveryVehicle.remaining_duration:type_name -> google.protobuf.Duration
   772  	3,  // 5: maps.fleetengine.delivery.v1.DeliveryVehicle.remaining_vehicle_journey_segments:type_name -> maps.fleetengine.delivery.v1.VehicleJourneySegment
   773  	11, // 6: maps.fleetengine.delivery.v1.DeliveryVehicle.attributes:type_name -> maps.fleetengine.delivery.v1.DeliveryVehicleAttribute
   774  	8,  // 7: maps.fleetengine.delivery.v1.LocationInfo.point:type_name -> google.type.LatLng
   775  	4,  // 8: maps.fleetengine.delivery.v1.VehicleJourneySegment.stop:type_name -> maps.fleetengine.delivery.v1.VehicleStop
   776  	9,  // 9: maps.fleetengine.delivery.v1.VehicleJourneySegment.driving_distance_meters:type_name -> google.protobuf.Int32Value
   777  	10, // 10: maps.fleetengine.delivery.v1.VehicleJourneySegment.driving_duration:type_name -> google.protobuf.Duration
   778  	8,  // 11: maps.fleetengine.delivery.v1.VehicleJourneySegment.path:type_name -> google.type.LatLng
   779  	2,  // 12: maps.fleetengine.delivery.v1.VehicleStop.planned_location:type_name -> maps.fleetengine.delivery.v1.LocationInfo
   780  	5,  // 13: maps.fleetengine.delivery.v1.VehicleStop.tasks:type_name -> maps.fleetengine.delivery.v1.VehicleStop.TaskInfo
   781  	0,  // 14: maps.fleetengine.delivery.v1.VehicleStop.state:type_name -> maps.fleetengine.delivery.v1.VehicleStop.State
   782  	10, // 15: maps.fleetengine.delivery.v1.VehicleStop.TaskInfo.task_duration:type_name -> google.protobuf.Duration
   783  	12, // 16: maps.fleetengine.delivery.v1.VehicleStop.TaskInfo.target_time_window:type_name -> maps.fleetengine.delivery.v1.TimeWindow
   784  	17, // [17:17] is the sub-list for method output_type
   785  	17, // [17:17] is the sub-list for method input_type
   786  	17, // [17:17] is the sub-list for extension type_name
   787  	17, // [17:17] is the sub-list for extension extendee
   788  	0,  // [0:17] is the sub-list for field type_name
   789  }
   790  
   791  func init() { file_google_maps_fleetengine_delivery_v1_delivery_vehicles_proto_init() }
   792  func file_google_maps_fleetengine_delivery_v1_delivery_vehicles_proto_init() {
   793  	if File_google_maps_fleetengine_delivery_v1_delivery_vehicles_proto != nil {
   794  		return
   795  	}
   796  	file_google_maps_fleetengine_delivery_v1_common_proto_init()
   797  	if !protoimpl.UnsafeEnabled {
   798  		file_google_maps_fleetengine_delivery_v1_delivery_vehicles_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   799  			switch v := v.(*DeliveryVehicle); i {
   800  			case 0:
   801  				return &v.state
   802  			case 1:
   803  				return &v.sizeCache
   804  			case 2:
   805  				return &v.unknownFields
   806  			default:
   807  				return nil
   808  			}
   809  		}
   810  		file_google_maps_fleetengine_delivery_v1_delivery_vehicles_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   811  			switch v := v.(*LocationInfo); i {
   812  			case 0:
   813  				return &v.state
   814  			case 1:
   815  				return &v.sizeCache
   816  			case 2:
   817  				return &v.unknownFields
   818  			default:
   819  				return nil
   820  			}
   821  		}
   822  		file_google_maps_fleetengine_delivery_v1_delivery_vehicles_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   823  			switch v := v.(*VehicleJourneySegment); i {
   824  			case 0:
   825  				return &v.state
   826  			case 1:
   827  				return &v.sizeCache
   828  			case 2:
   829  				return &v.unknownFields
   830  			default:
   831  				return nil
   832  			}
   833  		}
   834  		file_google_maps_fleetengine_delivery_v1_delivery_vehicles_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   835  			switch v := v.(*VehicleStop); i {
   836  			case 0:
   837  				return &v.state
   838  			case 1:
   839  				return &v.sizeCache
   840  			case 2:
   841  				return &v.unknownFields
   842  			default:
   843  				return nil
   844  			}
   845  		}
   846  		file_google_maps_fleetengine_delivery_v1_delivery_vehicles_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
   847  			switch v := v.(*VehicleStop_TaskInfo); i {
   848  			case 0:
   849  				return &v.state
   850  			case 1:
   851  				return &v.sizeCache
   852  			case 2:
   853  				return &v.unknownFields
   854  			default:
   855  				return nil
   856  			}
   857  		}
   858  	}
   859  	type x struct{}
   860  	out := protoimpl.TypeBuilder{
   861  		File: protoimpl.DescBuilder{
   862  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   863  			RawDescriptor: file_google_maps_fleetengine_delivery_v1_delivery_vehicles_proto_rawDesc,
   864  			NumEnums:      1,
   865  			NumMessages:   5,
   866  			NumExtensions: 0,
   867  			NumServices:   0,
   868  		},
   869  		GoTypes:           file_google_maps_fleetengine_delivery_v1_delivery_vehicles_proto_goTypes,
   870  		DependencyIndexes: file_google_maps_fleetengine_delivery_v1_delivery_vehicles_proto_depIdxs,
   871  		EnumInfos:         file_google_maps_fleetengine_delivery_v1_delivery_vehicles_proto_enumTypes,
   872  		MessageInfos:      file_google_maps_fleetengine_delivery_v1_delivery_vehicles_proto_msgTypes,
   873  	}.Build()
   874  	File_google_maps_fleetengine_delivery_v1_delivery_vehicles_proto = out.File
   875  	file_google_maps_fleetengine_delivery_v1_delivery_vehicles_proto_rawDesc = nil
   876  	file_google_maps_fleetengine_delivery_v1_delivery_vehicles_proto_goTypes = nil
   877  	file_google_maps_fleetengine_delivery_v1_delivery_vehicles_proto_depIdxs = nil
   878  }
   879  

View as plain text