public enum AdCustomizerFeedErrorReason extends Enum<AdCustomizerFeedErrorReason>
Java class for AdCustomizerFeedError.Reason.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="AdCustomizerFeedError.Reason">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="CANNOT_ADD_KEY_ATTRIBUTE"/>
<enumeration value="NOT_AD_CUSTOMIZER_FEED"/>
<enumeration value="INVALID_FEED_NAME"/>
<enumeration value="TOO_MANY_FEED_ATTRIBUTES_FOR_FEED"/>
<enumeration value="ATTRIBUTE_NAMES_NOT_UNIQUE"/>
<enumeration value="FEED_DELETED"/>
<enumeration value="DUPLICATE_FEED_NAME"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
ATTRIBUTE_NAMES_NOT_UNIQUE
The names of the AdCustomizerFeedAttributes must be unique.
|
CANNOT_ADD_KEY_ATTRIBUTE
The key attribute cannot be added to an existing ad customizer feed.
|
DUPLICATE_FEED_NAME
Feed name matches that of another active Feed.
|
FEED_DELETED
The given id refers to a removed Feed.
|
INVALID_FEED_NAME
Name of AdCustomizerFeed is not allowed.
|
NOT_AD_CUSTOMIZER_FEED
The feed is not an ad customizer feed.
|
TOO_MANY_FEED_ATTRIBUTES_FOR_FEED
Too many AdCustomizerFeedAttributes for an AdCustomizerFeed.
|
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static AdCustomizerFeedErrorReason |
fromValue(String v) |
String |
value() |
static AdCustomizerFeedErrorReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AdCustomizerFeedErrorReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AdCustomizerFeedErrorReason CANNOT_ADD_KEY_ATTRIBUTE
public static final AdCustomizerFeedErrorReason NOT_AD_CUSTOMIZER_FEED
public static final AdCustomizerFeedErrorReason INVALID_FEED_NAME
public static final AdCustomizerFeedErrorReason TOO_MANY_FEED_ATTRIBUTES_FOR_FEED
public static final AdCustomizerFeedErrorReason ATTRIBUTE_NAMES_NOT_UNIQUE
public static final AdCustomizerFeedErrorReason FEED_DELETED
public static final AdCustomizerFeedErrorReason DUPLICATE_FEED_NAME
public static final AdCustomizerFeedErrorReason UNKNOWN
public static AdCustomizerFeedErrorReason[] values()
for (AdCustomizerFeedErrorReason c : AdCustomizerFeedErrorReason.values()) System.out.println(c);
public static AdCustomizerFeedErrorReason valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String value()
public static AdCustomizerFeedErrorReason fromValue(String v)
Copyright © 2023. All rights reserved.