1// Copyright 2023 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 15syntax = "proto3"; 16 17package google.maps.routing.v2; 18 19option cc_enable_arenas = true; 20option csharp_namespace = "Google.Maps.Routing.V2"; 21option go_package = "cloud.google.com/go/maps/routing/apiv2/routingpb;routingpb"; 22option java_multiple_files = true; 23option java_outer_classname = "ManeuverProto"; 24option java_package = "com.google.maps.routing.v2"; 25option objc_class_prefix = "GMRV2"; 26option php_namespace = "Google\\Maps\\Routing\\V2"; 27option ruby_package = "Google::Maps::Routing::V2"; 28 29// A set of values that specify the navigation action to take for the current 30// step (for example, turn left, merge, or straight). 31enum Maneuver { 32 // Not used. 33 MANEUVER_UNSPECIFIED = 0; 34 35 // Turn slightly to the left. 36 TURN_SLIGHT_LEFT = 1; 37 38 // Turn sharply to the left. 39 TURN_SHARP_LEFT = 2; 40 41 // Make a left u-turn. 42 UTURN_LEFT = 3; 43 44 // Turn left. 45 TURN_LEFT = 4; 46 47 // Turn slightly to the right. 48 TURN_SLIGHT_RIGHT = 5; 49 50 // Turn sharply to the right. 51 TURN_SHARP_RIGHT = 6; 52 53 // Make a right u-turn. 54 UTURN_RIGHT = 7; 55 56 // Turn right. 57 TURN_RIGHT = 8; 58 59 // Go straight. 60 STRAIGHT = 9; 61 62 // Take the left ramp. 63 RAMP_LEFT = 10; 64 65 // Take the right ramp. 66 RAMP_RIGHT = 11; 67 68 // Merge into traffic. 69 MERGE = 12; 70 71 // Take the left fork. 72 FORK_LEFT = 13; 73 74 // Take the right fork. 75 FORK_RIGHT = 14; 76 77 // Take the ferry. 78 FERRY = 15; 79 80 // Take the train leading onto the ferry. 81 FERRY_TRAIN = 16; 82 83 // Turn left at the roundabout. 84 ROUNDABOUT_LEFT = 17; 85 86 // Turn right at the roundabout. 87 ROUNDABOUT_RIGHT = 18; 88 89 // Initial maneuver. 90 DEPART = 19; 91 92 // Used to indicate a street name change. 93 NAME_CHANGE = 20; 94} 95