Package com.viam.component.board.v1
Enum Class Board.PowerMode
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,Serializable
,Comparable<Board.PowerMode>
,Constable
- Enclosing class:
- Board
public static enum Board.PowerMode
extends Enum<Board.PowerMode>
implements com.google.protobuf.Internal.EnumLite
Protobuf enum
viam.component.board.v1.PowerMode
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionPOWER_MODE_NORMAL = 1;
POWER_MODE_OFFLINE_DEEP = 2;
POWER_MODE_UNSPECIFIED = 0;
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
POWER_MODE_NORMAL = 1;
static final int
POWER_MODE_OFFLINE_DEEP = 2;
static final int
POWER_MODE_UNSPECIFIED = 0;
-
Method Summary
Modifier and TypeMethodDescriptionstatic Board.PowerMode
forNumber
(int value) final int
static com.google.protobuf.Internal.EnumLiteMap<Board.PowerMode>
static com.google.protobuf.Internal.EnumVerifier
static Board.PowerMode
valueOf
(int value) Deprecated.static Board.PowerMode
Returns the enum constant of this class with the specified name.static Board.PowerMode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
POWER_MODE_UNSPECIFIED
POWER_MODE_UNSPECIFIED = 0;
-
POWER_MODE_NORMAL
POWER_MODE_NORMAL = 1;
-
POWER_MODE_OFFLINE_DEEP
POWER_MODE_OFFLINE_DEEP = 2;
-
UNRECOGNIZED
-
-
Field Details
-
POWER_MODE_UNSPECIFIED_VALUE
public static final int POWER_MODE_UNSPECIFIED_VALUEPOWER_MODE_UNSPECIFIED = 0;
- See Also:
-
POWER_MODE_NORMAL_VALUE
public static final int POWER_MODE_NORMAL_VALUEPOWER_MODE_NORMAL = 1;
- See Also:
-
POWER_MODE_OFFLINE_DEEP_VALUE
public static final int POWER_MODE_OFFLINE_DEEP_VALUEPOWER_MODE_OFFLINE_DEEP = 2;
- 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()
-