maneuver.proto 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  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. syntax = "proto3";
  15. package google.maps.routing.v2;
  16. option cc_enable_arenas = true;
  17. option csharp_namespace = "Google.Maps.Routing.V2";
  18. option go_package = "google.golang.org/genproto/googleapis/maps/routing/v2;routing";
  19. option java_multiple_files = true;
  20. option java_outer_classname = "ManeuverProto";
  21. option java_package = "com.google.maps.routing.v2";
  22. option objc_class_prefix = "GMRV2";
  23. option php_namespace = "Google\\Maps\\Routing\\V2";
  24. option ruby_package = "Google::Maps::Routing::V2";
  25. // A set of values that specify the navigation action to take for the current
  26. // step (e.g., turn left, merge, straight, etc.).
  27. enum Maneuver {
  28. // Not used.
  29. MANEUVER_UNSPECIFIED = 0;
  30. // Turn slightly to the left.
  31. TURN_SLIGHT_LEFT = 1;
  32. // Turn sharply to the left.
  33. TURN_SHARP_LEFT = 2;
  34. // Make a left u-turn.
  35. UTURN_LEFT = 3;
  36. // Turn left.
  37. TURN_LEFT = 4;
  38. // Turn slightly to the right.
  39. TURN_SLIGHT_RIGHT = 5;
  40. // Turn sharply to the right.
  41. TURN_SHARP_RIGHT = 6;
  42. // Make a right u-turn.
  43. UTURN_RIGHT = 7;
  44. // Turn right.
  45. TURN_RIGHT = 8;
  46. // Go straight.
  47. STRAIGHT = 9;
  48. // Take the left ramp.
  49. RAMP_LEFT = 10;
  50. // Take the right ramp.
  51. RAMP_RIGHT = 11;
  52. // Merge into traffic.
  53. MERGE = 12;
  54. // Take the left fork.
  55. FORK_LEFT = 13;
  56. // Take the right fork.
  57. FORK_RIGHT = 14;
  58. // Take the ferry.
  59. FERRY = 15;
  60. // Take the train leading onto the ferry.
  61. FERRY_TRAIN = 16;
  62. // Turn left at the roundabout.
  63. ROUNDABOUT_LEFT = 17;
  64. // Turn right at the roundabout.
  65. ROUNDABOUT_RIGHT = 18;
  66. }