...

Source file src/google.golang.org/genproto/googleapis/maps/routes/v1/compute_routes_request.pb.go

Documentation: google.golang.org/genproto/googleapis/maps/routes/v1

     1  // Copyright 2022 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.12.2
    19  // source: google/maps/routes/v1/compute_routes_request.proto
    20  
    21  package routes
    22  
    23  import (
    24  	reflect "reflect"
    25  	sync "sync"
    26  
    27  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    28  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    29  	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
    30  )
    31  
    32  const (
    33  	// Verify that this generated code is sufficiently up-to-date.
    34  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    35  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    36  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    37  )
    38  
    39  // A set of values used to specify the mode of travel.
    40  type RouteTravelMode int32
    41  
    42  const (
    43  	// No travel mode specified. Defaults to `DRIVE`.
    44  	RouteTravelMode_TRAVEL_MODE_UNSPECIFIED RouteTravelMode = 0
    45  	// Travel by passenger car.
    46  	RouteTravelMode_DRIVE RouteTravelMode = 1
    47  	// Travel by bicycle.
    48  	RouteTravelMode_BICYCLE RouteTravelMode = 2
    49  	// Travel by walking.
    50  	RouteTravelMode_WALK RouteTravelMode = 3
    51  	// Two-wheeled, motorized vehicle. For example, motorcycle. Note that this
    52  	// differs from the `BICYCLE` travel mode which covers human-powered mode.
    53  	RouteTravelMode_TWO_WHEELER RouteTravelMode = 4
    54  	// Travel by licensed taxi, which may allow the vehicle to travel on
    55  	// designated taxi lanes in some areas.
    56  	RouteTravelMode_TAXI RouteTravelMode = 5
    57  )
    58  
    59  // Enum value maps for RouteTravelMode.
    60  var (
    61  	RouteTravelMode_name = map[int32]string{
    62  		0: "TRAVEL_MODE_UNSPECIFIED",
    63  		1: "DRIVE",
    64  		2: "BICYCLE",
    65  		3: "WALK",
    66  		4: "TWO_WHEELER",
    67  		5: "TAXI",
    68  	}
    69  	RouteTravelMode_value = map[string]int32{
    70  		"TRAVEL_MODE_UNSPECIFIED": 0,
    71  		"DRIVE":                   1,
    72  		"BICYCLE":                 2,
    73  		"WALK":                    3,
    74  		"TWO_WHEELER":             4,
    75  		"TAXI":                    5,
    76  	}
    77  )
    78  
    79  func (x RouteTravelMode) Enum() *RouteTravelMode {
    80  	p := new(RouteTravelMode)
    81  	*p = x
    82  	return p
    83  }
    84  
    85  func (x RouteTravelMode) String() string {
    86  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
    87  }
    88  
    89  func (RouteTravelMode) Descriptor() protoreflect.EnumDescriptor {
    90  	return file_google_maps_routes_v1_compute_routes_request_proto_enumTypes[0].Descriptor()
    91  }
    92  
    93  func (RouteTravelMode) Type() protoreflect.EnumType {
    94  	return &file_google_maps_routes_v1_compute_routes_request_proto_enumTypes[0]
    95  }
    96  
    97  func (x RouteTravelMode) Number() protoreflect.EnumNumber {
    98  	return protoreflect.EnumNumber(x)
    99  }
   100  
   101  // Deprecated: Use RouteTravelMode.Descriptor instead.
   102  func (RouteTravelMode) EnumDescriptor() ([]byte, []int) {
   103  	return file_google_maps_routes_v1_compute_routes_request_proto_rawDescGZIP(), []int{0}
   104  }
   105  
   106  // A set of values that specify factors to take into consideration when
   107  // calculating the route.
   108  type RoutingPreference int32
   109  
   110  const (
   111  	// No routing preference specified. Default to `TRAFFIC_AWARE`.
   112  	RoutingPreference_ROUTING_PREFERENCE_UNSPECIFIED RoutingPreference = 0
   113  	// Computes routes without taking traffic conditions into consideration.
   114  	// Suitable when traffic conditions don't matter. Using this value produces
   115  	// the lowest latency.
   116  	RoutingPreference_TRAFFIC_UNAWARE RoutingPreference = 1
   117  	// Calculates routes taking traffic conditions into consideration. In contrast
   118  	// to `TRAFFIC_AWARE_OPTIMAL`, some optimizations are applied to significantly
   119  	// reduce latency.
   120  	RoutingPreference_TRAFFIC_AWARE RoutingPreference = 2
   121  	// Calculates the routes taking traffic conditions into consideration,
   122  	// without applying most performance optimizations. Using this value produces
   123  	// the highest latency.
   124  	RoutingPreference_TRAFFIC_AWARE_OPTIMAL RoutingPreference = 3
   125  )
   126  
   127  // Enum value maps for RoutingPreference.
   128  var (
   129  	RoutingPreference_name = map[int32]string{
   130  		0: "ROUTING_PREFERENCE_UNSPECIFIED",
   131  		1: "TRAFFIC_UNAWARE",
   132  		2: "TRAFFIC_AWARE",
   133  		3: "TRAFFIC_AWARE_OPTIMAL",
   134  	}
   135  	RoutingPreference_value = map[string]int32{
   136  		"ROUTING_PREFERENCE_UNSPECIFIED": 0,
   137  		"TRAFFIC_UNAWARE":                1,
   138  		"TRAFFIC_AWARE":                  2,
   139  		"TRAFFIC_AWARE_OPTIMAL":          3,
   140  	}
   141  )
   142  
   143  func (x RoutingPreference) Enum() *RoutingPreference {
   144  	p := new(RoutingPreference)
   145  	*p = x
   146  	return p
   147  }
   148  
   149  func (x RoutingPreference) String() string {
   150  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
   151  }
   152  
   153  func (RoutingPreference) Descriptor() protoreflect.EnumDescriptor {
   154  	return file_google_maps_routes_v1_compute_routes_request_proto_enumTypes[1].Descriptor()
   155  }
   156  
   157  func (RoutingPreference) Type() protoreflect.EnumType {
   158  	return &file_google_maps_routes_v1_compute_routes_request_proto_enumTypes[1]
   159  }
   160  
   161  func (x RoutingPreference) Number() protoreflect.EnumNumber {
   162  	return protoreflect.EnumNumber(x)
   163  }
   164  
   165  // Deprecated: Use RoutingPreference.Descriptor instead.
   166  func (RoutingPreference) EnumDescriptor() ([]byte, []int) {
   167  	return file_google_maps_routes_v1_compute_routes_request_proto_rawDescGZIP(), []int{1}
   168  }
   169  
   170  // A set of values that specify the unit of measure used in the display.
   171  type Units int32
   172  
   173  const (
   174  	// Units of measure not specified. Defaults to the unit of measure inferred
   175  	// from the request.
   176  	Units_UNITS_UNSPECIFIED Units = 0
   177  	// Metric units of measure.
   178  	Units_METRIC Units = 1
   179  	// Imperial (English) units of measure.
   180  	Units_IMPERIAL Units = 2
   181  )
   182  
   183  // Enum value maps for Units.
   184  var (
   185  	Units_name = map[int32]string{
   186  		0: "UNITS_UNSPECIFIED",
   187  		1: "METRIC",
   188  		2: "IMPERIAL",
   189  	}
   190  	Units_value = map[string]int32{
   191  		"UNITS_UNSPECIFIED": 0,
   192  		"METRIC":            1,
   193  		"IMPERIAL":          2,
   194  	}
   195  )
   196  
   197  func (x Units) Enum() *Units {
   198  	p := new(Units)
   199  	*p = x
   200  	return p
   201  }
   202  
   203  func (x Units) String() string {
   204  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
   205  }
   206  
   207  func (Units) Descriptor() protoreflect.EnumDescriptor {
   208  	return file_google_maps_routes_v1_compute_routes_request_proto_enumTypes[2].Descriptor()
   209  }
   210  
   211  func (Units) Type() protoreflect.EnumType {
   212  	return &file_google_maps_routes_v1_compute_routes_request_proto_enumTypes[2]
   213  }
   214  
   215  func (x Units) Number() protoreflect.EnumNumber {
   216  	return protoreflect.EnumNumber(x)
   217  }
   218  
   219  // Deprecated: Use Units.Descriptor instead.
   220  func (Units) EnumDescriptor() ([]byte, []int) {
   221  	return file_google_maps_routes_v1_compute_routes_request_proto_rawDescGZIP(), []int{2}
   222  }
   223  
   224  // ComputeRoutes request message.
   225  type ComputeRoutesRequest struct {
   226  	state         protoimpl.MessageState
   227  	sizeCache     protoimpl.SizeCache
   228  	unknownFields protoimpl.UnknownFields
   229  
   230  	// Required. Origin waypoint.
   231  	Origin *Waypoint `protobuf:"bytes,1,opt,name=origin,proto3" json:"origin,omitempty"`
   232  	// Required. Destination waypoint.
   233  	Destination *Waypoint `protobuf:"bytes,2,opt,name=destination,proto3" json:"destination,omitempty"`
   234  	// Optional. A set of waypoints along the route (excluding terminal points),
   235  	// for either stopping at or passing by. Up to 25 intermediate waypoints are
   236  	// supported.
   237  	Intermediates []*Waypoint `protobuf:"bytes,3,rep,name=intermediates,proto3" json:"intermediates,omitempty"`
   238  	// Optional. Specifies the mode of transportation.
   239  	TravelMode RouteTravelMode `protobuf:"varint,4,opt,name=travel_mode,json=travelMode,proto3,enum=google.maps.routes.v1.RouteTravelMode" json:"travel_mode,omitempty"`
   240  	// Optional. Specifies how to compute the route. The server
   241  	// attempts to use the selected routing preference to compute the route. If
   242  	//  the routing preference results in an error or an extra long latency, then
   243  	// an error is returned. In the future, we might implement a fallback
   244  	// mechanism to use a different option when the preferred option does not give
   245  	// a valid result. You can specify this option only when the `travel_mode` is
   246  	// `DRIVE` or `TWO_WHEELER`, otherwise the request fails.
   247  	RoutingPreference RoutingPreference `protobuf:"varint,5,opt,name=routing_preference,json=routingPreference,proto3,enum=google.maps.routes.v1.RoutingPreference" json:"routing_preference,omitempty"`
   248  	// Optional. Specifies your preference for the quality of the polyline.
   249  	PolylineQuality PolylineQuality `protobuf:"varint,6,opt,name=polyline_quality,json=polylineQuality,proto3,enum=google.maps.routes.v1.PolylineQuality" json:"polyline_quality,omitempty"`
   250  	// Optional. Specifies the preferred encoding for the polyline.
   251  	PolylineEncoding PolylineEncoding `protobuf:"varint,12,opt,name=polyline_encoding,json=polylineEncoding,proto3,enum=google.maps.routes.v1.PolylineEncoding" json:"polyline_encoding,omitempty"`
   252  	// Optional. The departure time. If you don't set this value, then this value
   253  	// defaults to the time that you made the request. If you set this value to a
   254  	// time that has already occurred, then the request fails.
   255  	DepartureTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=departure_time,json=departureTime,proto3" json:"departure_time,omitempty"`
   256  	// Specifies whether to calculate alternate routes in addition to the route.
   257  	ComputeAlternativeRoutes bool `protobuf:"varint,8,opt,name=compute_alternative_routes,json=computeAlternativeRoutes,proto3" json:"compute_alternative_routes,omitempty"`
   258  	// Optional. A set of conditions to satisfy that affect the way routes are
   259  	// calculated.
   260  	RouteModifiers *RouteModifiers `protobuf:"bytes,9,opt,name=route_modifiers,json=routeModifiers,proto3" json:"route_modifiers,omitempty"`
   261  	// Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more
   262  	// information, see
   263  	// http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. See
   264  	// [Language Support](https://developers.google.com/maps/faq#languagesupport)
   265  	// for the list of supported languages. When you don't provide this value, the
   266  	// display language is inferred from the location of the route request.
   267  	LanguageCode string `protobuf:"bytes,10,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
   268  	// Optional. Specifies the units of measure for the display fields. This
   269  	// includes the `instruction` field in `NavigationInstruction`. The units of
   270  	// measure used for the route, leg, step distance, and duration are not
   271  	// affected by this value. If you don't provide this value, then the display
   272  	// units are inferred from the location of the request.
   273  	Units Units `protobuf:"varint,11,opt,name=units,proto3,enum=google.maps.routes.v1.Units" json:"units,omitempty"`
   274  	// If optimizeWaypointOrder is set to true, an attempt is made to re-order the
   275  	// specified intermediate waypoints to minimize the overall cost of the route.
   276  	// If any of the intermediate waypoints is via waypoint the request fails. Use
   277  	// ComputeRoutesResponse.Routes.optimized_intermediate_waypoint_index to find
   278  	// the new ordering. If routes.optimized_intermediate_waypoint_index is not
   279  	// requested in the `X-Goog-FieldMask` header, the request fails. If
   280  	// optimizeWaypointOrder is set to false,
   281  	// ComputeRoutesResponse.optimized_intermediate_waypoint_index is empty.
   282  	OptimizeWaypointOrder bool `protobuf:"varint,13,opt,name=optimize_waypoint_order,json=optimizeWaypointOrder,proto3" json:"optimize_waypoint_order,omitempty"`
   283  }
   284  
   285  func (x *ComputeRoutesRequest) Reset() {
   286  	*x = ComputeRoutesRequest{}
   287  	if protoimpl.UnsafeEnabled {
   288  		mi := &file_google_maps_routes_v1_compute_routes_request_proto_msgTypes[0]
   289  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   290  		ms.StoreMessageInfo(mi)
   291  	}
   292  }
   293  
   294  func (x *ComputeRoutesRequest) String() string {
   295  	return protoimpl.X.MessageStringOf(x)
   296  }
   297  
   298  func (*ComputeRoutesRequest) ProtoMessage() {}
   299  
   300  func (x *ComputeRoutesRequest) ProtoReflect() protoreflect.Message {
   301  	mi := &file_google_maps_routes_v1_compute_routes_request_proto_msgTypes[0]
   302  	if protoimpl.UnsafeEnabled && x != nil {
   303  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   304  		if ms.LoadMessageInfo() == nil {
   305  			ms.StoreMessageInfo(mi)
   306  		}
   307  		return ms
   308  	}
   309  	return mi.MessageOf(x)
   310  }
   311  
   312  // Deprecated: Use ComputeRoutesRequest.ProtoReflect.Descriptor instead.
   313  func (*ComputeRoutesRequest) Descriptor() ([]byte, []int) {
   314  	return file_google_maps_routes_v1_compute_routes_request_proto_rawDescGZIP(), []int{0}
   315  }
   316  
   317  func (x *ComputeRoutesRequest) GetOrigin() *Waypoint {
   318  	if x != nil {
   319  		return x.Origin
   320  	}
   321  	return nil
   322  }
   323  
   324  func (x *ComputeRoutesRequest) GetDestination() *Waypoint {
   325  	if x != nil {
   326  		return x.Destination
   327  	}
   328  	return nil
   329  }
   330  
   331  func (x *ComputeRoutesRequest) GetIntermediates() []*Waypoint {
   332  	if x != nil {
   333  		return x.Intermediates
   334  	}
   335  	return nil
   336  }
   337  
   338  func (x *ComputeRoutesRequest) GetTravelMode() RouteTravelMode {
   339  	if x != nil {
   340  		return x.TravelMode
   341  	}
   342  	return RouteTravelMode_TRAVEL_MODE_UNSPECIFIED
   343  }
   344  
   345  func (x *ComputeRoutesRequest) GetRoutingPreference() RoutingPreference {
   346  	if x != nil {
   347  		return x.RoutingPreference
   348  	}
   349  	return RoutingPreference_ROUTING_PREFERENCE_UNSPECIFIED
   350  }
   351  
   352  func (x *ComputeRoutesRequest) GetPolylineQuality() PolylineQuality {
   353  	if x != nil {
   354  		return x.PolylineQuality
   355  	}
   356  	return PolylineQuality_POLYLINE_QUALITY_UNSPECIFIED
   357  }
   358  
   359  func (x *ComputeRoutesRequest) GetPolylineEncoding() PolylineEncoding {
   360  	if x != nil {
   361  		return x.PolylineEncoding
   362  	}
   363  	return PolylineEncoding_POLYLINE_ENCODING_UNSPECIFIED
   364  }
   365  
   366  func (x *ComputeRoutesRequest) GetDepartureTime() *timestamppb.Timestamp {
   367  	if x != nil {
   368  		return x.DepartureTime
   369  	}
   370  	return nil
   371  }
   372  
   373  func (x *ComputeRoutesRequest) GetComputeAlternativeRoutes() bool {
   374  	if x != nil {
   375  		return x.ComputeAlternativeRoutes
   376  	}
   377  	return false
   378  }
   379  
   380  func (x *ComputeRoutesRequest) GetRouteModifiers() *RouteModifiers {
   381  	if x != nil {
   382  		return x.RouteModifiers
   383  	}
   384  	return nil
   385  }
   386  
   387  func (x *ComputeRoutesRequest) GetLanguageCode() string {
   388  	if x != nil {
   389  		return x.LanguageCode
   390  	}
   391  	return ""
   392  }
   393  
   394  func (x *ComputeRoutesRequest) GetUnits() Units {
   395  	if x != nil {
   396  		return x.Units
   397  	}
   398  	return Units_UNITS_UNSPECIFIED
   399  }
   400  
   401  func (x *ComputeRoutesRequest) GetOptimizeWaypointOrder() bool {
   402  	if x != nil {
   403  		return x.OptimizeWaypointOrder
   404  	}
   405  	return false
   406  }
   407  
   408  // Encapsulates a set of optional conditions to satisfy when calculating the
   409  // routes.
   410  type RouteModifiers struct {
   411  	state         protoimpl.MessageState
   412  	sizeCache     protoimpl.SizeCache
   413  	unknownFields protoimpl.UnknownFields
   414  
   415  	// Specifies whether to avoid toll roads where reasonable. Preference will be
   416  	// given to routes not containing toll roads. Applies only to the `DRIVE` and
   417  	// `TWO_WHEELER` travel modes.
   418  	AvoidTolls bool `protobuf:"varint,1,opt,name=avoid_tolls,json=avoidTolls,proto3" json:"avoid_tolls,omitempty"`
   419  	// Specifies whether to avoid highways where reasonable. Preference will be
   420  	// given to routes not containing highways. Applies only to the `DRIVE` and
   421  	// `TWO_WHEELER` travel modes.
   422  	AvoidHighways bool `protobuf:"varint,2,opt,name=avoid_highways,json=avoidHighways,proto3" json:"avoid_highways,omitempty"`
   423  	// Specifies whether to avoid ferries where reasonable. Preference will be
   424  	// given to routes not containing travel by ferries.
   425  	// Applies only to the `DRIVE` and`TWO_WHEELER` travel modes.
   426  	AvoidFerries bool `protobuf:"varint,3,opt,name=avoid_ferries,json=avoidFerries,proto3" json:"avoid_ferries,omitempty"`
   427  	// Specifies whether to avoid navigating indoors where reasonable. Preference
   428  	// will be given to routes not containing indoor navigation.
   429  	// Applies only to the `WALK` travel mode.
   430  	AvoidIndoor bool `protobuf:"varint,4,opt,name=avoid_indoor,json=avoidIndoor,proto3" json:"avoid_indoor,omitempty"`
   431  	// Specifies the vehicle information.
   432  	VehicleInfo *VehicleInfo `protobuf:"bytes,5,opt,name=vehicle_info,json=vehicleInfo,proto3" json:"vehicle_info,omitempty"`
   433  	// Encapsulates information about toll passes.
   434  	// If toll passes are provided, the API tries to return the pass price. If
   435  	// toll passes are not provided, the API treats the toll pass as unknown and
   436  	// tries to return the cash price.
   437  	// Applies only to the DRIVE and TWO_WHEELER travel modes.
   438  	TollPasses []TollPass `protobuf:"varint,6,rep,packed,name=toll_passes,json=tollPasses,proto3,enum=google.maps.routes.v1.TollPass" json:"toll_passes,omitempty"`
   439  }
   440  
   441  func (x *RouteModifiers) Reset() {
   442  	*x = RouteModifiers{}
   443  	if protoimpl.UnsafeEnabled {
   444  		mi := &file_google_maps_routes_v1_compute_routes_request_proto_msgTypes[1]
   445  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   446  		ms.StoreMessageInfo(mi)
   447  	}
   448  }
   449  
   450  func (x *RouteModifiers) String() string {
   451  	return protoimpl.X.MessageStringOf(x)
   452  }
   453  
   454  func (*RouteModifiers) ProtoMessage() {}
   455  
   456  func (x *RouteModifiers) ProtoReflect() protoreflect.Message {
   457  	mi := &file_google_maps_routes_v1_compute_routes_request_proto_msgTypes[1]
   458  	if protoimpl.UnsafeEnabled && x != nil {
   459  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   460  		if ms.LoadMessageInfo() == nil {
   461  			ms.StoreMessageInfo(mi)
   462  		}
   463  		return ms
   464  	}
   465  	return mi.MessageOf(x)
   466  }
   467  
   468  // Deprecated: Use RouteModifiers.ProtoReflect.Descriptor instead.
   469  func (*RouteModifiers) Descriptor() ([]byte, []int) {
   470  	return file_google_maps_routes_v1_compute_routes_request_proto_rawDescGZIP(), []int{1}
   471  }
   472  
   473  func (x *RouteModifiers) GetAvoidTolls() bool {
   474  	if x != nil {
   475  		return x.AvoidTolls
   476  	}
   477  	return false
   478  }
   479  
   480  func (x *RouteModifiers) GetAvoidHighways() bool {
   481  	if x != nil {
   482  		return x.AvoidHighways
   483  	}
   484  	return false
   485  }
   486  
   487  func (x *RouteModifiers) GetAvoidFerries() bool {
   488  	if x != nil {
   489  		return x.AvoidFerries
   490  	}
   491  	return false
   492  }
   493  
   494  func (x *RouteModifiers) GetAvoidIndoor() bool {
   495  	if x != nil {
   496  		return x.AvoidIndoor
   497  	}
   498  	return false
   499  }
   500  
   501  func (x *RouteModifiers) GetVehicleInfo() *VehicleInfo {
   502  	if x != nil {
   503  		return x.VehicleInfo
   504  	}
   505  	return nil
   506  }
   507  
   508  func (x *RouteModifiers) GetTollPasses() []TollPass {
   509  	if x != nil {
   510  		return x.TollPasses
   511  	}
   512  	return nil
   513  }
   514  
   515  // Encapsulates the vehicle information, such as the license plate last
   516  // character.
   517  type VehicleInfo struct {
   518  	state         protoimpl.MessageState
   519  	sizeCache     protoimpl.SizeCache
   520  	unknownFields protoimpl.UnknownFields
   521  
   522  	// Specifies the license plate last character. Could be a digit or a letter.
   523  	LicensePlateLastCharacter string `protobuf:"bytes,1,opt,name=license_plate_last_character,json=licensePlateLastCharacter,proto3" json:"license_plate_last_character,omitempty"`
   524  	// Describes the vehicle's emission type.
   525  	// Applies only to the DRIVE travel mode.
   526  	EmissionType VehicleEmissionType `protobuf:"varint,2,opt,name=emission_type,json=emissionType,proto3,enum=google.maps.routes.v1.VehicleEmissionType" json:"emission_type,omitempty"`
   527  }
   528  
   529  func (x *VehicleInfo) Reset() {
   530  	*x = VehicleInfo{}
   531  	if protoimpl.UnsafeEnabled {
   532  		mi := &file_google_maps_routes_v1_compute_routes_request_proto_msgTypes[2]
   533  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   534  		ms.StoreMessageInfo(mi)
   535  	}
   536  }
   537  
   538  func (x *VehicleInfo) String() string {
   539  	return protoimpl.X.MessageStringOf(x)
   540  }
   541  
   542  func (*VehicleInfo) ProtoMessage() {}
   543  
   544  func (x *VehicleInfo) ProtoReflect() protoreflect.Message {
   545  	mi := &file_google_maps_routes_v1_compute_routes_request_proto_msgTypes[2]
   546  	if protoimpl.UnsafeEnabled && x != nil {
   547  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   548  		if ms.LoadMessageInfo() == nil {
   549  			ms.StoreMessageInfo(mi)
   550  		}
   551  		return ms
   552  	}
   553  	return mi.MessageOf(x)
   554  }
   555  
   556  // Deprecated: Use VehicleInfo.ProtoReflect.Descriptor instead.
   557  func (*VehicleInfo) Descriptor() ([]byte, []int) {
   558  	return file_google_maps_routes_v1_compute_routes_request_proto_rawDescGZIP(), []int{2}
   559  }
   560  
   561  func (x *VehicleInfo) GetLicensePlateLastCharacter() string {
   562  	if x != nil {
   563  		return x.LicensePlateLastCharacter
   564  	}
   565  	return ""
   566  }
   567  
   568  func (x *VehicleInfo) GetEmissionType() VehicleEmissionType {
   569  	if x != nil {
   570  		return x.EmissionType
   571  	}
   572  	return VehicleEmissionType_VEHICLE_EMISSION_TYPE_UNSPECIFIED
   573  }
   574  
   575  var File_google_maps_routes_v1_compute_routes_request_proto protoreflect.FileDescriptor
   576  
   577  var file_google_maps_routes_v1_compute_routes_request_proto_rawDesc = []byte{
   578  	0x0a, 0x32, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6d, 0x61, 0x70, 0x73, 0x2f, 0x72, 0x6f,
   579  	0x75, 0x74, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x5f,
   580  	0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x70,
   581  	0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70,
   582  	0x73, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x1a, 0x24, 0x67, 0x6f, 0x6f,
   583  	0x67, 0x6c, 0x65, 0x2f, 0x6d, 0x61, 0x70, 0x73, 0x2f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x2f,
   584  	0x76, 0x31, 0x2f, 0x70, 0x6f, 0x6c, 0x79, 0x6c, 0x69, 0x6e, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
   585  	0x6f, 0x1a, 0x27, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6d, 0x61, 0x70, 0x73, 0x2f, 0x72,
   586  	0x6f, 0x75, 0x74, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x6f, 0x6c, 0x6c, 0x5f, 0x70, 0x61,
   587  	0x73, 0x73, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x31, 0x67, 0x6f, 0x6f, 0x67,
   588  	0x6c, 0x65, 0x2f, 0x6d, 0x61, 0x70, 0x73, 0x2f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x2f, 0x76,
   589  	0x31, 0x2f, 0x76, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x5f, 0x65, 0x6d, 0x69, 0x73, 0x73, 0x69,
   590  	0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x67,
   591  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6d, 0x61, 0x70, 0x73, 0x2f, 0x72, 0x6f, 0x75, 0x74, 0x65,
   592  	0x73, 0x2f, 0x76, 0x31, 0x2f, 0x77, 0x61, 0x79, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x70, 0x72,
   593  	0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74,
   594  	0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70,
   595  	0x72, 0x6f, 0x74, 0x6f, 0x22, 0x86, 0x07, 0x0a, 0x14, 0x43, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65,
   596  	0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x37, 0x0a,
   597  	0x06, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e,
   598  	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x72, 0x6f, 0x75, 0x74,
   599  	0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x61, 0x79, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x06,
   600  	0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x12, 0x41, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e,
   601  	0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x6f,
   602  	0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73,
   603  	0x2e, 0x76, 0x31, 0x2e, 0x57, 0x61, 0x79, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x0b, 0x64, 0x65,
   604  	0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x45, 0x0a, 0x0d, 0x69, 0x6e, 0x74,
   605  	0x65, 0x72, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b,
   606  	0x32, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x72,
   607  	0x6f, 0x75, 0x74, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x61, 0x79, 0x70, 0x6f, 0x69, 0x6e,
   608  	0x74, 0x52, 0x0d, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x73,
   609  	0x12, 0x47, 0x0a, 0x0b, 0x74, 0x72, 0x61, 0x76, 0x65, 0x6c, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18,
   610  	0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d,
   611  	0x61, 0x70, 0x73, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f,
   612  	0x75, 0x74, 0x65, 0x54, 0x72, 0x61, 0x76, 0x65, 0x6c, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x0a, 0x74,
   613  	0x72, 0x61, 0x76, 0x65, 0x6c, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x57, 0x0a, 0x12, 0x72, 0x6f, 0x75,
   614  	0x74, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18,
   615  	0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d,
   616  	0x61, 0x70, 0x73, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f,
   617  	0x75, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52,
   618  	0x11, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e,
   619  	0x63, 0x65, 0x12, 0x51, 0x0a, 0x10, 0x70, 0x6f, 0x6c, 0x79, 0x6c, 0x69, 0x6e, 0x65, 0x5f, 0x71,
   620  	0x75, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x67,
   621  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65,
   622  	0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x6c, 0x79, 0x6c, 0x69, 0x6e, 0x65, 0x51, 0x75, 0x61,
   623  	0x6c, 0x69, 0x74, 0x79, 0x52, 0x0f, 0x70, 0x6f, 0x6c, 0x79, 0x6c, 0x69, 0x6e, 0x65, 0x51, 0x75,
   624  	0x61, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x54, 0x0a, 0x11, 0x70, 0x6f, 0x6c, 0x79, 0x6c, 0x69, 0x6e,
   625  	0x65, 0x5f, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0e,
   626  	0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x72,
   627  	0x6f, 0x75, 0x74, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x6c, 0x79, 0x6c, 0x69, 0x6e,
   628  	0x65, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x52, 0x10, 0x70, 0x6f, 0x6c, 0x79, 0x6c,
   629  	0x69, 0x6e, 0x65, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x41, 0x0a, 0x0e, 0x64,
   630  	0x65, 0x70, 0x61, 0x72, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20,
   631  	0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
   632  	0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52,
   633  	0x0d, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x75, 0x72, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3c,
   634  	0x0a, 0x1a, 0x63, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x5f, 0x61, 0x6c, 0x74, 0x65, 0x72, 0x6e,
   635  	0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x18, 0x08, 0x20, 0x01,
   636  	0x28, 0x08, 0x52, 0x18, 0x63, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x41, 0x6c, 0x74, 0x65, 0x72,
   637  	0x6e, 0x61, 0x74, 0x69, 0x76, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x12, 0x4e, 0x0a, 0x0f,
   638  	0x72, 0x6f, 0x75, 0x74, 0x65, 0x5f, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x73, 0x18,
   639  	0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d,
   640  	0x61, 0x70, 0x73, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f,
   641  	0x75, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x73, 0x52, 0x0e, 0x72, 0x6f,
   642  	0x75, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x73, 0x12, 0x23, 0x0a, 0x0d,
   643  	0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0a, 0x20,
   644  	0x01, 0x28, 0x09, 0x52, 0x0c, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x64,
   645  	0x65, 0x12, 0x32, 0x0a, 0x05, 0x75, 0x6e, 0x69, 0x74, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0e,
   646  	0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x72,
   647  	0x6f, 0x75, 0x74, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x69, 0x74, 0x73, 0x52, 0x05,
   648  	0x75, 0x6e, 0x69, 0x74, 0x73, 0x12, 0x36, 0x0a, 0x17, 0x6f, 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a,
   649  	0x65, 0x5f, 0x77, 0x61, 0x79, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x6f, 0x72, 0x64, 0x65, 0x72,
   650  	0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, 0x52, 0x15, 0x6f, 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a, 0x65,
   651  	0x57, 0x61, 0x79, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x22, 0xa9, 0x02,
   652  	0x0a, 0x0e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x73,
   653  	0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x76, 0x6f, 0x69, 0x64, 0x5f, 0x74, 0x6f, 0x6c, 0x6c, 0x73, 0x18,
   654  	0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x61, 0x76, 0x6f, 0x69, 0x64, 0x54, 0x6f, 0x6c, 0x6c,
   655  	0x73, 0x12, 0x25, 0x0a, 0x0e, 0x61, 0x76, 0x6f, 0x69, 0x64, 0x5f, 0x68, 0x69, 0x67, 0x68, 0x77,
   656  	0x61, 0x79, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x61, 0x76, 0x6f, 0x69, 0x64,
   657  	0x48, 0x69, 0x67, 0x68, 0x77, 0x61, 0x79, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x76, 0x6f, 0x69,
   658  	0x64, 0x5f, 0x66, 0x65, 0x72, 0x72, 0x69, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52,
   659  	0x0c, 0x61, 0x76, 0x6f, 0x69, 0x64, 0x46, 0x65, 0x72, 0x72, 0x69, 0x65, 0x73, 0x12, 0x21, 0x0a,
   660  	0x0c, 0x61, 0x76, 0x6f, 0x69, 0x64, 0x5f, 0x69, 0x6e, 0x64, 0x6f, 0x6f, 0x72, 0x18, 0x04, 0x20,
   661  	0x01, 0x28, 0x08, 0x52, 0x0b, 0x61, 0x76, 0x6f, 0x69, 0x64, 0x49, 0x6e, 0x64, 0x6f, 0x6f, 0x72,
   662  	0x12, 0x45, 0x0a, 0x0c, 0x76, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f,
   663  	0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
   664  	0x6d, 0x61, 0x70, 0x73, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x56,
   665  	0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0b, 0x76, 0x65, 0x68, 0x69,
   666  	0x63, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x40, 0x0a, 0x0b, 0x74, 0x6f, 0x6c, 0x6c, 0x5f,
   667  	0x70, 0x61, 0x73, 0x73, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x67,
   668  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65,
   669  	0x73, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x6f, 0x6c, 0x6c, 0x50, 0x61, 0x73, 0x73, 0x52, 0x0a, 0x74,
   670  	0x6f, 0x6c, 0x6c, 0x50, 0x61, 0x73, 0x73, 0x65, 0x73, 0x22, 0x9f, 0x01, 0x0a, 0x0b, 0x56, 0x65,
   671  	0x68, 0x69, 0x63, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x3f, 0x0a, 0x1c, 0x6c, 0x69, 0x63,
   672  	0x65, 0x6e, 0x73, 0x65, 0x5f, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x5f, 0x6c, 0x61, 0x73, 0x74, 0x5f,
   673  	0x63, 0x68, 0x61, 0x72, 0x61, 0x63, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
   674  	0x19, 0x6c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x50, 0x6c, 0x61, 0x74, 0x65, 0x4c, 0x61, 0x73,
   675  	0x74, 0x43, 0x68, 0x61, 0x72, 0x61, 0x63, 0x74, 0x65, 0x72, 0x12, 0x4f, 0x0a, 0x0d, 0x65, 0x6d,
   676  	0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
   677  	0x0e, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e,
   678  	0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c,
   679  	0x65, 0x45, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, 0x65,
   680  	0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x2a, 0x6b, 0x0a, 0x0f, 0x52,
   681  	0x6f, 0x75, 0x74, 0x65, 0x54, 0x72, 0x61, 0x76, 0x65, 0x6c, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x1b,
   682  	0x0a, 0x17, 0x54, 0x52, 0x41, 0x56, 0x45, 0x4c, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x55, 0x4e,
   683  	0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x44,
   684  	0x52, 0x49, 0x56, 0x45, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x42, 0x49, 0x43, 0x59, 0x43, 0x4c,
   685  	0x45, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, 0x57, 0x41, 0x4c, 0x4b, 0x10, 0x03, 0x12, 0x0f, 0x0a,
   686  	0x0b, 0x54, 0x57, 0x4f, 0x5f, 0x57, 0x48, 0x45, 0x45, 0x4c, 0x45, 0x52, 0x10, 0x04, 0x12, 0x08,
   687  	0x0a, 0x04, 0x54, 0x41, 0x58, 0x49, 0x10, 0x05, 0x2a, 0x7a, 0x0a, 0x11, 0x52, 0x6f, 0x75, 0x74,
   688  	0x69, 0x6e, 0x67, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x22, 0x0a,
   689  	0x1e, 0x52, 0x4f, 0x55, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x50, 0x52, 0x45, 0x46, 0x45, 0x52, 0x45,
   690  	0x4e, 0x43, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10,
   691  	0x00, 0x12, 0x13, 0x0a, 0x0f, 0x54, 0x52, 0x41, 0x46, 0x46, 0x49, 0x43, 0x5f, 0x55, 0x4e, 0x41,
   692  	0x57, 0x41, 0x52, 0x45, 0x10, 0x01, 0x12, 0x11, 0x0a, 0x0d, 0x54, 0x52, 0x41, 0x46, 0x46, 0x49,
   693  	0x43, 0x5f, 0x41, 0x57, 0x41, 0x52, 0x45, 0x10, 0x02, 0x12, 0x19, 0x0a, 0x15, 0x54, 0x52, 0x41,
   694  	0x46, 0x46, 0x49, 0x43, 0x5f, 0x41, 0x57, 0x41, 0x52, 0x45, 0x5f, 0x4f, 0x50, 0x54, 0x49, 0x4d,
   695  	0x41, 0x4c, 0x10, 0x03, 0x2a, 0x38, 0x0a, 0x05, 0x55, 0x6e, 0x69, 0x74, 0x73, 0x12, 0x15, 0x0a,
   696  	0x11, 0x55, 0x4e, 0x49, 0x54, 0x53, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49,
   697  	0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x4d, 0x45, 0x54, 0x52, 0x49, 0x43, 0x10, 0x01,
   698  	0x12, 0x0c, 0x0a, 0x08, 0x49, 0x4d, 0x50, 0x45, 0x52, 0x49, 0x41, 0x4c, 0x10, 0x02, 0x42, 0xaf,
   699  	0x01, 0x0a, 0x19, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61,
   700  	0x70, 0x73, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x42, 0x19, 0x43, 0x6f,
   701  	0x6d, 0x70, 0x75, 0x74, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
   702  	0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3b, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
   703  	0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e,
   704  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73,
   705  	0x2f, 0x6d, 0x61, 0x70, 0x73, 0x2f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x3b,
   706  	0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0xf8, 0x01, 0x01, 0xa2, 0x02, 0x04, 0x47, 0x4d, 0x52, 0x53,
   707  	0xaa, 0x02, 0x15, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x4d, 0x61, 0x70, 0x73, 0x2e, 0x52,
   708  	0x6f, 0x75, 0x74, 0x65, 0x73, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x15, 0x47, 0x6f, 0x6f, 0x67, 0x6c,
   709  	0x65, 0x5c, 0x4d, 0x61, 0x70, 0x73, 0x5c, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x5c, 0x56, 0x31,
   710  	0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   711  }
   712  
   713  var (
   714  	file_google_maps_routes_v1_compute_routes_request_proto_rawDescOnce sync.Once
   715  	file_google_maps_routes_v1_compute_routes_request_proto_rawDescData = file_google_maps_routes_v1_compute_routes_request_proto_rawDesc
   716  )
   717  
   718  func file_google_maps_routes_v1_compute_routes_request_proto_rawDescGZIP() []byte {
   719  	file_google_maps_routes_v1_compute_routes_request_proto_rawDescOnce.Do(func() {
   720  		file_google_maps_routes_v1_compute_routes_request_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_maps_routes_v1_compute_routes_request_proto_rawDescData)
   721  	})
   722  	return file_google_maps_routes_v1_compute_routes_request_proto_rawDescData
   723  }
   724  
   725  var file_google_maps_routes_v1_compute_routes_request_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
   726  var file_google_maps_routes_v1_compute_routes_request_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
   727  var file_google_maps_routes_v1_compute_routes_request_proto_goTypes = []interface{}{
   728  	(RouteTravelMode)(0),          // 0: google.maps.routes.v1.RouteTravelMode
   729  	(RoutingPreference)(0),        // 1: google.maps.routes.v1.RoutingPreference
   730  	(Units)(0),                    // 2: google.maps.routes.v1.Units
   731  	(*ComputeRoutesRequest)(nil),  // 3: google.maps.routes.v1.ComputeRoutesRequest
   732  	(*RouteModifiers)(nil),        // 4: google.maps.routes.v1.RouteModifiers
   733  	(*VehicleInfo)(nil),           // 5: google.maps.routes.v1.VehicleInfo
   734  	(*Waypoint)(nil),              // 6: google.maps.routes.v1.Waypoint
   735  	(PolylineQuality)(0),          // 7: google.maps.routes.v1.PolylineQuality
   736  	(PolylineEncoding)(0),         // 8: google.maps.routes.v1.PolylineEncoding
   737  	(*timestamppb.Timestamp)(nil), // 9: google.protobuf.Timestamp
   738  	(TollPass)(0),                 // 10: google.maps.routes.v1.TollPass
   739  	(VehicleEmissionType)(0),      // 11: google.maps.routes.v1.VehicleEmissionType
   740  }
   741  var file_google_maps_routes_v1_compute_routes_request_proto_depIdxs = []int32{
   742  	6,  // 0: google.maps.routes.v1.ComputeRoutesRequest.origin:type_name -> google.maps.routes.v1.Waypoint
   743  	6,  // 1: google.maps.routes.v1.ComputeRoutesRequest.destination:type_name -> google.maps.routes.v1.Waypoint
   744  	6,  // 2: google.maps.routes.v1.ComputeRoutesRequest.intermediates:type_name -> google.maps.routes.v1.Waypoint
   745  	0,  // 3: google.maps.routes.v1.ComputeRoutesRequest.travel_mode:type_name -> google.maps.routes.v1.RouteTravelMode
   746  	1,  // 4: google.maps.routes.v1.ComputeRoutesRequest.routing_preference:type_name -> google.maps.routes.v1.RoutingPreference
   747  	7,  // 5: google.maps.routes.v1.ComputeRoutesRequest.polyline_quality:type_name -> google.maps.routes.v1.PolylineQuality
   748  	8,  // 6: google.maps.routes.v1.ComputeRoutesRequest.polyline_encoding:type_name -> google.maps.routes.v1.PolylineEncoding
   749  	9,  // 7: google.maps.routes.v1.ComputeRoutesRequest.departure_time:type_name -> google.protobuf.Timestamp
   750  	4,  // 8: google.maps.routes.v1.ComputeRoutesRequest.route_modifiers:type_name -> google.maps.routes.v1.RouteModifiers
   751  	2,  // 9: google.maps.routes.v1.ComputeRoutesRequest.units:type_name -> google.maps.routes.v1.Units
   752  	5,  // 10: google.maps.routes.v1.RouteModifiers.vehicle_info:type_name -> google.maps.routes.v1.VehicleInfo
   753  	10, // 11: google.maps.routes.v1.RouteModifiers.toll_passes:type_name -> google.maps.routes.v1.TollPass
   754  	11, // 12: google.maps.routes.v1.VehicleInfo.emission_type:type_name -> google.maps.routes.v1.VehicleEmissionType
   755  	13, // [13:13] is the sub-list for method output_type
   756  	13, // [13:13] is the sub-list for method input_type
   757  	13, // [13:13] is the sub-list for extension type_name
   758  	13, // [13:13] is the sub-list for extension extendee
   759  	0,  // [0:13] is the sub-list for field type_name
   760  }
   761  
   762  func init() { file_google_maps_routes_v1_compute_routes_request_proto_init() }
   763  func file_google_maps_routes_v1_compute_routes_request_proto_init() {
   764  	if File_google_maps_routes_v1_compute_routes_request_proto != nil {
   765  		return
   766  	}
   767  	file_google_maps_routes_v1_polyline_proto_init()
   768  	file_google_maps_routes_v1_toll_passes_proto_init()
   769  	file_google_maps_routes_v1_vehicle_emission_type_proto_init()
   770  	file_google_maps_routes_v1_waypoint_proto_init()
   771  	if !protoimpl.UnsafeEnabled {
   772  		file_google_maps_routes_v1_compute_routes_request_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   773  			switch v := v.(*ComputeRoutesRequest); i {
   774  			case 0:
   775  				return &v.state
   776  			case 1:
   777  				return &v.sizeCache
   778  			case 2:
   779  				return &v.unknownFields
   780  			default:
   781  				return nil
   782  			}
   783  		}
   784  		file_google_maps_routes_v1_compute_routes_request_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   785  			switch v := v.(*RouteModifiers); i {
   786  			case 0:
   787  				return &v.state
   788  			case 1:
   789  				return &v.sizeCache
   790  			case 2:
   791  				return &v.unknownFields
   792  			default:
   793  				return nil
   794  			}
   795  		}
   796  		file_google_maps_routes_v1_compute_routes_request_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   797  			switch v := v.(*VehicleInfo); i {
   798  			case 0:
   799  				return &v.state
   800  			case 1:
   801  				return &v.sizeCache
   802  			case 2:
   803  				return &v.unknownFields
   804  			default:
   805  				return nil
   806  			}
   807  		}
   808  	}
   809  	type x struct{}
   810  	out := protoimpl.TypeBuilder{
   811  		File: protoimpl.DescBuilder{
   812  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   813  			RawDescriptor: file_google_maps_routes_v1_compute_routes_request_proto_rawDesc,
   814  			NumEnums:      3,
   815  			NumMessages:   3,
   816  			NumExtensions: 0,
   817  			NumServices:   0,
   818  		},
   819  		GoTypes:           file_google_maps_routes_v1_compute_routes_request_proto_goTypes,
   820  		DependencyIndexes: file_google_maps_routes_v1_compute_routes_request_proto_depIdxs,
   821  		EnumInfos:         file_google_maps_routes_v1_compute_routes_request_proto_enumTypes,
   822  		MessageInfos:      file_google_maps_routes_v1_compute_routes_request_proto_msgTypes,
   823  	}.Build()
   824  	File_google_maps_routes_v1_compute_routes_request_proto = out.File
   825  	file_google_maps_routes_v1_compute_routes_request_proto_rawDesc = nil
   826  	file_google_maps_routes_v1_compute_routes_request_proto_goTypes = nil
   827  	file_google_maps_routes_v1_compute_routes_request_proto_depIdxs = nil
   828  }
   829  

View as plain text