Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: [Google.Maps.Routing.V2] add API for shorter distance reference routes #13881

Merged
merged 1 commit into from
Nov 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ static FallbackInfoReflection() {
"RVJST1IQARIUChBMQVRFTkNZX0VYQ0VFREVEEAIqdgoTRmFsbGJhY2tSb3V0",
"aW5nTW9kZRIlCiFGQUxMQkFDS19ST1VUSU5HX01PREVfVU5TUEVDSUZJRUQQ",
"ABIcChhGQUxMQkFDS19UUkFGRklDX1VOQVdBUkUQARIaChZGQUxMQkFDS19U",
"UkFGRklDX0FXQVJFEAJCxgEKGmNvbS5nb29nbGUubWFwcy5yb3V0aW5nLnYy",
"UkFGRklDX0FXQVJFEAJCwwEKGmNvbS5nb29nbGUubWFwcy5yb3V0aW5nLnYy",
"QhFGYWxsYmFja0luZm9Qcm90b1ABWjpjbG91ZC5nb29nbGUuY29tL2dvL21h",
"cHMvcm91dGluZy9hcGl2Mi9yb3V0aW5ncGI7cm91dGluZ3Bi+AEBogIFR01S",
"VjKqAhZHb29nbGUuTWFwcy5Sb3V0aW5nLlYyygIWR29vZ2xlXE1hcHNcUm91",
"dGluZ1xWMuoCGUdvb2dsZTo6TWFwczo6Um91dGluZzo6VjJiBnByb3RvMw=="));
"cHMvcm91dGluZy9hcGl2Mi9yb3V0aW5ncGI7cm91dGluZ3BiogIFR01SVjKq",
"AhZHb29nbGUuTWFwcy5Sb3V0aW5nLlYyygIWR29vZ2xlXE1hcHNcUm91dGlu",
"Z1xWMuoCGUdvb2dsZTo6TWFwczo6Um91dGluZzo6VjJiBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Google.Maps.Routing.V2.FallbackReason), typeof(global::Google.Maps.Routing.V2.FallbackRoutingMode), }, null, new pbr::GeneratedClrTypeInfo[] {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ static GeocodingResultsReflection() {
"cnBjLlN0YXR1cxIwCiNpbnRlcm1lZGlhdGVfd2F5cG9pbnRfcmVxdWVzdF9p",
"bmRleBgCIAEoBUgAiAEBEgwKBHR5cGUYAyADKAkSFQoNcGFydGlhbF9tYXRj",
"aBgEIAEoCBIQCghwbGFjZV9pZBgFIAEoCUImCiRfaW50ZXJtZWRpYXRlX3dh",
"eXBvaW50X3JlcXVlc3RfaW5kZXhCygEKGmNvbS5nb29nbGUubWFwcy5yb3V0",
"eXBvaW50X3JlcXVlc3RfaW5kZXhCxwEKGmNvbS5nb29nbGUubWFwcy5yb3V0",
"aW5nLnYyQhVHZW9jb2RpbmdSZXN1bHRzUHJvdG9QAVo6Y2xvdWQuZ29vZ2xl",
"LmNvbS9nby9tYXBzL3JvdXRpbmcvYXBpdjIvcm91dGluZ3BiO3JvdXRpbmdw",
"YvgBAaICBUdNUlYyqgIWR29vZ2xlLk1hcHMuUm91dGluZy5WMsoCFkdvb2ds",
"ZVxNYXBzXFJvdXRpbmdcVjLqAhlHb29nbGU6Ok1hcHM6OlJvdXRpbmc6OlYy",
"YgZwcm90bzM="));
"YqICBUdNUlYyqgIWR29vZ2xlLk1hcHMuUm91dGluZy5WMsoCFkdvb2dsZVxN",
"YXBzXFJvdXRpbmdcVjLqAhlHb29nbGU6Ok1hcHM6OlJvdXRpbmc6OlYyYgZw",
"cm90bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::Google.Rpc.StatusReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ static LocalizedTimeReflection() {
"EhZnb29nbGUubWFwcy5yb3V0aW5nLnYyGiBnb29nbGUvdHlwZS9sb2NhbGl6",
"ZWRfdGV4dC5wcm90byJMCg1Mb2NhbGl6ZWRUaW1lEigKBHRpbWUYASABKAsy",
"Gi5nb29nbGUudHlwZS5Mb2NhbGl6ZWRUZXh0EhEKCXRpbWVfem9uZRgCIAEo",
"CULHAQoaY29tLmdvb2dsZS5tYXBzLnJvdXRpbmcudjJCEkxvY2FsaXplZFRp",
"CULEAQoaY29tLmdvb2dsZS5tYXBzLnJvdXRpbmcudjJCEkxvY2FsaXplZFRp",
"bWVQcm90b1ABWjpjbG91ZC5nb29nbGUuY29tL2dvL21hcHMvcm91dGluZy9h",
"cGl2Mi9yb3V0aW5ncGI7cm91dGluZ3Bi+AEBogIFR01SVjKqAhZHb29nbGUu",
"TWFwcy5Sb3V0aW5nLlYyygIWR29vZ2xlXE1hcHNcUm91dGluZ1xWMuoCGUdv",
"b2dsZTo6TWFwczo6Um91dGluZzo6VjJiBnByb3RvMw=="));
"cGl2Mi9yb3V0aW5ncGI7cm91dGluZ3BiogIFR01SVjKqAhZHb29nbGUuTWFw",
"cy5Sb3V0aW5nLlYyygIWR29vZ2xlXE1hcHNcUm91dGluZ1xWMuoCGUdvb2ds",
"ZTo6TWFwczo6Um91dGluZzo6VjJiBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::Google.Type.LocalizedTextReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ static LocationReflection() {
"bGUubWFwcy5yb3V0aW5nLnYyGh5nb29nbGUvcHJvdG9idWYvd3JhcHBlcnMu",
"cHJvdG8aGGdvb2dsZS90eXBlL2xhdGxuZy5wcm90byJeCghMb2NhdGlvbhIk",
"CgdsYXRfbG5nGAEgASgLMhMuZ29vZ2xlLnR5cGUuTGF0TG5nEiwKB2hlYWRp",
"bmcYAiABKAsyGy5nb29nbGUucHJvdG9idWYuSW50MzJWYWx1ZULCAQoaY29t",
"bmcYAiABKAsyGy5nb29nbGUucHJvdG9idWYuSW50MzJWYWx1ZUK/AQoaY29t",
"Lmdvb2dsZS5tYXBzLnJvdXRpbmcudjJCDUxvY2F0aW9uUHJvdG9QAVo6Y2xv",
"dWQuZ29vZ2xlLmNvbS9nby9tYXBzL3JvdXRpbmcvYXBpdjIvcm91dGluZ3Bi",
"O3JvdXRpbmdwYvgBAaICBUdNUlYyqgIWR29vZ2xlLk1hcHMuUm91dGluZy5W",
"MsoCFkdvb2dsZVxNYXBzXFJvdXRpbmdcVjLqAhlHb29nbGU6Ok1hcHM6OlJv",
"dXRpbmc6OlYyYgZwcm90bzM="));
"O3JvdXRpbmdwYqICBUdNUlYyqgIWR29vZ2xlLk1hcHMuUm91dGluZy5WMsoC",
"Fkdvb2dsZVxNYXBzXFJvdXRpbmdcVjLqAhlHb29nbGU6Ok1hcHM6OlJvdXRp",
"bmc6OlYyYgZwcm90bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::Google.Protobuf.WellKnownTypes.WrappersReflection.Descriptor, global::Google.Type.LatlngReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ static ManeuverReflection() {
"CglSQU1QX0xFRlQQChIOCgpSQU1QX1JJR0hUEAsSCQoFTUVSR0UQDBINCglG",
"T1JLX0xFRlQQDRIOCgpGT1JLX1JJR0hUEA4SCQoFRkVSUlkQDxIPCgtGRVJS",
"WV9UUkFJThAQEhMKD1JPVU5EQUJPVVRfTEVGVBAREhQKEFJPVU5EQUJPVVRf",
"UklHSFQQEhIKCgZERVBBUlQQExIPCgtOQU1FX0NIQU5HRRAUQsIBChpjb20u",
"UklHSFQQEhIKCgZERVBBUlQQExIPCgtOQU1FX0NIQU5HRRAUQr8BChpjb20u",
"Z29vZ2xlLm1hcHMucm91dGluZy52MkINTWFuZXV2ZXJQcm90b1ABWjpjbG91",
"ZC5nb29nbGUuY29tL2dvL21hcHMvcm91dGluZy9hcGl2Mi9yb3V0aW5ncGI7",
"cm91dGluZ3Bi+AEBogIFR01SVjKqAhZHb29nbGUuTWFwcy5Sb3V0aW5nLlYy",
"ygIWR29vZ2xlXE1hcHNcUm91dGluZ1xWMuoCGUdvb2dsZTo6TWFwczo6Um91",
"dGluZzo6VjJiBnByb3RvMw=="));
"cm91dGluZ3BiogIFR01SVjKqAhZHb29nbGUuTWFwcy5Sb3V0aW5nLlYyygIW",
"R29vZ2xlXE1hcHNcUm91dGluZ1xWMuoCGUdvb2dsZTo6TWFwczo6Um91dGlu",
"Zzo6VjJiBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Google.Maps.Routing.V2.Maneuver), }, null, null));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ static NavigationInstructionReflection() {
"b24ucHJvdG8SFmdvb2dsZS5tYXBzLnJvdXRpbmcudjIaJWdvb2dsZS9tYXBz",
"L3JvdXRpbmcvdjIvbWFuZXV2ZXIucHJvdG8iYQoVTmF2aWdhdGlvbkluc3Ry",
"dWN0aW9uEjIKCG1hbmV1dmVyGAEgASgOMiAuZ29vZ2xlLm1hcHMucm91dGlu",
"Zy52Mi5NYW5ldXZlchIUCgxpbnN0cnVjdGlvbnMYAiABKAlCzwEKGmNvbS5n",
"Zy52Mi5NYW5ldXZlchIUCgxpbnN0cnVjdGlvbnMYAiABKAlCzAEKGmNvbS5n",
"b29nbGUubWFwcy5yb3V0aW5nLnYyQhpOYXZpZ2F0aW9uSW5zdHJ1Y3Rpb25Q",
"cm90b1ABWjpjbG91ZC5nb29nbGUuY29tL2dvL21hcHMvcm91dGluZy9hcGl2",
"Mi9yb3V0aW5ncGI7cm91dGluZ3Bi+AEBogIFR01SVjKqAhZHb29nbGUuTWFw",
"cy5Sb3V0aW5nLlYyygIWR29vZ2xlXE1hcHNcUm91dGluZ1xWMuoCGUdvb2ds",
"ZTo6TWFwczo6Um91dGluZzo6VjJiBnByb3RvMw=="));
"Mi9yb3V0aW5ncGI7cm91dGluZ3BiogIFR01SVjKqAhZHb29nbGUuTWFwcy5S",
"b3V0aW5nLlYyygIWR29vZ2xlXE1hcHNcUm91dGluZ1xWMuoCGUdvb2dsZTo6",
"TWFwczo6Um91dGluZzo6VjJiBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::Google.Maps.Routing.V2.ManeuverReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ static PolylineReflection() {
"EiAKHFBPTFlMSU5FX1FVQUxJVFlfVU5TUEVDSUZJRUQQABIQCgxISUdIX1FV",
"QUxJVFkQARIMCghPVkVSVklFVxACKmQKEFBvbHlsaW5lRW5jb2RpbmcSIQod",
"UE9MWUxJTkVfRU5DT0RJTkdfVU5TUEVDSUZJRUQQABIUChBFTkNPREVEX1BP",
"TFlMSU5FEAESFwoTR0VPX0pTT05fTElORVNUUklORxACQsIBChpjb20uZ29v",
"TFlMSU5FEAESFwoTR0VPX0pTT05fTElORVNUUklORxACQr8BChpjb20uZ29v",
"Z2xlLm1hcHMucm91dGluZy52MkINUG9seWxpbmVQcm90b1ABWjpjbG91ZC5n",
"b29nbGUuY29tL2dvL21hcHMvcm91dGluZy9hcGl2Mi9yb3V0aW5ncGI7cm91",
"dGluZ3Bi+AEBogIFR01SVjKqAhZHb29nbGUuTWFwcy5Sb3V0aW5nLlYyygIW",
"R29vZ2xlXE1hcHNcUm91dGluZ1xWMuoCGUdvb2dsZTo6TWFwczo6Um91dGlu",
"Zzo6VjJiBnByb3RvMw=="));
"dGluZ3BiogIFR01SVjKqAhZHb29nbGUuTWFwcy5Sb3V0aW5nLlYyygIWR29v",
"Z2xlXE1hcHNcUm91dGluZ1xWMuoCGUdvb2dsZTo6TWFwczo6Um91dGluZzo6",
"VjJiBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::Google.Protobuf.WellKnownTypes.StructReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Google.Maps.Routing.V2.PolylineQuality), typeof(global::Google.Maps.Routing.V2.PolylineEncoding), }, null, new pbr::GeneratedClrTypeInfo[] {
Expand Down
36 changes: 20 additions & 16 deletions apis/Google.Maps.Routing.V2/Google.Maps.Routing.V2/Route.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -128,11 +128,11 @@ static RouteReflection() {
"c0xvY2FsaXplZFZhbHVlcxI7CgxhcnJpdmFsX3RpbWUYASABKAsyJS5nb29n",
"bGUubWFwcy5yb3V0aW5nLnYyLkxvY2FsaXplZFRpbWUSPQoOZGVwYXJ0dXJl",
"X3RpbWUYAiABKAsyJS5nb29nbGUubWFwcy5yb3V0aW5nLnYyLkxvY2FsaXpl",
"ZFRpbWVCvwEKGmNvbS5nb29nbGUubWFwcy5yb3V0aW5nLnYyQgpSb3V0ZVBy",
"ZFRpbWVCvAEKGmNvbS5nb29nbGUubWFwcy5yb3V0aW5nLnYyQgpSb3V0ZVBy",
"b3RvUAFaOmNsb3VkLmdvb2dsZS5jb20vZ28vbWFwcy9yb3V0aW5nL2FwaXYy",
"L3JvdXRpbmdwYjtyb3V0aW5ncGL4AQGiAgVHTVJWMqoCFkdvb2dsZS5NYXBz",
"LlJvdXRpbmcuVjLKAhZHb29nbGVcTWFwc1xSb3V0aW5nXFYy6gIZR29vZ2xl",
"OjpNYXBzOjpSb3V0aW5nOjpWMmIGcHJvdG8z"));
"L3JvdXRpbmdwYjtyb3V0aW5ncGKiAgVHTVJWMqoCFkdvb2dsZS5NYXBzLlJv",
"dXRpbmcuVjLKAhZHb29nbGVcTWFwc1xSb3V0aW5nXFYy6gIZR29vZ2xlOjpN",
"YXBzOjpSb3V0aW5nOjpWMmIGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::Google.Geo.Type.ViewportReflection.Descriptor, global::Google.Maps.Routing.V2.LocalizedTimeReflection.Descriptor, global::Google.Maps.Routing.V2.LocationReflection.Descriptor, global::Google.Maps.Routing.V2.NavigationInstructionReflection.Descriptor, global::Google.Maps.Routing.V2.PolylineReflection.Descriptor, global::Google.Maps.Routing.V2.RouteLabelReflection.Descriptor, global::Google.Maps.Routing.V2.RouteTravelModeReflection.Descriptor, global::Google.Maps.Routing.V2.SpeedReadingIntervalReflection.Descriptor, global::Google.Maps.Routing.V2.TollInfoReflection.Descriptor, global::Google.Maps.Routing.V2.TransitReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.DurationReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.TimestampReflection.Descriptor, global::Google.Type.LocalizedTextReflection.Descriptor, global::Google.Type.MoneyReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
Expand Down Expand Up @@ -413,11 +413,13 @@ public string Description {
public const int RouteTokenFieldNumber = 12;
private string routeToken_ = "";
/// <summary>
/// A web-safe, base64-encoded route token that can be passed to the Navigation
/// SDK, that allows the Navigation SDK to reconstruct the route during
/// navigation, and, in the event of rerouting, honor the original intention
/// when you created the route by calling ComputeRoutes. Customers should treat
/// this token as an opaque blob. It is not meant for reading or mutating.
/// An opaque token that can be passed to [Navigation
/// SDK](https://developers.google.com/maps/documentation/navigation) to
/// reconstruct the route during navigation, and, in the event of rerouting,
/// honor the original intention when the route was created. Treat this token
/// as an opaque blob. Don't compare its value across requests as its value
/// may change even if the service returns the exact same route.
///
/// NOTE: `Route.route_token` is only available for requests that have set
/// `ComputeRoutesRequest.routing_preference` to `TRAFFIC_AWARE` or
/// `TRAFFIC_AWARE_OPTIMAL`. `Route.route_token` is not supported for requests
Expand Down Expand Up @@ -944,9 +946,10 @@ public RouteLocalizedValues Clone() {
public const int DurationFieldNumber = 2;
private global::Google.Type.LocalizedText duration_;
/// <summary>
/// Duration taking traffic conditions into consideration, represented in
/// text form. Note: If you did not request traffic information, this value
/// will be the same value as `static_duration`.
/// Duration, represented in text form and localized to the region of the
/// query. Takes traffic conditions into consideration. Note: If you did not
/// request traffic information, this value is the same value as
/// `static_duration`.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Expand Down Expand Up @@ -2751,9 +2754,10 @@ public RouteLegLocalizedValues Clone() {
public const int DurationFieldNumber = 2;
private global::Google.Type.LocalizedText duration_;
/// <summary>
/// Duration taking traffic conditions into consideration represented in text
/// form. Note: If you did not request traffic information, this value will
/// be the same value as static_duration.
/// Duration, represented in text form and localized to the region of the
/// query. Takes traffic conditions into consideration. Note: If you did not
/// request traffic information, this value is the same value as
/// static_duration.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Expand Down Expand Up @@ -4588,7 +4592,7 @@ public string Headsign {
/// The number of stops from the departure to the arrival stop. This count
/// includes the arrival stop, but excludes the departure stop. For example, if
/// your route leaves from Stop A, passes through stops B and C, and arrives at
/// stop D, stop_count will return 3.
/// stop D, &lt;code>stop_count&lt;/code> returns 3.
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ static RouteLabelReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"Cihnb29nbGUvbWFwcy9yb3V0aW5nL3YyL3JvdXRlX2xhYmVsLnByb3RvEhZn",
"b29nbGUubWFwcy5yb3V0aW5nLnYyKm0KClJvdXRlTGFiZWwSGwoXUk9VVEVf",
"TEFCRUxfVU5TUEVDSUZJRUQQABIRCg1ERUZBVUxUX1JPVVRFEAESGwoXREVG",
"QVVMVF9ST1VURV9BTFRFUk5BVEUQAhISCg5GVUVMX0VGRklDSUVOVBADQsQB",
"Chpjb20uZ29vZ2xlLm1hcHMucm91dGluZy52MkIPUm91dGVMYWJlbFByb3Rv",
"UAFaOmNsb3VkLmdvb2dsZS5jb20vZ28vbWFwcy9yb3V0aW5nL2FwaXYyL3Jv",
"dXRpbmdwYjtyb3V0aW5ncGL4AQGiAgVHTVJWMqoCFkdvb2dsZS5NYXBzLlJv",
"dXRpbmcuVjLKAhZHb29nbGVcTWFwc1xSb3V0aW5nXFYy6gIZR29vZ2xlOjpN",
"YXBzOjpSb3V0aW5nOjpWMmIGcHJvdG8z"));
"b29nbGUubWFwcy5yb3V0aW5nLnYyKoMBCgpSb3V0ZUxhYmVsEhsKF1JPVVRF",
"X0xBQkVMX1VOU1BFQ0lGSUVEEAASEQoNREVGQVVMVF9ST1VURRABEhsKF0RF",
"RkFVTFRfUk9VVEVfQUxURVJOQVRFEAISEgoORlVFTF9FRkZJQ0lFTlQQAxIU",
"ChBTSE9SVEVSX0RJU1RBTkNFEARCwQEKGmNvbS5nb29nbGUubWFwcy5yb3V0",
"aW5nLnYyQg9Sb3V0ZUxhYmVsUHJvdG9QAVo6Y2xvdWQuZ29vZ2xlLmNvbS9n",
"by9tYXBzL3JvdXRpbmcvYXBpdjIvcm91dGluZ3BiO3JvdXRpbmdwYqICBUdN",
"UlYyqgIWR29vZ2xlLk1hcHMuUm91dGluZy5WMsoCFkdvb2dsZVxNYXBzXFJv",
"dXRpbmdcVjLqAhlHb29nbGU6Ok1hcHM6OlJvdXRpbmc6OlYyYgZwcm90bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Google.Maps.Routing.V2.RouteLabel), }, null, null));
Expand Down Expand Up @@ -66,6 +66,10 @@ public enum RouteLabel {
/// optimized for Eco parameters such as fuel consumption.
/// </summary>
[pbr::OriginalName("FUEL_EFFICIENT")] FuelEfficient = 3,
/// <summary>
/// Shorter travel distance route. This is an experimental feature.
/// </summary>
[pbr::OriginalName("SHORTER_DISTANCE")] ShorterDistance = 4,
}

