Enum Validation.InputType

java.lang.Object
java.lang.Enum<Validation.InputType>
com.google.apps.card.v1.Validation.InputType
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<Validation.InputType>
Enclosing class:
Validation

public static enum Validation.InputType extends Enum<Validation.InputType> implements com.google.protobuf.ProtocolMessageEnum
 The type of the input widget.
 
Protobuf enum google.apps.card.v1.Validation.InputType
  • Enum Constant Details

    • INPUT_TYPE_UNSPECIFIED

      public static final Validation.InputType INPUT_TYPE_UNSPECIFIED
       Unspecified type. Do not use.
       
      INPUT_TYPE_UNSPECIFIED = 0;
    • TEXT

      public static final Validation.InputType TEXT
       Regular text that accepts all characters.
       
      TEXT = 1;
    • INTEGER

      public static final Validation.InputType INTEGER
       An integer value.
       
      INTEGER = 2;
    • FLOAT

      public static final Validation.InputType FLOAT
       A float value.
       
      FLOAT = 3;
    • EMAIL

      public static final Validation.InputType EMAIL
       An email address.
       
      EMAIL = 4;
    • EMOJI_PICKER

      public static final Validation.InputType EMOJI_PICKER
       A emoji selected from system-provided emoji picker.
       
      EMOJI_PICKER = 5;
    • UNRECOGNIZED

      public static final Validation.InputType UNRECOGNIZED
  • Field Details

    • INPUT_TYPE_UNSPECIFIED_VALUE

      public static final int INPUT_TYPE_UNSPECIFIED_VALUE
       Unspecified type. Do not use.
       
      INPUT_TYPE_UNSPECIFIED = 0;
      See Also:
    • TEXT_VALUE

      public static final int TEXT_VALUE
       Regular text that accepts all characters.
       
      TEXT = 1;
      See Also:
    • INTEGER_VALUE

      public static final int INTEGER_VALUE
       An integer value.
       
      INTEGER = 2;
      See Also:
    • FLOAT_VALUE

      public static final int FLOAT_VALUE
       A float value.
       
      FLOAT = 3;
      See Also:
    • EMAIL_VALUE

      public static final int EMAIL_VALUE
       An email address.
       
      EMAIL = 4;
      See Also:
    • EMOJI_PICKER_VALUE

      public static final int EMOJI_PICKER_VALUE
       A emoji selected from system-provided emoji picker.
       
      EMOJI_PICKER = 5;
      See Also:
  • Method Details

    • values

      public static Validation.InputType[] 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 Validation.InputType 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 Validation.InputType 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 Validation.InputType 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<Validation.InputType> 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 Validation.InputType 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