Enum Class Motion.PlanState

java.lang.Object
java.lang.Enum<Motion.PlanState>
com.viam.service.motion.v1.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
  • Enum Constant Details

    • PLAN_STATE_UNSPECIFIED

      public static final Motion.PlanState PLAN_STATE_UNSPECIFIED
      PLAN_STATE_UNSPECIFIED = 0;
    • PLAN_STATE_IN_PROGRESS

      public static final Motion.PlanState PLAN_STATE_IN_PROGRESS
      PLAN_STATE_IN_PROGRESS = 1;
    • PLAN_STATE_STOPPED

      public static final Motion.PlanState PLAN_STATE_STOPPED
      PLAN_STATE_STOPPED = 2;
    • PLAN_STATE_SUCCEEDED

      public static final Motion.PlanState PLAN_STATE_SUCCEEDED
      PLAN_STATE_SUCCEEDED = 3;
    • PLAN_STATE_FAILED

      public static final Motion.PlanState PLAN_STATE_FAILED
      PLAN_STATE_FAILED = 4;
    • UNRECOGNIZED

      public static final Motion.PlanState UNRECOGNIZED
  • Field Details

    • PLAN_STATE_UNSPECIFIED_VALUE

      public static final int PLAN_STATE_UNSPECIFIED_VALUE
      PLAN_STATE_UNSPECIFIED = 0;
      See Also:
    • PLAN_STATE_IN_PROGRESS_VALUE

      public static final int PLAN_STATE_IN_PROGRESS_VALUE
      PLAN_STATE_IN_PROGRESS = 1;
      See Also:
    • PLAN_STATE_STOPPED_VALUE

      public static final int PLAN_STATE_STOPPED_VALUE
      PLAN_STATE_STOPPED = 2;
      See Also:
    • PLAN_STATE_SUCCEEDED_VALUE

      public static final int PLAN_STATE_SUCCEEDED_VALUE
      PLAN_STATE_SUCCEEDED = 3;
      See Also:
    • PLAN_STATE_FAILED_VALUE

      public static final int PLAN_STATE_FAILED_VALUE
      PLAN_STATE_FAILED = 4;
      See Also:
  • Method Details

    • values

      public static Motion.PlanState[] 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

      public static Motion.PlanState valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getNumber

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

      @Deprecated public static Motion.PlanState valueOf(int value)
      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 name
      NullPointerException - if the argument is null
    • forNumber

      public static Motion.PlanState forNumber(int value)
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<Motion.PlanState> internalGetValueMap()
    • internalGetVerifier

      public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()