Enum Class Robot.ResourceStatus.State

java.lang.Object
java.lang.Enum<Robot.ResourceStatus.State>
com.viam.robot.v1.Robot.ResourceStatus.State
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, Serializable, Comparable<Robot.ResourceStatus.State>, Constable
Enclosing class:
Robot.ResourceStatus

public static enum Robot.ResourceStatus.State extends Enum<Robot.ResourceStatus.State> implements com.google.protobuf.Internal.EnumLite
Protobuf enum viam.robot.v1.ResourceStatus.State
  • Enum Constant Details

    • STATE_UNSPECIFIED

      public static final Robot.ResourceStatus.State STATE_UNSPECIFIED
      STATE_UNSPECIFIED = 0;
    • STATE_UNCONFIGURED

      public static final Robot.ResourceStatus.State STATE_UNCONFIGURED
       a newly created resource.
       
      STATE_UNCONFIGURED = 1;
    • STATE_CONFIGURING

      public static final Robot.ResourceStatus.State STATE_CONFIGURING
       a resource that is being configured.
       
      STATE_CONFIGURING = 2;
    • STATE_READY

      public static final Robot.ResourceStatus.State STATE_READY
       a resource that has been successfully configured once, and is not re-configuring,
       being removed, or unhealthy.
       
      STATE_READY = 3;
    • STATE_REMOVING

      public static final Robot.ResourceStatus.State STATE_REMOVING
       a resource that is being removed from the robot.
       
      STATE_REMOVING = 4;
    • STATE_UNHEALTHY

      public static final Robot.ResourceStatus.State STATE_UNHEALTHY
       a resource that is in an unhealthy state.
       
      STATE_UNHEALTHY = 5;
    • UNRECOGNIZED

      public static final Robot.ResourceStatus.State UNRECOGNIZED
  • Field Details

    • STATE_UNSPECIFIED_VALUE

      public static final int STATE_UNSPECIFIED_VALUE
      STATE_UNSPECIFIED = 0;
      See Also:
    • STATE_UNCONFIGURED_VALUE

      public static final int STATE_UNCONFIGURED_VALUE
       a newly created resource.
       
      STATE_UNCONFIGURED = 1;
      See Also:
    • STATE_CONFIGURING_VALUE

      public static final int STATE_CONFIGURING_VALUE
       a resource that is being configured.
       
      STATE_CONFIGURING = 2;
      See Also:
    • STATE_READY_VALUE

      public static final int STATE_READY_VALUE
       a resource that has been successfully configured once, and is not re-configuring,
       being removed, or unhealthy.
       
      STATE_READY = 3;
      See Also:
    • STATE_REMOVING_VALUE

      public static final int STATE_REMOVING_VALUE
       a resource that is being removed from the robot.
       
      STATE_REMOVING = 4;
      See Also:
    • STATE_UNHEALTHY_VALUE

      public static final int STATE_UNHEALTHY_VALUE
       a resource that is in an unhealthy state.
       
      STATE_UNHEALTHY = 5;
      See Also:
  • Method Details

    • values

      public static Robot.ResourceStatus.State[] 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 Robot.ResourceStatus.State 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 Robot.ResourceStatus.State 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 Robot.ResourceStatus.State forNumber(int value)
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<Robot.ResourceStatus.State> internalGetValueMap()
    • internalGetVerifier

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