Enum Class MediaFileErrorEnum.MediaFileError

java.lang.Object
java.lang.Enum<MediaFileErrorEnum.MediaFileError>
com.google.ads.googleads.v18.errors.MediaFileErrorEnum.MediaFileError
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<MediaFileErrorEnum.MediaFileError>, Constable
Enclosing class:
MediaFileErrorEnum

public static enum MediaFileErrorEnum.MediaFileError extends Enum<MediaFileErrorEnum.MediaFileError> implements com.google.protobuf.ProtocolMessageEnum
 Enum describing possible media file errors.
 
Protobuf enum google.ads.googleads.v18.errors.MediaFileErrorEnum.MediaFileError
  • Enum Constant Details

    • UNSPECIFIED

      public static final MediaFileErrorEnum.MediaFileError UNSPECIFIED
       Enum unspecified.
       
      UNSPECIFIED = 0;
    • UNKNOWN

      public static final MediaFileErrorEnum.MediaFileError UNKNOWN
       The received error code is not known in this version.
       
      UNKNOWN = 1;
    • CANNOT_CREATE_STANDARD_ICON

      public static final MediaFileErrorEnum.MediaFileError CANNOT_CREATE_STANDARD_ICON
       Cannot create a standard icon type.
       
      CANNOT_CREATE_STANDARD_ICON = 2;
    • CANNOT_SELECT_STANDARD_ICON_WITH_OTHER_TYPES

      public static final MediaFileErrorEnum.MediaFileError CANNOT_SELECT_STANDARD_ICON_WITH_OTHER_TYPES
       May only select Standard Icons alone.
       
      CANNOT_SELECT_STANDARD_ICON_WITH_OTHER_TYPES = 3;
    • CANNOT_SPECIFY_MEDIA_FILE_ID_AND_DATA

      public static final MediaFileErrorEnum.MediaFileError CANNOT_SPECIFY_MEDIA_FILE_ID_AND_DATA
       Image contains both a media file ID and data.
       
      CANNOT_SPECIFY_MEDIA_FILE_ID_AND_DATA = 4;
    • DUPLICATE_MEDIA

      public static final MediaFileErrorEnum.MediaFileError DUPLICATE_MEDIA
       A media file with given type and reference ID already exists.
       
      DUPLICATE_MEDIA = 5;
    • EMPTY_FIELD

      public static final MediaFileErrorEnum.MediaFileError EMPTY_FIELD
       A required field was not specified or is an empty string.
       
      EMPTY_FIELD = 6;
    • RESOURCE_REFERENCED_IN_MULTIPLE_OPS

      public static final MediaFileErrorEnum.MediaFileError RESOURCE_REFERENCED_IN_MULTIPLE_OPS
       A media file may only be modified once per call.
       
      RESOURCE_REFERENCED_IN_MULTIPLE_OPS = 7;
    • FIELD_NOT_SUPPORTED_FOR_MEDIA_SUB_TYPE

      public static final MediaFileErrorEnum.MediaFileError FIELD_NOT_SUPPORTED_FOR_MEDIA_SUB_TYPE
       Field is not supported for the media sub type.
       
      FIELD_NOT_SUPPORTED_FOR_MEDIA_SUB_TYPE = 8;
    • INVALID_MEDIA_FILE_ID

      public static final MediaFileErrorEnum.MediaFileError INVALID_MEDIA_FILE_ID
       The media file ID is invalid.
       
      INVALID_MEDIA_FILE_ID = 9;
    • INVALID_MEDIA_SUB_TYPE

      public static final MediaFileErrorEnum.MediaFileError INVALID_MEDIA_SUB_TYPE
       The media subtype is invalid.
       
      INVALID_MEDIA_SUB_TYPE = 10;
    • INVALID_MEDIA_FILE_TYPE

      public static final MediaFileErrorEnum.MediaFileError INVALID_MEDIA_FILE_TYPE
       The media file type is invalid.
       
      INVALID_MEDIA_FILE_TYPE = 11;
    • INVALID_MIME_TYPE

      public static final MediaFileErrorEnum.MediaFileError INVALID_MIME_TYPE
       The mimetype is invalid.
       
      INVALID_MIME_TYPE = 12;
    • INVALID_REFERENCE_ID

      public static final MediaFileErrorEnum.MediaFileError INVALID_REFERENCE_ID
       The media reference ID is invalid.
       
      INVALID_REFERENCE_ID = 13;
    • INVALID_YOU_TUBE_ID

      public static final MediaFileErrorEnum.MediaFileError INVALID_YOU_TUBE_ID
       The YouTube video ID is invalid.
       
      INVALID_YOU_TUBE_ID = 14;
    • MEDIA_FILE_FAILED_TRANSCODING

      public static final MediaFileErrorEnum.MediaFileError MEDIA_FILE_FAILED_TRANSCODING
       Media file has failed transcoding
       
      MEDIA_FILE_FAILED_TRANSCODING = 15;
    • MEDIA_NOT_TRANSCODED

      public static final MediaFileErrorEnum.MediaFileError MEDIA_NOT_TRANSCODED
       Media file has not been transcoded.
       
      MEDIA_NOT_TRANSCODED = 16;
    • MEDIA_TYPE_DOES_NOT_MATCH_MEDIA_FILE_TYPE

      public static final MediaFileErrorEnum.MediaFileError MEDIA_TYPE_DOES_NOT_MATCH_MEDIA_FILE_TYPE
       The media type does not match the actual media file's type.
       
      MEDIA_TYPE_DOES_NOT_MATCH_MEDIA_FILE_TYPE = 17;
    • NO_FIELDS_SPECIFIED

      public static final MediaFileErrorEnum.MediaFileError NO_FIELDS_SPECIFIED
       None of the fields have been specified.
       
      NO_FIELDS_SPECIFIED = 18;
    • NULL_REFERENCE_ID_AND_MEDIA_ID

      public static final MediaFileErrorEnum.MediaFileError NULL_REFERENCE_ID_AND_MEDIA_ID
       One of reference ID or media file ID must be specified.
       
      NULL_REFERENCE_ID_AND_MEDIA_ID = 19;
    • TOO_LONG

      public static final MediaFileErrorEnum.MediaFileError TOO_LONG
       The string has too many characters.
       
      TOO_LONG = 20;
    • UNSUPPORTED_TYPE

      public static final MediaFileErrorEnum.MediaFileError UNSUPPORTED_TYPE
       The specified type is not supported.
       
      UNSUPPORTED_TYPE = 21;
    • YOU_TUBE_SERVICE_UNAVAILABLE

      public static final MediaFileErrorEnum.MediaFileError YOU_TUBE_SERVICE_UNAVAILABLE
       YouTube is unavailable for requesting video data.
       
      YOU_TUBE_SERVICE_UNAVAILABLE = 22;
    • YOU_TUBE_VIDEO_HAS_NON_POSITIVE_DURATION

      public static final MediaFileErrorEnum.MediaFileError YOU_TUBE_VIDEO_HAS_NON_POSITIVE_DURATION
       The YouTube video has a non positive duration.
       
      YOU_TUBE_VIDEO_HAS_NON_POSITIVE_DURATION = 23;
    • YOU_TUBE_VIDEO_NOT_FOUND

      public static final MediaFileErrorEnum.MediaFileError YOU_TUBE_VIDEO_NOT_FOUND
       The YouTube video ID is syntactically valid but the video was not found.
       
      YOU_TUBE_VIDEO_NOT_FOUND = 24;
    • UNRECOGNIZED

      public static final MediaFileErrorEnum.MediaFileError UNRECOGNIZED
  • Field Details

    • UNSPECIFIED_VALUE

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

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

      public static final int CANNOT_CREATE_STANDARD_ICON_VALUE
       Cannot create a standard icon type.
       
      CANNOT_CREATE_STANDARD_ICON = 2;
      See Also:
    • CANNOT_SELECT_STANDARD_ICON_WITH_OTHER_TYPES_VALUE

      public static final int CANNOT_SELECT_STANDARD_ICON_WITH_OTHER_TYPES_VALUE
       May only select Standard Icons alone.
       
      CANNOT_SELECT_STANDARD_ICON_WITH_OTHER_TYPES = 3;
      See Also:
    • CANNOT_SPECIFY_MEDIA_FILE_ID_AND_DATA_VALUE

      public static final int CANNOT_SPECIFY_MEDIA_FILE_ID_AND_DATA_VALUE
       Image contains both a media file ID and data.
       
      CANNOT_SPECIFY_MEDIA_FILE_ID_AND_DATA = 4;
      See Also:
    • DUPLICATE_MEDIA_VALUE

      public static final int DUPLICATE_MEDIA_VALUE
       A media file with given type and reference ID already exists.
       
      DUPLICATE_MEDIA = 5;
      See Also:
    • EMPTY_FIELD_VALUE

      public static final int EMPTY_FIELD_VALUE
       A required field was not specified or is an empty string.
       
      EMPTY_FIELD = 6;
      See Also:
    • RESOURCE_REFERENCED_IN_MULTIPLE_OPS_VALUE

      public static final int RESOURCE_REFERENCED_IN_MULTIPLE_OPS_VALUE
       A media file may only be modified once per call.
       
      RESOURCE_REFERENCED_IN_MULTIPLE_OPS = 7;
      See Also:
    • FIELD_NOT_SUPPORTED_FOR_MEDIA_SUB_TYPE_VALUE

      public static final int FIELD_NOT_SUPPORTED_FOR_MEDIA_SUB_TYPE_VALUE
       Field is not supported for the media sub type.
       
      FIELD_NOT_SUPPORTED_FOR_MEDIA_SUB_TYPE = 8;
      See Also:
    • INVALID_MEDIA_FILE_ID_VALUE

      public static final int INVALID_MEDIA_FILE_ID_VALUE
       The media file ID is invalid.
       
      INVALID_MEDIA_FILE_ID = 9;
      See Also:
    • INVALID_MEDIA_SUB_TYPE_VALUE

      public static final int INVALID_MEDIA_SUB_TYPE_VALUE
       The media subtype is invalid.
       
      INVALID_MEDIA_SUB_TYPE = 10;
      See Also:
    • INVALID_MEDIA_FILE_TYPE_VALUE

      public static final int INVALID_MEDIA_FILE_TYPE_VALUE
       The media file type is invalid.
       
      INVALID_MEDIA_FILE_TYPE = 11;
      See Also:
    • INVALID_MIME_TYPE_VALUE

      public static final int INVALID_MIME_TYPE_VALUE
       The mimetype is invalid.
       
      INVALID_MIME_TYPE = 12;
      See Also:
    • INVALID_REFERENCE_ID_VALUE

      public static final int INVALID_REFERENCE_ID_VALUE
       The media reference ID is invalid.
       
      INVALID_REFERENCE_ID = 13;
      See Also:
    • INVALID_YOU_TUBE_ID_VALUE

      public static final int INVALID_YOU_TUBE_ID_VALUE
       The YouTube video ID is invalid.
       
      INVALID_YOU_TUBE_ID = 14;
      See Also:
    • MEDIA_FILE_FAILED_TRANSCODING_VALUE

      public static final int MEDIA_FILE_FAILED_TRANSCODING_VALUE
       Media file has failed transcoding
       
      MEDIA_FILE_FAILED_TRANSCODING = 15;
      See Also:
    • MEDIA_NOT_TRANSCODED_VALUE

      public static final int MEDIA_NOT_TRANSCODED_VALUE
       Media file has not been transcoded.
       
      MEDIA_NOT_TRANSCODED = 16;
      See Also:
    • MEDIA_TYPE_DOES_NOT_MATCH_MEDIA_FILE_TYPE_VALUE

      public static final int MEDIA_TYPE_DOES_NOT_MATCH_MEDIA_FILE_TYPE_VALUE
       The media type does not match the actual media file's type.
       
      MEDIA_TYPE_DOES_NOT_MATCH_MEDIA_FILE_TYPE = 17;
      See Also:
    • NO_FIELDS_SPECIFIED_VALUE

      public static final int NO_FIELDS_SPECIFIED_VALUE
       None of the fields have been specified.
       
      NO_FIELDS_SPECIFIED = 18;
      See Also:
    • NULL_REFERENCE_ID_AND_MEDIA_ID_VALUE

      public static final int NULL_REFERENCE_ID_AND_MEDIA_ID_VALUE
       One of reference ID or media file ID must be specified.
       
      NULL_REFERENCE_ID_AND_MEDIA_ID = 19;
      See Also:
    • TOO_LONG_VALUE

      public static final int TOO_LONG_VALUE
       The string has too many characters.
       
      TOO_LONG = 20;
      See Also:
    • UNSUPPORTED_TYPE_VALUE

      public static final int UNSUPPORTED_TYPE_VALUE
       The specified type is not supported.
       
      UNSUPPORTED_TYPE = 21;
      See Also:
    • YOU_TUBE_SERVICE_UNAVAILABLE_VALUE

      public static final int YOU_TUBE_SERVICE_UNAVAILABLE_VALUE
       YouTube is unavailable for requesting video data.
       
      YOU_TUBE_SERVICE_UNAVAILABLE = 22;
      See Also:
    • YOU_TUBE_VIDEO_HAS_NON_POSITIVE_DURATION_VALUE

      public static final int YOU_TUBE_VIDEO_HAS_NON_POSITIVE_DURATION_VALUE
       The YouTube video has a non positive duration.
       
      YOU_TUBE_VIDEO_HAS_NON_POSITIVE_DURATION = 23;
      See Also:
    • YOU_TUBE_VIDEO_NOT_FOUND_VALUE

      public static final int YOU_TUBE_VIDEO_NOT_FOUND_VALUE
       The YouTube video ID is syntactically valid but the video was not found.
       
      YOU_TUBE_VIDEO_NOT_FOUND = 24;
      See Also:
  • Method Details

    • values

      public static MediaFileErrorEnum.MediaFileError[] 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

      public static MediaFileErrorEnum.MediaFileError valueOf(String name)
      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 name
      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 MediaFileErrorEnum.MediaFileError valueOf(int value)
      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 name
      NullPointerException - if the argument is null
    • forNumber

      public static MediaFileErrorEnum.MediaFileError 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<MediaFileErrorEnum.MediaFileError> 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 MediaFileErrorEnum.MediaFileError 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 name
      NullPointerException - if the argument is null