...

Source file src/google.golang.org/genproto/googleapis/maps/routes/v1/compute_custom_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_custom_routes_request.proto
    20  
    21  package routes
    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  	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
    31  )
    32  
    33  const (
    34  	// Verify that this generated code is sufficiently up-to-date.
    35  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    36  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    37  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    38  )
    39  
    40  // ComputeCustomRoutes request message.
    41  type ComputeCustomRoutesRequest struct {
    42  	state         protoimpl.MessageState
    43  	sizeCache     protoimpl.SizeCache
    44  	unknownFields protoimpl.UnknownFields
    45  
    46  	// Required. Origin waypoint.
    47  	Origin *Waypoint `protobuf:"bytes,1,opt,name=origin,proto3" json:"origin,omitempty"`
    48  	// Required. Destination waypoint.
    49  	Destination *Waypoint `protobuf:"bytes,2,opt,name=destination,proto3" json:"destination,omitempty"`
    50  	// Optional. A set of waypoints along the route (excluding terminal points), for either
    51  	// stopping at or passing by. Up to 25 intermediate waypoints are supported.
    52  	Intermediates []*Waypoint `protobuf:"bytes,3,rep,name=intermediates,proto3" json:"intermediates,omitempty"`
    53  	// Optional. Specifies the mode of transportation. Only DRIVE is supported now.
    54  	TravelMode RouteTravelMode `protobuf:"varint,4,opt,name=travel_mode,json=travelMode,proto3,enum=google.maps.routes.v1.RouteTravelMode" json:"travel_mode,omitempty"`
    55  	// Optional. Specifies how to compute the route. The server attempts to use the selected
    56  	// routing preference to compute the route. If the routing preference results
    57  	// in an error or an extra long latency, then an error is returned. In the
    58  	// future, we might implement a fallback mechanism to use a different option
    59  	// when the preferred option does not give a valid result. You can specify
    60  	// this option only when the `travel_mode` is `DRIVE` or `TWO_WHEELER`,
    61  	// otherwise the request fails.
    62  	RoutingPreference RoutingPreference `protobuf:"varint,5,opt,name=routing_preference,json=routingPreference,proto3,enum=google.maps.routes.v1.RoutingPreference" json:"routing_preference,omitempty"`
    63  	// Optional. Specifies your preference for the quality of the polyline.
    64  	PolylineQuality PolylineQuality `protobuf:"varint,6,opt,name=polyline_quality,json=polylineQuality,proto3,enum=google.maps.routes.v1.PolylineQuality" json:"polyline_quality,omitempty"`
    65  	// Optional. Specifies the preferred encoding for the polyline.
    66  	PolylineEncoding PolylineEncoding `protobuf:"varint,13,opt,name=polyline_encoding,json=polylineEncoding,proto3,enum=google.maps.routes.v1.PolylineEncoding" json:"polyline_encoding,omitempty"`
    67  	// Optional. The departure time. If you don't set this value, then this value
    68  	// defaults to the time that you made the request. If you set this value to a
    69  	// time that has already occurred, then the request fails.
    70  	DepartureTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=departure_time,json=departureTime,proto3" json:"departure_time,omitempty"`
    71  	// Optional. A set of conditions to satisfy that affect the way routes are calculated.
    72  	RouteModifiers *RouteModifiers `protobuf:"bytes,11,opt,name=route_modifiers,json=routeModifiers,proto3" json:"route_modifiers,omitempty"`
    73  	// Required. A route objective to optimize for.
    74  	RouteObjective *RouteObjective `protobuf:"bytes,12,opt,name=route_objective,json=routeObjective,proto3" json:"route_objective,omitempty"`
    75  	// Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more
    76  	// information, see
    77  	// http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. See
    78  	// [Language Support](https://developers.google.com/maps/faq#languagesupport)
    79  	// for the list of supported languages. When you don't provide this value, the
    80  	// display language is inferred from the location of the route request.
    81  	LanguageCode string `protobuf:"bytes,9,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
    82  	// Optional. Specifies the units of measure for the display fields. This includes the
    83  	// `instruction` field in `NavigationInstruction`. The units of measure used
    84  	// for the route, leg, step distance, and duration are not affected by this
    85  	// value. If you don't provide this value, then the display units are inferred
    86  	// from the location of the request.
    87  	Units Units `protobuf:"varint,10,opt,name=units,proto3,enum=google.maps.routes.v1.Units" json:"units,omitempty"`
    88  }
    89  
    90  func (x *ComputeCustomRoutesRequest) Reset() {
    91  	*x = ComputeCustomRoutesRequest{}
    92  	if protoimpl.UnsafeEnabled {
    93  		mi := &file_google_maps_routes_v1_compute_custom_routes_request_proto_msgTypes[0]
    94  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    95  		ms.StoreMessageInfo(mi)
    96  	}
    97  }
    98  
    99  func (x *ComputeCustomRoutesRequest) String() string {
   100  	return protoimpl.X.MessageStringOf(x)
   101  }
   102  
   103  func (*ComputeCustomRoutesRequest) ProtoMessage() {}
   104  
   105  func (x *ComputeCustomRoutesRequest) ProtoReflect() protoreflect.Message {
   106  	mi := &file_google_maps_routes_v1_compute_custom_routes_request_proto_msgTypes[0]
   107  	if protoimpl.UnsafeEnabled && x != nil {
   108  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   109  		if ms.LoadMessageInfo() == nil {
   110  			ms.StoreMessageInfo(mi)
   111  		}
   112  		return ms
   113  	}
   114  	return mi.MessageOf(x)
   115  }
   116  
   117  // Deprecated: Use ComputeCustomRoutesRequest.ProtoReflect.Descriptor instead.
   118  func (*ComputeCustomRoutesRequest) Descriptor() ([]byte, []int) {
   119  	return file_google_maps_routes_v1_compute_custom_routes_request_proto_rawDescGZIP(), []int{0}
   120  }
   121  
   122  func (x *ComputeCustomRoutesRequest) GetOrigin() *Waypoint {
   123  	if x != nil {
   124  		return x.Origin
   125  	}
   126  	return nil
   127  }
   128  
   129  func (x *ComputeCustomRoutesRequest) GetDestination() *Waypoint {
   130  	if x != nil {
   131  		return x.Destination
   132  	}
   133  	return nil
   134  }
   135  
   136  func (x *ComputeCustomRoutesRequest) GetIntermediates() []*Waypoint {
   137  	if x != nil {
   138  		return x.Intermediates
   139  	}
   140  	return nil
   141  }
   142  
   143  func (x *ComputeCustomRoutesRequest) GetTravelMode() RouteTravelMode {
   144  	if x != nil {
   145  		return x.TravelMode
   146  	}
   147  	return RouteTravelMode_TRAVEL_MODE_UNSPECIFIED
   148  }
   149  
   150  func (x *ComputeCustomRoutesRequest) GetRoutingPreference() RoutingPreference {
   151  	if x != nil {
   152  		return x.RoutingPreference
   153  	}
   154  	return RoutingPreference_ROUTING_PREFERENCE_UNSPECIFIED
   155  }
   156  
   157  func (x *ComputeCustomRoutesRequest) GetPolylineQuality() PolylineQuality {
   158  	if x != nil {
   159  		return x.PolylineQuality
   160  	}
   161  	return PolylineQuality_POLYLINE_QUALITY_UNSPECIFIED
   162  }
   163  
   164  func (x *ComputeCustomRoutesRequest) GetPolylineEncoding() PolylineEncoding {
   165  	if x != nil {
   166  		return x.PolylineEncoding
   167  	}
   168  	return PolylineEncoding_POLYLINE_ENCODING_UNSPECIFIED
   169  }
   170  
   171  func (x *ComputeCustomRoutesRequest) GetDepartureTime() *timestamppb.Timestamp {
   172  	if x != nil {
   173  		return x.DepartureTime
   174  	}
   175  	return nil
   176  }
   177  
   178  func (x *ComputeCustomRoutesRequest) GetRouteModifiers() *RouteModifiers {
   179  	if x != nil {
   180  		return x.RouteModifiers
   181  	}
   182  	return nil
   183  }
   184  
   185  func (x *ComputeCustomRoutesRequest) GetRouteObjective() *RouteObjective {
   186  	if x != nil {
   187  		return x.RouteObjective
   188  	}
   189  	return nil
   190  }
   191  
   192  func (x *ComputeCustomRoutesRequest) GetLanguageCode() string {
   193  	if x != nil {
   194  		return x.LanguageCode
   195  	}
   196  	return ""
   197  }
   198  
   199  func (x *ComputeCustomRoutesRequest) GetUnits() Units {
   200  	if x != nil {
   201  		return x.Units
   202  	}
   203  	return Units_UNITS_UNSPECIFIED
   204  }
   205  
   206  // Encapsulates an objective to optimize for by ComputeCustomRoutes.
   207  type RouteObjective struct {
   208  	state         protoimpl.MessageState
   209  	sizeCache     protoimpl.SizeCache
   210  	unknownFields protoimpl.UnknownFields
   211  
   212  	// The route objective.
   213  	//
   214  	// Types that are assignable to Objective:
   215  	//	*RouteObjective_RateCard_
   216  	Objective isRouteObjective_Objective `protobuf_oneof:"objective"`
   217  	// Optional. Specifies the custom data layer being used to affect generated routes.
   218  	// Customers can turn off the custom layer by not setting this field. Once a
   219  	// custom layer is being set, the custom layer will be used to generate route
   220  	// annotations (CustomLayerInfo) in the returned routes, the annotations can
   221  	// be turned off using `X-Goog-FieldMask` header (see
   222  	// https://cloud.google.com/apis/docs/system-parameters).
   223  	CustomLayer *RouteObjective_CustomLayer `protobuf:"bytes,2,opt,name=custom_layer,json=customLayer,proto3" json:"custom_layer,omitempty"`
   224  }
   225  
   226  func (x *RouteObjective) Reset() {
   227  	*x = RouteObjective{}
   228  	if protoimpl.UnsafeEnabled {
   229  		mi := &file_google_maps_routes_v1_compute_custom_routes_request_proto_msgTypes[1]
   230  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   231  		ms.StoreMessageInfo(mi)
   232  	}
   233  }
   234  
   235  func (x *RouteObjective) String() string {
   236  	return protoimpl.X.MessageStringOf(x)
   237  }
   238  
   239  func (*RouteObjective) ProtoMessage() {}
   240  
   241  func (x *RouteObjective) ProtoReflect() protoreflect.Message {
   242  	mi := &file_google_maps_routes_v1_compute_custom_routes_request_proto_msgTypes[1]
   243  	if protoimpl.UnsafeEnabled && x != nil {
   244  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   245  		if ms.LoadMessageInfo() == nil {
   246  			ms.StoreMessageInfo(mi)
   247  		}
   248  		return ms
   249  	}
   250  	return mi.MessageOf(x)
   251  }
   252  
   253  // Deprecated: Use RouteObjective.ProtoReflect.Descriptor instead.
   254  func (*RouteObjective) Descriptor() ([]byte, []int) {
   255  	return file_google_maps_routes_v1_compute_custom_routes_request_proto_rawDescGZIP(), []int{1}
   256  }
   257  
   258  func (m *RouteObjective) GetObjective() isRouteObjective_Objective {
   259  	if m != nil {
   260  		return m.Objective
   261  	}
   262  	return nil
   263  }
   264  
   265  func (x *RouteObjective) GetRateCard() *RouteObjective_RateCard {
   266  	if x, ok := x.GetObjective().(*RouteObjective_RateCard_); ok {
   267  		return x.RateCard
   268  	}
   269  	return nil
   270  }
   271  
   272  func (x *RouteObjective) GetCustomLayer() *RouteObjective_CustomLayer {
   273  	if x != nil {
   274  		return x.CustomLayer
   275  	}
   276  	return nil
   277  }
   278  
   279  type isRouteObjective_Objective interface {
   280  	isRouteObjective_Objective()
   281  }
   282  
   283  type RouteObjective_RateCard_ struct {
   284  	// The RateCard objective.
   285  	RateCard *RouteObjective_RateCard `protobuf:"bytes,1,opt,name=rate_card,json=rateCard,proto3,oneof"`
   286  }
   287  
   288  func (*RouteObjective_RateCard_) isRouteObjective_Objective() {}
   289  
   290  // Encapsulates a RateCard route objective.
   291  type RouteObjective_RateCard struct {
   292  	state         protoimpl.MessageState
   293  	sizeCache     protoimpl.SizeCache
   294  	unknownFields protoimpl.UnknownFields
   295  
   296  	// Optional. Cost per minute.
   297  	CostPerMinute *RouteObjective_RateCard_MonetaryCost `protobuf:"bytes,2,opt,name=cost_per_minute,json=costPerMinute,proto3" json:"cost_per_minute,omitempty"`
   298  	// Optional. Cost per kilometer.
   299  	CostPerKm *RouteObjective_RateCard_MonetaryCost `protobuf:"bytes,3,opt,name=cost_per_km,json=costPerKm,proto3" json:"cost_per_km,omitempty"`
   300  	// Optional. Whether to include toll cost in the overall cost.
   301  	IncludeTolls bool `protobuf:"varint,4,opt,name=include_tolls,json=includeTolls,proto3" json:"include_tolls,omitempty"`
   302  }
   303  
   304  func (x *RouteObjective_RateCard) Reset() {
   305  	*x = RouteObjective_RateCard{}
   306  	if protoimpl.UnsafeEnabled {
   307  		mi := &file_google_maps_routes_v1_compute_custom_routes_request_proto_msgTypes[2]
   308  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   309  		ms.StoreMessageInfo(mi)
   310  	}
   311  }
   312  
   313  func (x *RouteObjective_RateCard) String() string {
   314  	return protoimpl.X.MessageStringOf(x)
   315  }
   316  
   317  func (*RouteObjective_RateCard) ProtoMessage() {}
   318  
   319  func (x *RouteObjective_RateCard) ProtoReflect() protoreflect.Message {
   320  	mi := &file_google_maps_routes_v1_compute_custom_routes_request_proto_msgTypes[2]
   321  	if protoimpl.UnsafeEnabled && x != nil {
   322  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   323  		if ms.LoadMessageInfo() == nil {
   324  			ms.StoreMessageInfo(mi)
   325  		}
   326  		return ms
   327  	}
   328  	return mi.MessageOf(x)
   329  }
   330  
   331  // Deprecated: Use RouteObjective_RateCard.ProtoReflect.Descriptor instead.
   332  func (*RouteObjective_RateCard) Descriptor() ([]byte, []int) {
   333  	return file_google_maps_routes_v1_compute_custom_routes_request_proto_rawDescGZIP(), []int{1, 0}
   334  }
   335  
   336  func (x *RouteObjective_RateCard) GetCostPerMinute() *RouteObjective_RateCard_MonetaryCost {
   337  	if x != nil {
   338  		return x.CostPerMinute
   339  	}
   340  	return nil
   341  }
   342  
   343  func (x *RouteObjective_RateCard) GetCostPerKm() *RouteObjective_RateCard_MonetaryCost {
   344  	if x != nil {
   345  		return x.CostPerKm
   346  	}
   347  	return nil
   348  }
   349  
   350  func (x *RouteObjective_RateCard) GetIncludeTolls() bool {
   351  	if x != nil {
   352  		return x.IncludeTolls
   353  	}
   354  	return false
   355  }
   356  
   357  // Customized data layer that customers use to generated route annotations or
   358  // influence the generated route.
   359  type RouteObjective_CustomLayer struct {
   360  	state         protoimpl.MessageState
   361  	sizeCache     protoimpl.SizeCache
   362  	unknownFields protoimpl.UnknownFields
   363  
   364  	// Required. A dataset that the customer uploaded in advance.
   365  	DatasetInfo *RouteObjective_CustomLayer_DatasetInfo `protobuf:"bytes,1,opt,name=dataset_info,json=datasetInfo,proto3" json:"dataset_info,omitempty"`
   366  }
   367  
   368  func (x *RouteObjective_CustomLayer) Reset() {
   369  	*x = RouteObjective_CustomLayer{}
   370  	if protoimpl.UnsafeEnabled {
   371  		mi := &file_google_maps_routes_v1_compute_custom_routes_request_proto_msgTypes[3]
   372  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   373  		ms.StoreMessageInfo(mi)
   374  	}
   375  }
   376  
   377  func (x *RouteObjective_CustomLayer) String() string {
   378  	return protoimpl.X.MessageStringOf(x)
   379  }
   380  
   381  func (*RouteObjective_CustomLayer) ProtoMessage() {}
   382  
   383  func (x *RouteObjective_CustomLayer) ProtoReflect() protoreflect.Message {
   384  	mi := &file_google_maps_routes_v1_compute_custom_routes_request_proto_msgTypes[3]
   385  	if protoimpl.UnsafeEnabled && x != nil {
   386  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   387  		if ms.LoadMessageInfo() == nil {
   388  			ms.StoreMessageInfo(mi)
   389  		}
   390  		return ms
   391  	}
   392  	return mi.MessageOf(x)
   393  }
   394  
   395  // Deprecated: Use RouteObjective_CustomLayer.ProtoReflect.Descriptor instead.
   396  func (*RouteObjective_CustomLayer) Descriptor() ([]byte, []int) {
   397  	return file_google_maps_routes_v1_compute_custom_routes_request_proto_rawDescGZIP(), []int{1, 1}
   398  }
   399  
   400  func (x *RouteObjective_CustomLayer) GetDatasetInfo() *RouteObjective_CustomLayer_DatasetInfo {
   401  	if x != nil {
   402  		return x.DatasetInfo
   403  	}
   404  	return nil
   405  }
   406  
   407  // Encapsulates the cost used in the rate card.
   408  type RouteObjective_RateCard_MonetaryCost struct {
   409  	state         protoimpl.MessageState
   410  	sizeCache     protoimpl.SizeCache
   411  	unknownFields protoimpl.UnknownFields
   412  
   413  	// Required. The cost value in local currency inferred from the request.
   414  	Value float64 `protobuf:"fixed64,1,opt,name=value,proto3" json:"value,omitempty"`
   415  }
   416  
   417  func (x *RouteObjective_RateCard_MonetaryCost) Reset() {
   418  	*x = RouteObjective_RateCard_MonetaryCost{}
   419  	if protoimpl.UnsafeEnabled {
   420  		mi := &file_google_maps_routes_v1_compute_custom_routes_request_proto_msgTypes[4]
   421  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   422  		ms.StoreMessageInfo(mi)
   423  	}
   424  }
   425  
   426  func (x *RouteObjective_RateCard_MonetaryCost) String() string {
   427  	return protoimpl.X.MessageStringOf(x)
   428  }
   429  
   430  func (*RouteObjective_RateCard_MonetaryCost) ProtoMessage() {}
   431  
   432  func (x *RouteObjective_RateCard_MonetaryCost) ProtoReflect() protoreflect.Message {
   433  	mi := &file_google_maps_routes_v1_compute_custom_routes_request_proto_msgTypes[4]
   434  	if protoimpl.UnsafeEnabled && x != nil {
   435  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   436  		if ms.LoadMessageInfo() == nil {
   437  			ms.StoreMessageInfo(mi)
   438  		}
   439  		return ms
   440  	}
   441  	return mi.MessageOf(x)
   442  }
   443  
   444  // Deprecated: Use RouteObjective_RateCard_MonetaryCost.ProtoReflect.Descriptor instead.
   445  func (*RouteObjective_RateCard_MonetaryCost) Descriptor() ([]byte, []int) {
   446  	return file_google_maps_routes_v1_compute_custom_routes_request_proto_rawDescGZIP(), []int{1, 0, 0}
   447  }
   448  
   449  func (x *RouteObjective_RateCard_MonetaryCost) GetValue() float64 {
   450  	if x != nil {
   451  		return x.Value
   452  	}
   453  	return 0
   454  }
   455  
   456  // Information about a dataset that customers uploaded in advance. The
   457  // dataset information will be used for generating route annotations or to
   458  // influence routing.
   459  type RouteObjective_CustomLayer_DatasetInfo struct {
   460  	state         protoimpl.MessageState
   461  	sizeCache     protoimpl.SizeCache
   462  	unknownFields protoimpl.UnknownFields
   463  
   464  	// Required. ID of a customer uploaded dataset for which will be used to annotate or
   465  	// influence the route. If the dataset does not exist or is not yet ready,
   466  	// the request will fail.
   467  	DatasetId string `protobuf:"bytes,1,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"`
   468  }
   469  
   470  func (x *RouteObjective_CustomLayer_DatasetInfo) Reset() {
   471  	*x = RouteObjective_CustomLayer_DatasetInfo{}
   472  	if protoimpl.UnsafeEnabled {
   473  		mi := &file_google_maps_routes_v1_compute_custom_routes_request_proto_msgTypes[5]
   474  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   475  		ms.StoreMessageInfo(mi)
   476  	}
   477  }
   478  
   479  func (x *RouteObjective_CustomLayer_DatasetInfo) String() string {
   480  	return protoimpl.X.MessageStringOf(x)
   481  }
   482  
   483  func (*RouteObjective_CustomLayer_DatasetInfo) ProtoMessage() {}
   484  
   485  func (x *RouteObjective_CustomLayer_DatasetInfo) ProtoReflect() protoreflect.Message {
   486  	mi := &file_google_maps_routes_v1_compute_custom_routes_request_proto_msgTypes[5]
   487  	if protoimpl.UnsafeEnabled && x != nil {
   488  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   489  		if ms.LoadMessageInfo() == nil {
   490  			ms.StoreMessageInfo(mi)
   491  		}
   492  		return ms
   493  	}
   494  	return mi.MessageOf(x)
   495  }
   496  
   497  // Deprecated: Use RouteObjective_CustomLayer_DatasetInfo.ProtoReflect.Descriptor instead.
   498  func (*RouteObjective_CustomLayer_DatasetInfo) Descriptor() ([]byte, []int) {
   499  	return file_google_maps_routes_v1_compute_custom_routes_request_proto_rawDescGZIP(), []int{1, 1, 0}
   500  }
   501  
   502  func (x *RouteObjective_CustomLayer_DatasetInfo) GetDatasetId() string {
   503  	if x != nil {
   504  		return x.DatasetId
   505  	}
   506  	return ""
   507  }
   508  
   509  var File_google_maps_routes_v1_compute_custom_routes_request_proto protoreflect.FileDescriptor
   510  
   511  var file_google_maps_routes_v1_compute_custom_routes_request_proto_rawDesc = []byte{
   512  	0x0a, 0x39, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6d, 0x61, 0x70, 0x73, 0x2f, 0x72, 0x6f,
   513  	0x75, 0x74, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x5f,
   514  	0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x5f, 0x72, 0x65,
   515  	0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x67, 0x6f, 0x6f,
   516  	0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x2e,
   517  	0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66,
   518  	0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72,
   519  	0x6f, 0x74, 0x6f, 0x1a, 0x32, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6d, 0x61, 0x70, 0x73,
   520  	0x2f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x70, 0x75,
   521  	0x74, 0x65, 0x5f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73,
   522  	0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
   523  	0x6d, 0x61, 0x70, 0x73, 0x2f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x70,
   524  	0x6f, 0x6c, 0x79, 0x6c, 0x69, 0x6e, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x67,
   525  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6d, 0x61, 0x70, 0x73, 0x2f, 0x72, 0x6f, 0x75, 0x74, 0x65,
   526  	0x73, 0x2f, 0x76, 0x31, 0x2f, 0x77, 0x61, 0x79, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x70, 0x72,
   527  	0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74,
   528  	0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70,
   529  	0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa2, 0x07, 0x0a, 0x1a, 0x43, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65,
   530  	0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75,
   531  	0x65, 0x73, 0x74, 0x12, 0x3c, 0x0a, 0x06, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x18, 0x01, 0x20,
   532  	0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70,
   533  	0x73, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x61, 0x79, 0x70,
   534  	0x6f, 0x69, 0x6e, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x06, 0x6f, 0x72, 0x69, 0x67, 0x69,
   535  	0x6e, 0x12, 0x46, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e,
   536  	0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
   537  	0x6d, 0x61, 0x70, 0x73, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x57,
   538  	0x61, 0x79, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0b, 0x64, 0x65,
   539  	0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4a, 0x0a, 0x0d, 0x69, 0x6e, 0x74,
   540  	0x65, 0x72, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b,
   541  	0x32, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x72,
   542  	0x6f, 0x75, 0x74, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x61, 0x79, 0x70, 0x6f, 0x69, 0x6e,
   543  	0x74, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0d, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6d, 0x65, 0x64,
   544  	0x69, 0x61, 0x74, 0x65, 0x73, 0x12, 0x4c, 0x0a, 0x0b, 0x74, 0x72, 0x61, 0x76, 0x65, 0x6c, 0x5f,
   545  	0x6d, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f,
   546  	0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x2e,
   547  	0x76, 0x31, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x54, 0x72, 0x61, 0x76, 0x65, 0x6c, 0x4d, 0x6f,
   548  	0x64, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0a, 0x74, 0x72, 0x61, 0x76, 0x65, 0x6c, 0x4d,
   549  	0x6f, 0x64, 0x65, 0x12, 0x5c, 0x0a, 0x12, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x70,
   550  	0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32,
   551  	0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x72, 0x6f,
   552  	0x75, 0x74, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x50,
   553  	0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x11,
   554  	0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63,
   555  	0x65, 0x12, 0x56, 0x0a, 0x10, 0x70, 0x6f, 0x6c, 0x79, 0x6c, 0x69, 0x6e, 0x65, 0x5f, 0x71, 0x75,
   556  	0x61, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x67, 0x6f,
   557  	0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73,
   558  	0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x6c, 0x79, 0x6c, 0x69, 0x6e, 0x65, 0x51, 0x75, 0x61, 0x6c,
   559  	0x69, 0x74, 0x79, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0f, 0x70, 0x6f, 0x6c, 0x79, 0x6c, 0x69,
   560  	0x6e, 0x65, 0x51, 0x75, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x59, 0x0a, 0x11, 0x70, 0x6f, 0x6c,
   561  	0x79, 0x6c, 0x69, 0x6e, 0x65, 0x5f, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x18, 0x0d,
   562  	0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61,
   563  	0x70, 0x73, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x6c,
   564  	0x79, 0x6c, 0x69, 0x6e, 0x65, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x42, 0x03, 0xe0,
   565  	0x41, 0x01, 0x52, 0x10, 0x70, 0x6f, 0x6c, 0x79, 0x6c, 0x69, 0x6e, 0x65, 0x45, 0x6e, 0x63, 0x6f,
   566  	0x64, 0x69, 0x6e, 0x67, 0x12, 0x46, 0x0a, 0x0e, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x75, 0x72,
   567  	0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67,
   568  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54,
   569  	0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0d, 0x64,
   570  	0x65, 0x70, 0x61, 0x72, 0x74, 0x75, 0x72, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x53, 0x0a, 0x0f,
   571  	0x72, 0x6f, 0x75, 0x74, 0x65, 0x5f, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x73, 0x18,
   572  	0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d,
   573  	0x61, 0x70, 0x73, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f,
   574  	0x75, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x73, 0x42, 0x03, 0xe0, 0x41,
   575  	0x01, 0x52, 0x0e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72,
   576  	0x73, 0x12, 0x53, 0x0a, 0x0f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x5f, 0x6f, 0x62, 0x6a, 0x65, 0x63,
   577  	0x74, 0x69, 0x76, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f,
   578  	0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x2e,
   579  	0x76, 0x31, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76,
   580  	0x65, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x4f, 0x62, 0x6a,
   581  	0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x12, 0x28, 0x0a, 0x0d, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61,
   582  	0x67, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0,
   583  	0x41, 0x01, 0x52, 0x0c, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x64, 0x65,
   584  	0x12, 0x37, 0x0a, 0x05, 0x75, 0x6e, 0x69, 0x74, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32,
   585  	0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x72, 0x6f,
   586  	0x75, 0x74, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x69, 0x74, 0x73, 0x42, 0x03, 0xe0,
   587  	0x41, 0x01, 0x52, 0x05, 0x75, 0x6e, 0x69, 0x74, 0x73, 0x22, 0x9f, 0x05, 0x0a, 0x0e, 0x52, 0x6f,
   588  	0x75, 0x74, 0x65, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x12, 0x4d, 0x0a, 0x09,
   589  	0x72, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x61, 0x72, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
   590  	0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x72, 0x6f,
   591  	0x75, 0x74, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x4f, 0x62, 0x6a,
   592  	0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x2e, 0x52, 0x61, 0x74, 0x65, 0x43, 0x61, 0x72, 0x64, 0x48,
   593  	0x00, 0x52, 0x08, 0x72, 0x61, 0x74, 0x65, 0x43, 0x61, 0x72, 0x64, 0x12, 0x59, 0x0a, 0x0c, 0x63,
   594  	0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28,
   595  	0x0b, 0x32, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e,
   596  	0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x4f,
   597  	0x62, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x4c,
   598  	0x61, 0x79, 0x65, 0x72, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0b, 0x63, 0x75, 0x73, 0x74, 0x6f,
   599  	0x6d, 0x4c, 0x61, 0x79, 0x65, 0x72, 0x1a, 0xab, 0x02, 0x0a, 0x08, 0x52, 0x61, 0x74, 0x65, 0x43,
   600  	0x61, 0x72, 0x64, 0x12, 0x68, 0x0a, 0x0f, 0x63, 0x6f, 0x73, 0x74, 0x5f, 0x70, 0x65, 0x72, 0x5f,
   601  	0x6d, 0x69, 0x6e, 0x75, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x67,
   602  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65,
   603  	0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74,
   604  	0x69, 0x76, 0x65, 0x2e, 0x52, 0x61, 0x74, 0x65, 0x43, 0x61, 0x72, 0x64, 0x2e, 0x4d, 0x6f, 0x6e,
   605  	0x65, 0x74, 0x61, 0x72, 0x79, 0x43, 0x6f, 0x73, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0d,
   606  	0x63, 0x6f, 0x73, 0x74, 0x50, 0x65, 0x72, 0x4d, 0x69, 0x6e, 0x75, 0x74, 0x65, 0x12, 0x60, 0x0a,
   607  	0x0b, 0x63, 0x6f, 0x73, 0x74, 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x6b, 0x6d, 0x18, 0x03, 0x20, 0x01,
   608  	0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73,
   609  	0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65,
   610  	0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x2e, 0x52, 0x61, 0x74, 0x65, 0x43, 0x61,
   611  	0x72, 0x64, 0x2e, 0x4d, 0x6f, 0x6e, 0x65, 0x74, 0x61, 0x72, 0x79, 0x43, 0x6f, 0x73, 0x74, 0x42,
   612  	0x03, 0xe0, 0x41, 0x01, 0x52, 0x09, 0x63, 0x6f, 0x73, 0x74, 0x50, 0x65, 0x72, 0x4b, 0x6d, 0x12,
   613  	0x28, 0x0a, 0x0d, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x74, 0x6f, 0x6c, 0x6c, 0x73,
   614  	0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0c, 0x69, 0x6e, 0x63,
   615  	0x6c, 0x75, 0x64, 0x65, 0x54, 0x6f, 0x6c, 0x6c, 0x73, 0x1a, 0x29, 0x0a, 0x0c, 0x4d, 0x6f, 0x6e,
   616  	0x65, 0x74, 0x61, 0x72, 0x79, 0x43, 0x6f, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x05, 0x76, 0x61, 0x6c,
   617  	0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x01, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x05, 0x76,
   618  	0x61, 0x6c, 0x75, 0x65, 0x1a, 0xa7, 0x01, 0x0a, 0x0b, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x4c,
   619  	0x61, 0x79, 0x65, 0x72, 0x12, 0x65, 0x0a, 0x0c, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x5f,
   620  	0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x67, 0x6f, 0x6f,
   621  	0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x2e,
   622  	0x76, 0x31, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76,
   623  	0x65, 0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x4c, 0x61, 0x79, 0x65, 0x72, 0x2e, 0x44, 0x61,
   624  	0x74, 0x61, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0b,
   625  	0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x1a, 0x31, 0x0a, 0x0b, 0x44,
   626  	0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x22, 0x0a, 0x0a, 0x64, 0x61,
   627  	0x74, 0x61, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03,
   628  	0xe0, 0x41, 0x02, 0x52, 0x09, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x49, 0x64, 0x42, 0x0b,
   629  	0x0a, 0x09, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x42, 0xb5, 0x01, 0x0a, 0x19,
   630  	0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e,
   631  	0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x42, 0x1f, 0x43, 0x6f, 0x6d, 0x70, 0x75,
   632  	0x74, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x52, 0x65,
   633  	0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3b, 0x67, 0x6f,
   634  	0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f,
   635  	0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61,
   636  	0x70, 0x69, 0x73, 0x2f, 0x6d, 0x61, 0x70, 0x73, 0x2f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x2f,
   637  	0x76, 0x31, 0x3b, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0xf8, 0x01, 0x01, 0xa2, 0x02, 0x04, 0x47,
   638  	0x4d, 0x52, 0x53, 0xaa, 0x02, 0x15, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x4d, 0x61, 0x70,
   639  	0x73, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x15, 0x47, 0x6f,
   640  	0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x4d, 0x61, 0x70, 0x73, 0x5c, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73,
   641  	0x5c, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   642  }
   643  
   644  var (
   645  	file_google_maps_routes_v1_compute_custom_routes_request_proto_rawDescOnce sync.Once
   646  	file_google_maps_routes_v1_compute_custom_routes_request_proto_rawDescData = file_google_maps_routes_v1_compute_custom_routes_request_proto_rawDesc
   647  )
   648  
   649  func file_google_maps_routes_v1_compute_custom_routes_request_proto_rawDescGZIP() []byte {
   650  	file_google_maps_routes_v1_compute_custom_routes_request_proto_rawDescOnce.Do(func() {
   651  		file_google_maps_routes_v1_compute_custom_routes_request_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_maps_routes_v1_compute_custom_routes_request_proto_rawDescData)
   652  	})
   653  	return file_google_maps_routes_v1_compute_custom_routes_request_proto_rawDescData
   654  }
   655  
   656  var file_google_maps_routes_v1_compute_custom_routes_request_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
   657  var file_google_maps_routes_v1_compute_custom_routes_request_proto_goTypes = []interface{}{
   658  	(*ComputeCustomRoutesRequest)(nil),             // 0: google.maps.routes.v1.ComputeCustomRoutesRequest
   659  	(*RouteObjective)(nil),                         // 1: google.maps.routes.v1.RouteObjective
   660  	(*RouteObjective_RateCard)(nil),                // 2: google.maps.routes.v1.RouteObjective.RateCard
   661  	(*RouteObjective_CustomLayer)(nil),             // 3: google.maps.routes.v1.RouteObjective.CustomLayer
   662  	(*RouteObjective_RateCard_MonetaryCost)(nil),   // 4: google.maps.routes.v1.RouteObjective.RateCard.MonetaryCost
   663  	(*RouteObjective_CustomLayer_DatasetInfo)(nil), // 5: google.maps.routes.v1.RouteObjective.CustomLayer.DatasetInfo
   664  	(*Waypoint)(nil),                               // 6: google.maps.routes.v1.Waypoint
   665  	(RouteTravelMode)(0),                           // 7: google.maps.routes.v1.RouteTravelMode
   666  	(RoutingPreference)(0),                         // 8: google.maps.routes.v1.RoutingPreference
   667  	(PolylineQuality)(0),                           // 9: google.maps.routes.v1.PolylineQuality
   668  	(PolylineEncoding)(0),                          // 10: google.maps.routes.v1.PolylineEncoding
   669  	(*timestamppb.Timestamp)(nil),                  // 11: google.protobuf.Timestamp
   670  	(*RouteModifiers)(nil),                         // 12: google.maps.routes.v1.RouteModifiers
   671  	(Units)(0),                                     // 13: google.maps.routes.v1.Units
   672  }
   673  var file_google_maps_routes_v1_compute_custom_routes_request_proto_depIdxs = []int32{
   674  	6,  // 0: google.maps.routes.v1.ComputeCustomRoutesRequest.origin:type_name -> google.maps.routes.v1.Waypoint
   675  	6,  // 1: google.maps.routes.v1.ComputeCustomRoutesRequest.destination:type_name -> google.maps.routes.v1.Waypoint
   676  	6,  // 2: google.maps.routes.v1.ComputeCustomRoutesRequest.intermediates:type_name -> google.maps.routes.v1.Waypoint
   677  	7,  // 3: google.maps.routes.v1.ComputeCustomRoutesRequest.travel_mode:type_name -> google.maps.routes.v1.RouteTravelMode
   678  	8,  // 4: google.maps.routes.v1.ComputeCustomRoutesRequest.routing_preference:type_name -> google.maps.routes.v1.RoutingPreference
   679  	9,  // 5: google.maps.routes.v1.ComputeCustomRoutesRequest.polyline_quality:type_name -> google.maps.routes.v1.PolylineQuality
   680  	10, // 6: google.maps.routes.v1.ComputeCustomRoutesRequest.polyline_encoding:type_name -> google.maps.routes.v1.PolylineEncoding
   681  	11, // 7: google.maps.routes.v1.ComputeCustomRoutesRequest.departure_time:type_name -> google.protobuf.Timestamp
   682  	12, // 8: google.maps.routes.v1.ComputeCustomRoutesRequest.route_modifiers:type_name -> google.maps.routes.v1.RouteModifiers
   683  	1,  // 9: google.maps.routes.v1.ComputeCustomRoutesRequest.route_objective:type_name -> google.maps.routes.v1.RouteObjective
   684  	13, // 10: google.maps.routes.v1.ComputeCustomRoutesRequest.units:type_name -> google.maps.routes.v1.Units
   685  	2,  // 11: google.maps.routes.v1.RouteObjective.rate_card:type_name -> google.maps.routes.v1.RouteObjective.RateCard
   686  	3,  // 12: google.maps.routes.v1.RouteObjective.custom_layer:type_name -> google.maps.routes.v1.RouteObjective.CustomLayer
   687  	4,  // 13: google.maps.routes.v1.RouteObjective.RateCard.cost_per_minute:type_name -> google.maps.routes.v1.RouteObjective.RateCard.MonetaryCost
   688  	4,  // 14: google.maps.routes.v1.RouteObjective.RateCard.cost_per_km:type_name -> google.maps.routes.v1.RouteObjective.RateCard.MonetaryCost
   689  	5,  // 15: google.maps.routes.v1.RouteObjective.CustomLayer.dataset_info:type_name -> google.maps.routes.v1.RouteObjective.CustomLayer.DatasetInfo
   690  	16, // [16:16] is the sub-list for method output_type
   691  	16, // [16:16] is the sub-list for method input_type
   692  	16, // [16:16] is the sub-list for extension type_name
   693  	16, // [16:16] is the sub-list for extension extendee
   694  	0,  // [0:16] is the sub-list for field type_name
   695  }
   696  
   697  func init() { file_google_maps_routes_v1_compute_custom_routes_request_proto_init() }
   698  func file_google_maps_routes_v1_compute_custom_routes_request_proto_init() {
   699  	if File_google_maps_routes_v1_compute_custom_routes_request_proto != nil {
   700  		return
   701  	}
   702  	file_google_maps_routes_v1_compute_routes_request_proto_init()
   703  	file_google_maps_routes_v1_polyline_proto_init()
   704  	file_google_maps_routes_v1_waypoint_proto_init()
   705  	if !protoimpl.UnsafeEnabled {
   706  		file_google_maps_routes_v1_compute_custom_routes_request_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   707  			switch v := v.(*ComputeCustomRoutesRequest); i {
   708  			case 0:
   709  				return &v.state
   710  			case 1:
   711  				return &v.sizeCache
   712  			case 2:
   713  				return &v.unknownFields
   714  			default:
   715  				return nil
   716  			}
   717  		}
   718  		file_google_maps_routes_v1_compute_custom_routes_request_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   719  			switch v := v.(*RouteObjective); i {
   720  			case 0:
   721  				return &v.state
   722  			case 1:
   723  				return &v.sizeCache
   724  			case 2:
   725  				return &v.unknownFields
   726  			default:
   727  				return nil
   728  			}
   729  		}
   730  		file_google_maps_routes_v1_compute_custom_routes_request_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   731  			switch v := v.(*RouteObjective_RateCard); i {
   732  			case 0:
   733  				return &v.state
   734  			case 1:
   735  				return &v.sizeCache
   736  			case 2:
   737  				return &v.unknownFields
   738  			default:
   739  				return nil
   740  			}
   741  		}
   742  		file_google_maps_routes_v1_compute_custom_routes_request_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   743  			switch v := v.(*RouteObjective_CustomLayer); i {
   744  			case 0:
   745  				return &v.state
   746  			case 1:
   747  				return &v.sizeCache
   748  			case 2:
   749  				return &v.unknownFields
   750  			default:
   751  				return nil
   752  			}
   753  		}
   754  		file_google_maps_routes_v1_compute_custom_routes_request_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
   755  			switch v := v.(*RouteObjective_RateCard_MonetaryCost); i {
   756  			case 0:
   757  				return &v.state
   758  			case 1:
   759  				return &v.sizeCache
   760  			case 2:
   761  				return &v.unknownFields
   762  			default:
   763  				return nil
   764  			}
   765  		}
   766  		file_google_maps_routes_v1_compute_custom_routes_request_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
   767  			switch v := v.(*RouteObjective_CustomLayer_DatasetInfo); i {
   768  			case 0:
   769  				return &v.state
   770  			case 1:
   771  				return &v.sizeCache
   772  			case 2:
   773  				return &v.unknownFields
   774  			default:
   775  				return nil
   776  			}
   777  		}
   778  	}
   779  	file_google_maps_routes_v1_compute_custom_routes_request_proto_msgTypes[1].OneofWrappers = []interface{}{
   780  		(*RouteObjective_RateCard_)(nil),
   781  	}
   782  	type x struct{}
   783  	out := protoimpl.TypeBuilder{
   784  		File: protoimpl.DescBuilder{
   785  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   786  			RawDescriptor: file_google_maps_routes_v1_compute_custom_routes_request_proto_rawDesc,
   787  			NumEnums:      0,
   788  			NumMessages:   6,
   789  			NumExtensions: 0,
   790  			NumServices:   0,
   791  		},
   792  		GoTypes:           file_google_maps_routes_v1_compute_custom_routes_request_proto_goTypes,
   793  		DependencyIndexes: file_google_maps_routes_v1_compute_custom_routes_request_proto_depIdxs,
   794  		MessageInfos:      file_google_maps_routes_v1_compute_custom_routes_request_proto_msgTypes,
   795  	}.Build()
   796  	File_google_maps_routes_v1_compute_custom_routes_request_proto = out.File
   797  	file_google_maps_routes_v1_compute_custom_routes_request_proto_rawDesc = nil
   798  	file_google_maps_routes_v1_compute_custom_routes_request_proto_goTypes = nil
   799  	file_google_maps_routes_v1_compute_custom_routes_request_proto_depIdxs = nil
   800  }
   801  

View as plain text