Enum HotelPlaceholderFieldEnum.HotelPlaceholderField
- java.lang.Object
-
- java.lang.Enum<HotelPlaceholderFieldEnum.HotelPlaceholderField>
-
- com.google.ads.googleads.v10.enums.HotelPlaceholderFieldEnum.HotelPlaceholderField
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,java.io.Serializable,java.lang.Comparable<HotelPlaceholderFieldEnum.HotelPlaceholderField>
- Enclosing class:
- HotelPlaceholderFieldEnum
public static enum HotelPlaceholderFieldEnum.HotelPlaceholderField extends java.lang.Enum<HotelPlaceholderFieldEnum.HotelPlaceholderField> implements com.google.protobuf.ProtocolMessageEnum
Possible values for Hotel placeholder fields.
Protobuf enumgoogle.ads.googleads.v10.enums.HotelPlaceholderFieldEnum.HotelPlaceholderField
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADDRESSData Type: STRING.ANDROID_APP_LINKData Type: STRING.CATEGORYData Type: STRING.CONTEXTUAL_KEYWORDSData Type: STRING_LIST.DESCRIPTIONData Type: STRING.DESTINATION_NAMEData Type: STRING.FINAL_MOBILE_URLSData Type: URL_LIST.FINAL_URLSData Type: URL_LIST.FORMATTED_PRICEData Type: STRING.FORMATTED_SALE_PRICEData Type: STRING.IMAGE_URLData Type: URL.IOS_APP_LINKData Type: STRING.IOS_APP_STORE_IDData Type: INT64.PRICEData Type: STRING.PROPERTY_IDData Type: STRING.PROPERTY_NAMEData Type: STRING.SALE_PRICEData Type: STRING.SIMILAR_PROPERTY_IDSData Type: STRING_LIST.STAR_RATINGData Type: INT64.TRACKING_URLData Type: URL.UNKNOWNUsed for return value only.UNRECOGNIZEDUNSPECIFIEDNot specified.
-
Field Summary
Fields Modifier and Type Field Description static intADDRESS_VALUEData Type: STRING.static intANDROID_APP_LINK_VALUEData Type: STRING.static intCATEGORY_VALUEData Type: STRING.static intCONTEXTUAL_KEYWORDS_VALUEData Type: STRING_LIST.static intDESCRIPTION_VALUEData Type: STRING.static intDESTINATION_NAME_VALUEData Type: STRING.static intFINAL_MOBILE_URLS_VALUEData Type: URL_LIST.static intFINAL_URLS_VALUEData Type: URL_LIST.static intFORMATTED_PRICE_VALUEData Type: STRING.static intFORMATTED_SALE_PRICE_VALUEData Type: STRING.static intIMAGE_URL_VALUEData Type: URL.static intIOS_APP_LINK_VALUEData Type: STRING.static intIOS_APP_STORE_ID_VALUEData Type: INT64.static intPRICE_VALUEData Type: STRING.static intPROPERTY_ID_VALUEData Type: STRING.static intPROPERTY_NAME_VALUEData Type: STRING.static intSALE_PRICE_VALUEData Type: STRING.static intSIMILAR_PROPERTY_IDS_VALUEData Type: STRING_LIST.static intSTAR_RATING_VALUEData Type: INT64.static intTRACKING_URL_VALUEData Type: URL.static intUNKNOWN_VALUEUsed for return value only.static intUNSPECIFIED_VALUENot specified.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static HotelPlaceholderFieldEnum.HotelPlaceholderFieldforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<HotelPlaceholderFieldEnum.HotelPlaceholderField>internalGetValueMap()static HotelPlaceholderFieldEnum.HotelPlaceholderFieldvalueOf(int value)Deprecated.static HotelPlaceholderFieldEnum.HotelPlaceholderFieldvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static HotelPlaceholderFieldEnum.HotelPlaceholderFieldvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static HotelPlaceholderFieldEnum.HotelPlaceholderField[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNSPECIFIED
public static final HotelPlaceholderFieldEnum.HotelPlaceholderField UNSPECIFIED
Not specified.
UNSPECIFIED = 0;
-
UNKNOWN
public static final HotelPlaceholderFieldEnum.HotelPlaceholderField UNKNOWN
Used for return value only. Represents value unknown in this version.
UNKNOWN = 1;
-
PROPERTY_ID
public static final HotelPlaceholderFieldEnum.HotelPlaceholderField PROPERTY_ID
Data Type: STRING. Required. Unique ID.
PROPERTY_ID = 2;
-
PROPERTY_NAME
public static final HotelPlaceholderFieldEnum.HotelPlaceholderField PROPERTY_NAME
Data Type: STRING. Required. Main headline with property name to be shown in dynamic ad.
PROPERTY_NAME = 3;
-
DESTINATION_NAME
public static final HotelPlaceholderFieldEnum.HotelPlaceholderField DESTINATION_NAME
Data Type: STRING. Name of destination to be shown in dynamic ad.
DESTINATION_NAME = 4;
-
DESCRIPTION
public static final HotelPlaceholderFieldEnum.HotelPlaceholderField DESCRIPTION
Data Type: STRING. Description of destination to be shown in dynamic ad.
DESCRIPTION = 5;
-
ADDRESS
public static final HotelPlaceholderFieldEnum.HotelPlaceholderField ADDRESS
Data Type: STRING. Complete property address, including postal code.
ADDRESS = 6;
-
PRICE
public static final HotelPlaceholderFieldEnum.HotelPlaceholderField PRICE
Data Type: STRING. Price to be shown in the ad. Example: "100.00 USD"
PRICE = 7;
-
FORMATTED_PRICE
public static final HotelPlaceholderFieldEnum.HotelPlaceholderField FORMATTED_PRICE
Data Type: STRING. Formatted price to be shown in the ad. Example: "Starting at $100.00 USD", "$80 - $100"
FORMATTED_PRICE = 8;
-
SALE_PRICE
public static final HotelPlaceholderFieldEnum.HotelPlaceholderField SALE_PRICE
Data Type: STRING. Sale price to be shown in the ad. Example: "80.00 USD"
SALE_PRICE = 9;
-
FORMATTED_SALE_PRICE
public static final HotelPlaceholderFieldEnum.HotelPlaceholderField FORMATTED_SALE_PRICE
Data Type: STRING. Formatted sale price to be shown in the ad. Example: "On sale for $80.00", "$60 - $80"
FORMATTED_SALE_PRICE = 10;
-
IMAGE_URL
public static final HotelPlaceholderFieldEnum.HotelPlaceholderField IMAGE_URL
Data Type: URL. Image to be displayed in the ad.
IMAGE_URL = 11;
-
CATEGORY
public static final HotelPlaceholderFieldEnum.HotelPlaceholderField CATEGORY
Data Type: STRING. Category of property used to group like items together for recommendation engine.
CATEGORY = 12;
-
STAR_RATING
public static final HotelPlaceholderFieldEnum.HotelPlaceholderField STAR_RATING
Data Type: INT64. Star rating (1 to 5) used to group like items together for recommendation engine.
STAR_RATING = 13;
-
CONTEXTUAL_KEYWORDS
public static final HotelPlaceholderFieldEnum.HotelPlaceholderField CONTEXTUAL_KEYWORDS
Data Type: STRING_LIST. Keywords used for product retrieval.
CONTEXTUAL_KEYWORDS = 14;
-
FINAL_URLS
public static final HotelPlaceholderFieldEnum.HotelPlaceholderField FINAL_URLS
Data Type: URL_LIST. Required. Final URLs for the ad when using Upgraded URLs. User will be redirected to these URLs when they click on an ad, or when they click on a specific flight for ads that show multiple flights.
FINAL_URLS = 15;
-
FINAL_MOBILE_URLS
public static final HotelPlaceholderFieldEnum.HotelPlaceholderField FINAL_MOBILE_URLS
Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded URLs.
FINAL_MOBILE_URLS = 16;
-
TRACKING_URL
public static final HotelPlaceholderFieldEnum.HotelPlaceholderField TRACKING_URL
Data Type: URL. Tracking template for the ad when using Upgraded URLs.
TRACKING_URL = 17;
-
ANDROID_APP_LINK
public static final HotelPlaceholderFieldEnum.HotelPlaceholderField ANDROID_APP_LINK
Data Type: STRING. Android app link. Must be formatted as: android-app://{package_id}/{scheme}/{host_path}. The components are defined as follows: package_id: app ID as specified in Google Play. scheme: the scheme to pass to the application. Can be HTTP, or a custom scheme. host_path: identifies the specific content within your application.ANDROID_APP_LINK = 18;
-
SIMILAR_PROPERTY_IDS
public static final HotelPlaceholderFieldEnum.HotelPlaceholderField SIMILAR_PROPERTY_IDS
Data Type: STRING_LIST. List of recommended property IDs to show together with this item.
SIMILAR_PROPERTY_IDS = 19;
-
IOS_APP_LINK
public static final HotelPlaceholderFieldEnum.HotelPlaceholderField IOS_APP_LINK
Data Type: STRING. iOS app link.
IOS_APP_LINK = 20;
-
IOS_APP_STORE_ID
public static final HotelPlaceholderFieldEnum.HotelPlaceholderField IOS_APP_STORE_ID
Data Type: INT64. iOS app store ID.
IOS_APP_STORE_ID = 21;
-
UNRECOGNIZED
public static final HotelPlaceholderFieldEnum.HotelPlaceholderField UNRECOGNIZED
-
-
Field Detail
-
UNSPECIFIED_VALUE
public static final int UNSPECIFIED_VALUE
Not specified.
UNSPECIFIED = 0;- See Also:
- Constant Field Values
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUE
Used for return value only. Represents value unknown in this version.
UNKNOWN = 1;- See Also:
- Constant Field Values
-
PROPERTY_ID_VALUE
public static final int PROPERTY_ID_VALUE
Data Type: STRING. Required. Unique ID.
PROPERTY_ID = 2;- See Also:
- Constant Field Values
-
PROPERTY_NAME_VALUE
public static final int PROPERTY_NAME_VALUE
Data Type: STRING. Required. Main headline with property name to be shown in dynamic ad.
PROPERTY_NAME = 3;- See Also:
- Constant Field Values
-
DESTINATION_NAME_VALUE
public static final int DESTINATION_NAME_VALUE
Data Type: STRING. Name of destination to be shown in dynamic ad.
DESTINATION_NAME = 4;- See Also:
- Constant Field Values
-
DESCRIPTION_VALUE
public static final int DESCRIPTION_VALUE
Data Type: STRING. Description of destination to be shown in dynamic ad.
DESCRIPTION = 5;- See Also:
- Constant Field Values
-
ADDRESS_VALUE
public static final int ADDRESS_VALUE
Data Type: STRING. Complete property address, including postal code.
ADDRESS = 6;- See Also:
- Constant Field Values
-
PRICE_VALUE
public static final int PRICE_VALUE
Data Type: STRING. Price to be shown in the ad. Example: "100.00 USD"
PRICE = 7;- See Also:
- Constant Field Values
-
FORMATTED_PRICE_VALUE
public static final int FORMATTED_PRICE_VALUE
Data Type: STRING. Formatted price to be shown in the ad. Example: "Starting at $100.00 USD", "$80 - $100"
FORMATTED_PRICE = 8;- See Also:
- Constant Field Values
-
SALE_PRICE_VALUE
public static final int SALE_PRICE_VALUE
Data Type: STRING. Sale price to be shown in the ad. Example: "80.00 USD"
SALE_PRICE = 9;- See Also:
- Constant Field Values
-
FORMATTED_SALE_PRICE_VALUE
public static final int FORMATTED_SALE_PRICE_VALUE
Data Type: STRING. Formatted sale price to be shown in the ad. Example: "On sale for $80.00", "$60 - $80"
FORMATTED_SALE_PRICE = 10;- See Also:
- Constant Field Values
-
IMAGE_URL_VALUE
public static final int IMAGE_URL_VALUE
Data Type: URL. Image to be displayed in the ad.
IMAGE_URL = 11;- See Also:
- Constant Field Values
-
CATEGORY_VALUE
public static final int CATEGORY_VALUE
Data Type: STRING. Category of property used to group like items together for recommendation engine.
CATEGORY = 12;- See Also:
- Constant Field Values
-
STAR_RATING_VALUE
public static final int STAR_RATING_VALUE
Data Type: INT64. Star rating (1 to 5) used to group like items together for recommendation engine.
STAR_RATING = 13;- See Also:
- Constant Field Values
-
CONTEXTUAL_KEYWORDS_VALUE
public static final int CONTEXTUAL_KEYWORDS_VALUE
Data Type: STRING_LIST. Keywords used for product retrieval.
CONTEXTUAL_KEYWORDS = 14;- See Also:
- Constant Field Values
-
FINAL_URLS_VALUE
public static final int FINAL_URLS_VALUE
Data Type: URL_LIST. Required. Final URLs for the ad when using Upgraded URLs. User will be redirected to these URLs when they click on an ad, or when they click on a specific flight for ads that show multiple flights.
FINAL_URLS = 15;- See Also:
- Constant Field Values
-
FINAL_MOBILE_URLS_VALUE
public static final int FINAL_MOBILE_URLS_VALUE
Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded URLs.
FINAL_MOBILE_URLS = 16;- See Also:
- Constant Field Values
-
TRACKING_URL_VALUE
public static final int TRACKING_URL_VALUE
Data Type: URL. Tracking template for the ad when using Upgraded URLs.
TRACKING_URL = 17;- See Also:
- Constant Field Values
-
ANDROID_APP_LINK_VALUE
public static final int ANDROID_APP_LINK_VALUE
Data Type: STRING. Android app link. Must be formatted as: android-app://{package_id}/{scheme}/{host_path}. The components are defined as follows: package_id: app ID as specified in Google Play. scheme: the scheme to pass to the application. Can be HTTP, or a custom scheme. host_path: identifies the specific content within your application.ANDROID_APP_LINK = 18;- See Also:
- Constant Field Values
-
SIMILAR_PROPERTY_IDS_VALUE
public static final int SIMILAR_PROPERTY_IDS_VALUE
Data Type: STRING_LIST. List of recommended property IDs to show together with this item.
SIMILAR_PROPERTY_IDS = 19;- See Also:
- Constant Field Values
-
IOS_APP_LINK_VALUE
public static final int IOS_APP_LINK_VALUE
Data Type: STRING. iOS app link.
IOS_APP_LINK = 20;- See Also:
- Constant Field Values
-
IOS_APP_STORE_ID_VALUE
public static final int IOS_APP_STORE_ID_VALUE
Data Type: INT64. iOS app store ID.
IOS_APP_STORE_ID = 21;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static HotelPlaceholderFieldEnum.HotelPlaceholderField[] 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 (HotelPlaceholderFieldEnum.HotelPlaceholderField c : HotelPlaceholderFieldEnum.HotelPlaceholderField.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HotelPlaceholderFieldEnum.HotelPlaceholderField 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
-
getNumber
public final int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static HotelPlaceholderFieldEnum.HotelPlaceholderField 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 HotelPlaceholderFieldEnum.HotelPlaceholderField 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<HotelPlaceholderFieldEnum.HotelPlaceholderField> 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 HotelPlaceholderFieldEnum.HotelPlaceholderField valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
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:
desc- 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
-
-