Enum Class ImageErrorEnum.ImageError
java.lang.Object
java.lang.Enum<ImageErrorEnum.ImageError>
com.google.ads.googleads.v18.errors.ImageErrorEnum.ImageError
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<ImageErrorEnum.ImageError>,Constable
- Enclosing class:
- ImageErrorEnum
public static enum ImageErrorEnum.ImageError
extends Enum<ImageErrorEnum.ImageError>
implements com.google.protobuf.ProtocolMessageEnum
Enum describing possible image errors.Protobuf enum
google.ads.googleads.v18.errors.ImageErrorEnum.ImageError-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAnimated image are not permitted.Unacceptable visual effects.Animation is too long.The aspect ratio of the image is not allowed.There was a problem with the request.Image cannot be in CMYK color format.There was an error storing the image.Uploaded flash file can be parsed, but the click tag can not be fixed properly.Image file is too large.Flash movie accesses network resourcesGetUrl method should only use '_blank'.There was a problem with the flash image.A flash error has occurred after fixing the click tag.Flash movie attempts to call flash system commandsFlash movie attempts to call external javascript codeFlash cannot use mouse tracking.Flash cannot have network methods.Flash cannot have network objects.Flash cannot have a random number.Flash cannot have a Url.Flash images are not permitted.Ad click target cannot be '_self'.Flash version is not supported.Flash images must support clickTag.Flash movies need to have hard coded click URL or clickTAGImage format is not allowed.Image constraints are violated, but details like ASPECT_RATIO_NOT_ALLOWED can't be provided.Image data is too large.Error while processing the image.Image is too small.Uploaded flash file is corrupted.The image is not valid.Input was invalid.Incorrect image layout.There was a problem reading the image file.There was a problem reading the image file.There was an error on the server.The image could not be stored.The image is not of legal dimensions.The received error code is not known in this version.Enum unspecified. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intAnimated image are not permitted.static final intUnacceptable visual effects.static final intAnimation is too long.static final intThe aspect ratio of the image is not allowed.static final intThere was a problem with the request.static final intImage cannot be in CMYK color format.static final intThere was an error storing the image.static final intUploaded flash file can be parsed, but the click tag can not be fixed properly.static final intImage file is too large.static final intFlash movie accesses network resourcesstatic final intGetUrl method should only use '_blank'.static final intA flash error has occurred after fixing the click tag.static final intThere was a problem with the flash image.static final intFlash movie attempts to call flash system commandsstatic final intFlash movie attempts to call external javascript codestatic final intFlash cannot use mouse tracking.static final intFlash cannot have network methods.static final intFlash cannot have network objects.static final intFlash cannot have a random number.static final intFlash cannot have a Url.static final intFlash images are not permitted.static final intAd click target cannot be '_self'.static final intFlash version is not supported.static final intFlash images must support clickTag.static final intFlash movies need to have hard coded click URL or clickTAGstatic final intImage format is not allowed.static final intImage constraints are violated, but details like ASPECT_RATIO_NOT_ALLOWED can't be provided.static final intImage data is too large.static final intError while processing the image.static final intImage is too small.static final intUploaded flash file is corrupted.static final intThe image is not valid.static final intInput was invalid.static final intIncorrect image layout.static final intThere was a problem reading the image file.static final intThere was a problem reading the image file.static final intThere was an error on the server.static final intThe image could not be stored.static final intThe image is not of legal dimensions.static final intThe received error code is not known in this version.static final intEnum unspecified. -
Method Summary
Modifier and TypeMethodDescriptionstatic ImageErrorEnum.ImageErrorforNumber(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<ImageErrorEnum.ImageError>static ImageErrorEnum.ImageErrorvalueOf(int value) Deprecated.static ImageErrorEnum.ImageErrorvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static ImageErrorEnum.ImageErrorReturns the enum constant of this class with the specified name.static ImageErrorEnum.ImageError[]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; -
INVALID_IMAGE
The image is not valid.
INVALID_IMAGE = 2; -
STORAGE_ERROR
The image could not be stored.
STORAGE_ERROR = 3; -
BAD_REQUEST
There was a problem with the request.
BAD_REQUEST = 4; -
UNEXPECTED_SIZE
The image is not of legal dimensions.
UNEXPECTED_SIZE = 5; -
ANIMATED_NOT_ALLOWED
Animated image are not permitted.
ANIMATED_NOT_ALLOWED = 6; -
ANIMATION_TOO_LONG
Animation is too long.
ANIMATION_TOO_LONG = 7; -
SERVER_ERROR
There was an error on the server.
SERVER_ERROR = 8; -
CMYK_JPEG_NOT_ALLOWED
Image cannot be in CMYK color format.
CMYK_JPEG_NOT_ALLOWED = 9; -
FLASH_NOT_ALLOWED
Flash images are not permitted.
FLASH_NOT_ALLOWED = 10; -
FLASH_WITHOUT_CLICKTAG
Flash images must support clickTag.
FLASH_WITHOUT_CLICKTAG = 11; -
FLASH_ERROR_AFTER_FIXING_CLICK_TAG
A flash error has occurred after fixing the click tag.
FLASH_ERROR_AFTER_FIXING_CLICK_TAG = 12; -
ANIMATED_VISUAL_EFFECT
Unacceptable visual effects.
ANIMATED_VISUAL_EFFECT = 13; -
FLASH_ERROR
There was a problem with the flash image.
FLASH_ERROR = 14; -
LAYOUT_PROBLEM
Incorrect image layout.
LAYOUT_PROBLEM = 15; -
PROBLEM_READING_IMAGE_FILE
There was a problem reading the image file.
PROBLEM_READING_IMAGE_FILE = 16; -
ERROR_STORING_IMAGE
There was an error storing the image.
ERROR_STORING_IMAGE = 17; -
ASPECT_RATIO_NOT_ALLOWED
The aspect ratio of the image is not allowed.
ASPECT_RATIO_NOT_ALLOWED = 18; -
FLASH_HAS_NETWORK_OBJECTS
Flash cannot have network objects.
FLASH_HAS_NETWORK_OBJECTS = 19; -
FLASH_HAS_NETWORK_METHODS
Flash cannot have network methods.
FLASH_HAS_NETWORK_METHODS = 20; -
FLASH_HAS_URL
Flash cannot have a Url.
FLASH_HAS_URL = 21; -
FLASH_HAS_MOUSE_TRACKING
Flash cannot use mouse tracking.
FLASH_HAS_MOUSE_TRACKING = 22; -
FLASH_HAS_RANDOM_NUM
Flash cannot have a random number.
FLASH_HAS_RANDOM_NUM = 23; -
FLASH_SELF_TARGETS
Ad click target cannot be '_self'.
FLASH_SELF_TARGETS = 24; -
FLASH_BAD_GETURL_TARGET
GetUrl method should only use '_blank'.
FLASH_BAD_GETURL_TARGET = 25; -
FLASH_VERSION_NOT_SUPPORTED
Flash version is not supported.
FLASH_VERSION_NOT_SUPPORTED = 26; -
FLASH_WITHOUT_HARD_CODED_CLICK_URL
Flash movies need to have hard coded click URL or clickTAG
FLASH_WITHOUT_HARD_CODED_CLICK_URL = 27; -
INVALID_FLASH_FILE
Uploaded flash file is corrupted.
INVALID_FLASH_FILE = 28; -
FAILED_TO_FIX_CLICK_TAG_IN_FLASH
Uploaded flash file can be parsed, but the click tag can not be fixed properly.
FAILED_TO_FIX_CLICK_TAG_IN_FLASH = 29; -
FLASH_ACCESSES_NETWORK_RESOURCES
Flash movie accesses network resources
FLASH_ACCESSES_NETWORK_RESOURCES = 30; -
FLASH_EXTERNAL_JS_CALL
Flash movie attempts to call external javascript code
FLASH_EXTERNAL_JS_CALL = 31; -
FLASH_EXTERNAL_FS_CALL
Flash movie attempts to call flash system commands
FLASH_EXTERNAL_FS_CALL = 32; -
FILE_TOO_LARGE
Image file is too large.
FILE_TOO_LARGE = 33; -
IMAGE_DATA_TOO_LARGE
Image data is too large.
IMAGE_DATA_TOO_LARGE = 34; -
IMAGE_PROCESSING_ERROR
Error while processing the image.
IMAGE_PROCESSING_ERROR = 35; -
IMAGE_TOO_SMALL
Image is too small.
IMAGE_TOO_SMALL = 36; -
INVALID_INPUT
Input was invalid.
INVALID_INPUT = 37; -
PROBLEM_READING_FILE
There was a problem reading the image file.
PROBLEM_READING_FILE = 38; -
IMAGE_CONSTRAINTS_VIOLATED
Image constraints are violated, but details like ASPECT_RATIO_NOT_ALLOWED can't be provided. This happens when asset spec contains more than one constraint and different criteria of different constraints are violated.
IMAGE_CONSTRAINTS_VIOLATED = 39; -
FORMAT_NOT_ALLOWED
Image format is not allowed.
FORMAT_NOT_ALLOWED = 40; -
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:
-
INVALID_IMAGE_VALUE
public static final int INVALID_IMAGE_VALUEThe image is not valid.
INVALID_IMAGE = 2;- See Also:
-
STORAGE_ERROR_VALUE
public static final int STORAGE_ERROR_VALUEThe image could not be stored.
STORAGE_ERROR = 3;- See Also:
-
BAD_REQUEST_VALUE
public static final int BAD_REQUEST_VALUEThere was a problem with the request.
BAD_REQUEST = 4;- See Also:
-
UNEXPECTED_SIZE_VALUE
public static final int UNEXPECTED_SIZE_VALUEThe image is not of legal dimensions.
UNEXPECTED_SIZE = 5;- See Also:
-
ANIMATED_NOT_ALLOWED_VALUE
public static final int ANIMATED_NOT_ALLOWED_VALUEAnimated image are not permitted.
ANIMATED_NOT_ALLOWED = 6;- See Also:
-
ANIMATION_TOO_LONG_VALUE
public static final int ANIMATION_TOO_LONG_VALUEAnimation is too long.
ANIMATION_TOO_LONG = 7;- See Also:
-
SERVER_ERROR_VALUE
public static final int SERVER_ERROR_VALUEThere was an error on the server.
SERVER_ERROR = 8;- See Also:
-
CMYK_JPEG_NOT_ALLOWED_VALUE
public static final int CMYK_JPEG_NOT_ALLOWED_VALUEImage cannot be in CMYK color format.
CMYK_JPEG_NOT_ALLOWED = 9;- See Also:
-
FLASH_NOT_ALLOWED_VALUE
public static final int FLASH_NOT_ALLOWED_VALUEFlash images are not permitted.
FLASH_NOT_ALLOWED = 10;- See Also:
-
FLASH_WITHOUT_CLICKTAG_VALUE
public static final int FLASH_WITHOUT_CLICKTAG_VALUEFlash images must support clickTag.
FLASH_WITHOUT_CLICKTAG = 11;- See Also:
-
FLASH_ERROR_AFTER_FIXING_CLICK_TAG_VALUE
public static final int FLASH_ERROR_AFTER_FIXING_CLICK_TAG_VALUEA flash error has occurred after fixing the click tag.
FLASH_ERROR_AFTER_FIXING_CLICK_TAG = 12;- See Also:
-
ANIMATED_VISUAL_EFFECT_VALUE
public static final int ANIMATED_VISUAL_EFFECT_VALUEUnacceptable visual effects.
ANIMATED_VISUAL_EFFECT = 13;- See Also:
-
FLASH_ERROR_VALUE
public static final int FLASH_ERROR_VALUEThere was a problem with the flash image.
FLASH_ERROR = 14;- See Also:
-
LAYOUT_PROBLEM_VALUE
public static final int LAYOUT_PROBLEM_VALUEIncorrect image layout.
LAYOUT_PROBLEM = 15;- See Also:
-
PROBLEM_READING_IMAGE_FILE_VALUE
public static final int PROBLEM_READING_IMAGE_FILE_VALUEThere was a problem reading the image file.
PROBLEM_READING_IMAGE_FILE = 16;- See Also:
-
ERROR_STORING_IMAGE_VALUE
public static final int ERROR_STORING_IMAGE_VALUEThere was an error storing the image.
ERROR_STORING_IMAGE = 17;- See Also:
-
ASPECT_RATIO_NOT_ALLOWED_VALUE
public static final int ASPECT_RATIO_NOT_ALLOWED_VALUEThe aspect ratio of the image is not allowed.
ASPECT_RATIO_NOT_ALLOWED = 18;- See Also:
-
FLASH_HAS_NETWORK_OBJECTS_VALUE
public static final int FLASH_HAS_NETWORK_OBJECTS_VALUEFlash cannot have network objects.
FLASH_HAS_NETWORK_OBJECTS = 19;- See Also:
-
FLASH_HAS_NETWORK_METHODS_VALUE
public static final int FLASH_HAS_NETWORK_METHODS_VALUEFlash cannot have network methods.
FLASH_HAS_NETWORK_METHODS = 20;- See Also:
-
FLASH_HAS_URL_VALUE
public static final int FLASH_HAS_URL_VALUEFlash cannot have a Url.
FLASH_HAS_URL = 21;- See Also:
-
FLASH_HAS_MOUSE_TRACKING_VALUE
public static final int FLASH_HAS_MOUSE_TRACKING_VALUEFlash cannot use mouse tracking.
FLASH_HAS_MOUSE_TRACKING = 22;- See Also:
-
FLASH_HAS_RANDOM_NUM_VALUE
public static final int FLASH_HAS_RANDOM_NUM_VALUEFlash cannot have a random number.
FLASH_HAS_RANDOM_NUM = 23;- See Also:
-
FLASH_SELF_TARGETS_VALUE
public static final int FLASH_SELF_TARGETS_VALUEAd click target cannot be '_self'.
FLASH_SELF_TARGETS = 24;- See Also:
-
FLASH_BAD_GETURL_TARGET_VALUE
public static final int FLASH_BAD_GETURL_TARGET_VALUEGetUrl method should only use '_blank'.
FLASH_BAD_GETURL_TARGET = 25;- See Also:
-
FLASH_VERSION_NOT_SUPPORTED_VALUE
public static final int FLASH_VERSION_NOT_SUPPORTED_VALUEFlash version is not supported.
FLASH_VERSION_NOT_SUPPORTED = 26;- See Also:
-
FLASH_WITHOUT_HARD_CODED_CLICK_URL_VALUE
public static final int FLASH_WITHOUT_HARD_CODED_CLICK_URL_VALUEFlash movies need to have hard coded click URL or clickTAG
FLASH_WITHOUT_HARD_CODED_CLICK_URL = 27;- See Also:
-
INVALID_FLASH_FILE_VALUE
public static final int INVALID_FLASH_FILE_VALUEUploaded flash file is corrupted.
INVALID_FLASH_FILE = 28;- See Also:
-
FAILED_TO_FIX_CLICK_TAG_IN_FLASH_VALUE
public static final int FAILED_TO_FIX_CLICK_TAG_IN_FLASH_VALUEUploaded flash file can be parsed, but the click tag can not be fixed properly.
FAILED_TO_FIX_CLICK_TAG_IN_FLASH = 29;- See Also:
-
FLASH_ACCESSES_NETWORK_RESOURCES_VALUE
public static final int FLASH_ACCESSES_NETWORK_RESOURCES_VALUEFlash movie accesses network resources
FLASH_ACCESSES_NETWORK_RESOURCES = 30;- See Also:
-
FLASH_EXTERNAL_JS_CALL_VALUE
public static final int FLASH_EXTERNAL_JS_CALL_VALUEFlash movie attempts to call external javascript code
FLASH_EXTERNAL_JS_CALL = 31;- See Also:
-
FLASH_EXTERNAL_FS_CALL_VALUE
public static final int FLASH_EXTERNAL_FS_CALL_VALUEFlash movie attempts to call flash system commands
FLASH_EXTERNAL_FS_CALL = 32;- See Also:
-
FILE_TOO_LARGE_VALUE
public static final int FILE_TOO_LARGE_VALUEImage file is too large.
FILE_TOO_LARGE = 33;- See Also:
-
IMAGE_DATA_TOO_LARGE_VALUE
public static final int IMAGE_DATA_TOO_LARGE_VALUEImage data is too large.
IMAGE_DATA_TOO_LARGE = 34;- See Also:
-
IMAGE_PROCESSING_ERROR_VALUE
public static final int IMAGE_PROCESSING_ERROR_VALUEError while processing the image.
IMAGE_PROCESSING_ERROR = 35;- See Also:
-
IMAGE_TOO_SMALL_VALUE
public static final int IMAGE_TOO_SMALL_VALUEImage is too small.
IMAGE_TOO_SMALL = 36;- See Also:
-
INVALID_INPUT_VALUE
public static final int INVALID_INPUT_VALUEInput was invalid.
INVALID_INPUT = 37;- See Also:
-
PROBLEM_READING_FILE_VALUE
public static final int PROBLEM_READING_FILE_VALUEThere was a problem reading the image file.
PROBLEM_READING_FILE = 38;- See Also:
-
IMAGE_CONSTRAINTS_VIOLATED_VALUE
public static final int IMAGE_CONSTRAINTS_VIOLATED_VALUEImage constraints are violated, but details like ASPECT_RATIO_NOT_ALLOWED can't be provided. This happens when asset spec contains more than one constraint and different criteria of different constraints are violated.
IMAGE_CONSTRAINTS_VIOLATED = 39;- See Also:
-
FORMAT_NOT_ALLOWED_VALUE
public static final int FORMAT_NOT_ALLOWED_VALUEImage format is not allowed.
FORMAT_NOT_ALLOWED = 40;- 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<ImageErrorEnum.ImageError> 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 ImageErrorEnum.ImageError 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
-