Enum FeedItemSetErrorEnum.FeedItemSetError

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

    public static enum FeedItemSetErrorEnum.FeedItemSetError
    extends java.lang.Enum<FeedItemSetErrorEnum.FeedItemSetError>
    implements com.google.protobuf.ProtocolMessageEnum
     Enum describing possible feed item set errors.
     
    Protobuf enum google.ads.googleads.v10.errors.FeedItemSetErrorEnum.FeedItemSetError
    • Enum Constant Detail

      • CANNOT_CLEAR_DYNAMIC_FILTER

        public static final FeedItemSetErrorEnum.FeedItemSetError CANNOT_CLEAR_DYNAMIC_FILTER
         The dynamic filter of a feed item set cannot be cleared on UPDATE if it
         exists. A set is either static or dynamic once added, and that cannot
         change.
         
        CANNOT_CLEAR_DYNAMIC_FILTER = 3;
      • CANNOT_CREATE_DYNAMIC_FILTER

        public static final FeedItemSetErrorEnum.FeedItemSetError CANNOT_CREATE_DYNAMIC_FILTER
         The dynamic filter of a feed item set cannot be created on UPDATE if it
         does not exist. A set is either static or dynamic once added, and that
         cannot change.
         
        CANNOT_CREATE_DYNAMIC_FILTER = 4;
      • INVALID_FEED_TYPE

        public static final FeedItemSetErrorEnum.FeedItemSetError INVALID_FEED_TYPE
         FeedItemSets can only be made for location or affiliate location feeds.
         
        INVALID_FEED_TYPE = 5;
      • WRONG_DYNAMIC_FILTER_FOR_FEED_TYPE

        public static final FeedItemSetErrorEnum.FeedItemSetError WRONG_DYNAMIC_FILTER_FOR_FEED_TYPE
         The feed type of the parent Feed is not compatible with the type of
         dynamic filter being set. For example, you can only set
         dynamic_location_set_filter for LOCATION feed item sets.
         
        WRONG_DYNAMIC_FILTER_FOR_FEED_TYPE = 7;
      • DYNAMIC_FILTER_INVALID_CHAIN_IDS

        public static final FeedItemSetErrorEnum.FeedItemSetError DYNAMIC_FILTER_INVALID_CHAIN_IDS
         Chain ID specified for AffiliateLocationFeedData is invalid.
         
        DYNAMIC_FILTER_INVALID_CHAIN_IDS = 8;
    • 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
      • FEED_ITEM_SET_REMOVED_VALUE

        public static final int FEED_ITEM_SET_REMOVED_VALUE
         The given ID refers to a removed FeedItemSet.
         
        FEED_ITEM_SET_REMOVED = 2;
        See Also:
        Constant Field Values
      • CANNOT_CLEAR_DYNAMIC_FILTER_VALUE

        public static final int CANNOT_CLEAR_DYNAMIC_FILTER_VALUE
         The dynamic filter of a feed item set cannot be cleared on UPDATE if it
         exists. A set is either static or dynamic once added, and that cannot
         change.
         
        CANNOT_CLEAR_DYNAMIC_FILTER = 3;
        See Also:
        Constant Field Values
      • CANNOT_CREATE_DYNAMIC_FILTER_VALUE

        public static final int CANNOT_CREATE_DYNAMIC_FILTER_VALUE
         The dynamic filter of a feed item set cannot be created on UPDATE if it
         does not exist. A set is either static or dynamic once added, and that
         cannot change.
         
        CANNOT_CREATE_DYNAMIC_FILTER = 4;
        See Also:
        Constant Field Values
      • INVALID_FEED_TYPE_VALUE

        public static final int INVALID_FEED_TYPE_VALUE
         FeedItemSets can only be made for location or affiliate location feeds.
         
        INVALID_FEED_TYPE = 5;
        See Also:
        Constant Field Values
      • DUPLICATE_NAME_VALUE

        public static final int DUPLICATE_NAME_VALUE
         FeedItemSets duplicate name. Name should be unique within an account.
         
        DUPLICATE_NAME = 6;
        See Also:
        Constant Field Values
      • WRONG_DYNAMIC_FILTER_FOR_FEED_TYPE_VALUE

        public static final int WRONG_DYNAMIC_FILTER_FOR_FEED_TYPE_VALUE
         The feed type of the parent Feed is not compatible with the type of
         dynamic filter being set. For example, you can only set
         dynamic_location_set_filter for LOCATION feed item sets.
         
        WRONG_DYNAMIC_FILTER_FOR_FEED_TYPE = 7;
        See Also:
        Constant Field Values
      • DYNAMIC_FILTER_INVALID_CHAIN_IDS_VALUE

        public static final int DYNAMIC_FILTER_INVALID_CHAIN_IDS_VALUE
         Chain ID specified for AffiliateLocationFeedData is invalid.
         
        DYNAMIC_FILTER_INVALID_CHAIN_IDS = 8;
        See Also:
        Constant Field Values
    • Method Detail

      • values

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

        public static FeedItemSetErrorEnum.FeedItemSetError 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 FeedItemSetErrorEnum.FeedItemSetError 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 FeedItemSetErrorEnum.FeedItemSetError 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 FeedItemSetErrorEnum.FeedItemSetError 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