#endregion
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ static RouteModifiersReflection() {
"b2lkX2ZlcnJpZXMYAyABKAgSFAoMYXZvaWRfaW5kb29yGAQgASgIEjkKDHZl",
"aGljbGVfaW5mbxgFIAEoCzIjLmdvb2dsZS5tYXBzLnJvdXRpbmcudjIuVmVo",
"aWNsZUluZm8SNQoLdG9sbF9wYXNzZXMYBiADKA4yIC5nb29nbGUubWFwcy5y",
"b3V0aW5nLnYyLlRvbGxQYXNzQsgBChpjb20uZ29vZ2xlLm1hcHMucm91dGlu",
"b3V0aW5nLnYyLlRvbGxQYXNzQsUBChpjb20uZ29vZ2xlLm1hcHMucm91dGlu",
"Zy52MkITUm91dGVNb2RpZmllcnNQcm90b1ABWjpjbG91ZC5nb29nbGUuY29t",
"L2dvL21hcHMvcm91dGluZy9hcGl2Mi9yb3V0aW5ncGI7cm91dGluZ3Bi+AEB",
"ogIFR01SVjKqAhZHb29nbGUuTWFwcy5Sb3V0aW5nLlYyygIWR29vZ2xlXE1h",
"cHNcUm91dGluZ1xWMuoCGUdvb2dsZTo6TWFwczo6Um91dGluZzo6VjJiBnBy",
"b3RvMw=="));
"L2dvL21hcHMvcm91dGluZy9hcGl2Mi9yb3V0aW5ncGI7cm91dGluZ3BiogIF",
"R01SVjKqAhZHb29nbGUuTWFwcy5Sb3V0aW5nLlYyygIWR29vZ2xlXE1hcHNc",
"Um91dGluZ1xWMuoCGUdvb2dsZTo6TWFwczo6Um91dGluZzo6VjJiBnByb3Rv",
"Mw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::Google.Maps.Routing.V2.TollPassesReflection.Descriptor, global::Google.Maps.Routing.V2.VehicleInfoReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ static RouteTravelModeReflection() {
"b3RvEhZnb29nbGUubWFwcy5yb3V0aW5nLnYyKm4KD1JvdXRlVHJhdmVsTW9k",
"ZRIbChdUUkFWRUxfTU9ERV9VTlNQRUNJRklFRBAAEgkKBURSSVZFEAESCwoH",
"QklDWUNMRRACEggKBFdBTEsQAxIPCgtUV09fV0hFRUxFUhAEEgsKB1RSQU5T",
"SVQQB0LJAQoaY29tLmdvb2dsZS5tYXBzLnJvdXRpbmcudjJCFFJvdXRlVHJh",
"SVQQB0LGAQoaY29tLmdvb2dsZS5tYXBzLnJvdXRpbmcudjJCFFJvdXRlVHJh",
"dmVsTW9kZVByb3RvUAFaOmNsb3VkLmdvb2dsZS5jb20vZ28vbWFwcy9yb3V0",
"aW5nL2FwaXYyL3JvdXRpbmdwYjtyb3V0aW5ncGL4AQGiAgVHTVJWMqoCFkdv",
"b2dsZS5NYXBzLlJvdXRpbmcuVjLKAhZHb29nbGVcTWFwc1xSb3V0aW5nXFYy",
"6gIZR29vZ2xlOjpNYXBzOjpSb3V0aW5nOjpWMmIGcHJvdG8z"));
"aW5nL2FwaXYyL3JvdXRpbmdwYjtyb3V0aW5ncGKiAgVHTVJWMqoCFkdvb2ds",
"ZS5NYXBzLlJvdXRpbmcuVjLKAhZHb29nbGVcTWFwc1xSb3V0aW5nXFYy6gIZ",
"R29vZ2xlOjpNYXBzOjpSb3V0aW5nOjpWMmIGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Google.Maps.Routing.V2.RouteTravelMode), }, null, null));
Expand Down
Loading