Enum ReauthSettings.Method

java.lang.Object
java.lang.Enum<ReauthSettings.Method>
com.google.cloud.iap.v1.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 Details

    • METHOD_UNSPECIFIED

      public static final ReauthSettings.Method METHOD_UNSPECIFIED
       Reauthentication disabled.
       
      METHOD_UNSPECIFIED = 0;
    • LOGIN

      public static final ReauthSettings.Method LOGIN
       Prompts the user to log in again.
       
      LOGIN = 1;
    • PASSWORD

      @Deprecated public static final ReauthSettings.Method PASSWORD
      Deprecated.
      PASSWORD = 2 [deprecated = true];
    • SECURE_KEY

      public static final ReauthSettings.Method SECURE_KEY
       User must use their secure key 2nd factor device.
       
      SECURE_KEY = 3;
    • ENROLLED_SECOND_FACTORS

      public static final ReauthSettings.Method ENROLLED_SECOND_FACTORS
       User can use any enabled 2nd factor.
       
      ENROLLED_SECOND_FACTORS = 4;
    • UNRECOGNIZED

      public static final ReauthSettings.Method UNRECOGNIZED
  • Field Details

    • METHOD_UNSPECIFIED_VALUE

      public static final int METHOD_UNSPECIFIED_VALUE
       Reauthentication disabled.
       
      METHOD_UNSPECIFIED = 0;
      See Also:
    • LOGIN_VALUE

      public static final int LOGIN_VALUE
       Prompts the user to log in again.
       
      LOGIN = 1;
      See Also:
    • PASSWORD_VALUE

      @Deprecated public static final int PASSWORD_VALUE
      Deprecated.
      PASSWORD = 2 [deprecated = true];
      See Also:
    • SECURE_KEY_VALUE

      public static final int SECURE_KEY_VALUE
       User must use their secure key 2nd factor device.
       
      SECURE_KEY = 3;
      See Also:
    • ENROLLED_SECOND_FACTORS_VALUE

      public static final int ENROLLED_SECOND_FACTORS_VALUE
       User can use any enabled 2nd factor.
       
      ENROLLED_SECOND_FACTORS = 4;
      See Also:
  • Method Details

    • values

      public static ReauthSettings.Method[] 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

      public static ReauthSettings.Method valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static ReauthSettings.Method valueOf(int value)
      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 name
      NullPointerException - if the argument is null
    • forNumber

      public static ReauthSettings.Method forNumber(int value)
      Parameters:
      value - The numeric wire value of the corresponding enum entry.
      Returns:
      The enum associated with the given numeric wire value.
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<ReauthSettings.Method> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.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 name
      NullPointerException - if the argument is null