Package com.viam.robot.v1
Enum Class 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
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptiona resource that is being configured.a resource that has been successfully configured once, and is not re-configuring, being removed, or unhealthy.a resource that is being removed from the robot.a newly created resource.a resource that is in an unhealthy state.STATE_UNSPECIFIED = 0;
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
a resource that is being configured.static final int
a resource that has been successfully configured once, and is not re-configuring, being removed, or unhealthy.static final int
a resource that is being removed from the robot.static final int
a newly created resource.static final int
a resource that is in an unhealthy state.static final int
STATE_UNSPECIFIED = 0;
-
Method Summary
Modifier and TypeMethodDescriptionstatic Robot.ResourceStatus.State
forNumber
(int value) final int
static com.google.protobuf.Internal.EnumLiteMap<Robot.ResourceStatus.State>
static com.google.protobuf.Internal.EnumVerifier
static Robot.ResourceStatus.State
valueOf
(int value) Deprecated.static Robot.ResourceStatus.State
Returns the enum constant of this class with the specified name.static Robot.ResourceStatus.State[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
STATE_UNSPECIFIED
STATE_UNSPECIFIED = 0;
-
STATE_UNCONFIGURED
a newly created resource.
STATE_UNCONFIGURED = 1;
-
STATE_CONFIGURING
a resource that is being configured.
STATE_CONFIGURING = 2;
-
STATE_READY
a resource that has been successfully configured once, and is not re-configuring, being removed, or unhealthy.
STATE_READY = 3;
-
STATE_REMOVING
a resource that is being removed from the robot.
STATE_REMOVING = 4;
-
STATE_UNHEALTHY
a resource that is in an unhealthy state.
STATE_UNHEALTHY = 5;
-
UNRECOGNIZED
-
-
Field Details
-
STATE_UNSPECIFIED_VALUE
public static final int STATE_UNSPECIFIED_VALUESTATE_UNSPECIFIED = 0;
- See Also:
-
STATE_UNCONFIGURED_VALUE
public static final int STATE_UNCONFIGURED_VALUEa newly created resource.
STATE_UNCONFIGURED = 1;
- See Also:
-
STATE_CONFIGURING_VALUE
public static final int STATE_CONFIGURING_VALUEa resource that is being configured.
STATE_CONFIGURING = 2;
- See Also:
-
STATE_READY_VALUE
public static final int STATE_READY_VALUEa 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_VALUEa resource that is being removed from the robot.
STATE_REMOVING = 4;
- See Also:
-
STATE_UNHEALTHY_VALUE
public static final int STATE_UNHEALTHY_VALUEa resource that is in an unhealthy state.
STATE_UNHEALTHY = 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:
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
public static com.google.protobuf.Internal.EnumLiteMap<Robot.ResourceStatus.State> internalGetValueMap() -
internalGetVerifier
public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()
-