Enum Class Board.PowerMode

java.lang.Object
java.lang.Enum<Board.PowerMode>
com.viam.component.board.v1.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
  • Enum Constant Details

    • POWER_MODE_UNSPECIFIED

      public static final Board.PowerMode POWER_MODE_UNSPECIFIED
      POWER_MODE_UNSPECIFIED = 0;
    • POWER_MODE_NORMAL

      public static final Board.PowerMode POWER_MODE_NORMAL
      POWER_MODE_NORMAL = 1;
    • POWER_MODE_OFFLINE_DEEP

      public static final Board.PowerMode POWER_MODE_OFFLINE_DEEP
      POWER_MODE_OFFLINE_DEEP = 2;
    • UNRECOGNIZED

      public static final Board.PowerMode UNRECOGNIZED
  • Field Details

    • POWER_MODE_UNSPECIFIED_VALUE

      public static final int POWER_MODE_UNSPECIFIED_VALUE
      POWER_MODE_UNSPECIFIED = 0;
      See Also:
    • POWER_MODE_NORMAL_VALUE

      public static final int POWER_MODE_NORMAL_VALUE
      POWER_MODE_NORMAL = 1;
      See Also:
    • POWER_MODE_OFFLINE_DEEP_VALUE

      public static final int POWER_MODE_OFFLINE_DEEP_VALUE
      POWER_MODE_OFFLINE_DEEP = 2;
      See Also:
  • Method Details

    • values

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

      public static com.google.protobuf.Internal.EnumLiteMap<Board.PowerMode> internalGetValueMap()
    • internalGetVerifier

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