Package com.viam.service.navigation.v1
Enum Class Navigation.GoalState
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,Serializable,Comparable<Navigation.GoalState>,Constable
- Enclosing class:
Navigation
public static enum Navigation.GoalState
extends Enum<Navigation.GoalState>
implements com.google.protobuf.Internal.EnumLite
Protobuf enum
viam.service.navigation.v1.GoalState-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionGOAL_STATE_ACTIVE = 1;GOAL_STATE_CANCELED = 5;See errorGOAL_STATE_SUCCEEDED = 3;Held; see ResumeGOAL_STATE_UNSPECIFIED = 0; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intGOAL_STATE_ACTIVE = 1;static final intGOAL_STATE_CANCELED = 5;static final intSee errorstatic final intGOAL_STATE_SUCCEEDED = 3;static final intHeld; see Resumestatic final intGOAL_STATE_UNSPECIFIED = 0; -
Method Summary
Modifier and TypeMethodDescriptionstatic Navigation.GoalStateforNumber(int value) final intstatic com.google.protobuf.Internal.EnumLiteMap<Navigation.GoalState> static com.google.protobuf.Internal.EnumVerifierstatic Navigation.GoalStatevalueOf(int value) Deprecated.static Navigation.GoalStateReturns the enum constant of this class with the specified name.static Navigation.GoalState[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
GOAL_STATE_UNSPECIFIED
GOAL_STATE_UNSPECIFIED = 0; -
GOAL_STATE_ACTIVE
GOAL_STATE_ACTIVE = 1; -
GOAL_STATE_SUSPENDED
Held; see Resume
GOAL_STATE_SUSPENDED = 2; -
GOAL_STATE_SUCCEEDED
GOAL_STATE_SUCCEEDED = 3; -
GOAL_STATE_FAILED
See error
GOAL_STATE_FAILED = 4; -
GOAL_STATE_CANCELED
GOAL_STATE_CANCELED = 5; -
UNRECOGNIZED
-
-
Field Details
-
GOAL_STATE_UNSPECIFIED_VALUE
public static final int GOAL_STATE_UNSPECIFIED_VALUEGOAL_STATE_UNSPECIFIED = 0;- See Also:
-
GOAL_STATE_ACTIVE_VALUE
public static final int GOAL_STATE_ACTIVE_VALUEGOAL_STATE_ACTIVE = 1;- See Also:
-
GOAL_STATE_SUSPENDED_VALUE
public static final int GOAL_STATE_SUSPENDED_VALUEHeld; see Resume
GOAL_STATE_SUSPENDED = 2;- See Also:
-
GOAL_STATE_SUCCEEDED_VALUE
public static final int GOAL_STATE_SUCCEEDED_VALUEGOAL_STATE_SUCCEEDED = 3;- See Also:
-
GOAL_STATE_FAILED_VALUE
public static final int GOAL_STATE_FAILED_VALUESee error
GOAL_STATE_FAILED = 4;- See Also:
-
GOAL_STATE_CANCELED_VALUE
public static final int GOAL_STATE_CANCELED_VALUEGOAL_STATE_CANCELED = 5;- 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()
-