Enum Ad.AdDataCase

  • All Implemented Interfaces:
    com.google.protobuf.Internal.EnumLite, java.io.Serializable, java.lang.Comparable<Ad.AdDataCase>
    Enclosing class:
    Ad

    public static enum Ad.AdDataCase
    extends java.lang.Enum<Ad.AdDataCase>
    implements com.google.protobuf.Internal.EnumLite
    • Enum Constant Detail

      • EXPANDED_TEXT_AD

        public static final Ad.AdDataCase EXPANDED_TEXT_AD
      • EXPANDED_DYNAMIC_SEARCH_AD

        public static final Ad.AdDataCase EXPANDED_DYNAMIC_SEARCH_AD
      • SHOPPING_SMART_AD

        public static final Ad.AdDataCase SHOPPING_SMART_AD
      • SHOPPING_PRODUCT_AD

        public static final Ad.AdDataCase SHOPPING_PRODUCT_AD
      • VIDEO_RESPONSIVE_AD

        public static final Ad.AdDataCase VIDEO_RESPONSIVE_AD
      • RESPONSIVE_SEARCH_AD

        public static final Ad.AdDataCase RESPONSIVE_SEARCH_AD
      • LEGACY_RESPONSIVE_DISPLAY_AD

        public static final Ad.AdDataCase LEGACY_RESPONSIVE_DISPLAY_AD
      • LEGACY_APP_INSTALL_AD

        public static final Ad.AdDataCase LEGACY_APP_INSTALL_AD
      • RESPONSIVE_DISPLAY_AD

        public static final Ad.AdDataCase RESPONSIVE_DISPLAY_AD
      • DISPLAY_UPLOAD_AD

        public static final Ad.AdDataCase DISPLAY_UPLOAD_AD
      • APP_ENGAGEMENT_AD

        public static final Ad.AdDataCase APP_ENGAGEMENT_AD
      • SHOPPING_COMPARISON_LISTING_AD

        public static final Ad.AdDataCase SHOPPING_COMPARISON_LISTING_AD
      • SMART_CAMPAIGN_AD

        public static final Ad.AdDataCase SMART_CAMPAIGN_AD
      • APP_PRE_REGISTRATION_AD

        public static final Ad.AdDataCase APP_PRE_REGISTRATION_AD
      • DISCOVERY_MULTI_ASSET_AD

        public static final Ad.AdDataCase DISCOVERY_MULTI_ASSET_AD
      • DISCOVERY_CAROUSEL_AD

        public static final Ad.AdDataCase DISCOVERY_CAROUSEL_AD
      • ADDATA_NOT_SET

        public static final Ad.AdDataCase ADDATA_NOT_SET
    • Method Detail

      • values

        public static Ad.AdDataCase[] 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 (Ad.AdDataCase c : Ad.AdDataCase.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Ad.AdDataCase 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 name
        java.lang.NullPointerException - if the argument is null
      • valueOf

        @Deprecated
        public static Ad.AdDataCase 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 name
        java.lang.NullPointerException - if the argument is null
      • forNumber

        public static Ad.AdDataCase forNumber​(int value)
      • getNumber

        public int getNumber()
        Specified by:
        getNumber in interface com.google.protobuf.Internal.EnumLite