public enum PoddingErrorReason extends Enum<PoddingErrorReason>
Java class for PoddingError.Reason.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="PoddingError.Reason">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="INVALID_PODDING_TYPE_NONE"/>
<enumeration value="INVALID_PODDING_TYPE_STANDARD"/>
<enumeration value="INVALID_OPTIMIZED_POD_WITHOUT_DURATION"/>
<enumeration value="INVALID_OPTIMIZED_POD_WITHOUT_ADS"/>
<enumeration value="INVALID_POD_DURATION_RANGE"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
INVALID_OPTIMIZED_POD_WITHOUT_ADS
Invalid optimized pod that does not specify a valid max ads in pod, which must either be a
positive number or -1 to signify that there is no maximum.
|
INVALID_OPTIMIZED_POD_WITHOUT_DURATION
Invalid podding type OPTIMIZED, but doesn't specify pod duration.
|
INVALID_POD_DURATION_RANGE
Min pod ad duration is greater than max pod ad duration.
|
INVALID_PODDING_TYPE_NONE
Invalid podding type NONE, but has podding fields filled in.
|
INVALID_PODDING_TYPE_STANDARD
Invalid podding type STANDARD, but doesn't specify the max ads in pod and max ad duration
podding fields.
|
| Modifier and Type | Method and Description |
|---|---|
static PoddingErrorReason |
fromValue(String v) |
String |
value() |
static PoddingErrorReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PoddingErrorReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PoddingErrorReason INVALID_PODDING_TYPE_NONE
com.google.ads.publisher.domain.entity.adrule.export.PoddingType.public static final PoddingErrorReason INVALID_PODDING_TYPE_STANDARD
public static final PoddingErrorReason INVALID_OPTIMIZED_POD_WITHOUT_DURATION
public static final PoddingErrorReason INVALID_OPTIMIZED_POD_WITHOUT_ADS
public static final PoddingErrorReason INVALID_POD_DURATION_RANGE
public static PoddingErrorReason[] values()
for (PoddingErrorReason c : PoddingErrorReason.values()) System.out.println(c);
public static PoddingErrorReason 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 PoddingErrorReason fromValue(String v)
Copyright © 2018. All Rights Reserved.