Enum Class AdCustomizerErrorEnum.AdCustomizerError
java.lang.Object
java.lang.Enum<AdCustomizerErrorEnum.AdCustomizerError>
com.google.ads.googleads.v18.errors.AdCustomizerErrorEnum.AdCustomizerError
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<AdCustomizerErrorEnum.AdCustomizerError>,Constable
- Enclosing class:
- AdCustomizerErrorEnum
public static enum AdCustomizerErrorEnum.AdCustomizerError
extends Enum<AdCustomizerErrorEnum.AdCustomizerError>
implements com.google.protobuf.ProtocolMessageEnum
Enum describing possible ad customizer errors.Protobuf enum
google.ads.googleads.v18.errors.AdCustomizerErrorEnum.AdCustomizerError-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCountdown end date is in the past.Invalid date argument in countdown function.Invalid locale string in countdown function.Days-before argument to countdown function is not positive.The received error code is not known in this version.A user list referenced in an IF function does not exist.Enum unspecified. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intCountdown end date is in the past.static final intInvalid date argument in countdown function.static final intInvalid locale string in countdown function.static final intDays-before argument to countdown function is not positive.static final intA user list referenced in an IF function does not exist.static final intThe received error code is not known in this version.static final intEnum unspecified. -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<AdCustomizerErrorEnum.AdCustomizerError>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNSPECIFIED
Enum unspecified.
UNSPECIFIED = 0; -
UNKNOWN
The received error code is not known in this version.
UNKNOWN = 1; -
COUNTDOWN_INVALID_DATE_FORMAT
Invalid date argument in countdown function.
COUNTDOWN_INVALID_DATE_FORMAT = 2; -
COUNTDOWN_DATE_IN_PAST
Countdown end date is in the past.
COUNTDOWN_DATE_IN_PAST = 3; -
COUNTDOWN_INVALID_LOCALE
Invalid locale string in countdown function.
COUNTDOWN_INVALID_LOCALE = 4; -
COUNTDOWN_INVALID_START_DAYS_BEFORE
Days-before argument to countdown function is not positive.
COUNTDOWN_INVALID_START_DAYS_BEFORE = 5; -
UNKNOWN_USER_LIST
A user list referenced in an IF function does not exist.
UNKNOWN_USER_LIST = 6; -
UNRECOGNIZED
-
-
Field Details
-
UNSPECIFIED_VALUE
public static final int UNSPECIFIED_VALUEEnum unspecified.
UNSPECIFIED = 0;- See Also:
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUEThe received error code is not known in this version.
UNKNOWN = 1;- See Also:
-
COUNTDOWN_INVALID_DATE_FORMAT_VALUE
public static final int COUNTDOWN_INVALID_DATE_FORMAT_VALUEInvalid date argument in countdown function.
COUNTDOWN_INVALID_DATE_FORMAT = 2;- See Also:
-
COUNTDOWN_DATE_IN_PAST_VALUE
public static final int COUNTDOWN_DATE_IN_PAST_VALUECountdown end date is in the past.
COUNTDOWN_DATE_IN_PAST = 3;- See Also:
-
COUNTDOWN_INVALID_LOCALE_VALUE
public static final int COUNTDOWN_INVALID_LOCALE_VALUEInvalid locale string in countdown function.
COUNTDOWN_INVALID_LOCALE = 4;- See Also:
-
COUNTDOWN_INVALID_START_DAYS_BEFORE_VALUE
public static final int COUNTDOWN_INVALID_START_DAYS_BEFORE_VALUEDays-before argument to countdown function is not positive.
COUNTDOWN_INVALID_START_DAYS_BEFORE = 5;- See Also:
-
UNKNOWN_USER_LIST_VALUE
public static final int UNKNOWN_USER_LIST_VALUEA user list referenced in an IF function does not exist.
UNKNOWN_USER_LIST = 6;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- 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.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- 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<AdCustomizerErrorEnum.AdCustomizerError> 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 AdCustomizerErrorEnum.AdCustomizerError valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-