Enum FeedItemSetErrorEnum.FeedItemSetError
- java.lang.Object
-
- java.lang.Enum<FeedItemSetErrorEnum.FeedItemSetError>
-
- com.google.ads.googleads.v10.errors.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 enumgoogle.ads.googleads.v10.errors.FeedItemSetErrorEnum.FeedItemSetError
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CANNOT_CLEAR_DYNAMIC_FILTERThe dynamic filter of a feed item set cannot be cleared on UPDATE if it exists.CANNOT_CREATE_DYNAMIC_FILTERThe dynamic filter of a feed item set cannot be created on UPDATE if it does not exist.DUPLICATE_NAMEFeedItemSets duplicate name.DYNAMIC_FILTER_INVALID_CHAIN_IDSChain ID specified for AffiliateLocationFeedData is invalid.FEED_ITEM_SET_REMOVEDThe given ID refers to a removed FeedItemSet.INVALID_FEED_TYPEFeedItemSets can only be made for location or affiliate location feeds.UNKNOWNThe received error code is not known in this version.UNRECOGNIZEDUNSPECIFIEDEnum unspecified.WRONG_DYNAMIC_FILTER_FOR_FEED_TYPEThe feed type of the parent Feed is not compatible with the type of dynamic filter being set.
-
Field Summary
Fields Modifier and Type Field Description static intCANNOT_CLEAR_DYNAMIC_FILTER_VALUEThe dynamic filter of a feed item set cannot be cleared on UPDATE if it exists.static intCANNOT_CREATE_DYNAMIC_FILTER_VALUEThe dynamic filter of a feed item set cannot be created on UPDATE if it does not exist.static intDUPLICATE_NAME_VALUEFeedItemSets duplicate name.static intDYNAMIC_FILTER_INVALID_CHAIN_IDS_VALUEChain ID specified for AffiliateLocationFeedData is invalid.static intFEED_ITEM_SET_REMOVED_VALUEThe given ID refers to a removed FeedItemSet.static intINVALID_FEED_TYPE_VALUEFeedItemSets can only be made for location or affiliate location feeds.static intUNKNOWN_VALUEThe received error code is not known in this version.static intUNSPECIFIED_VALUEEnum unspecified.static intWRONG_DYNAMIC_FILTER_FOR_FEED_TYPE_VALUEThe feed type of the parent Feed is not compatible with the type of dynamic filter being set.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static FeedItemSetErrorEnum.FeedItemSetErrorforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<FeedItemSetErrorEnum.FeedItemSetError>internalGetValueMap()static FeedItemSetErrorEnum.FeedItemSetErrorvalueOf(int value)Deprecated.static FeedItemSetErrorEnum.FeedItemSetErrorvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static FeedItemSetErrorEnum.FeedItemSetErrorvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static FeedItemSetErrorEnum.FeedItemSetError[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNSPECIFIED
public static final FeedItemSetErrorEnum.FeedItemSetError UNSPECIFIED
Enum unspecified.
UNSPECIFIED = 0;
-
UNKNOWN
public static final FeedItemSetErrorEnum.FeedItemSetError UNKNOWN
The received error code is not known in this version.
UNKNOWN = 1;
-
FEED_ITEM_SET_REMOVED
public static final FeedItemSetErrorEnum.FeedItemSetError FEED_ITEM_SET_REMOVED
The given ID refers to a removed FeedItemSet.
FEED_ITEM_SET_REMOVED = 2;
-
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;
-
DUPLICATE_NAME
public static final FeedItemSetErrorEnum.FeedItemSetError DUPLICATE_NAME
FeedItemSets duplicate name. Name should be unique within an account.
DUPLICATE_NAME = 6;
-
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;
-
UNRECOGNIZED
public static final FeedItemSetErrorEnum.FeedItemSetError UNRECOGNIZED
-
-
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 namejava.lang.NullPointerException- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.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 namejava.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.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<FeedItemSetErrorEnum.FeedItemSetError> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.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 namejava.lang.NullPointerException- if the argument is null
-
-