Enum IncomeRangeTypeEnum.IncomeRangeType

  • All Implemented Interfaces:
    com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, java.io.Serializable, java.lang.Comparable<IncomeRangeTypeEnum.IncomeRangeType>
    Enclosing class:
    IncomeRangeTypeEnum

    public static enum IncomeRangeTypeEnum.IncomeRangeType
    extends java.lang.Enum<IncomeRangeTypeEnum.IncomeRangeType>
    implements com.google.protobuf.ProtocolMessageEnum
     The type of demographic income ranges (e.g. between 0% to 50%).
     
    Protobuf enum google.ads.googleads.v10.enums.IncomeRangeTypeEnum.IncomeRangeType
    • Field Detail

      • UNSPECIFIED_VALUE

        public static final int UNSPECIFIED_VALUE
         Not specified.
         
        UNSPECIFIED = 0;
        See Also:
        Constant Field Values
      • UNKNOWN_VALUE

        public static final int UNKNOWN_VALUE
         Used for return value only. Represents value unknown in this version.
         
        UNKNOWN = 1;
        See Also:
        Constant Field Values
      • INCOME_RANGE_0_50_VALUE

        public static final int INCOME_RANGE_0_50_VALUE
         0%-50%.
         
        INCOME_RANGE_0_50 = 510001;
        See Also:
        Constant Field Values
      • INCOME_RANGE_50_60_VALUE

        public static final int INCOME_RANGE_50_60_VALUE
         50% to 60%.
         
        INCOME_RANGE_50_60 = 510002;
        See Also:
        Constant Field Values
      • INCOME_RANGE_60_70_VALUE

        public static final int INCOME_RANGE_60_70_VALUE
         60% to 70%.
         
        INCOME_RANGE_60_70 = 510003;
        See Also:
        Constant Field Values
      • INCOME_RANGE_70_80_VALUE

        public static final int INCOME_RANGE_70_80_VALUE
         70% to 80%.
         
        INCOME_RANGE_70_80 = 510004;
        See Also:
        Constant Field Values
      • INCOME_RANGE_80_90_VALUE

        public static final int INCOME_RANGE_80_90_VALUE
         80% to 90%.
         
        INCOME_RANGE_80_90 = 510005;
        See Also:
        Constant Field Values
      • INCOME_RANGE_90_UP_VALUE

        public static final int INCOME_RANGE_90_UP_VALUE
         Greater than 90%.
         
        INCOME_RANGE_90_UP = 510006;
        See Also:
        Constant Field Values
      • INCOME_RANGE_UNDETERMINED_VALUE

        public static final int INCOME_RANGE_UNDETERMINED_VALUE
         Undetermined income range.
         
        INCOME_RANGE_UNDETERMINED = 510000;
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static IncomeRangeTypeEnum.IncomeRangeType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (IncomeRangeTypeEnum.IncomeRangeType c : IncomeRangeTypeEnum.IncomeRangeType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static IncomeRangeTypeEnum.IncomeRangeType valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.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 IncomeRangeTypeEnum.IncomeRangeType 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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • forNumber

        public static IncomeRangeTypeEnum.IncomeRangeType forNumber​(int value)
        Parameters:
        value - The numeric wire value of the corresponding enum entry.
        Returns:
        The enum associated with the given numeric wire value.
      • 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 final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
      • valueOf

        public static IncomeRangeTypeEnum.IncomeRangeType 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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null