Package viam.app.v1
Enum Class 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
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionSecret is disabled and must not be used to authenticate to rpc.Secret is enabled and can be used in authentication.STATE_UNSPECIFIED = 0;
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Secret is disabled and must not be used to authenticate to rpc.static final int
Secret is enabled and can be used in authentication.static final int
STATE_UNSPECIFIED = 0;
-
Method Summary
Modifier and TypeMethodDescriptionstatic App.SharedSecret.State
forNumber
(int value) final int
static com.google.protobuf.Internal.EnumLiteMap<App.SharedSecret.State>
static com.google.protobuf.Internal.EnumVerifier
static App.SharedSecret.State
valueOf
(int value) Deprecated.static App.SharedSecret.State
Returns the enum constant of this class with the specified name.static App.SharedSecret.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_ENABLED
Secret is enabled and can be used in authentication.
STATE_ENABLED = 1;
-
STATE_DISABLED
Secret is disabled and must not be used to authenticate to rpc.
STATE_DISABLED = 2;
-
UNRECOGNIZED
-
-
Field Details
-
STATE_UNSPECIFIED_VALUE
public static final int STATE_UNSPECIFIED_VALUESTATE_UNSPECIFIED = 0;
- See Also:
-
STATE_ENABLED_VALUE
public static final int STATE_ENABLED_VALUESecret is enabled and can be used in authentication.
STATE_ENABLED = 1;
- See Also:
-
STATE_DISABLED_VALUE
public static final int STATE_DISABLED_VALUESecret is disabled and must not be used to authenticate to rpc.
STATE_DISABLED = 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
public static com.google.protobuf.Internal.EnumLiteMap<App.SharedSecret.State> internalGetValueMap() -
internalGetVerifier
public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()
-