Enum Class MimeTypeEnum.MimeType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<MimeTypeEnum.MimeType>,Constable
- Enclosing class:
- MimeTypeEnum
public static enum MimeTypeEnum.MimeType
extends Enum<MimeTypeEnum.MimeType>
implements com.google.protobuf.ProtocolMessageEnum
The mime typeProtobuf enum
google.ads.googleads.v18.enums.MimeTypeEnum.MimeType-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionMIME type of audio/mp3.MIME type of audio/wav.MIME type of application/x-shockwave-flash.MIME type of application/x-html5-ad-zip.MIME type of image/gif.MIME type of image/jpeg.MIME type of image/png.MIME type of application/vnd.ms-excel.MIME type of application/msword.MIME type of application/pdf.MIME type of application/rtf.MIME type of text/html.The received value is not known in this version.The mime type has not been specified. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intMIME type of audio/mp3.static final intMIME type of audio/wav.static final intMIME type of application/x-shockwave-flash.static final intMIME type of application/x-html5-ad-zip.static final intMIME type of image/gif.static final intMIME type of image/jpeg.static final intMIME type of image/png.static final intMIME type of application/vnd.ms-excel.static final intMIME type of application/msword.static final intMIME type of application/pdf.static final intMIME type of application/rtf.static final intMIME type of text/html.static final intThe received value is not known in this version.static final intThe mime type has not been specified. -
Method Summary
Modifier and TypeMethodDescriptionstatic MimeTypeEnum.MimeTypeforNumber(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<MimeTypeEnum.MimeType>static MimeTypeEnum.MimeTypevalueOf(int value) Deprecated.static MimeTypeEnum.MimeTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static MimeTypeEnum.MimeTypeReturns the enum constant of this class with the specified name.static MimeTypeEnum.MimeType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNSPECIFIED
The mime type has not been specified.
UNSPECIFIED = 0; -
UNKNOWN
The received value is not known in this version. This is a response-only value.
UNKNOWN = 1; -
IMAGE_JPEG
MIME type of image/jpeg.
IMAGE_JPEG = 2; -
IMAGE_GIF
MIME type of image/gif.
IMAGE_GIF = 3; -
IMAGE_PNG
MIME type of image/png.
IMAGE_PNG = 4; -
FLASH
MIME type of application/x-shockwave-flash.
FLASH = 5; -
TEXT_HTML
MIME type of text/html.
TEXT_HTML = 6; -
PDF
MIME type of application/pdf.
PDF = 7; -
MSWORD
MIME type of application/msword.
MSWORD = 8; -
MSEXCEL
MIME type of application/vnd.ms-excel.
MSEXCEL = 9; -
RTF
MIME type of application/rtf.
RTF = 10; -
AUDIO_WAV
MIME type of audio/wav.
AUDIO_WAV = 11; -
AUDIO_MP3
MIME type of audio/mp3.
AUDIO_MP3 = 12; -
HTML5_AD_ZIP
MIME type of application/x-html5-ad-zip.
HTML5_AD_ZIP = 13; -
UNRECOGNIZED
-
-
Field Details
-
UNSPECIFIED_VALUE
public static final int UNSPECIFIED_VALUEThe mime type has not been specified.
UNSPECIFIED = 0;- See Also:
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUEThe received value is not known in this version. This is a response-only value.
UNKNOWN = 1;- See Also:
-
IMAGE_JPEG_VALUE
public static final int IMAGE_JPEG_VALUEMIME type of image/jpeg.
IMAGE_JPEG = 2;- See Also:
-
IMAGE_GIF_VALUE
public static final int IMAGE_GIF_VALUEMIME type of image/gif.
IMAGE_GIF = 3;- See Also:
-
IMAGE_PNG_VALUE
public static final int IMAGE_PNG_VALUEMIME type of image/png.
IMAGE_PNG = 4;- See Also:
-
FLASH_VALUE
public static final int FLASH_VALUEMIME type of application/x-shockwave-flash.
FLASH = 5;- See Also:
-
TEXT_HTML_VALUE
public static final int TEXT_HTML_VALUEMIME type of text/html.
TEXT_HTML = 6;- See Also:
-
PDF_VALUE
public static final int PDF_VALUEMIME type of application/pdf.
PDF = 7;- See Also:
-
MSWORD_VALUE
public static final int MSWORD_VALUEMIME type of application/msword.
MSWORD = 8;- See Also:
-
MSEXCEL_VALUE
public static final int MSEXCEL_VALUEMIME type of application/vnd.ms-excel.
MSEXCEL = 9;- See Also:
-
RTF_VALUE
public static final int RTF_VALUEMIME type of application/rtf.
RTF = 10;- See Also:
-
AUDIO_WAV_VALUE
public static final int AUDIO_WAV_VALUEMIME type of audio/wav.
AUDIO_WAV = 11;- See Also:
-
AUDIO_MP3_VALUE
public static final int AUDIO_MP3_VALUEMIME type of audio/mp3.
AUDIO_MP3 = 12;- See Also:
-
HTML5_AD_ZIP_VALUE
public static final int HTML5_AD_ZIP_VALUEMIME type of application/x-html5-ad-zip.
HTML5_AD_ZIP = 13;- 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
-
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 MimeTypeEnum.MimeType 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
-