Package com.google.cloud.iap.v1
Enum ReauthSettings.Method
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<ReauthSettings.Method>
- Enclosing class:
- ReauthSettings
public static enum ReauthSettings.Method
extends Enum<ReauthSettings.Method>
implements com.google.protobuf.ProtocolMessageEnum
Types of reauthentication methods supported by IAP.Protobuf enum
google.cloud.iap.v1.ReauthSettings.Method-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionUser can use any enabled 2nd factor.Prompts the user to log in again.Reauthentication disabled.Deprecated.User must use their secure key 2nd factor device. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intUser can use any enabled 2nd factor.static final intPrompts the user to log in again.static final intReauthentication disabled.static final intDeprecated.static final intUser must use their secure key 2nd factor device. -
Method Summary
Modifier and TypeMethodDescriptionstatic ReauthSettings.MethodforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<ReauthSettings.Method>static ReauthSettings.MethodvalueOf(int value) Deprecated.static ReauthSettings.MethodvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static ReauthSettings.MethodReturns the enum constant of this type with the specified name.static ReauthSettings.Method[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
METHOD_UNSPECIFIED
Reauthentication disabled.
METHOD_UNSPECIFIED = 0; -
LOGIN
Prompts the user to log in again.
LOGIN = 1; -
PASSWORD
Deprecated.PASSWORD = 2 [deprecated = true]; -
SECURE_KEY
User must use their secure key 2nd factor device.
SECURE_KEY = 3; -
ENROLLED_SECOND_FACTORS
User can use any enabled 2nd factor.
ENROLLED_SECOND_FACTORS = 4; -
UNRECOGNIZED
-
-
Field Details
-
METHOD_UNSPECIFIED_VALUE
public static final int METHOD_UNSPECIFIED_VALUEReauthentication disabled.
METHOD_UNSPECIFIED = 0;- See Also:
-
LOGIN_VALUE
public static final int LOGIN_VALUEPrompts the user to log in again.
LOGIN = 1;- See Also:
-
PASSWORD_VALUE
Deprecated.PASSWORD = 2 [deprecated = true];- See Also:
-
SECURE_KEY_VALUE
public static final int SECURE_KEY_VALUEUser must use their secure key 2nd factor device.
SECURE_KEY = 3;- See Also:
-
ENROLLED_SECOND_FACTORS_VALUE
public static final int ENROLLED_SECOND_FACTORS_VALUEUser can use any enabled 2nd factor.
ENROLLED_SECOND_FACTORS = 4;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static ReauthSettings.Method valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-