public enum ProgrammaticProductErrorReason extends Enum<ProgrammaticProductErrorReason>
Java class for ProgrammaticProductError.Reason.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="ProgrammaticProductError.Reason">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="PRODUCT_MARKETPLACE_INFO_IS_NULL"/>
<enumeration value="ENVIRONMENT_IS_NULL"/>
<enumeration value="INVALID_AD_EXCHANGE_ENVIRONMENT"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
ENVIRONMENT_IS_NULL
AdExchange environment cannot be null. |
INVALID_AD_EXCHANGE_ENVIRONMENT
AdExchange environment is invalid. |
PRODUCT_MARKETPLACE_INFO_IS_NULL
Product Marketplace info cannot be null. |
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
|
| Modifier and Type | Method and Description |
|---|---|
static ProgrammaticProductErrorReason |
fromValue(String v) |
String |
value() |
static ProgrammaticProductErrorReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProgrammaticProductErrorReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProgrammaticProductErrorReason PRODUCT_MARKETPLACE_INFO_IS_NULL
Product Marketplace info cannot be null.public static final ProgrammaticProductErrorReason ENVIRONMENT_IS_NULL
AdExchange environment cannot be null.public static final ProgrammaticProductErrorReason INVALID_AD_EXCHANGE_ENVIRONMENT
AdExchange environment is invalid.public static final ProgrammaticProductErrorReason UNKNOWN
public static ProgrammaticProductErrorReason[] values()
for (ProgrammaticProductErrorReason c : ProgrammaticProductErrorReason.values()) System.out.println(c);
public static ProgrammaticProductErrorReason 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 ProgrammaticProductErrorReason fromValue(String v)
Copyright © 2018. All Rights Reserved.