Enum ConversionValueRuleErrorEnum.ConversionValueRuleError

    • Field Detail

      • UNSPECIFIED_VALUE

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

        public static final int UNKNOWN_VALUE
         The received error code is not known in this version.
         
        UNKNOWN = 1;
        See Also:
        Constant Field Values
      • INVALID_GEO_TARGET_CONSTANT_VALUE

        public static final int INVALID_GEO_TARGET_CONSTANT_VALUE
         The value rule's geo location condition contains invalid geo target
         constant(s), i.e. there's no matching geo target.
         
        INVALID_GEO_TARGET_CONSTANT = 2;
        See Also:
        Constant Field Values
      • CONFLICTING_INCLUDED_AND_EXCLUDED_GEO_TARGET_VALUE

        public static final int CONFLICTING_INCLUDED_AND_EXCLUDED_GEO_TARGET_VALUE
         The value rule's geo location condition contains conflicting included and
         excluded geo targets. Specifically, some of the excluded geo target(s)
         are the same as or contain some of the included geo target(s). For
         example, the geo location condition includes California but excludes U.S.
         
        CONFLICTING_INCLUDED_AND_EXCLUDED_GEO_TARGET = 3;
        See Also:
        Constant Field Values
      • CONFLICTING_CONDITIONS_VALUE

        public static final int CONFLICTING_CONDITIONS_VALUE
         User specified conflicting conditions for two value rules in the same
         value rule set.
         
        CONFLICTING_CONDITIONS = 4;
        See Also:
        Constant Field Values
      • CANNOT_REMOVE_IF_INCLUDED_IN_VALUE_RULE_SET_VALUE

        public static final int CANNOT_REMOVE_IF_INCLUDED_IN_VALUE_RULE_SET_VALUE
         The value rule cannot be removed because it's still included in some
         value rule set.
         
        CANNOT_REMOVE_IF_INCLUDED_IN_VALUE_RULE_SET = 5;
        See Also:
        Constant Field Values
      • CONDITION_NOT_ALLOWED_VALUE

        public static final int CONDITION_NOT_ALLOWED_VALUE
         The value rule contains a condition that's not allowed by the value rule
         set including this value rule.
         
        CONDITION_NOT_ALLOWED = 6;
        See Also:
        Constant Field Values
      • FIELD_MUST_BE_UNSET_VALUE

        public static final int FIELD_MUST_BE_UNSET_VALUE
         The value rule contains a field that should be unset.
         
        FIELD_MUST_BE_UNSET = 7;
        See Also:
        Constant Field Values
      • CANNOT_PAUSE_UNLESS_VALUE_RULE_SET_IS_PAUSED_VALUE

        public static final int CANNOT_PAUSE_UNLESS_VALUE_RULE_SET_IS_PAUSED_VALUE
         Pausing the value rule requires pausing the value rule set because the
         value rule is (one of) the last enabled in the value rule set.
         
        CANNOT_PAUSE_UNLESS_VALUE_RULE_SET_IS_PAUSED = 8;
        See Also:
        Constant Field Values
      • UNTARGETABLE_GEO_TARGET_VALUE

        public static final int UNTARGETABLE_GEO_TARGET_VALUE
         The value rule's geo location condition contains untargetable geo target
         constant(s).
         
        UNTARGETABLE_GEO_TARGET = 9;
        See Also:
        Constant Field Values
      • INVALID_AUDIENCE_USER_LIST_VALUE

        public static final int INVALID_AUDIENCE_USER_LIST_VALUE
         The value rule's audience condition contains invalid user list(s). In
         another word, there's no matching user list.
         
        INVALID_AUDIENCE_USER_LIST = 10;
        See Also:
        Constant Field Values
      • INACCESSIBLE_USER_LIST_VALUE

        public static final int INACCESSIBLE_USER_LIST_VALUE
         The value rule's audience condition contains inaccessible user list(s).
         
        INACCESSIBLE_USER_LIST = 11;
        See Also:
        Constant Field Values
      • INVALID_AUDIENCE_USER_INTEREST_VALUE

        public static final int INVALID_AUDIENCE_USER_INTEREST_VALUE
         The value rule's audience condition contains invalid user_interest(s).
         This might be because there is no matching user interest, or the user
         interest is not visible.
         
        INVALID_AUDIENCE_USER_INTEREST = 12;
        See Also:
        Constant Field Values
      • CANNOT_ADD_RULE_WITH_STATUS_REMOVED_VALUE

        public static final int CANNOT_ADD_RULE_WITH_STATUS_REMOVED_VALUE
         When a value rule is created, it shouldn't have REMOVED status.
         
        CANNOT_ADD_RULE_WITH_STATUS_REMOVED = 13;
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static ConversionValueRuleErrorEnum.ConversionValueRuleError[] 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 (ConversionValueRuleErrorEnum.ConversionValueRuleError c : ConversionValueRuleErrorEnum.ConversionValueRuleError.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ConversionValueRuleErrorEnum.ConversionValueRuleError 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 ConversionValueRuleErrorEnum.ConversionValueRuleError 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
      • 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 ConversionValueRuleErrorEnum.ConversionValueRuleError 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