Enum Ad.AdDataCase
- java.lang.Object
-
- java.lang.Enum<Ad.AdDataCase>
-
- com.google.ads.googleads.v10.resources.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 Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Ad.AdDataCaseforNumber(int value)intgetNumber()static Ad.AdDataCasevalueOf(int value)Deprecated.static Ad.AdDataCasevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Ad.AdDataCase[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TEXT_AD
public static final Ad.AdDataCase TEXT_AD
-
EXPANDED_TEXT_AD
public static final Ad.AdDataCase EXPANDED_TEXT_AD
-
CALL_AD
public static final Ad.AdDataCase CALL_AD
-
EXPANDED_DYNAMIC_SEARCH_AD
public static final Ad.AdDataCase EXPANDED_DYNAMIC_SEARCH_AD
-
HOTEL_AD
public static final Ad.AdDataCase HOTEL_AD
-
SHOPPING_SMART_AD
public static final Ad.AdDataCase SHOPPING_SMART_AD
-
SHOPPING_PRODUCT_AD
public static final Ad.AdDataCase SHOPPING_PRODUCT_AD
-
GMAIL_AD
public static final Ad.AdDataCase GMAIL_AD
-
IMAGE_AD
public static final Ad.AdDataCase IMAGE_AD
-
VIDEO_AD
public static final Ad.AdDataCase VIDEO_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
-
APP_AD
public static final Ad.AdDataCase APP_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
-
LOCAL_AD
public static final Ad.AdDataCase LOCAL_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
-
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 namejava.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 namejava.lang.NullPointerException- if the argument is null
-
forNumber
public static Ad.AdDataCase forNumber(int value)
-
getNumber
public int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite
-
-