Package com.viam.service.navigation.v1
Enum Class Navigation.NavMode
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,Serializable,Comparable<Navigation.NavMode>,Constable
- Enclosing class:
Navigation
public static enum Navigation.NavMode
extends Enum<Navigation.NavMode>
implements com.google.protobuf.Internal.EnumLite
Protobuf enum
viam.service.navigation.v1.NavMode-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionGoTo*NavigateTo*, ExecutePlanNavigateRouteNAV_MODE_UNSPECIFIED = 0; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intGoTo*static final intNavigateTo*, ExecutePlanstatic final intNavigateRoutestatic final intNAV_MODE_UNSPECIFIED = 0; -
Method Summary
Modifier and TypeMethodDescriptionstatic Navigation.NavModeforNumber(int value) final intstatic com.google.protobuf.Internal.EnumLiteMap<Navigation.NavMode> static com.google.protobuf.Internal.EnumVerifierstatic Navigation.NavModevalueOf(int value) Deprecated.static Navigation.NavModeReturns the enum constant of this class with the specified name.static Navigation.NavMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NAV_MODE_UNSPECIFIED
NAV_MODE_UNSPECIFIED = 0; -
NAV_MODE_PLANNED
NavigateTo*, ExecutePlan
NAV_MODE_PLANNED = 1; -
NAV_MODE_DIRECT
GoTo*
NAV_MODE_DIRECT = 2; -
NAV_MODE_ROUTE
NavigateRoute
NAV_MODE_ROUTE = 3; -
UNRECOGNIZED
-
-
Field Details
-
NAV_MODE_UNSPECIFIED_VALUE
public static final int NAV_MODE_UNSPECIFIED_VALUENAV_MODE_UNSPECIFIED = 0;- See Also:
-
NAV_MODE_PLANNED_VALUE
public static final int NAV_MODE_PLANNED_VALUENavigateTo*, ExecutePlan
NAV_MODE_PLANNED = 1;- See Also:
-
NAV_MODE_DIRECT_VALUE
public static final int NAV_MODE_DIRECT_VALUEGoTo*
NAV_MODE_DIRECT = 2;- See Also:
-
NAV_MODE_ROUTE_VALUE
public static final int NAV_MODE_ROUTE_VALUENavigateRoute
NAV_MODE_ROUTE = 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:
getNumberin 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()
-