Enum ImageErrorEnum.ImageError

  • All Implemented Interfaces:
    com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, java.io.Serializable, java.lang.Comparable<ImageErrorEnum.ImageError>
    Enclosing class:
    ImageErrorEnum

    public static enum ImageErrorEnum.ImageError
    extends java.lang.Enum<ImageErrorEnum.ImageError>
    implements com.google.protobuf.ProtocolMessageEnum
     Enum describing possible image errors.
     
    Protobuf enum google.ads.googleads.v10.errors.ImageErrorEnum.ImageError
    • Enum Constant Detail

      • UNKNOWN

        public static final ImageErrorEnum.ImageError UNKNOWN
         The received error code is not known in this version.
         
        UNKNOWN = 1;
      • STORAGE_ERROR

        public static final ImageErrorEnum.ImageError STORAGE_ERROR
         The image could not be stored.
         
        STORAGE_ERROR = 3;
      • BAD_REQUEST

        public static final ImageErrorEnum.ImageError BAD_REQUEST
         There was a problem with the request.
         
        BAD_REQUEST = 4;
      • UNEXPECTED_SIZE

        public static final ImageErrorEnum.ImageError UNEXPECTED_SIZE
         The image is not of legal dimensions.
         
        UNEXPECTED_SIZE = 5;
      • ANIMATED_NOT_ALLOWED

        public static final ImageErrorEnum.ImageError ANIMATED_NOT_ALLOWED
         Animated image are not permitted.
         
        ANIMATED_NOT_ALLOWED = 6;
      • ANIMATION_TOO_LONG

        public static final ImageErrorEnum.ImageError ANIMATION_TOO_LONG
         Animation is too long.
         
        ANIMATION_TOO_LONG = 7;
      • SERVER_ERROR

        public static final ImageErrorEnum.ImageError SERVER_ERROR
         There was an error on the server.
         
        SERVER_ERROR = 8;
      • CMYK_JPEG_NOT_ALLOWED

        public static final ImageErrorEnum.ImageError CMYK_JPEG_NOT_ALLOWED
         Image cannot be in CMYK color format.
         
        CMYK_JPEG_NOT_ALLOWED = 9;
      • FLASH_NOT_ALLOWED

        public static final ImageErrorEnum.ImageError FLASH_NOT_ALLOWED
         Flash images are not permitted.
         
        FLASH_NOT_ALLOWED = 10;
      • FLASH_WITHOUT_CLICKTAG

        public static final ImageErrorEnum.ImageError FLASH_WITHOUT_CLICKTAG
         Flash images must support clickTag.
         
        FLASH_WITHOUT_CLICKTAG = 11;
      • FLASH_ERROR_AFTER_FIXING_CLICK_TAG

        public static final ImageErrorEnum.ImageError 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

        public static final ImageErrorEnum.ImageError ANIMATED_VISUAL_EFFECT
         Unacceptable visual effects.
         
        ANIMATED_VISUAL_EFFECT = 13;
      • FLASH_ERROR

        public static final ImageErrorEnum.ImageError FLASH_ERROR
         There was a problem with the flash image.
         
        FLASH_ERROR = 14;
      • PROBLEM_READING_IMAGE_FILE

        public static final ImageErrorEnum.ImageError PROBLEM_READING_IMAGE_FILE
         There was a problem reading the image file.
         
        PROBLEM_READING_IMAGE_FILE = 16;
      • ERROR_STORING_IMAGE

        public static final ImageErrorEnum.ImageError ERROR_STORING_IMAGE
         There was an error storing the image.
         
        ERROR_STORING_IMAGE = 17;
      • ASPECT_RATIO_NOT_ALLOWED

        public static final ImageErrorEnum.ImageError ASPECT_RATIO_NOT_ALLOWED
         The aspect ratio of the image is not allowed.
         
        ASPECT_RATIO_NOT_ALLOWED = 18;
      • FLASH_HAS_NETWORK_OBJECTS

        public static final ImageErrorEnum.ImageError FLASH_HAS_NETWORK_OBJECTS
         Flash cannot have network objects.
         
        FLASH_HAS_NETWORK_OBJECTS = 19;
      • FLASH_HAS_NETWORK_METHODS

        public static final ImageErrorEnum.ImageError FLASH_HAS_NETWORK_METHODS
         Flash cannot have network methods.
         
        FLASH_HAS_NETWORK_METHODS = 20;
      • FLASH_HAS_MOUSE_TRACKING

        public static final ImageErrorEnum.ImageError FLASH_HAS_MOUSE_TRACKING
         Flash cannot use mouse tracking.
         
        FLASH_HAS_MOUSE_TRACKING = 22;
      • FLASH_HAS_RANDOM_NUM

        public static final ImageErrorEnum.ImageError FLASH_HAS_RANDOM_NUM
         Flash cannot have a random number.
         
        FLASH_HAS_RANDOM_NUM = 23;
      • FLASH_SELF_TARGETS

        public static final ImageErrorEnum.ImageError FLASH_SELF_TARGETS
         Ad click target cannot be '_self'.
         
        FLASH_SELF_TARGETS = 24;
      • FLASH_BAD_GETURL_TARGET

        public static final ImageErrorEnum.ImageError FLASH_BAD_GETURL_TARGET
         GetUrl method should only use '_blank'.
         
        FLASH_BAD_GETURL_TARGET = 25;
      • FLASH_VERSION_NOT_SUPPORTED

        public static final ImageErrorEnum.ImageError FLASH_VERSION_NOT_SUPPORTED
         Flash version is not supported.
         
        FLASH_VERSION_NOT_SUPPORTED = 26;
      • FLASH_WITHOUT_HARD_CODED_CLICK_URL

        public static final ImageErrorEnum.ImageError 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

        public static final ImageErrorEnum.ImageError INVALID_FLASH_FILE
         Uploaded flash file is corrupted.
         
        INVALID_FLASH_FILE = 28;
      • FAILED_TO_FIX_CLICK_TAG_IN_FLASH

        public static final ImageErrorEnum.ImageError 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

        public static final ImageErrorEnum.ImageError FLASH_ACCESSES_NETWORK_RESOURCES
         Flash movie accesses network resources
         
        FLASH_ACCESSES_NETWORK_RESOURCES = 30;
      • FLASH_EXTERNAL_JS_CALL

        public static final ImageErrorEnum.ImageError FLASH_EXTERNAL_JS_CALL
         Flash movie attempts to call external javascript code
         
        FLASH_EXTERNAL_JS_CALL = 31;
      • FLASH_EXTERNAL_FS_CALL

        public static final ImageErrorEnum.ImageError FLASH_EXTERNAL_FS_CALL
         Flash movie attempts to call flash system commands
         
        FLASH_EXTERNAL_FS_CALL = 32;
      • IMAGE_DATA_TOO_LARGE

        public static final ImageErrorEnum.ImageError IMAGE_DATA_TOO_LARGE
         Image data is too large.
         
        IMAGE_DATA_TOO_LARGE = 34;
      • IMAGE_PROCESSING_ERROR

        public static final ImageErrorEnum.ImageError IMAGE_PROCESSING_ERROR
         Error while processing the image.
         
        IMAGE_PROCESSING_ERROR = 35;
      • PROBLEM_READING_FILE

        public static final ImageErrorEnum.ImageError PROBLEM_READING_FILE
         There was a problem reading the image file.
         
        PROBLEM_READING_FILE = 38;
      • IMAGE_CONSTRAINTS_VIOLATED

        public static final ImageErrorEnum.ImageError 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

        public static final ImageErrorEnum.ImageError FORMAT_NOT_ALLOWED
         Image format is not allowed.
         
        FORMAT_NOT_ALLOWED = 40;
    • Field Detail

      • UNSPECIFIED_VALUE

        public static final int UNSPECIFIED_VALUE
         Enum unspecified.
         
        UNSPECIFIED = 0;
        See Also:
        Constant Field Values
      • UNKNOWN_VALUE

        public static final int UNKNOWN_VALUE
         The received error code is not known in this version.
         
        UNKNOWN = 1;
        See Also:
        Constant Field Values
      • INVALID_IMAGE_VALUE

        public static final int INVALID_IMAGE_VALUE
         The image is not valid.
         
        INVALID_IMAGE = 2;
        See Also:
        Constant Field Values
      • STORAGE_ERROR_VALUE

        public static final int STORAGE_ERROR_VALUE
         The image could not be stored.
         
        STORAGE_ERROR = 3;
        See Also:
        Constant Field Values
      • BAD_REQUEST_VALUE

        public static final int BAD_REQUEST_VALUE
         There was a problem with the request.
         
        BAD_REQUEST = 4;
        See Also:
        Constant Field Values
      • UNEXPECTED_SIZE_VALUE

        public static final int UNEXPECTED_SIZE_VALUE
         The image is not of legal dimensions.
         
        UNEXPECTED_SIZE = 5;
        See Also:
        Constant Field Values
      • ANIMATED_NOT_ALLOWED_VALUE

        public static final int ANIMATED_NOT_ALLOWED_VALUE
         Animated image are not permitted.
         
        ANIMATED_NOT_ALLOWED = 6;
        See Also:
        Constant Field Values
      • ANIMATION_TOO_LONG_VALUE

        public static final int ANIMATION_TOO_LONG_VALUE
         Animation is too long.
         
        ANIMATION_TOO_LONG = 7;
        See Also:
        Constant Field Values
      • SERVER_ERROR_VALUE

        public static final int SERVER_ERROR_VALUE
         There was an error on the server.
         
        SERVER_ERROR = 8;
        See Also:
        Constant Field Values
      • CMYK_JPEG_NOT_ALLOWED_VALUE

        public static final int CMYK_JPEG_NOT_ALLOWED_VALUE
         Image cannot be in CMYK color format.
         
        CMYK_JPEG_NOT_ALLOWED = 9;
        See Also:
        Constant Field Values
      • FLASH_NOT_ALLOWED_VALUE

        public static final int FLASH_NOT_ALLOWED_VALUE
         Flash images are not permitted.
         
        FLASH_NOT_ALLOWED = 10;
        See Also:
        Constant Field Values
      • FLASH_WITHOUT_CLICKTAG_VALUE

        public static final int FLASH_WITHOUT_CLICKTAG_VALUE
         Flash images must support clickTag.
         
        FLASH_WITHOUT_CLICKTAG = 11;
        See Also:
        Constant Field Values
      • FLASH_ERROR_AFTER_FIXING_CLICK_TAG_VALUE

        public static final int FLASH_ERROR_AFTER_FIXING_CLICK_TAG_VALUE
         A flash error has occurred after fixing the click tag.
         
        FLASH_ERROR_AFTER_FIXING_CLICK_TAG = 12;
        See Also:
        Constant Field Values
      • ANIMATED_VISUAL_EFFECT_VALUE

        public static final int ANIMATED_VISUAL_EFFECT_VALUE
         Unacceptable visual effects.
         
        ANIMATED_VISUAL_EFFECT = 13;
        See Also:
        Constant Field Values
      • FLASH_ERROR_VALUE

        public static final int FLASH_ERROR_VALUE
         There was a problem with the flash image.
         
        FLASH_ERROR = 14;
        See Also:
        Constant Field Values
      • LAYOUT_PROBLEM_VALUE

        public static final int LAYOUT_PROBLEM_VALUE
         Incorrect image layout.
         
        LAYOUT_PROBLEM = 15;
        See Also:
        Constant Field Values
      • PROBLEM_READING_IMAGE_FILE_VALUE

        public static final int PROBLEM_READING_IMAGE_FILE_VALUE
         There was a problem reading the image file.
         
        PROBLEM_READING_IMAGE_FILE = 16;
        See Also:
        Constant Field Values
      • ERROR_STORING_IMAGE_VALUE

        public static final int ERROR_STORING_IMAGE_VALUE
         There was an error storing the image.
         
        ERROR_STORING_IMAGE = 17;
        See Also:
        Constant Field Values
      • ASPECT_RATIO_NOT_ALLOWED_VALUE

        public static final int ASPECT_RATIO_NOT_ALLOWED_VALUE
         The aspect ratio of the image is not allowed.
         
        ASPECT_RATIO_NOT_ALLOWED = 18;
        See Also:
        Constant Field Values
      • FLASH_HAS_NETWORK_OBJECTS_VALUE

        public static final int FLASH_HAS_NETWORK_OBJECTS_VALUE
         Flash cannot have network objects.
         
        FLASH_HAS_NETWORK_OBJECTS = 19;
        See Also:
        Constant Field Values
      • FLASH_HAS_NETWORK_METHODS_VALUE

        public static final int FLASH_HAS_NETWORK_METHODS_VALUE
         Flash cannot have network methods.
         
        FLASH_HAS_NETWORK_METHODS = 20;
        See Also:
        Constant Field Values
      • FLASH_HAS_URL_VALUE

        public static final int FLASH_HAS_URL_VALUE
         Flash cannot have a Url.
         
        FLASH_HAS_URL = 21;
        See Also:
        Constant Field Values
      • FLASH_HAS_MOUSE_TRACKING_VALUE

        public static final int FLASH_HAS_MOUSE_TRACKING_VALUE
         Flash cannot use mouse tracking.
         
        FLASH_HAS_MOUSE_TRACKING = 22;
        See Also:
        Constant Field Values
      • FLASH_HAS_RANDOM_NUM_VALUE

        public static final int FLASH_HAS_RANDOM_NUM_VALUE
         Flash cannot have a random number.
         
        FLASH_HAS_RANDOM_NUM = 23;
        See Also:
        Constant Field Values
      • FLASH_SELF_TARGETS_VALUE

        public static final int FLASH_SELF_TARGETS_VALUE
         Ad click target cannot be '_self'.
         
        FLASH_SELF_TARGETS = 24;
        See Also:
        Constant Field Values
      • FLASH_BAD_GETURL_TARGET_VALUE

        public static final int FLASH_BAD_GETURL_TARGET_VALUE
         GetUrl method should only use '_blank'.
         
        FLASH_BAD_GETURL_TARGET = 25;
        See Also:
        Constant Field Values
      • FLASH_VERSION_NOT_SUPPORTED_VALUE

        public static final int FLASH_VERSION_NOT_SUPPORTED_VALUE
         Flash version is not supported.
         
        FLASH_VERSION_NOT_SUPPORTED = 26;
        See Also:
        Constant Field Values
      • FLASH_WITHOUT_HARD_CODED_CLICK_URL_VALUE

        public static final int FLASH_WITHOUT_HARD_CODED_CLICK_URL_VALUE
         Flash movies need to have hard coded click URL or clickTAG
         
        FLASH_WITHOUT_HARD_CODED_CLICK_URL = 27;
        See Also:
        Constant Field Values
      • INVALID_FLASH_FILE_VALUE

        public static final int INVALID_FLASH_FILE_VALUE
         Uploaded flash file is corrupted.
         
        INVALID_FLASH_FILE = 28;
        See Also:
        Constant Field Values
      • FAILED_TO_FIX_CLICK_TAG_IN_FLASH_VALUE

        public static final int FAILED_TO_FIX_CLICK_TAG_IN_FLASH_VALUE
         Uploaded flash file can be parsed, but the click tag can not be fixed
         properly.
         
        FAILED_TO_FIX_CLICK_TAG_IN_FLASH = 29;
        See Also:
        Constant Field Values
      • FLASH_ACCESSES_NETWORK_RESOURCES_VALUE

        public static final int FLASH_ACCESSES_NETWORK_RESOURCES_VALUE
         Flash movie accesses network resources
         
        FLASH_ACCESSES_NETWORK_RESOURCES = 30;
        See Also:
        Constant Field Values
      • FLASH_EXTERNAL_JS_CALL_VALUE

        public static final int FLASH_EXTERNAL_JS_CALL_VALUE
         Flash movie attempts to call external javascript code
         
        FLASH_EXTERNAL_JS_CALL = 31;
        See Also:
        Constant Field Values
      • FLASH_EXTERNAL_FS_CALL_VALUE

        public static final int FLASH_EXTERNAL_FS_CALL_VALUE
         Flash movie attempts to call flash system commands
         
        FLASH_EXTERNAL_FS_CALL = 32;
        See Also:
        Constant Field Values
      • FILE_TOO_LARGE_VALUE

        public static final int FILE_TOO_LARGE_VALUE
         Image file is too large.
         
        FILE_TOO_LARGE = 33;
        See Also:
        Constant Field Values
      • IMAGE_DATA_TOO_LARGE_VALUE

        public static final int IMAGE_DATA_TOO_LARGE_VALUE
         Image data is too large.
         
        IMAGE_DATA_TOO_LARGE = 34;
        See Also:
        Constant Field Values
      • IMAGE_PROCESSING_ERROR_VALUE

        public static final int IMAGE_PROCESSING_ERROR_VALUE
         Error while processing the image.
         
        IMAGE_PROCESSING_ERROR = 35;
        See Also:
        Constant Field Values
      • IMAGE_TOO_SMALL_VALUE

        public static final int IMAGE_TOO_SMALL_VALUE
         Image is too small.
         
        IMAGE_TOO_SMALL = 36;
        See Also:
        Constant Field Values
      • INVALID_INPUT_VALUE

        public static final int INVALID_INPUT_VALUE
         Input was invalid.
         
        INVALID_INPUT = 37;
        See Also:
        Constant Field Values
      • PROBLEM_READING_FILE_VALUE

        public static final int PROBLEM_READING_FILE_VALUE
         There was a problem reading the image file.
         
        PROBLEM_READING_FILE = 38;
        See Also:
        Constant Field Values
      • IMAGE_CONSTRAINTS_VIOLATED_VALUE

        public static final int IMAGE_CONSTRAINTS_VIOLATED_VALUE
         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;
        See Also:
        Constant Field Values
      • FORMAT_NOT_ALLOWED_VALUE

        public static final int FORMAT_NOT_ALLOWED_VALUE
         Image format is not allowed.
         
        FORMAT_NOT_ALLOWED = 40;
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static ImageErrorEnum.ImageError[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ImageErrorEnum.ImageError c : ImageErrorEnum.ImageError.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ImageErrorEnum.ImageError valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getNumber

        public final int getNumber()
        Specified by:
        getNumber in interface com.google.protobuf.Internal.EnumLite
        Specified by:
        getNumber in interface com.google.protobuf.ProtocolMessageEnum
      • valueOf

        @Deprecated
        public static ImageErrorEnum.ImageError valueOf​(int value)
        Deprecated.
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • forNumber

        public static ImageErrorEnum.ImageError forNumber​(int value)
        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:
        getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptorForType

        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.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 type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null