Package viam.app.v1

Enum Class App.SharedSecret.State

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

public static enum App.SharedSecret.State extends Enum<App.SharedSecret.State> implements com.google.protobuf.Internal.EnumLite
Protobuf enum viam.app.v1.SharedSecret.State
  • Enum Constant Details

    • STATE_UNSPECIFIED

      public static final App.SharedSecret.State STATE_UNSPECIFIED
      STATE_UNSPECIFIED = 0;
    • STATE_ENABLED

      public static final App.SharedSecret.State STATE_ENABLED
       Secret is enabled and can be used in authentication.
       
      STATE_ENABLED = 1;
    • STATE_DISABLED

      public static final App.SharedSecret.State STATE_DISABLED
       Secret is disabled and must not be used to authenticate to rpc.
       
      STATE_DISABLED = 2;
    • UNRECOGNIZED

      public static final App.SharedSecret.State UNRECOGNIZED
  • Field Details

    • STATE_UNSPECIFIED_VALUE

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

      public static final int STATE_ENABLED_VALUE
       Secret is enabled and can be used in authentication.
       
      STATE_ENABLED = 1;
      See Also:
    • STATE_DISABLED_VALUE

      public static final int STATE_DISABLED_VALUE
       Secret is disabled and must not be used to authenticate to rpc.
       
      STATE_DISABLED = 2;
      See Also:
  • Method Details

    • values

      public static App.SharedSecret.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 App.SharedSecret.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 App.SharedSecret.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 App.SharedSecret.State forNumber(int value)
    • internalGetValueMap

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

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