Enum MediaFileErrorEnum.MediaFileError
- java.lang.Object
-
- java.lang.Enum<MediaFileErrorEnum.MediaFileError>
-
- com.google.ads.googleads.v10.errors.MediaFileErrorEnum.MediaFileError
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,java.io.Serializable,java.lang.Comparable<MediaFileErrorEnum.MediaFileError>
- Enclosing class:
- MediaFileErrorEnum
public static enum MediaFileErrorEnum.MediaFileError extends java.lang.Enum<MediaFileErrorEnum.MediaFileError> implements com.google.protobuf.ProtocolMessageEnum
Enum describing possible media file errors.
Protobuf enumgoogle.ads.googleads.v10.errors.MediaFileErrorEnum.MediaFileError
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CANNOT_CREATE_STANDARD_ICONCannot create a standard icon type.CANNOT_SELECT_STANDARD_ICON_WITH_OTHER_TYPESMay only select Standard Icons alone.CANNOT_SPECIFY_MEDIA_FILE_ID_AND_DATAImage contains both a media file ID and data.DUPLICATE_MEDIAA media file with given type and reference ID already exists.EMPTY_FIELDA required field was not specified or is an empty string.FIELD_NOT_SUPPORTED_FOR_MEDIA_SUB_TYPEField is not supported for the media sub type.INVALID_MEDIA_FILE_IDThe media file ID is invalid.INVALID_MEDIA_FILE_TYPEThe media file type is invalid.INVALID_MEDIA_SUB_TYPEThe media subtype is invalid.INVALID_MIME_TYPEThe mimetype is invalid.INVALID_REFERENCE_IDThe media reference ID is invalid.INVALID_YOU_TUBE_IDThe YouTube video ID is invalid.MEDIA_FILE_FAILED_TRANSCODINGMedia file has failed transcodingMEDIA_NOT_TRANSCODEDMedia file has not been transcoded.MEDIA_TYPE_DOES_NOT_MATCH_MEDIA_FILE_TYPEThe media type does not match the actual media file's type.NO_FIELDS_SPECIFIEDNone of the fields have been specified.NULL_REFERENCE_ID_AND_MEDIA_IDOne of reference ID or media file ID must be specified.RESOURCE_REFERENCED_IN_MULTIPLE_OPSA media file may only be modified once per call.TOO_LONGThe string has too many characters.UNKNOWNThe received error code is not known in this version.UNRECOGNIZEDUNSPECIFIEDEnum unspecified.UNSUPPORTED_TYPEThe specified type is not supported.YOU_TUBE_SERVICE_UNAVAILABLEYouTube is unavailable for requesting video data.YOU_TUBE_VIDEO_HAS_NON_POSITIVE_DURATIONThe YouTube video has a non positive duration.YOU_TUBE_VIDEO_NOT_FOUNDThe YouTube video ID is syntactically valid but the video was not found.
-
Field Summary
Fields Modifier and Type Field Description static intCANNOT_CREATE_STANDARD_ICON_VALUECannot create a standard icon type.static intCANNOT_SELECT_STANDARD_ICON_WITH_OTHER_TYPES_VALUEMay only select Standard Icons alone.static intCANNOT_SPECIFY_MEDIA_FILE_ID_AND_DATA_VALUEImage contains both a media file ID and data.static intDUPLICATE_MEDIA_VALUEA media file with given type and reference ID already exists.static intEMPTY_FIELD_VALUEA required field was not specified or is an empty string.static intFIELD_NOT_SUPPORTED_FOR_MEDIA_SUB_TYPE_VALUEField is not supported for the media sub type.static intINVALID_MEDIA_FILE_ID_VALUEThe media file ID is invalid.static intINVALID_MEDIA_FILE_TYPE_VALUEThe media file type is invalid.static intINVALID_MEDIA_SUB_TYPE_VALUEThe media subtype is invalid.static intINVALID_MIME_TYPE_VALUEThe mimetype is invalid.static intINVALID_REFERENCE_ID_VALUEThe media reference ID is invalid.static intINVALID_YOU_TUBE_ID_VALUEThe YouTube video ID is invalid.static intMEDIA_FILE_FAILED_TRANSCODING_VALUEMedia file has failed transcodingstatic intMEDIA_NOT_TRANSCODED_VALUEMedia file has not been transcoded.static intMEDIA_TYPE_DOES_NOT_MATCH_MEDIA_FILE_TYPE_VALUEThe media type does not match the actual media file's type.static intNO_FIELDS_SPECIFIED_VALUENone of the fields have been specified.static intNULL_REFERENCE_ID_AND_MEDIA_ID_VALUEOne of reference ID or media file ID must be specified.static intRESOURCE_REFERENCED_IN_MULTIPLE_OPS_VALUEA media file may only be modified once per call.static intTOO_LONG_VALUEThe string has too many characters.static intUNKNOWN_VALUEThe received error code is not known in this version.static intUNSPECIFIED_VALUEEnum unspecified.static intUNSUPPORTED_TYPE_VALUEThe specified type is not supported.static intYOU_TUBE_SERVICE_UNAVAILABLE_VALUEYouTube is unavailable for requesting video data.static intYOU_TUBE_VIDEO_HAS_NON_POSITIVE_DURATION_VALUEThe YouTube video has a non positive duration.static intYOU_TUBE_VIDEO_NOT_FOUND_VALUEThe YouTube video ID is syntactically valid but the video was not found.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static MediaFileErrorEnum.MediaFileErrorforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<MediaFileErrorEnum.MediaFileError>internalGetValueMap()static MediaFileErrorEnum.MediaFileErrorvalueOf(int value)Deprecated.static MediaFileErrorEnum.MediaFileErrorvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static MediaFileErrorEnum.MediaFileErrorvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static MediaFileErrorEnum.MediaFileError[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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 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
-
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:
- Constant Field Values
-
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:
- Constant Field Values
-
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:
- Constant Field Values
-
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:
- Constant Field Values
-
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:
- Constant Field Values
-
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:
- Constant Field Values
-
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:
- Constant Field Values
-
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:
- Constant Field Values
-
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:
- Constant Field Values
-
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:
- Constant Field Values
-
INVALID_MIME_TYPE_VALUE
public static final int INVALID_MIME_TYPE_VALUE
The mimetype is invalid.
INVALID_MIME_TYPE = 12;- See Also:
- Constant Field Values
-
INVALID_REFERENCE_ID_VALUE
public static final int INVALID_REFERENCE_ID_VALUE
The media reference ID is invalid.
INVALID_REFERENCE_ID = 13;- See Also:
- Constant Field Values
-
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:
- Constant Field Values
-
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:
- Constant Field Values
-
MEDIA_NOT_TRANSCODED_VALUE
public static final int MEDIA_NOT_TRANSCODED_VALUE
Media file has not been transcoded.
MEDIA_NOT_TRANSCODED = 16;- See Also:
- Constant Field Values
-
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:
- Constant Field Values
-
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:
- Constant Field Values
-
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:
- Constant Field Values
-
TOO_LONG_VALUE
public static final int TOO_LONG_VALUE
The string has too many characters.
TOO_LONG = 20;- See Also:
- Constant Field Values
-
UNSUPPORTED_TYPE_VALUE
public static final int UNSUPPORTED_TYPE_VALUE
The specified type is not supported.
UNSUPPORTED_TYPE = 21;- See Also:
- Constant Field Values
-
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:
- Constant Field Values
-
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:
- Constant Field Values
-
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:
- Constant Field Values
-
-
Method Detail
-
values
public static MediaFileErrorEnum.MediaFileError[] 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 (MediaFileErrorEnum.MediaFileError c : MediaFileErrorEnum.MediaFileError.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MediaFileErrorEnum.MediaFileError 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 namejava.lang.NullPointerException- 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 public static MediaFileErrorEnum.MediaFileError 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 namejava.lang.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:
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 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 namejava.lang.NullPointerException- if the argument is null
-
-