Package com.viam.service.navigation.v1
Enum Class Navigation.Mode
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,Serializable
,Comparable<Navigation.Mode>
,Constable
- Enclosing class:
- Navigation
public static enum Navigation.Mode
extends Enum<Navigation.Mode>
implements com.google.protobuf.Internal.EnumLite
Protobuf enum
viam.service.navigation.v1.Mode
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionMODE_EXPLORE = 3;
MODE_MANUAL = 1;
MODE_UNSPECIFIED = 0;
MODE_WAYPOINT = 2;
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
MODE_EXPLORE = 3;
static final int
MODE_MANUAL = 1;
static final int
MODE_UNSPECIFIED = 0;
static final int
MODE_WAYPOINT = 2;
-
Method Summary
Modifier and TypeMethodDescriptionstatic Navigation.Mode
forNumber
(int value) final int
static com.google.protobuf.Internal.EnumLiteMap<Navigation.Mode>
static com.google.protobuf.Internal.EnumVerifier
static Navigation.Mode
valueOf
(int value) Deprecated.static Navigation.Mode
Returns the enum constant of this class with the specified name.static Navigation.Mode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MODE_UNSPECIFIED
MODE_UNSPECIFIED = 0;
-
MODE_MANUAL
MODE_MANUAL = 1;
-
MODE_WAYPOINT
MODE_WAYPOINT = 2;
-
MODE_EXPLORE
MODE_EXPLORE = 3;
-
UNRECOGNIZED
-
-
Field Details
-
MODE_UNSPECIFIED_VALUE
public static final int MODE_UNSPECIFIED_VALUEMODE_UNSPECIFIED = 0;
- See Also:
-
MODE_MANUAL_VALUE
public static final int MODE_MANUAL_VALUEMODE_MANUAL = 1;
- See Also:
-
MODE_WAYPOINT_VALUE
public static final int MODE_WAYPOINT_VALUEMODE_WAYPOINT = 2;
- See Also:
-
MODE_EXPLORE_VALUE
public static final int MODE_EXPLORE_VALUEMODE_EXPLORE = 3;
- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
-
valueOf
Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
forNumber
-
internalGetValueMap
-
internalGetVerifier
public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()
-