Enum Class AssetTypeEnum.AssetType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<AssetTypeEnum.AssetType>,Constable
- Enclosing class:
- AssetTypeEnum
public static enum AssetTypeEnum.AssetType
extends Enum<AssetTypeEnum.AssetType>
implements com.google.protobuf.ProtocolMessageEnum
Enum describing possible types of asset.Protobuf enum
google.ads.googleads.v18.enums.AssetTypeEnum.AssetType-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionBook on Google asset.Call asset.Call to action asset.Callout asset.Demand Gen Carousel Card asset.Dynamic custom asset.Dynamic Education asset.Dynamic flights asset.Dynamic hotels and rentals asset.Dynamic jobs asset.Dynamic local asset.Dynamic real estate asset.Dynamic travel asset.Hotel callout asset.Hotel property asset.Image asset.Lead form asset.Location asset.Media bundle asset.Mobile app asset.Page Feed asset.Price asset.Promotion asset.Sitelink asset.Structured Snippet asset.Text asset.Used for return value only.Not specified.YouTube video asset. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intBook on Google asset.static final intCall to action asset.static final intCall asset.static final intCallout asset.static final intDemand Gen Carousel Card asset.static final intDynamic custom asset.static final intDynamic Education asset.static final intDynamic flights asset.static final intDynamic hotels and rentals asset.static final intDynamic jobs asset.static final intDynamic local asset.static final intDynamic real estate asset.static final intDynamic travel asset.static final intHotel callout asset.static final intHotel property asset.static final intImage asset.static final intLead form asset.static final intLocation asset.static final intMedia bundle asset.static final intMobile app asset.static final intPage Feed asset.static final intPrice asset.static final intPromotion asset.static final intSitelink asset.static final intStructured Snippet asset.static final intText asset.static final intUsed for return value only.static final intNot specified.static final intYouTube video asset. -
Method Summary
Modifier and TypeMethodDescriptionstatic AssetTypeEnum.AssetTypeforNumber(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<AssetTypeEnum.AssetType>static AssetTypeEnum.AssetTypevalueOf(int value) Deprecated.static AssetTypeEnum.AssetTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static AssetTypeEnum.AssetTypeReturns the enum constant of this class with the specified name.static AssetTypeEnum.AssetType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNSPECIFIED
Not specified.
UNSPECIFIED = 0; -
UNKNOWN
Used for return value only. Represents value unknown in this version.
UNKNOWN = 1; -
YOUTUBE_VIDEO
YouTube video asset.
YOUTUBE_VIDEO = 2; -
MEDIA_BUNDLE
Media bundle asset.
MEDIA_BUNDLE = 3; -
IMAGE
Image asset.
IMAGE = 4; -
TEXT
Text asset.
TEXT = 5; -
LEAD_FORM
Lead form asset.
LEAD_FORM = 6; -
BOOK_ON_GOOGLE
Book on Google asset.
BOOK_ON_GOOGLE = 7; -
PROMOTION
Promotion asset.
PROMOTION = 8; -
CALLOUT
Callout asset.
CALLOUT = 9; -
STRUCTURED_SNIPPET
Structured Snippet asset.
STRUCTURED_SNIPPET = 10; -
SITELINK
Sitelink asset.
SITELINK = 11; -
PAGE_FEED
Page Feed asset.
PAGE_FEED = 12; -
DYNAMIC_EDUCATION
Dynamic Education asset.
DYNAMIC_EDUCATION = 13; -
MOBILE_APP
Mobile app asset.
MOBILE_APP = 14; -
HOTEL_CALLOUT
Hotel callout asset.
HOTEL_CALLOUT = 15; -
CALL
Call asset.
CALL = 16; -
PRICE
Price asset.
PRICE = 17; -
CALL_TO_ACTION
Call to action asset.
CALL_TO_ACTION = 18; -
DYNAMIC_REAL_ESTATE
Dynamic real estate asset.
DYNAMIC_REAL_ESTATE = 19; -
DYNAMIC_CUSTOM
Dynamic custom asset.
DYNAMIC_CUSTOM = 20; -
DYNAMIC_HOTELS_AND_RENTALS
Dynamic hotels and rentals asset.
DYNAMIC_HOTELS_AND_RENTALS = 21; -
DYNAMIC_FLIGHTS
Dynamic flights asset.
DYNAMIC_FLIGHTS = 22; -
DYNAMIC_TRAVEL
Dynamic travel asset.
DYNAMIC_TRAVEL = 24; -
DYNAMIC_LOCAL
Dynamic local asset.
DYNAMIC_LOCAL = 25; -
DYNAMIC_JOBS
Dynamic jobs asset.
DYNAMIC_JOBS = 26; -
LOCATION
Location asset.
LOCATION = 27; -
HOTEL_PROPERTY
Hotel property asset.
HOTEL_PROPERTY = 28; -
DEMAND_GEN_CAROUSEL_CARD
Demand Gen Carousel Card asset.
DEMAND_GEN_CAROUSEL_CARD = 29; -
UNRECOGNIZED
-
-
Field Details
-
UNSPECIFIED_VALUE
public static final int UNSPECIFIED_VALUENot specified.
UNSPECIFIED = 0;- See Also:
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUEUsed for return value only. Represents value unknown in this version.
UNKNOWN = 1;- See Also:
-
YOUTUBE_VIDEO_VALUE
public static final int YOUTUBE_VIDEO_VALUEYouTube video asset.
YOUTUBE_VIDEO = 2;- See Also:
-
MEDIA_BUNDLE_VALUE
public static final int MEDIA_BUNDLE_VALUEMedia bundle asset.
MEDIA_BUNDLE = 3;- See Also:
-
IMAGE_VALUE
public static final int IMAGE_VALUEImage asset.
IMAGE = 4;- See Also:
-
TEXT_VALUE
public static final int TEXT_VALUEText asset.
TEXT = 5;- See Also:
-
LEAD_FORM_VALUE
public static final int LEAD_FORM_VALUELead form asset.
LEAD_FORM = 6;- See Also:
-
BOOK_ON_GOOGLE_VALUE
public static final int BOOK_ON_GOOGLE_VALUEBook on Google asset.
BOOK_ON_GOOGLE = 7;- See Also:
-
PROMOTION_VALUE
public static final int PROMOTION_VALUEPromotion asset.
PROMOTION = 8;- See Also:
-
CALLOUT_VALUE
public static final int CALLOUT_VALUECallout asset.
CALLOUT = 9;- See Also:
-
STRUCTURED_SNIPPET_VALUE
public static final int STRUCTURED_SNIPPET_VALUEStructured Snippet asset.
STRUCTURED_SNIPPET = 10;- See Also:
-
SITELINK_VALUE
public static final int SITELINK_VALUESitelink asset.
SITELINK = 11;- See Also:
-
PAGE_FEED_VALUE
public static final int PAGE_FEED_VALUEPage Feed asset.
PAGE_FEED = 12;- See Also:
-
DYNAMIC_EDUCATION_VALUE
public static final int DYNAMIC_EDUCATION_VALUEDynamic Education asset.
DYNAMIC_EDUCATION = 13;- See Also:
-
MOBILE_APP_VALUE
public static final int MOBILE_APP_VALUEMobile app asset.
MOBILE_APP = 14;- See Also:
-
HOTEL_CALLOUT_VALUE
public static final int HOTEL_CALLOUT_VALUEHotel callout asset.
HOTEL_CALLOUT = 15;- See Also:
-
CALL_VALUE
public static final int CALL_VALUECall asset.
CALL = 16;- See Also:
-
PRICE_VALUE
public static final int PRICE_VALUEPrice asset.
PRICE = 17;- See Also:
-
CALL_TO_ACTION_VALUE
public static final int CALL_TO_ACTION_VALUECall to action asset.
CALL_TO_ACTION = 18;- See Also:
-
DYNAMIC_REAL_ESTATE_VALUE
public static final int DYNAMIC_REAL_ESTATE_VALUEDynamic real estate asset.
DYNAMIC_REAL_ESTATE = 19;- See Also:
-
DYNAMIC_CUSTOM_VALUE
public static final int DYNAMIC_CUSTOM_VALUEDynamic custom asset.
DYNAMIC_CUSTOM = 20;- See Also:
-
DYNAMIC_HOTELS_AND_RENTALS_VALUE
public static final int DYNAMIC_HOTELS_AND_RENTALS_VALUEDynamic hotels and rentals asset.
DYNAMIC_HOTELS_AND_RENTALS = 21;- See Also:
-
DYNAMIC_FLIGHTS_VALUE
public static final int DYNAMIC_FLIGHTS_VALUEDynamic flights asset.
DYNAMIC_FLIGHTS = 22;- See Also:
-
DYNAMIC_TRAVEL_VALUE
public static final int DYNAMIC_TRAVEL_VALUEDynamic travel asset.
DYNAMIC_TRAVEL = 24;- See Also:
-
DYNAMIC_LOCAL_VALUE
public static final int DYNAMIC_LOCAL_VALUEDynamic local asset.
DYNAMIC_LOCAL = 25;- See Also:
-
DYNAMIC_JOBS_VALUE
public static final int DYNAMIC_JOBS_VALUEDynamic jobs asset.
DYNAMIC_JOBS = 26;- See Also:
-
LOCATION_VALUE
public static final int LOCATION_VALUELocation asset.
LOCATION = 27;- See Also:
-
HOTEL_PROPERTY_VALUE
public static final int HOTEL_PROPERTY_VALUEHotel property asset.
HOTEL_PROPERTY = 28;- See Also:
-
DEMAND_GEN_CAROUSEL_CARD_VALUE
public static final int DEMAND_GEN_CAROUSEL_CARD_VALUEDemand Gen Carousel Card asset.
DEMAND_GEN_CAROUSEL_CARD = 29;- 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
public static com.google.protobuf.Internal.EnumLiteMap<AssetTypeEnum.AssetType> 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 AssetTypeEnum.AssetType 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
-