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-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCannot create a standard icon type.May only select Standard Icons alone.Image contains both a media file ID and data.A media file with given type and reference ID already exists.A required field was not specified or is an empty string.Field is not supported for the media sub type.The media file ID is invalid.The media file type is invalid.The media subtype is invalid.The mimetype is invalid.The media reference ID is invalid.The YouTube video ID is invalid.Media file has failed transcodingMedia file has not been transcoded.The media type does not match the actual media file's type.None of the fields have been specified.One of reference ID or media file ID must be specified.A media file may only be modified once per call.The string has too many characters.The received error code is not known in this version.Enum unspecified.The specified type is not supported.YouTube is unavailable for requesting video data.The YouTube video has a non positive duration.The YouTube video ID is syntactically valid but the video was not found. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intCannot create a standard icon type.static final intMay only select Standard Icons alone.static final intImage contains both a media file ID and data.static final intA media file with given type and reference ID already exists.static final intA required field was not specified or is an empty string.static final intField is not supported for the media sub type.static final intThe media file ID is invalid.static final intThe media file type is invalid.static final intThe media subtype is invalid.static final intThe mimetype is invalid.static final intThe media reference ID is invalid.static final intThe YouTube video ID is invalid.static final intMedia file has failed transcodingstatic final intMedia file has not been transcoded.static final intThe media type does not match the actual media file's type.static final intNone of the fields have been specified.static final intOne of reference ID or media file ID must be specified.static final intA media file may only be modified once per call.static final intThe string has too many characters.static final intThe received error code is not known in this version.static final intEnum unspecified.static final intThe specified type is not supported.static final intYouTube is unavailable for requesting video data.static final intThe YouTube video has a non positive duration.static final intThe YouTube video ID is syntactically valid but the video was not found. -
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<MediaFileErrorEnum.MediaFileError>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.static MediaFileErrorEnum.MediaFileError[]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; -
CANNOT_CREATE_STANDARD_ICON
Cannot create a standard icon type.
CANNOT_CREATE_STANDARD_ICON = 2; -
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
Image contains both a media file ID and data.
CANNOT_SPECIFY_MEDIA_FILE_ID_AND_DATA = 4; -
DUPLICATE_MEDIA
A media file with given type and reference ID already exists.
DUPLICATE_MEDIA = 5; -
EMPTY_FIELD
A required field was not specified or is an empty string.
EMPTY_FIELD = 6; -
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
Field is not supported for the media sub type.
FIELD_NOT_SUPPORTED_FOR_MEDIA_SUB_TYPE = 8; -
INVALID_MEDIA_FILE_ID
The media file ID is invalid.
INVALID_MEDIA_FILE_ID = 9; -
INVALID_MEDIA_SUB_TYPE
The media subtype is invalid.
INVALID_MEDIA_SUB_TYPE = 10; -
INVALID_MEDIA_FILE_TYPE
The media file type is invalid.
INVALID_MEDIA_FILE_TYPE = 11; -
INVALID_MIME_TYPE
The mimetype is invalid.
INVALID_MIME_TYPE = 12; -
INVALID_REFERENCE_ID
The media reference ID is invalid.
INVALID_REFERENCE_ID = 13; -
INVALID_YOU_TUBE_ID
The YouTube video ID is invalid.
INVALID_YOU_TUBE_ID = 14; -
MEDIA_FILE_FAILED_TRANSCODING
Media file has failed transcoding
MEDIA_FILE_FAILED_TRANSCODING = 15; -
MEDIA_NOT_TRANSCODED
Media file has not been transcoded.
MEDIA_NOT_TRANSCODED = 16; -
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
None of the fields have been specified.
NO_FIELDS_SPECIFIED = 18; -
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
The string has too many characters.
TOO_LONG = 20; -
UNSUPPORTED_TYPE
The specified type is not supported.
UNSUPPORTED_TYPE = 21; -
YOU_TUBE_SERVICE_UNAVAILABLE
YouTube is unavailable for requesting video data.
YOU_TUBE_SERVICE_UNAVAILABLE = 22; -
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
The YouTube video ID is syntactically valid but the video was not found.
YOU_TUBE_VIDEO_NOT_FOUND = 24; -
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:
-
CANNOT_CREATE_STANDARD_ICON_VALUE
public static final int CANNOT_CREATE_STANDARD_ICON_VALUECannot 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_VALUEMay 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_VALUEImage 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_VALUEA media file with given type and reference ID already exists.
DUPLICATE_MEDIA = 5;- See Also:
-
EMPTY_FIELD_VALUE
public static final int EMPTY_FIELD_VALUEA 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_VALUEA 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_VALUEField 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_VALUEThe 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_VALUEThe media subtype is invalid.
INVALID_MEDIA_SUB_TYPE = 10;- See Also:
-
INVALID_MEDIA_FILE_TYPE_VALUE
public static final int INVALID_MEDIA_FILE_TYPE_VALUEThe media file type is invalid.
INVALID_MEDIA_FILE_TYPE = 11;- See Also:
-
INVALID_MIME_TYPE_VALUE
public static final int INVALID_MIME_TYPE_VALUEThe mimetype is invalid.
INVALID_MIME_TYPE = 12;- See Also:
-
INVALID_REFERENCE_ID_VALUE
public static final int INVALID_REFERENCE_ID_VALUEThe media reference ID is invalid.
INVALID_REFERENCE_ID = 13;- See Also:
-
INVALID_YOU_TUBE_ID_VALUE
public static final int INVALID_YOU_TUBE_ID_VALUEThe 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_VALUEMedia file has failed transcoding
MEDIA_FILE_FAILED_TRANSCODING = 15;- See Also:
-
MEDIA_NOT_TRANSCODED_VALUE
public static final int MEDIA_NOT_TRANSCODED_VALUEMedia 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_VALUEThe 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_VALUENone 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_VALUEOne 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_VALUEThe string has too many characters.
TOO_LONG = 20;- See Also:
-
UNSUPPORTED_TYPE_VALUE
public static final int UNSUPPORTED_TYPE_VALUEThe specified type is not supported.
UNSUPPORTED_TYPE = 21;- See Also:
-
YOU_TUBE_SERVICE_UNAVAILABLE_VALUE
public static final int YOU_TUBE_SERVICE_UNAVAILABLE_VALUEYouTube 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_VALUEThe 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_VALUEThe YouTube video ID is syntactically valid but the video was not found.
YOU_TUBE_VIDEO_NOT_FOUND = 24;- 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<MediaFileErrorEnum.MediaFileError> 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 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 nameNullPointerException- if the argument is null
-