Enum Maneuver

java.lang.Object
java.lang.Enum<Maneuver>
com.google.maps.routing.v2.Maneuver
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<Maneuver>

@Generated 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 Details

    • MANEUVER_UNSPECIFIED

      public static final Maneuver MANEUVER_UNSPECIFIED
       Not used.
       
      MANEUVER_UNSPECIFIED = 0;
    • TURN_SLIGHT_LEFT

      public static final Maneuver TURN_SLIGHT_LEFT
       Turn slightly to the left.
       
      TURN_SLIGHT_LEFT = 1;
    • TURN_SHARP_LEFT

      public static final Maneuver TURN_SHARP_LEFT
       Turn sharply to the left.
       
      TURN_SHARP_LEFT = 2;
    • UTURN_LEFT

      public static final Maneuver UTURN_LEFT
       Make a left u-turn.
       
      UTURN_LEFT = 3;
    • TURN_LEFT

      public static final Maneuver TURN_LEFT
       Turn left.
       
      TURN_LEFT = 4;
    • TURN_SLIGHT_RIGHT

      public static final Maneuver TURN_SLIGHT_RIGHT
       Turn slightly to the right.
       
      TURN_SLIGHT_RIGHT = 5;
    • TURN_SHARP_RIGHT

      public static final Maneuver TURN_SHARP_RIGHT
       Turn sharply to the right.
       
      TURN_SHARP_RIGHT = 6;
    • UTURN_RIGHT

      public static final Maneuver UTURN_RIGHT
       Make a right u-turn.
       
      UTURN_RIGHT = 7;
    • TURN_RIGHT

      public static final Maneuver TURN_RIGHT
       Turn right.
       
      TURN_RIGHT = 8;
    • STRAIGHT

      public static final Maneuver STRAIGHT
       Go straight.
       
      STRAIGHT = 9;
    • RAMP_LEFT

      public static final Maneuver RAMP_LEFT
       Take the left ramp.
       
      RAMP_LEFT = 10;
    • RAMP_RIGHT

      public static final Maneuver RAMP_RIGHT
       Take the right ramp.
       
      RAMP_RIGHT = 11;
    • MERGE

      public static final Maneuver MERGE
       Merge into traffic.
       
      MERGE = 12;
    • FORK_LEFT

      public static final Maneuver FORK_LEFT
       Take the left fork.
       
      FORK_LEFT = 13;
    • FORK_RIGHT

      public static final Maneuver FORK_RIGHT
       Take the right fork.
       
      FORK_RIGHT = 14;
    • FERRY

      public static final Maneuver FERRY
       Take the ferry.
       
      FERRY = 15;
    • FERRY_TRAIN

      public static final Maneuver FERRY_TRAIN
       Take the train leading onto the ferry.
       
      FERRY_TRAIN = 16;
    • ROUNDABOUT_LEFT

      public static final Maneuver ROUNDABOUT_LEFT
       Turn left at the roundabout.
       
      ROUNDABOUT_LEFT = 17;
    • ROUNDABOUT_RIGHT

      public static final Maneuver ROUNDABOUT_RIGHT
       Turn right at the roundabout.
       
      ROUNDABOUT_RIGHT = 18;
    • DEPART

      public static final Maneuver DEPART
       Initial maneuver.
       
      DEPART = 19;
    • NAME_CHANGE

      public static final Maneuver NAME_CHANGE
       Used to indicate a street name change.
       
      NAME_CHANGE = 20;
    • UNRECOGNIZED

      public static final Maneuver UNRECOGNIZED
  • Field Details

    • MANEUVER_UNSPECIFIED_VALUE

      public static final int MANEUVER_UNSPECIFIED_VALUE
       Not used.
       
      MANEUVER_UNSPECIFIED = 0;
      See Also:
    • TURN_SLIGHT_LEFT_VALUE

      public static final int TURN_SLIGHT_LEFT_VALUE
       Turn slightly to the left.
       
      TURN_SLIGHT_LEFT = 1;
      See Also:
    • TURN_SHARP_LEFT_VALUE

      public static final int TURN_SHARP_LEFT_VALUE
       Turn sharply to the left.
       
      TURN_SHARP_LEFT = 2;
      See Also:
    • UTURN_LEFT_VALUE

      public static final int UTURN_LEFT_VALUE
       Make a left u-turn.
       
      UTURN_LEFT = 3;
      See Also:
    • TURN_LEFT_VALUE

      public static final int TURN_LEFT_VALUE
       Turn left.
       
      TURN_LEFT = 4;
      See Also:
    • TURN_SLIGHT_RIGHT_VALUE

      public static final int TURN_SLIGHT_RIGHT_VALUE
       Turn slightly to the right.
       
      TURN_SLIGHT_RIGHT = 5;
      See Also:
    • TURN_SHARP_RIGHT_VALUE

      public static final int TURN_SHARP_RIGHT_VALUE
       Turn sharply to the right.
       
      TURN_SHARP_RIGHT = 6;
      See Also:
    • UTURN_RIGHT_VALUE

      public static final int UTURN_RIGHT_VALUE
       Make a right u-turn.
       
      UTURN_RIGHT = 7;
      See Also:
    • TURN_RIGHT_VALUE

      public static final int TURN_RIGHT_VALUE
       Turn right.
       
      TURN_RIGHT = 8;
      See Also:
    • STRAIGHT_VALUE

      public static final int STRAIGHT_VALUE
       Go straight.
       
      STRAIGHT = 9;
      See Also:
    • RAMP_LEFT_VALUE

      public static final int RAMP_LEFT_VALUE
       Take the left ramp.
       
      RAMP_LEFT = 10;
      See Also:
    • RAMP_RIGHT_VALUE

      public static final int RAMP_RIGHT_VALUE
       Take the right ramp.
       
      RAMP_RIGHT = 11;
      See Also:
    • MERGE_VALUE

      public static final int MERGE_VALUE
       Merge into traffic.
       
      MERGE = 12;
      See Also:
    • FORK_LEFT_VALUE

      public static final int FORK_LEFT_VALUE
       Take the left fork.
       
      FORK_LEFT = 13;
      See Also:
    • FORK_RIGHT_VALUE

      public static final int FORK_RIGHT_VALUE
       Take the right fork.
       
      FORK_RIGHT = 14;
      See Also:
    • FERRY_VALUE

      public static final int FERRY_VALUE
       Take the ferry.
       
      FERRY = 15;
      See Also:
    • FERRY_TRAIN_VALUE

      public static final int FERRY_TRAIN_VALUE
       Take the train leading onto the ferry.
       
      FERRY_TRAIN = 16;
      See Also:
    • ROUNDABOUT_LEFT_VALUE

      public static final int ROUNDABOUT_LEFT_VALUE
       Turn left at the roundabout.
       
      ROUNDABOUT_LEFT = 17;
      See Also:
    • ROUNDABOUT_RIGHT_VALUE

      public static final int ROUNDABOUT_RIGHT_VALUE
       Turn right at the roundabout.
       
      ROUNDABOUT_RIGHT = 18;
      See Also:
    • DEPART_VALUE

      public static final int DEPART_VALUE
       Initial maneuver.
       
      DEPART = 19;
      See Also:
    • NAME_CHANGE_VALUE

      public static final int NAME_CHANGE_VALUE
       Used to indicate a street name change.
       
      NAME_CHANGE = 20;
      See Also:
  • Method Details

    • values

      public static Maneuver[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static Maneuver valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static Maneuver valueOf(int value)
      Deprecated.
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      value - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • forNumber

      public static Maneuver forNumber(int value)
      Parameters:
      value - The numeric wire value of the corresponding enum entry.
      Returns:
      The enum associated with the given numeric wire value.
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<Maneuver> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptor

      public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static Maneuver valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      desc - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null