public enum Maneuver extends Enum<Maneuver> implements com.google.protobuf.ProtocolMessageEnum
A set of values that specify the navigation action to take for the current step (for example, turn left, merge, or straight).Protobuf enum
google.maps.routing.v2.Maneuver| Enum Constant and Description |
|---|
DEPART
Initial maneuver.
|
FERRY
Take the ferry.
|
FERRY_TRAIN
Take the train leading onto the ferry.
|
FORK_LEFT
Take the left fork.
|
FORK_RIGHT
Take the right fork.
|
MANEUVER_UNSPECIFIED
Not used.
|
MERGE
Merge into traffic.
|
NAME_CHANGE
Used to indicate a street name change.
|
RAMP_LEFT
Take the left ramp.
|
RAMP_RIGHT
Take the right ramp.
|
ROUNDABOUT_LEFT
Turn left at the roundabout.
|
ROUNDABOUT_RIGHT
Turn right at the roundabout.
|
STRAIGHT
Go straight.
|
TURN_LEFT
Turn left.
|
TURN_RIGHT
Turn right.
|
TURN_SHARP_LEFT
Turn sharply to the left.
|
TURN_SHARP_RIGHT
Turn sharply to the right.
|
TURN_SLIGHT_LEFT
Turn slightly to the left.
|
TURN_SLIGHT_RIGHT
Turn slightly to the right.
|
UNRECOGNIZED |
UTURN_LEFT
Make a left u-turn.
|
UTURN_RIGHT
Make a right u-turn.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
DEPART_VALUE
Initial maneuver.
|
static int |
FERRY_TRAIN_VALUE
Take the train leading onto the ferry.
|
static int |
FERRY_VALUE
Take the ferry.
|
static int |
FORK_LEFT_VALUE
Take the left fork.
|
static int |
FORK_RIGHT_VALUE
Take the right fork.
|
static int |
MANEUVER_UNSPECIFIED_VALUE
Not used.
|
static int |
MERGE_VALUE
Merge into traffic.
|
static int |
NAME_CHANGE_VALUE
Used to indicate a street name change.
|
static int |
RAMP_LEFT_VALUE
Take the left ramp.
|
static int |
RAMP_RIGHT_VALUE
Take the right ramp.
|
static int |
ROUNDABOUT_LEFT_VALUE
Turn left at the roundabout.
|
static int |
ROUNDABOUT_RIGHT_VALUE
Turn right at the roundabout.
|
static int |
STRAIGHT_VALUE
Go straight.
|
static int |
TURN_LEFT_VALUE
Turn left.
|
static int |
TURN_RIGHT_VALUE
Turn right.
|
static int |
TURN_SHARP_LEFT_VALUE
Turn sharply to the left.
|
static int |
TURN_SHARP_RIGHT_VALUE
Turn sharply to the right.
|
static int |
TURN_SLIGHT_LEFT_VALUE
Turn slightly to the left.
|
static int |
TURN_SLIGHT_RIGHT_VALUE
Turn slightly to the right.
|
static int |
UTURN_LEFT_VALUE
Make a left u-turn.
|
static int |
UTURN_RIGHT_VALUE
Make a right u-turn.
|
| Modifier and Type | Method and Description |
|---|---|
static Maneuver |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<Maneuver> |
internalGetValueMap() |
static Maneuver |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Maneuver |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Maneuver |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Maneuver[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Maneuver MANEUVER_UNSPECIFIED
Not used.
MANEUVER_UNSPECIFIED = 0;public static final Maneuver TURN_SLIGHT_LEFT
Turn slightly to the left.
TURN_SLIGHT_LEFT = 1;public static final Maneuver TURN_SHARP_LEFT
Turn sharply to the left.
TURN_SHARP_LEFT = 2;public static final Maneuver UTURN_LEFT
Make a left u-turn.
UTURN_LEFT = 3;public static final Maneuver TURN_LEFT
Turn left.
TURN_LEFT = 4;public static final Maneuver TURN_SLIGHT_RIGHT
Turn slightly to the right.
TURN_SLIGHT_RIGHT = 5;public static final Maneuver TURN_SHARP_RIGHT
Turn sharply to the right.
TURN_SHARP_RIGHT = 6;public static final Maneuver UTURN_RIGHT
Make a right u-turn.
UTURN_RIGHT = 7;public static final Maneuver TURN_RIGHT
Turn right.
TURN_RIGHT = 8;public static final Maneuver STRAIGHT
Go straight.
STRAIGHT = 9;public static final Maneuver RAMP_LEFT
Take the left ramp.
RAMP_LEFT = 10;public static final Maneuver RAMP_RIGHT
Take the right ramp.
RAMP_RIGHT = 11;public static final Maneuver MERGE
Merge into traffic.
MERGE = 12;public static final Maneuver FORK_LEFT
Take the left fork.
FORK_LEFT = 13;public static final Maneuver FORK_RIGHT
Take the right fork.
FORK_RIGHT = 14;public static final Maneuver FERRY
Take the ferry.
FERRY = 15;public static final Maneuver FERRY_TRAIN
Take the train leading onto the ferry.
FERRY_TRAIN = 16;public static final Maneuver ROUNDABOUT_LEFT
Turn left at the roundabout.
ROUNDABOUT_LEFT = 17;public static final Maneuver ROUNDABOUT_RIGHT
Turn right at the roundabout.
ROUNDABOUT_RIGHT = 18;public static final Maneuver DEPART
Initial maneuver.
DEPART = 19;public static final Maneuver NAME_CHANGE
Used to indicate a street name change.
NAME_CHANGE = 20;public static final Maneuver UNRECOGNIZED
public static final int MANEUVER_UNSPECIFIED_VALUE
Not used.
MANEUVER_UNSPECIFIED = 0;public static final int TURN_SLIGHT_LEFT_VALUE
Turn slightly to the left.
TURN_SLIGHT_LEFT = 1;public static final int TURN_SHARP_LEFT_VALUE
Turn sharply to the left.
TURN_SHARP_LEFT = 2;public static final int UTURN_LEFT_VALUE
Make a left u-turn.
UTURN_LEFT = 3;public static final int TURN_LEFT_VALUE
Turn left.
TURN_LEFT = 4;public static final int TURN_SLIGHT_RIGHT_VALUE
Turn slightly to the right.
TURN_SLIGHT_RIGHT = 5;public static final int TURN_SHARP_RIGHT_VALUE
Turn sharply to the right.
TURN_SHARP_RIGHT = 6;public static final int UTURN_RIGHT_VALUE
Make a right u-turn.
UTURN_RIGHT = 7;public static final int TURN_RIGHT_VALUE
Turn right.
TURN_RIGHT = 8;public static final int STRAIGHT_VALUE
Go straight.
STRAIGHT = 9;public static final int RAMP_LEFT_VALUE
Take the left ramp.
RAMP_LEFT = 10;public static final int RAMP_RIGHT_VALUE
Take the right ramp.
RAMP_RIGHT = 11;public static final int MERGE_VALUE
Merge into traffic.
MERGE = 12;public static final int FORK_LEFT_VALUE
Take the left fork.
FORK_LEFT = 13;public static final int FORK_RIGHT_VALUE
Take the right fork.
FORK_RIGHT = 14;public static final int FERRY_VALUE
Take the ferry.
FERRY = 15;public static final int FERRY_TRAIN_VALUE
Take the train leading onto the ferry.
FERRY_TRAIN = 16;public static final int ROUNDABOUT_LEFT_VALUE
Turn left at the roundabout.
ROUNDABOUT_LEFT = 17;public static final int ROUNDABOUT_RIGHT_VALUE
Turn right at the roundabout.
ROUNDABOUT_RIGHT = 18;public static final int DEPART_VALUE
Initial maneuver.
DEPART = 19;public static final int NAME_CHANGE_VALUE
Used to indicate a street name change.
NAME_CHANGE = 20;public static Maneuver[] values()
for (Maneuver c : Maneuver.values()) System.out.println(c);
public static Maneuver valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static Maneuver valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Maneuver forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Maneuver> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Maneuver valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.