Enum MediaJobErrorCode
- java.lang.Object
-
- java.lang.Enum<MediaJobErrorCode>
-
- com.microsoft.azure.eventgrid.models.MediaJobErrorCode
-
- All Implemented Interfaces:
Serializable,Comparable<MediaJobErrorCode>
public enum MediaJobErrorCode extends Enum<MediaJobErrorCode>
Defines values for MediaJobErrorCode.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONFIGURATION_UNSUPPORTEDThere was a problem with the combination of input files and the configuration settings applied, fix the configuration settings and retry with the same input, or change input to match the configuration.CONTENT_MALFORMEDThere was a problem with the input content (for example: zero byte files, or corrupt/non-decodable files), check the input files.CONTENT_UNSUPPORTEDThere was a problem with the format of the input (not valid media file, or an unsupported file/codec), check the validity of the input files.DOWNLOAD_NOT_ACCESSIBLEWhile trying to download the input files, the files were not accessible, please check the availability of the source.DOWNLOAD_TRANSIENT_ERRORWhile trying to download the input files, there was an issue during transfer (storage service, network errors), see details and check your source.SERVICE_ERRORFatal service error, please contact support.SERVICE_TRANSIENT_ERRORTransient error, please retry, if retry is unsuccessful, please contact support.UPLOAD_NOT_ACCESSIBLEWhile trying to upload the output files, the destination was not reachable, please check the availability of the destination.UPLOAD_TRANSIENT_ERRORWhile trying to upload the output files, there was an issue during transfer (storage service, network errors), see details and check your destination.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MediaJobErrorCodefromString(String value)Parses a serialized value to a MediaJobErrorCode instance.StringtoString()static MediaJobErrorCodevalueOf(String name)Returns the enum constant of this type with the specified name.static MediaJobErrorCode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SERVICE_ERROR
public static final MediaJobErrorCode SERVICE_ERROR
Fatal service error, please contact support.
-
SERVICE_TRANSIENT_ERROR
public static final MediaJobErrorCode SERVICE_TRANSIENT_ERROR
Transient error, please retry, if retry is unsuccessful, please contact support.
-
DOWNLOAD_NOT_ACCESSIBLE
public static final MediaJobErrorCode DOWNLOAD_NOT_ACCESSIBLE
While trying to download the input files, the files were not accessible, please check the availability of the source.
-
DOWNLOAD_TRANSIENT_ERROR
public static final MediaJobErrorCode DOWNLOAD_TRANSIENT_ERROR
While trying to download the input files, there was an issue during transfer (storage service, network errors), see details and check your source.
-
UPLOAD_NOT_ACCESSIBLE
public static final MediaJobErrorCode UPLOAD_NOT_ACCESSIBLE
While trying to upload the output files, the destination was not reachable, please check the availability of the destination.
-
UPLOAD_TRANSIENT_ERROR
public static final MediaJobErrorCode UPLOAD_TRANSIENT_ERROR
While trying to upload the output files, there was an issue during transfer (storage service, network errors), see details and check your destination.
-
CONFIGURATION_UNSUPPORTED
public static final MediaJobErrorCode CONFIGURATION_UNSUPPORTED
There was a problem with the combination of input files and the configuration settings applied, fix the configuration settings and retry with the same input, or change input to match the configuration.
-
CONTENT_MALFORMED
public static final MediaJobErrorCode CONTENT_MALFORMED
There was a problem with the input content (for example: zero byte files, or corrupt/non-decodable files), check the input files.
-
CONTENT_UNSUPPORTED
public static final MediaJobErrorCode CONTENT_UNSUPPORTED
There was a problem with the format of the input (not valid media file, or an unsupported file/codec), check the validity of the input files.
-
-
Method Detail
-
values
public static MediaJobErrorCode[] 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 (MediaJobErrorCode c : MediaJobErrorCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MediaJobErrorCode valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
fromString
public static MediaJobErrorCode fromString(String value)
Parses a serialized value to a MediaJobErrorCode instance.- Parameters:
value- the serialized value to parse.- Returns:
- the parsed MediaJobErrorCode object, or null if unable to parse.
-
toString
public String toString()
- Overrides:
toStringin classEnum<MediaJobErrorCode>
-
-