@@ -31,7 +31,6 @@ import "google/protobuf/timestamp.proto";
3131import "google/type/localized_text.proto" ;
3232import "google/type/money.proto" ;
3333
34- option cc_enable_arenas = true ;
3534option csharp_namespace = "Google.Maps.Routing.V2" ;
3635option go_package = "cloud.google.com/go/maps/routing/apiv2/routingpb;routingpb" ;
3736option java_multiple_files = true ;
@@ -49,9 +48,10 @@ message Route {
4948 // Travel distance represented in text form.
5049 google.type.LocalizedText distance = 1 ;
5150
52- // Duration taking traffic conditions into consideration, represented in
53- // text form. Note: If you did not request traffic information, this value
54- // will be the same value as `static_duration`.
51+ // Duration, represented in text form and localized to the region of the
52+ // query. Takes traffic conditions into consideration. Note: If you did not
53+ // request traffic information, this value is the same value as
54+ // `static_duration`.
5555 google.type.LocalizedText duration = 2 ;
5656
5757 // Duration without taking traffic conditions into consideration,
@@ -119,11 +119,13 @@ message Route {
119119 // Text representations of properties of the `Route`.
120120 RouteLocalizedValues localized_values = 11 ;
121121
122- // A web-safe, base64-encoded route token that can be passed to the Navigation
123- // SDK, that allows the Navigation SDK to reconstruct the route during
124- // navigation, and, in the event of rerouting, honor the original intention
125- // when you created the route by calling ComputeRoutes. Customers should treat
126- // this token as an opaque blob. It is not meant for reading or mutating.
122+ // An opaque token that can be passed to [Navigation
123+ // SDK](https://developers.google.com/maps/documentation/navigation) to
124+ // reconstruct the route during navigation, and, in the event of rerouting,
125+ // honor the original intention when the route was created. Treat this token
126+ // as an opaque blob. Don't compare its value across requests as its value
127+ // may change even if the service returns the exact same route.
128+ //
127129 // NOTE: `Route.route_token` is only available for requests that have set
128130 // `ComputeRoutesRequest.routing_preference` to `TRAFFIC_AWARE` or
129131 // `TRAFFIC_AWARE_OPTIMAL`. `Route.route_token` is not supported for requests
@@ -204,9 +206,10 @@ message RouteLeg {
204206 // Travel distance represented in text form.
205207 google.type.LocalizedText distance = 1 ;
206208
207- // Duration taking traffic conditions into consideration represented in text
208- // form. Note: If you did not request traffic information, this value will
209- // be the same value as static_duration.
209+ // Duration, represented in text form and localized to the region of the
210+ // query. Takes traffic conditions into consideration. Note: If you did not
211+ // request traffic information, this value is the same value as
212+ // static_duration.
210213 google.type.LocalizedText duration = 2 ;
211214
212215 // Duration without taking traffic conditions into
@@ -384,7 +387,7 @@ message RouteLegStepTransitDetails {
384387 // The number of stops from the departure to the arrival stop. This count
385388 // includes the arrival stop, but excludes the departure stop. For example, if
386389 // your route leaves from Stop A, passes through stops B and C, and arrives at
387- // stop D, stop_count will return 3.
390+ // stop D, <code> stop_count</code> returns 3.
388391 int32 stop_count = 6 ;
389392
390393 // The text that appears in schedules and sign boards to identify a transit
0 commit comments