public enum GenericTargetingErrorReason extends Enum<GenericTargetingErrorReason>
Java class for GenericTargetingError.Reason.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="GenericTargetingError.Reason">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="CONFLICTING_INCLUSION_OR_EXCLUSION_OF_SIBLINGS"/>
<enumeration value="INCLUDING_DESCENDANTS_OF_EXCLUDED_CRITERIA"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
CONFLICTING_INCLUSION_OR_EXCLUSION_OF_SIBLINGS
Both including and excluding sibling criteria is disallowed.
|
INCLUDING_DESCENDANTS_OF_EXCLUDED_CRITERIA
Including descendants of excluded criteria is disallowed.
|
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
|
| Modifier and Type | Method and Description |
|---|---|
static GenericTargetingErrorReason |
fromValue(String v) |
String |
value() |
static GenericTargetingErrorReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GenericTargetingErrorReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GenericTargetingErrorReason CONFLICTING_INCLUSION_OR_EXCLUSION_OF_SIBLINGS
public static final GenericTargetingErrorReason INCLUDING_DESCENDANTS_OF_EXCLUDED_CRITERIA
public static final GenericTargetingErrorReason UNKNOWN
public static GenericTargetingErrorReason[] values()
for (GenericTargetingErrorReason c : GenericTargetingErrorReason.values()) System.out.println(c);
public static GenericTargetingErrorReason 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 GenericTargetingErrorReason fromValue(String v)
Copyright © 2018. All Rights Reserved.