...

Source file src/google.golang.org/genproto/googleapis/maps/fleetengine/delivery/v1/tasks.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/tasks.proto
    20  
    21  package delivery
    22  
    23  import (
    24  	reflect "reflect"
    25  	sync "sync"
    26  
    27  	_ "google.golang.org/genproto/googleapis/api/annotations"
    28  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    29  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    30  	durationpb "google.golang.org/protobuf/types/known/durationpb"
    31  	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
    32  )
    33  
    34  const (
    35  	// Verify that this generated code is sufficiently up-to-date.
    36  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    37  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    38  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    39  )
    40  
    41  // The type of Task.
    42  type Task_Type int32
    43  
    44  const (
    45  	// Default, the Task type is unknown.
    46  	Task_TYPE_UNSPECIFIED Task_Type = 0
    47  	// A pickup Task is the action taken for picking up a shipment from a
    48  	// customer. Depot or feeder vehicle pickups should use the `SCHEDULED_STOP`
    49  	// type.
    50  	Task_PICKUP Task_Type = 1
    51  	// A delivery Task is the action taken for delivering a shipment to an end
    52  	// customer. Depot or feeder vehicle dropoffs should use the
    53  	// `SCHEDULED_STOP` type.
    54  	Task_DELIVERY Task_Type = 2
    55  	// A scheduled stop Task is used for planning purposes. For example, it
    56  	// could represent picking up or dropping off shipments from feeder vehicles
    57  	// or depots. It shouldn't be used for any shipments that are picked up or
    58  	// dropped off from an end customer.
    59  	Task_SCHEDULED_STOP Task_Type = 3
    60  	// A Task that means the Vehicle is not available for service. For example,
    61  	// this can happen when the driver takes a break, or when the vehicle
    62  	// is being refueled.
    63  	Task_UNAVAILABLE Task_Type = 4
    64  )
    65  
    66  // Enum value maps for Task_Type.
    67  var (
    68  	Task_Type_name = map[int32]string{
    69  		0: "TYPE_UNSPECIFIED",
    70  		1: "PICKUP",
    71  		2: "DELIVERY",
    72  		3: "SCHEDULED_STOP",
    73  		4: "UNAVAILABLE",
    74  	}
    75  	Task_Type_value = map[string]int32{
    76  		"TYPE_UNSPECIFIED": 0,
    77  		"PICKUP":           1,
    78  		"DELIVERY":         2,
    79  		"SCHEDULED_STOP":   3,
    80  		"UNAVAILABLE":      4,
    81  	}
    82  )
    83  
    84  func (x Task_Type) Enum() *Task_Type {
    85  	p := new(Task_Type)
    86  	*p = x
    87  	return p
    88  }
    89  
    90  func (x Task_Type) String() string {
    91  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
    92  }
    93  
    94  func (Task_Type) Descriptor() protoreflect.EnumDescriptor {
    95  	return file_google_maps_fleetengine_delivery_v1_tasks_proto_enumTypes[0].Descriptor()
    96  }
    97  
    98  func (Task_Type) Type() protoreflect.EnumType {
    99  	return &file_google_maps_fleetengine_delivery_v1_tasks_proto_enumTypes[0]
   100  }
   101  
   102  func (x Task_Type) Number() protoreflect.EnumNumber {
   103  	return protoreflect.EnumNumber(x)
   104  }
   105  
   106  // Deprecated: Use Task_Type.Descriptor instead.
   107  func (Task_Type) EnumDescriptor() ([]byte, []int) {
   108  	return file_google_maps_fleetengine_delivery_v1_tasks_proto_rawDescGZIP(), []int{0, 0}
   109  }
   110  
   111  // The state of a Task. This indicates the Tasks's progress.
   112  type Task_State int32
   113  
   114  const (
   115  	// Default. Used for an unspecified or unrecognized Task state.
   116  	Task_STATE_UNSPECIFIED Task_State = 0
   117  	// Either the Task has not yet been assigned to a delivery vehicle, or the
   118  	// delivery vehicle has not yet passed the Task's assigned vehicle stop.
   119  	Task_OPEN Task_State = 1
   120  	// When the vehicle passes the vehicle stop for this Task.
   121  	Task_CLOSED Task_State = 2
   122  )
   123  
   124  // Enum value maps for Task_State.
   125  var (
   126  	Task_State_name = map[int32]string{
   127  		0: "STATE_UNSPECIFIED",
   128  		1: "OPEN",
   129  		2: "CLOSED",
   130  	}
   131  	Task_State_value = map[string]int32{
   132  		"STATE_UNSPECIFIED": 0,
   133  		"OPEN":              1,
   134  		"CLOSED":            2,
   135  	}
   136  )
   137  
   138  func (x Task_State) Enum() *Task_State {
   139  	p := new(Task_State)
   140  	*p = x
   141  	return p
   142  }
   143  
   144  func (x Task_State) String() string {
   145  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
   146  }
   147  
   148  func (Task_State) Descriptor() protoreflect.EnumDescriptor {
   149  	return file_google_maps_fleetengine_delivery_v1_tasks_proto_enumTypes[1].Descriptor()
   150  }
   151  
   152  func (Task_State) Type() protoreflect.EnumType {
   153  	return &file_google_maps_fleetengine_delivery_v1_tasks_proto_enumTypes[1]
   154  }
   155  
   156  func (x Task_State) Number() protoreflect.EnumNumber {
   157  	return protoreflect.EnumNumber(x)
   158  }
   159  
   160  // Deprecated: Use Task_State.Descriptor instead.
   161  func (Task_State) EnumDescriptor() ([]byte, []int) {
   162  	return file_google_maps_fleetengine_delivery_v1_tasks_proto_rawDescGZIP(), []int{0, 1}
   163  }
   164  
   165  // The outcome of attempting to execute a Task. When `TaskState` is closed,
   166  // `TaskOutcome` indicates whether it was completed successfully.
   167  type Task_TaskOutcome int32
   168  
   169  const (
   170  	// The Task outcome before its value is set.
   171  	Task_TASK_OUTCOME_UNSPECIFIED Task_TaskOutcome = 0
   172  	// The Task completed successfully.
   173  	Task_SUCCEEDED Task_TaskOutcome = 1
   174  	// Either the Task couldn't be completed, or it was cancelled.
   175  	Task_FAILED Task_TaskOutcome = 2
   176  )
   177  
   178  // Enum value maps for Task_TaskOutcome.
   179  var (
   180  	Task_TaskOutcome_name = map[int32]string{
   181  		0: "TASK_OUTCOME_UNSPECIFIED",
   182  		1: "SUCCEEDED",
   183  		2: "FAILED",
   184  	}
   185  	Task_TaskOutcome_value = map[string]int32{
   186  		"TASK_OUTCOME_UNSPECIFIED": 0,
   187  		"SUCCEEDED":                1,
   188  		"FAILED":                   2,
   189  	}
   190  )
   191  
   192  func (x Task_TaskOutcome) Enum() *Task_TaskOutcome {
   193  	p := new(Task_TaskOutcome)
   194  	*p = x
   195  	return p
   196  }
   197  
   198  func (x Task_TaskOutcome) String() string {
   199  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
   200  }
   201  
   202  func (Task_TaskOutcome) Descriptor() protoreflect.EnumDescriptor {
   203  	return file_google_maps_fleetengine_delivery_v1_tasks_proto_enumTypes[2].Descriptor()
   204  }
   205  
   206  func (Task_TaskOutcome) Type() protoreflect.EnumType {
   207  	return &file_google_maps_fleetengine_delivery_v1_tasks_proto_enumTypes[2]
   208  }
   209  
   210  func (x Task_TaskOutcome) Number() protoreflect.EnumNumber {
   211  	return protoreflect.EnumNumber(x)
   212  }
   213  
   214  // Deprecated: Use Task_TaskOutcome.Descriptor instead.
   215  func (Task_TaskOutcome) EnumDescriptor() ([]byte, []int) {
   216  	return file_google_maps_fleetengine_delivery_v1_tasks_proto_rawDescGZIP(), []int{0, 2}
   217  }
   218  
   219  // The identity of the source that populated the `task_outcome_location`.
   220  type Task_TaskOutcomeLocationSource int32
   221  
   222  const (
   223  	// The Task outcome before it is set.
   224  	Task_TASK_OUTCOME_LOCATION_SOURCE_UNSPECIFIED Task_TaskOutcomeLocationSource = 0
   225  	// The provider-specified the `task_outcome_location`.
   226  	Task_PROVIDER Task_TaskOutcomeLocationSource = 2
   227  	// The provider didn't specify the `task_outcome_location`, so Fleet Engine
   228  	// used the last known vehicle location.
   229  	Task_LAST_VEHICLE_LOCATION Task_TaskOutcomeLocationSource = 3
   230  )
   231  
   232  // Enum value maps for Task_TaskOutcomeLocationSource.
   233  var (
   234  	Task_TaskOutcomeLocationSource_name = map[int32]string{
   235  		0: "TASK_OUTCOME_LOCATION_SOURCE_UNSPECIFIED",
   236  		2: "PROVIDER",
   237  		3: "LAST_VEHICLE_LOCATION",
   238  	}
   239  	Task_TaskOutcomeLocationSource_value = map[string]int32{
   240  		"TASK_OUTCOME_LOCATION_SOURCE_UNSPECIFIED": 0,
   241  		"PROVIDER":              2,
   242  		"LAST_VEHICLE_LOCATION": 3,
   243  	}
   244  )
   245  
   246  func (x Task_TaskOutcomeLocationSource) Enum() *Task_TaskOutcomeLocationSource {
   247  	p := new(Task_TaskOutcomeLocationSource)
   248  	*p = x
   249  	return p
   250  }
   251  
   252  func (x Task_TaskOutcomeLocationSource) String() string {
   253  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
   254  }
   255  
   256  func (Task_TaskOutcomeLocationSource) Descriptor() protoreflect.EnumDescriptor {
   257  	return file_google_maps_fleetengine_delivery_v1_tasks_proto_enumTypes[3].Descriptor()
   258  }
   259  
   260  func (Task_TaskOutcomeLocationSource) Type() protoreflect.EnumType {
   261  	return &file_google_maps_fleetengine_delivery_v1_tasks_proto_enumTypes[3]
   262  }
   263  
   264  func (x Task_TaskOutcomeLocationSource) Number() protoreflect.EnumNumber {
   265  	return protoreflect.EnumNumber(x)
   266  }
   267  
   268  // Deprecated: Use Task_TaskOutcomeLocationSource.Descriptor instead.
   269  func (Task_TaskOutcomeLocationSource) EnumDescriptor() ([]byte, []int) {
   270  	return file_google_maps_fleetengine_delivery_v1_tasks_proto_rawDescGZIP(), []int{0, 3}
   271  }
   272  
   273  // A Task in the Delivery API represents a single action to track. In general,
   274  // there is a distinction between shipment-related Tasks and break Tasks. A
   275  // shipment can have multiple Tasks associated with it. For example, there could
   276  // be one Task for the pickup, and one for the drop-off or transfer. Also,
   277  // different Tasks for a given shipment can be handled by different vehicles.
   278  // For example, one vehicle could handle the pickup, driving the shipment to the
   279  // hub, while another vehicle drives the same shipment from the hub to the
   280  // drop-off location.
   281  //
   282  // Note: gRPC and REST APIs use different field naming conventions. For example,
   283  // the `Task.journey_sharing_info` field in the gRPC API and the
   284  // `DeliveryVehicle.journeySharingInfo` field in the REST API refer to the same
   285  // field.
   286  type Task struct {
   287  	state         protoimpl.MessageState
   288  	sizeCache     protoimpl.SizeCache
   289  	unknownFields protoimpl.UnknownFields
   290  
   291  	// Must be in the format `providers/{provider}/tasks/{task}`.
   292  	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
   293  	// Required. Immutable. Defines the type of the Task. For example, a break or
   294  	// shipment.
   295  	Type Task_Type `protobuf:"varint,2,opt,name=type,proto3,enum=maps.fleetengine.delivery.v1.Task_Type" json:"type,omitempty"`
   296  	// Required. The current execution state of the Task.
   297  	State Task_State `protobuf:"varint,3,opt,name=state,proto3,enum=maps.fleetengine.delivery.v1.Task_State" json:"state,omitempty"`
   298  	// The outcome of the Task.
   299  	TaskOutcome Task_TaskOutcome `protobuf:"varint,9,opt,name=task_outcome,json=taskOutcome,proto3,enum=maps.fleetengine.delivery.v1.Task_TaskOutcome" json:"task_outcome,omitempty"`
   300  	// The timestamp that indicates when the Task's outcome was set by the
   301  	// provider.
   302  	TaskOutcomeTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=task_outcome_time,json=taskOutcomeTime,proto3" json:"task_outcome_time,omitempty"`
   303  	// The location where the Task's outcome was set. This value is updated as
   304  	// part of `UpdateTask`. If this value isn't explicitly updated by the
   305  	// provider, then Fleet Engine populates it by default with the last known
   306  	// vehicle location (the *raw* location).
   307  	TaskOutcomeLocation *LocationInfo `protobuf:"bytes,11,opt,name=task_outcome_location,json=taskOutcomeLocation,proto3" json:"task_outcome_location,omitempty"`
   308  	// Indicates where the value of the `task_outcome_location` came from.
   309  	TaskOutcomeLocationSource Task_TaskOutcomeLocationSource `protobuf:"varint,12,opt,name=task_outcome_location_source,json=taskOutcomeLocationSource,proto3,enum=maps.fleetengine.delivery.v1.Task_TaskOutcomeLocationSource" json:"task_outcome_location_source,omitempty"`
   310  	// Immutable. This field facilitates the storing of an ID so you can avoid
   311  	// using a complicated mapping. You cannot set `tracking_id` for Tasks of type
   312  	// `UNAVAILABLE` and `SCHEDULED_STOP`. These IDs are subject to the
   313  	// following restrictions:
   314  	//
   315  	// * Must be a valid Unicode string.
   316  	// * Limited to a maximum length of 64 characters.
   317  	// * Normalized according to [Unicode Normalization Form C]
   318  	// (http://www.unicode.org/reports/tr15/).
   319  	// * May not contain any of the following ASCII characters: '/', ':', '?',
   320  	// ',', or '#'.
   321  	TrackingId string `protobuf:"bytes,4,opt,name=tracking_id,json=trackingId,proto3" json:"tracking_id,omitempty"`
   322  	// Output only. The ID of the vehicle that is executing this Task. Delivery
   323  	// Vehicle IDs are subject to the following restrictions:
   324  	//
   325  	// * Must be a valid Unicode string.
   326  	// * Limited to a maximum length of 64 characters.
   327  	// * Normalized according to [Unicode Normalization Form C]
   328  	// (http://www.unicode.org/reports/tr15/).
   329  	// * May not contain any of the following ASCII characters: '/', ':', '?',
   330  	// ',', or '#'.
   331  	DeliveryVehicleId string `protobuf:"bytes,5,opt,name=delivery_vehicle_id,json=deliveryVehicleId,proto3" json:"delivery_vehicle_id,omitempty"`
   332  	// Immutable. The location where the Task will be completed.
   333  	// Optional for `UNAVAILABLE` Tasks, but required for all other Tasks.
   334  	PlannedLocation *LocationInfo `protobuf:"bytes,6,opt,name=planned_location,json=plannedLocation,proto3" json:"planned_location,omitempty"`
   335  	// Required. Immutable. The time needed to execute a Task at this location.
   336  	TaskDuration *durationpb.Duration `protobuf:"bytes,7,opt,name=task_duration,json=taskDuration,proto3" json:"task_duration,omitempty"`
   337  	// The time window during which the task should be completed.
   338  	TargetTimeWindow *TimeWindow `protobuf:"bytes,14,opt,name=target_time_window,json=targetTimeWindow,proto3" json:"target_time_window,omitempty"`
   339  	// Output only. Journey sharing-specific fields. Not populated when state is
   340  	// `CLOSED`.
   341  	JourneySharingInfo *Task_JourneySharingInfo `protobuf:"bytes,8,opt,name=journey_sharing_info,json=journeySharingInfo,proto3" json:"journey_sharing_info,omitempty"`
   342  }
   343  
   344  func (x *Task) Reset() {
   345  	*x = Task{}
   346  	if protoimpl.UnsafeEnabled {
   347  		mi := &file_google_maps_fleetengine_delivery_v1_tasks_proto_msgTypes[0]
   348  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   349  		ms.StoreMessageInfo(mi)
   350  	}
   351  }
   352  
   353  func (x *Task) String() string {
   354  	return protoimpl.X.MessageStringOf(x)
   355  }
   356  
   357  func (*Task) ProtoMessage() {}
   358  
   359  func (x *Task) ProtoReflect() protoreflect.Message {
   360  	mi := &file_google_maps_fleetengine_delivery_v1_tasks_proto_msgTypes[0]
   361  	if protoimpl.UnsafeEnabled && x != nil {
   362  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   363  		if ms.LoadMessageInfo() == nil {
   364  			ms.StoreMessageInfo(mi)
   365  		}
   366  		return ms
   367  	}
   368  	return mi.MessageOf(x)
   369  }
   370  
   371  // Deprecated: Use Task.ProtoReflect.Descriptor instead.
   372  func (*Task) Descriptor() ([]byte, []int) {
   373  	return file_google_maps_fleetengine_delivery_v1_tasks_proto_rawDescGZIP(), []int{0}
   374  }
   375  
   376  func (x *Task) GetName() string {
   377  	if x != nil {
   378  		return x.Name
   379  	}
   380  	return ""
   381  }
   382  
   383  func (x *Task) GetType() Task_Type {
   384  	if x != nil {
   385  		return x.Type
   386  	}
   387  	return Task_TYPE_UNSPECIFIED
   388  }
   389  
   390  func (x *Task) GetState() Task_State {
   391  	if x != nil {
   392  		return x.State
   393  	}
   394  	return Task_STATE_UNSPECIFIED
   395  }
   396  
   397  func (x *Task) GetTaskOutcome() Task_TaskOutcome {
   398  	if x != nil {
   399  		return x.TaskOutcome
   400  	}
   401  	return Task_TASK_OUTCOME_UNSPECIFIED
   402  }
   403  
   404  func (x *Task) GetTaskOutcomeTime() *timestamppb.Timestamp {
   405  	if x != nil {
   406  		return x.TaskOutcomeTime
   407  	}
   408  	return nil
   409  }
   410  
   411  func (x *Task) GetTaskOutcomeLocation() *LocationInfo {
   412  	if x != nil {
   413  		return x.TaskOutcomeLocation
   414  	}
   415  	return nil
   416  }
   417  
   418  func (x *Task) GetTaskOutcomeLocationSource() Task_TaskOutcomeLocationSource {
   419  	if x != nil {
   420  		return x.TaskOutcomeLocationSource
   421  	}
   422  	return Task_TASK_OUTCOME_LOCATION_SOURCE_UNSPECIFIED
   423  }
   424  
   425  func (x *Task) GetTrackingId() string {
   426  	if x != nil {
   427  		return x.TrackingId
   428  	}
   429  	return ""
   430  }
   431  
   432  func (x *Task) GetDeliveryVehicleId() string {
   433  	if x != nil {
   434  		return x.DeliveryVehicleId
   435  	}
   436  	return ""
   437  }
   438  
   439  func (x *Task) GetPlannedLocation() *LocationInfo {
   440  	if x != nil {
   441  		return x.PlannedLocation
   442  	}
   443  	return nil
   444  }
   445  
   446  func (x *Task) GetTaskDuration() *durationpb.Duration {
   447  	if x != nil {
   448  		return x.TaskDuration
   449  	}
   450  	return nil
   451  }
   452  
   453  func (x *Task) GetTargetTimeWindow() *TimeWindow {
   454  	if x != nil {
   455  		return x.TargetTimeWindow
   456  	}
   457  	return nil
   458  }
   459  
   460  func (x *Task) GetJourneySharingInfo() *Task_JourneySharingInfo {
   461  	if x != nil {
   462  		return x.JourneySharingInfo
   463  	}
   464  	return nil
   465  }
   466  
   467  // Journey sharing specific fields.
   468  type Task_JourneySharingInfo struct {
   469  	state         protoimpl.MessageState
   470  	sizeCache     protoimpl.SizeCache
   471  	unknownFields protoimpl.UnknownFields
   472  
   473  	// Tracking information for the stops that the assigned vehicle will make
   474  	// before it completes this Task. Note that this list can contain stops
   475  	// from other tasks.
   476  	//
   477  	// The first segment,
   478  	// `Task.journey_sharing_info.remaining_vehicle_journey_segments[0]` (gRPC)
   479  	// or `Task.journeySharingInfo.remainingVehicleJourneySegments[0]` (REST),
   480  	// contains route information from the driver's last known location to the
   481  	// upcoming `VehicleStop`. Current route information usually comes from the
   482  	// driver app, except for some cases noted in the documentation for
   483  	// [DeliveryVehicle.current_route_segment][maps.fleetengine.delivery.v1.DeliveryVehicle.current_route_segment].
   484  	// The other segments in
   485  	// `Task.journey_sharing_info.remaining_vehicle_journey_segments` (gRPC) or
   486  	// `Task.journeySharingInfo.remainingVehicleJourneySegments` (REST) are
   487  	// populated by Fleet Engine. They provide route information between the
   488  	// remaining `VehicleStops`.
   489  	RemainingVehicleJourneySegments []*VehicleJourneySegment `protobuf:"bytes,1,rep,name=remaining_vehicle_journey_segments,json=remainingVehicleJourneySegments,proto3" json:"remaining_vehicle_journey_segments,omitempty"`
   490  	// Indicates the vehicle's last reported location of the assigned vehicle.
   491  	LastLocation *DeliveryVehicleLocation `protobuf:"bytes,2,opt,name=last_location,json=lastLocation,proto3" json:"last_location,omitempty"`
   492  	// Indicates whether the vehicle's lastLocation can be snapped to
   493  	// the `current_route_segment`. This value is False if either
   494  	// `last_location` or `current_route_segment` don't exist. This value is
   495  	// computed by Fleet Engine. Updates from clients are ignored.
   496  	LastLocationSnappable bool `protobuf:"varint,3,opt,name=last_location_snappable,json=lastLocationSnappable,proto3" json:"last_location_snappable,omitempty"`
   497  }
   498  
   499  func (x *Task_JourneySharingInfo) Reset() {
   500  	*x = Task_JourneySharingInfo{}
   501  	if protoimpl.UnsafeEnabled {
   502  		mi := &file_google_maps_fleetengine_delivery_v1_tasks_proto_msgTypes[1]
   503  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   504  		ms.StoreMessageInfo(mi)
   505  	}
   506  }
   507  
   508  func (x *Task_JourneySharingInfo) String() string {
   509  	return protoimpl.X.MessageStringOf(x)
   510  }
   511  
   512  func (*Task_JourneySharingInfo) ProtoMessage() {}
   513  
   514  func (x *Task_JourneySharingInfo) ProtoReflect() protoreflect.Message {
   515  	mi := &file_google_maps_fleetengine_delivery_v1_tasks_proto_msgTypes[1]
   516  	if protoimpl.UnsafeEnabled && x != nil {
   517  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   518  		if ms.LoadMessageInfo() == nil {
   519  			ms.StoreMessageInfo(mi)
   520  		}
   521  		return ms
   522  	}
   523  	return mi.MessageOf(x)
   524  }
   525  
   526  // Deprecated: Use Task_JourneySharingInfo.ProtoReflect.Descriptor instead.
   527  func (*Task_JourneySharingInfo) Descriptor() ([]byte, []int) {
   528  	return file_google_maps_fleetengine_delivery_v1_tasks_proto_rawDescGZIP(), []int{0, 0}
   529  }
   530  
   531  func (x *Task_JourneySharingInfo) GetRemainingVehicleJourneySegments() []*VehicleJourneySegment {
   532  	if x != nil {
   533  		return x.RemainingVehicleJourneySegments
   534  	}
   535  	return nil
   536  }
   537  
   538  func (x *Task_JourneySharingInfo) GetLastLocation() *DeliveryVehicleLocation {
   539  	if x != nil {
   540  		return x.LastLocation
   541  	}
   542  	return nil
   543  }
   544  
   545  func (x *Task_JourneySharingInfo) GetLastLocationSnappable() bool {
   546  	if x != nil {
   547  		return x.LastLocationSnappable
   548  	}
   549  	return false
   550  }
   551  
   552  var File_google_maps_fleetengine_delivery_v1_tasks_proto protoreflect.FileDescriptor
   553  
   554  var file_google_maps_fleetengine_delivery_v1_tasks_proto_rawDesc = []byte{
   555  	0x0a, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6d, 0x61, 0x70, 0x73, 0x2f, 0x66, 0x6c,
   556  	0x65, 0x65, 0x74, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2f, 0x64, 0x65, 0x6c, 0x69, 0x76, 0x65,
   557  	0x72, 0x79, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74,
   558  	0x6f, 0x12, 0x1c, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x65, 0x6e, 0x67,
   559  	0x69, 0x6e, 0x65, 0x2e, 0x64, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x1a,
   560  	0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c,
   561  	0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   562  	0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73,
   563  	0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x30, 0x67, 0x6f, 0x6f,
   564  	0x67, 0x6c, 0x65, 0x2f, 0x6d, 0x61, 0x70, 0x73, 0x2f, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x65, 0x6e,
   565  	0x67, 0x69, 0x6e, 0x65, 0x2f, 0x64, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x2f, 0x76, 0x31,
   566  	0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x3b, 0x67,
   567  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6d, 0x61, 0x70, 0x73, 0x2f, 0x66, 0x6c, 0x65, 0x65, 0x74,
   568  	0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2f, 0x64, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x2f,
   569  	0x76, 0x31, 0x2f, 0x64, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x5f, 0x76, 0x65, 0x68, 0x69,
   570  	0x63, 0x6c, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67,
   571  	0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61,
   572  	0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67,
   573  	0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65,
   574  	0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa9, 0x0d, 0x0a, 0x04,
   575  	0x54, 0x61, 0x73, 0x6b, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
   576  	0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x43, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65,
   577  	0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x66, 0x6c,
   578  	0x65, 0x65, 0x74, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e, 0x64, 0x65, 0x6c, 0x69, 0x76, 0x65,
   579  	0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x42,
   580  	0x06, 0xe0, 0x41, 0x02, 0xe0, 0x41, 0x05, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x43, 0x0a,
   581  	0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x28, 0x2e, 0x6d,
   582  	0x61, 0x70, 0x73, 0x2e, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e,
   583  	0x64, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b,
   584  	0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x05, 0x73, 0x74, 0x61,
   585  	0x74, 0x65, 0x12, 0x51, 0x0a, 0x0c, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x6f, 0x75, 0x74, 0x63, 0x6f,
   586  	0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2e, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e,
   587  	0x66, 0x6c, 0x65, 0x65, 0x74, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e, 0x64, 0x65, 0x6c, 0x69,
   588  	0x76, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x2e, 0x54, 0x61, 0x73,
   589  	0x6b, 0x4f, 0x75, 0x74, 0x63, 0x6f, 0x6d, 0x65, 0x52, 0x0b, 0x74, 0x61, 0x73, 0x6b, 0x4f, 0x75,
   590  	0x74, 0x63, 0x6f, 0x6d, 0x65, 0x12, 0x46, 0x0a, 0x11, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x6f, 0x75,
   591  	0x74, 0x63, 0x6f, 0x6d, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b,
   592  	0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
   593  	0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0f, 0x74, 0x61,
   594  	0x73, 0x6b, 0x4f, 0x75, 0x74, 0x63, 0x6f, 0x6d, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x5e, 0x0a,
   595  	0x15, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x6f, 0x75, 0x74, 0x63, 0x6f, 0x6d, 0x65, 0x5f, 0x6c, 0x6f,
   596  	0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x6d,
   597  	0x61, 0x70, 0x73, 0x2e, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e,
   598  	0x64, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x63, 0x61,
   599  	0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x13, 0x74, 0x61, 0x73, 0x6b, 0x4f, 0x75,
   600  	0x74, 0x63, 0x6f, 0x6d, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x7d, 0x0a,
   601  	0x1c, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x6f, 0x75, 0x74, 0x63, 0x6f, 0x6d, 0x65, 0x5f, 0x6c, 0x6f,
   602  	0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x0c, 0x20,
   603  	0x01, 0x28, 0x0e, 0x32, 0x3c, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x66, 0x6c, 0x65, 0x65, 0x74,
   604  	0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e, 0x64, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x2e,
   605  	0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x4f, 0x75, 0x74, 0x63,
   606  	0x6f, 0x6d, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x6f, 0x75, 0x72, 0x63,
   607  	0x65, 0x52, 0x19, 0x74, 0x61, 0x73, 0x6b, 0x4f, 0x75, 0x74, 0x63, 0x6f, 0x6d, 0x65, 0x4c, 0x6f,
   608  	0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x24, 0x0a, 0x0b,
   609  	0x74, 0x72, 0x61, 0x63, 0x6b, 0x69, 0x6e, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28,
   610  	0x09, 0x42, 0x03, 0xe0, 0x41, 0x05, 0x52, 0x0a, 0x74, 0x72, 0x61, 0x63, 0x6b, 0x69, 0x6e, 0x67,
   611  	0x49, 0x64, 0x12, 0x33, 0x0a, 0x13, 0x64, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x5f, 0x76,
   612  	0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x42,
   613  	0x03, 0xe0, 0x41, 0x03, 0x52, 0x11, 0x64, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x56, 0x65,
   614  	0x68, 0x69, 0x63, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x5a, 0x0a, 0x10, 0x70, 0x6c, 0x61, 0x6e, 0x6e,
   615  	0x65, 0x64, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28,
   616  	0x0b, 0x32, 0x2a, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x65, 0x6e,
   617  	0x67, 0x69, 0x6e, 0x65, 0x2e, 0x64, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31,
   618  	0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x03, 0xe0,
   619  	0x41, 0x05, 0x52, 0x0f, 0x70, 0x6c, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x4c, 0x6f, 0x63, 0x61, 0x74,
   620  	0x69, 0x6f, 0x6e, 0x12, 0x46, 0x0a, 0x0d, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x64, 0x75, 0x72, 0x61,
   621  	0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f,
   622  	0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72,
   623  	0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x06, 0xe0, 0x41, 0x02, 0xe0, 0x41, 0x05, 0x52, 0x0c, 0x74,
   624  	0x61, 0x73, 0x6b, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x56, 0x0a, 0x12, 0x74,
   625  	0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x77, 0x69, 0x6e, 0x64, 0x6f,
   626  	0x77, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x66,
   627  	0x6c, 0x65, 0x65, 0x74, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e, 0x64, 0x65, 0x6c, 0x69, 0x76,
   628  	0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x57, 0x69, 0x6e, 0x64, 0x6f,
   629  	0x77, 0x52, 0x10, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x57, 0x69, 0x6e,
   630  	0x64, 0x6f, 0x77, 0x12, 0x6c, 0x0a, 0x14, 0x6a, 0x6f, 0x75, 0x72, 0x6e, 0x65, 0x79, 0x5f, 0x73,
   631  	0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x08, 0x20, 0x01, 0x28,
   632  	0x0b, 0x32, 0x35, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x65, 0x6e,
   633  	0x67, 0x69, 0x6e, 0x65, 0x2e, 0x64, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31,
   634  	0x2e, 0x54, 0x61, 0x73, 0x6b, 0x2e, 0x4a, 0x6f, 0x75, 0x72, 0x6e, 0x65, 0x79, 0x53, 0x68, 0x61,
   635  	0x72, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x12, 0x6a,
   636  	0x6f, 0x75, 0x72, 0x6e, 0x65, 0x79, 0x53, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x66,
   637  	0x6f, 0x1a, 0xab, 0x02, 0x0a, 0x12, 0x4a, 0x6f, 0x75, 0x72, 0x6e, 0x65, 0x79, 0x53, 0x68, 0x61,
   638  	0x72, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x80, 0x01, 0x0a, 0x22, 0x72, 0x65, 0x6d,
   639  	0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x76, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x5f, 0x6a,
   640  	0x6f, 0x75, 0x72, 0x6e, 0x65, 0x79, 0x5f, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18,
   641  	0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x66, 0x6c, 0x65,
   642  	0x65, 0x74, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e, 0x64, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72,
   643  	0x79, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x4a, 0x6f, 0x75, 0x72,
   644  	0x6e, 0x65, 0x79, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x1f, 0x72, 0x65, 0x6d, 0x61,
   645  	0x69, 0x6e, 0x69, 0x6e, 0x67, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x4a, 0x6f, 0x75, 0x72,
   646  	0x6e, 0x65, 0x79, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x5a, 0x0a, 0x0d, 0x6c,
   647  	0x61, 0x73, 0x74, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01,
   648  	0x28, 0x0b, 0x32, 0x35, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x65,
   649  	0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e, 0x64, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x2e, 0x76,
   650  	0x31, 0x2e, 0x44, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c,
   651  	0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x6c, 0x61, 0x73, 0x74, 0x4c,
   652  	0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x36, 0x0a, 0x17, 0x6c, 0x61, 0x73, 0x74, 0x5f,
   653  	0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x6e, 0x61, 0x70, 0x70, 0x61, 0x62,
   654  	0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x15, 0x6c, 0x61, 0x73, 0x74, 0x4c, 0x6f,
   655  	0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x6e, 0x61, 0x70, 0x70, 0x61, 0x62, 0x6c, 0x65, 0x22,
   656  	0x5b, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x59, 0x50, 0x45, 0x5f,
   657  	0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a,
   658  	0x06, 0x50, 0x49, 0x43, 0x4b, 0x55, 0x50, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x45, 0x4c,
   659  	0x49, 0x56, 0x45, 0x52, 0x59, 0x10, 0x02, 0x12, 0x12, 0x0a, 0x0e, 0x53, 0x43, 0x48, 0x45, 0x44,
   660  	0x55, 0x4c, 0x45, 0x44, 0x5f, 0x53, 0x54, 0x4f, 0x50, 0x10, 0x03, 0x12, 0x0f, 0x0a, 0x0b, 0x55,
   661  	0x4e, 0x41, 0x56, 0x41, 0x49, 0x4c, 0x41, 0x42, 0x4c, 0x45, 0x10, 0x04, 0x22, 0x34, 0x0a, 0x05,
   662  	0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55,
   663  	0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04,
   664  	0x4f, 0x50, 0x45, 0x4e, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x4c, 0x4f, 0x53, 0x45, 0x44,
   665  	0x10, 0x02, 0x22, 0x46, 0x0a, 0x0b, 0x54, 0x61, 0x73, 0x6b, 0x4f, 0x75, 0x74, 0x63, 0x6f, 0x6d,
   666  	0x65, 0x12, 0x1c, 0x0a, 0x18, 0x54, 0x41, 0x53, 0x4b, 0x5f, 0x4f, 0x55, 0x54, 0x43, 0x4f, 0x4d,
   667  	0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12,
   668  	0x0d, 0x0a, 0x09, 0x53, 0x55, 0x43, 0x43, 0x45, 0x45, 0x44, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0a,
   669  	0x0a, 0x06, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x02, 0x22, 0x72, 0x0a, 0x19, 0x54, 0x61,
   670  	0x73, 0x6b, 0x4f, 0x75, 0x74, 0x63, 0x6f, 0x6d, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f,
   671  	0x6e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x2c, 0x0a, 0x28, 0x54, 0x41, 0x53, 0x4b, 0x5f,
   672  	0x4f, 0x55, 0x54, 0x43, 0x4f, 0x4d, 0x45, 0x5f, 0x4c, 0x4f, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e,
   673  	0x5f, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46,
   674  	0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x50, 0x52, 0x4f, 0x56, 0x49, 0x44, 0x45,
   675  	0x52, 0x10, 0x02, 0x12, 0x19, 0x0a, 0x15, 0x4c, 0x41, 0x53, 0x54, 0x5f, 0x56, 0x45, 0x48, 0x49,
   676  	0x43, 0x4c, 0x45, 0x5f, 0x4c, 0x4f, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x03, 0x3a, 0x47,
   677  	0xea, 0x41, 0x44, 0x0a, 0x1f, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65,
   678  	0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
   679  	0x54, 0x61, 0x73, 0x6b, 0x12, 0x21, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x2f,
   680  	0x7b, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x7d, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x73,
   681  	0x2f, 0x7b, 0x74, 0x61, 0x73, 0x6b, 0x7d, 0x42, 0x82, 0x01, 0x0a, 0x23, 0x67, 0x6f, 0x6f, 0x67,
   682  	0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x65, 0x6e, 0x67,
   683  	0x69, 0x6e, 0x65, 0x2e, 0x64, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x42,
   684  	0x05, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x50, 0x01, 0x5a, 0x4b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
   685  	0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70,
   686  	0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f,
   687  	0x6d, 0x61, 0x70, 0x73, 0x2f, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65,
   688  	0x2f, 0x64, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x3b, 0x64, 0x65, 0x6c,
   689  	0x69, 0x76, 0x65, 0x72, 0x79, 0xa2, 0x02, 0x04, 0x43, 0x46, 0x45, 0x44, 0x62, 0x06, 0x70, 0x72,
   690  	0x6f, 0x74, 0x6f, 0x33,
   691  }
   692  
   693  var (
   694  	file_google_maps_fleetengine_delivery_v1_tasks_proto_rawDescOnce sync.Once
   695  	file_google_maps_fleetengine_delivery_v1_tasks_proto_rawDescData = file_google_maps_fleetengine_delivery_v1_tasks_proto_rawDesc
   696  )
   697  
   698  func file_google_maps_fleetengine_delivery_v1_tasks_proto_rawDescGZIP() []byte {
   699  	file_google_maps_fleetengine_delivery_v1_tasks_proto_rawDescOnce.Do(func() {
   700  		file_google_maps_fleetengine_delivery_v1_tasks_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_maps_fleetengine_delivery_v1_tasks_proto_rawDescData)
   701  	})
   702  	return file_google_maps_fleetengine_delivery_v1_tasks_proto_rawDescData
   703  }
   704  
   705  var file_google_maps_fleetengine_delivery_v1_tasks_proto_enumTypes = make([]protoimpl.EnumInfo, 4)
   706  var file_google_maps_fleetengine_delivery_v1_tasks_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
   707  var file_google_maps_fleetengine_delivery_v1_tasks_proto_goTypes = []interface{}{
   708  	(Task_Type)(0),                      // 0: maps.fleetengine.delivery.v1.Task.Type
   709  	(Task_State)(0),                     // 1: maps.fleetengine.delivery.v1.Task.State
   710  	(Task_TaskOutcome)(0),               // 2: maps.fleetengine.delivery.v1.Task.TaskOutcome
   711  	(Task_TaskOutcomeLocationSource)(0), // 3: maps.fleetengine.delivery.v1.Task.TaskOutcomeLocationSource
   712  	(*Task)(nil),                        // 4: maps.fleetengine.delivery.v1.Task
   713  	(*Task_JourneySharingInfo)(nil),     // 5: maps.fleetengine.delivery.v1.Task.JourneySharingInfo
   714  	(*timestamppb.Timestamp)(nil),       // 6: google.protobuf.Timestamp
   715  	(*LocationInfo)(nil),                // 7: maps.fleetengine.delivery.v1.LocationInfo
   716  	(*durationpb.Duration)(nil),         // 8: google.protobuf.Duration
   717  	(*TimeWindow)(nil),                  // 9: maps.fleetengine.delivery.v1.TimeWindow
   718  	(*VehicleJourneySegment)(nil),       // 10: maps.fleetengine.delivery.v1.VehicleJourneySegment
   719  	(*DeliveryVehicleLocation)(nil),     // 11: maps.fleetengine.delivery.v1.DeliveryVehicleLocation
   720  }
   721  var file_google_maps_fleetengine_delivery_v1_tasks_proto_depIdxs = []int32{
   722  	0,  // 0: maps.fleetengine.delivery.v1.Task.type:type_name -> maps.fleetengine.delivery.v1.Task.Type
   723  	1,  // 1: maps.fleetengine.delivery.v1.Task.state:type_name -> maps.fleetengine.delivery.v1.Task.State
   724  	2,  // 2: maps.fleetengine.delivery.v1.Task.task_outcome:type_name -> maps.fleetengine.delivery.v1.Task.TaskOutcome
   725  	6,  // 3: maps.fleetengine.delivery.v1.Task.task_outcome_time:type_name -> google.protobuf.Timestamp
   726  	7,  // 4: maps.fleetengine.delivery.v1.Task.task_outcome_location:type_name -> maps.fleetengine.delivery.v1.LocationInfo
   727  	3,  // 5: maps.fleetengine.delivery.v1.Task.task_outcome_location_source:type_name -> maps.fleetengine.delivery.v1.Task.TaskOutcomeLocationSource
   728  	7,  // 6: maps.fleetengine.delivery.v1.Task.planned_location:type_name -> maps.fleetengine.delivery.v1.LocationInfo
   729  	8,  // 7: maps.fleetengine.delivery.v1.Task.task_duration:type_name -> google.protobuf.Duration
   730  	9,  // 8: maps.fleetengine.delivery.v1.Task.target_time_window:type_name -> maps.fleetengine.delivery.v1.TimeWindow
   731  	5,  // 9: maps.fleetengine.delivery.v1.Task.journey_sharing_info:type_name -> maps.fleetengine.delivery.v1.Task.JourneySharingInfo
   732  	10, // 10: maps.fleetengine.delivery.v1.Task.JourneySharingInfo.remaining_vehicle_journey_segments:type_name -> maps.fleetengine.delivery.v1.VehicleJourneySegment
   733  	11, // 11: maps.fleetengine.delivery.v1.Task.JourneySharingInfo.last_location:type_name -> maps.fleetengine.delivery.v1.DeliveryVehicleLocation
   734  	12, // [12:12] is the sub-list for method output_type
   735  	12, // [12:12] is the sub-list for method input_type
   736  	12, // [12:12] is the sub-list for extension type_name
   737  	12, // [12:12] is the sub-list for extension extendee
   738  	0,  // [0:12] is the sub-list for field type_name
   739  }
   740  
   741  func init() { file_google_maps_fleetengine_delivery_v1_tasks_proto_init() }
   742  func file_google_maps_fleetengine_delivery_v1_tasks_proto_init() {
   743  	if File_google_maps_fleetengine_delivery_v1_tasks_proto != nil {
   744  		return
   745  	}
   746  	file_google_maps_fleetengine_delivery_v1_common_proto_init()
   747  	file_google_maps_fleetengine_delivery_v1_delivery_vehicles_proto_init()
   748  	if !protoimpl.UnsafeEnabled {
   749  		file_google_maps_fleetengine_delivery_v1_tasks_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   750  			switch v := v.(*Task); i {
   751  			case 0:
   752  				return &v.state
   753  			case 1:
   754  				return &v.sizeCache
   755  			case 2:
   756  				return &v.unknownFields
   757  			default:
   758  				return nil
   759  			}
   760  		}
   761  		file_google_maps_fleetengine_delivery_v1_tasks_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   762  			switch v := v.(*Task_JourneySharingInfo); i {
   763  			case 0:
   764  				return &v.state
   765  			case 1:
   766  				return &v.sizeCache
   767  			case 2:
   768  				return &v.unknownFields
   769  			default:
   770  				return nil
   771  			}
   772  		}
   773  	}
   774  	type x struct{}
   775  	out := protoimpl.TypeBuilder{
   776  		File: protoimpl.DescBuilder{
   777  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   778  			RawDescriptor: file_google_maps_fleetengine_delivery_v1_tasks_proto_rawDesc,
   779  			NumEnums:      4,
   780  			NumMessages:   2,
   781  			NumExtensions: 0,
   782  			NumServices:   0,
   783  		},
   784  		GoTypes:           file_google_maps_fleetengine_delivery_v1_tasks_proto_goTypes,
   785  		DependencyIndexes: file_google_maps_fleetengine_delivery_v1_tasks_proto_depIdxs,
   786  		EnumInfos:         file_google_maps_fleetengine_delivery_v1_tasks_proto_enumTypes,
   787  		MessageInfos:      file_google_maps_fleetengine_delivery_v1_tasks_proto_msgTypes,
   788  	}.Build()
   789  	File_google_maps_fleetengine_delivery_v1_tasks_proto = out.File
   790  	file_google_maps_fleetengine_delivery_v1_tasks_proto_rawDesc = nil
   791  	file_google_maps_fleetengine_delivery_v1_tasks_proto_goTypes = nil
   792  	file_google_maps_fleetengine_delivery_v1_tasks_proto_depIdxs = nil
   793  }
   794  

View as plain text