Package viam.app.v1
Enum Class App.EnabledGrant
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,Serializable
,Comparable<App.EnabledGrant>
,Constable
- Enclosing class:
- App
public static enum App.EnabledGrant
extends Enum<App.EnabledGrant>
implements com.google.protobuf.Internal.EnumLite
Protobuf enum
viam.app.v1.EnabledGrant
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionENABLED_GRANT_AUTHORIZATION_CODE = 1;
ENABLED_GRANT_DEVICE_CODE = 5;
ENABLED_GRANT_IMPLICIT = 2;
ENABLED_GRANT_PASSWORD = 3;
ENABLED_GRANT_REFRESH_TOKEN = 4;
ENABLED_GRANT_UNSPECIFIED = 0;
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
ENABLED_GRANT_AUTHORIZATION_CODE = 1;
static final int
ENABLED_GRANT_DEVICE_CODE = 5;
static final int
ENABLED_GRANT_IMPLICIT = 2;
static final int
ENABLED_GRANT_PASSWORD = 3;
static final int
ENABLED_GRANT_REFRESH_TOKEN = 4;
static final int
ENABLED_GRANT_UNSPECIFIED = 0;
-
Method Summary
Modifier and TypeMethodDescriptionstatic App.EnabledGrant
forNumber
(int value) final int
static com.google.protobuf.Internal.EnumLiteMap<App.EnabledGrant>
static com.google.protobuf.Internal.EnumVerifier
static App.EnabledGrant
valueOf
(int value) Deprecated.static App.EnabledGrant
Returns the enum constant of this class with the specified name.static App.EnabledGrant[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ENABLED_GRANT_UNSPECIFIED
ENABLED_GRANT_UNSPECIFIED = 0;
-
ENABLED_GRANT_AUTHORIZATION_CODE
ENABLED_GRANT_AUTHORIZATION_CODE = 1;
-
ENABLED_GRANT_IMPLICIT
ENABLED_GRANT_IMPLICIT = 2;
-
ENABLED_GRANT_PASSWORD
ENABLED_GRANT_PASSWORD = 3;
-
ENABLED_GRANT_REFRESH_TOKEN
ENABLED_GRANT_REFRESH_TOKEN = 4;
-
ENABLED_GRANT_DEVICE_CODE
ENABLED_GRANT_DEVICE_CODE = 5;
-
UNRECOGNIZED
-
-
Field Details
-
ENABLED_GRANT_UNSPECIFIED_VALUE
public static final int ENABLED_GRANT_UNSPECIFIED_VALUEENABLED_GRANT_UNSPECIFIED = 0;
- See Also:
-
ENABLED_GRANT_AUTHORIZATION_CODE_VALUE
public static final int ENABLED_GRANT_AUTHORIZATION_CODE_VALUEENABLED_GRANT_AUTHORIZATION_CODE = 1;
- See Also:
-
ENABLED_GRANT_IMPLICIT_VALUE
public static final int ENABLED_GRANT_IMPLICIT_VALUEENABLED_GRANT_IMPLICIT = 2;
- See Also:
-
ENABLED_GRANT_PASSWORD_VALUE
public static final int ENABLED_GRANT_PASSWORD_VALUEENABLED_GRANT_PASSWORD = 3;
- See Also:
-
ENABLED_GRANT_REFRESH_TOKEN_VALUE
public static final int ENABLED_GRANT_REFRESH_TOKEN_VALUEENABLED_GRANT_REFRESH_TOKEN = 4;
- See Also:
-
ENABLED_GRANT_DEVICE_CODE_VALUE
public static final int ENABLED_GRANT_DEVICE_CODE_VALUEENABLED_GRANT_DEVICE_CODE = 5;
- 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()
-