Enum Class MimeTypeEnum.MimeType

java.lang.Object
java.lang.Enum<MimeTypeEnum.MimeType>
com.google.ads.googleads.v18.enums.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 type
 
Protobuf enum google.ads.googleads.v18.enums.MimeTypeEnum.MimeType
  • Enum Constant Details

    • UNSPECIFIED

      public static final MimeTypeEnum.MimeType UNSPECIFIED
       The mime type has not been specified.
       
      UNSPECIFIED = 0;
    • UNKNOWN

      public static final MimeTypeEnum.MimeType UNKNOWN
       The received value is not known in this version.
      
       This is a response-only value.
       
      UNKNOWN = 1;
    • IMAGE_JPEG

      public static final MimeTypeEnum.MimeType IMAGE_JPEG
       MIME type of image/jpeg.
       
      IMAGE_JPEG = 2;
    • IMAGE_GIF

      public static final MimeTypeEnum.MimeType IMAGE_GIF
       MIME type of image/gif.
       
      IMAGE_GIF = 3;
    • IMAGE_PNG

      public static final MimeTypeEnum.MimeType IMAGE_PNG
       MIME type of image/png.
       
      IMAGE_PNG = 4;
    • FLASH

      public static final MimeTypeEnum.MimeType FLASH
       MIME type of application/x-shockwave-flash.
       
      FLASH = 5;
    • TEXT_HTML

      public static final MimeTypeEnum.MimeType TEXT_HTML
       MIME type of text/html.
       
      TEXT_HTML = 6;
    • PDF

      public static final MimeTypeEnum.MimeType PDF
       MIME type of application/pdf.
       
      PDF = 7;
    • MSWORD

      public static final MimeTypeEnum.MimeType MSWORD
       MIME type of application/msword.
       
      MSWORD = 8;
    • MSEXCEL

      public static final MimeTypeEnum.MimeType MSEXCEL
       MIME type of application/vnd.ms-excel.
       
      MSEXCEL = 9;
    • RTF

      public static final MimeTypeEnum.MimeType RTF
       MIME type of application/rtf.
       
      RTF = 10;
    • AUDIO_WAV

      public static final MimeTypeEnum.MimeType AUDIO_WAV
       MIME type of audio/wav.
       
      AUDIO_WAV = 11;
    • AUDIO_MP3

      public static final MimeTypeEnum.MimeType AUDIO_MP3
       MIME type of audio/mp3.
       
      AUDIO_MP3 = 12;
    • HTML5_AD_ZIP

      public static final MimeTypeEnum.MimeType HTML5_AD_ZIP
       MIME type of application/x-html5-ad-zip.
       
      HTML5_AD_ZIP = 13;
    • UNRECOGNIZED

      public static final MimeTypeEnum.MimeType UNRECOGNIZED
  • Field Details

    • UNSPECIFIED_VALUE

      public static final int UNSPECIFIED_VALUE
       The mime type has not been specified.
       
      UNSPECIFIED = 0;
      See Also:
    • UNKNOWN_VALUE

      public static final int UNKNOWN_VALUE
       The 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_VALUE
       MIME type of image/jpeg.
       
      IMAGE_JPEG = 2;
      See Also:
    • IMAGE_GIF_VALUE

      public static final int IMAGE_GIF_VALUE
       MIME type of image/gif.
       
      IMAGE_GIF = 3;
      See Also:
    • IMAGE_PNG_VALUE

      public static final int IMAGE_PNG_VALUE
       MIME type of image/png.
       
      IMAGE_PNG = 4;
      See Also:
    • FLASH_VALUE

      public static final int FLASH_VALUE
       MIME type of application/x-shockwave-flash.
       
      FLASH = 5;
      See Also:
    • TEXT_HTML_VALUE

      public static final int TEXT_HTML_VALUE
       MIME type of text/html.
       
      TEXT_HTML = 6;
      See Also:
    • PDF_VALUE

      public static final int PDF_VALUE
       MIME type of application/pdf.
       
      PDF = 7;
      See Also:
    • MSWORD_VALUE

      public static final int MSWORD_VALUE
       MIME type of application/msword.
       
      MSWORD = 8;
      See Also:
    • MSEXCEL_VALUE

      public static final int MSEXCEL_VALUE
       MIME type of application/vnd.ms-excel.
       
      MSEXCEL = 9;
      See Also:
    • RTF_VALUE

      public static final int RTF_VALUE
       MIME type of application/rtf.
       
      RTF = 10;
      See Also:
    • AUDIO_WAV_VALUE

      public static final int AUDIO_WAV_VALUE
       MIME type of audio/wav.
       
      AUDIO_WAV = 11;
      See Also:
    • AUDIO_MP3_VALUE

      public static final int AUDIO_MP3_VALUE
       MIME type of audio/mp3.
       
      AUDIO_MP3 = 12;
      See Also:
    • HTML5_AD_ZIP_VALUE

      public static final int HTML5_AD_ZIP_VALUE
       MIME type of application/x-html5-ad-zip.
       
      HTML5_AD_ZIP = 13;
      See Also:
  • Method Details

    • values

      public static MimeTypeEnum.MimeType[] 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 MimeTypeEnum.MimeType 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 MimeTypeEnum.MimeType 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 MimeTypeEnum.MimeType 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<MimeTypeEnum.MimeType> 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 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 name
      NullPointerException - if the argument is null