Package viam.app.v1
Enum Class Robot.CredentialsType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,Serializable
,Comparable<Robot.CredentialsType>
,Constable
- Enclosing class:
- Robot
public static enum Robot.CredentialsType
extends Enum<Robot.CredentialsType>
implements com.google.protobuf.Internal.EnumLite
Protobuf enum
viam.app.v1.CredentialsType
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionCREDENTIALS_TYPE_API_KEY = 2;
CREDENTIALS_TYPE_INTERNAL = 1;
CREDENTIALS_TYPE_ROBOT_LOCATION_SECRET = 4;
CREDENTIALS_TYPE_ROBOT_SECRET = 3;
CREDENTIALS_TYPE_UNSPECIFIED = 0;
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
CREDENTIALS_TYPE_API_KEY = 2;
static final int
CREDENTIALS_TYPE_INTERNAL = 1;
static final int
CREDENTIALS_TYPE_ROBOT_LOCATION_SECRET = 4;
static final int
CREDENTIALS_TYPE_ROBOT_SECRET = 3;
static final int
CREDENTIALS_TYPE_UNSPECIFIED = 0;
-
Method Summary
Modifier and TypeMethodDescriptionstatic Robot.CredentialsType
forNumber
(int value) final int
static com.google.protobuf.Internal.EnumLiteMap<Robot.CredentialsType>
static com.google.protobuf.Internal.EnumVerifier
static Robot.CredentialsType
valueOf
(int value) Deprecated.static Robot.CredentialsType
Returns the enum constant of this class with the specified name.static Robot.CredentialsType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CREDENTIALS_TYPE_UNSPECIFIED
CREDENTIALS_TYPE_UNSPECIFIED = 0;
-
CREDENTIALS_TYPE_INTERNAL
CREDENTIALS_TYPE_INTERNAL = 1;
-
CREDENTIALS_TYPE_API_KEY
CREDENTIALS_TYPE_API_KEY = 2;
-
CREDENTIALS_TYPE_ROBOT_SECRET
CREDENTIALS_TYPE_ROBOT_SECRET = 3;
-
CREDENTIALS_TYPE_ROBOT_LOCATION_SECRET
CREDENTIALS_TYPE_ROBOT_LOCATION_SECRET = 4;
-
UNRECOGNIZED
-
-
Field Details
-
CREDENTIALS_TYPE_UNSPECIFIED_VALUE
public static final int CREDENTIALS_TYPE_UNSPECIFIED_VALUECREDENTIALS_TYPE_UNSPECIFIED = 0;
- See Also:
-
CREDENTIALS_TYPE_INTERNAL_VALUE
public static final int CREDENTIALS_TYPE_INTERNAL_VALUECREDENTIALS_TYPE_INTERNAL = 1;
- See Also:
-
CREDENTIALS_TYPE_API_KEY_VALUE
public static final int CREDENTIALS_TYPE_API_KEY_VALUECREDENTIALS_TYPE_API_KEY = 2;
- See Also:
-
CREDENTIALS_TYPE_ROBOT_SECRET_VALUE
public static final int CREDENTIALS_TYPE_ROBOT_SECRET_VALUECREDENTIALS_TYPE_ROBOT_SECRET = 3;
- See Also:
-
CREDENTIALS_TYPE_ROBOT_LOCATION_SECRET_VALUE
public static final int CREDENTIALS_TYPE_ROBOT_LOCATION_SECRET_VALUECREDENTIALS_TYPE_ROBOT_LOCATION_SECRET = 4;
- 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()
-