Package com.viam.service.motion.v1
Enum Class Motion.PlanState
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,Serializable
,Comparable<Motion.PlanState>
,Constable
- Enclosing class:
- Motion
public static enum Motion.PlanState
extends Enum<Motion.PlanState>
implements com.google.protobuf.Internal.EnumLite
The states that a plan can be in. InProgress if the plan is executing. Stopped if the plan was stopped. Suceeded if the robot reached its destination successfully. Failed if the robot did not reach its destination.Protobuf enum
viam.service.motion.v1.PlanState
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionPLAN_STATE_FAILED = 4;
PLAN_STATE_IN_PROGRESS = 1;
PLAN_STATE_STOPPED = 2;
PLAN_STATE_SUCCEEDED = 3;
PLAN_STATE_UNSPECIFIED = 0;
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
PLAN_STATE_FAILED = 4;
static final int
PLAN_STATE_IN_PROGRESS = 1;
static final int
PLAN_STATE_STOPPED = 2;
static final int
PLAN_STATE_SUCCEEDED = 3;
static final int
PLAN_STATE_UNSPECIFIED = 0;
-
Method Summary
Modifier and TypeMethodDescriptionstatic Motion.PlanState
forNumber
(int value) final int
static com.google.protobuf.Internal.EnumLiteMap<Motion.PlanState>
static com.google.protobuf.Internal.EnumVerifier
static Motion.PlanState
valueOf
(int value) Deprecated.static Motion.PlanState
Returns the enum constant of this class with the specified name.static Motion.PlanState[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PLAN_STATE_UNSPECIFIED
PLAN_STATE_UNSPECIFIED = 0;
-
PLAN_STATE_IN_PROGRESS
PLAN_STATE_IN_PROGRESS = 1;
-
PLAN_STATE_STOPPED
PLAN_STATE_STOPPED = 2;
-
PLAN_STATE_SUCCEEDED
PLAN_STATE_SUCCEEDED = 3;
-
PLAN_STATE_FAILED
PLAN_STATE_FAILED = 4;
-
UNRECOGNIZED
-
-
Field Details
-
PLAN_STATE_UNSPECIFIED_VALUE
public static final int PLAN_STATE_UNSPECIFIED_VALUEPLAN_STATE_UNSPECIFIED = 0;
- See Also:
-
PLAN_STATE_IN_PROGRESS_VALUE
public static final int PLAN_STATE_IN_PROGRESS_VALUEPLAN_STATE_IN_PROGRESS = 1;
- See Also:
-
PLAN_STATE_STOPPED_VALUE
public static final int PLAN_STATE_STOPPED_VALUEPLAN_STATE_STOPPED = 2;
- See Also:
-
PLAN_STATE_SUCCEEDED_VALUE
public static final int PLAN_STATE_SUCCEEDED_VALUEPLAN_STATE_SUCCEEDED = 3;
- See Also:
-
PLAN_STATE_FAILED_VALUE
public static final int PLAN_STATE_FAILED_VALUEPLAN_STATE_FAILED = 4;
- 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()
-