Enum Class FlightPlaceholderFieldEnum.FlightPlaceholderField
java.lang.Object
java.lang.Enum<FlightPlaceholderFieldEnum.FlightPlaceholderField>
com.google.ads.googleads.v18.enums.FlightPlaceholderFieldEnum.FlightPlaceholderField
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<FlightPlaceholderFieldEnum.FlightPlaceholderField>,Constable
- Enclosing class:
- FlightPlaceholderFieldEnum
public static enum FlightPlaceholderFieldEnum.FlightPlaceholderField
extends Enum<FlightPlaceholderFieldEnum.FlightPlaceholderField>
implements com.google.protobuf.ProtocolMessageEnum
Possible values for Flight placeholder fields.Protobuf enum
google.ads.googleads.v18.enums.FlightPlaceholderFieldEnum.FlightPlaceholderField-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionData Type: STRING.Data Type: STRING.Data Type: STRING.Data Type: URL_LIST.Data Type: URL_LIST.Data Type: STRING.Data Type: STRING.Data Type: STRING.Data Type: STRING.Data Type: STRING.Data Type: URL.Data Type: STRING.Data Type: INT64.Data Type: STRING.Data Type: STRING.Data Type: STRING_LIST.Data Type: URL.Used for return value only.Not specified. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intData Type: STRING.static final intData Type: STRING.static final intData Type: STRING.static final intData Type: URL_LIST.static final intData Type: URL_LIST.static final intData Type: STRING.static final intData Type: STRING.static final intData Type: STRING.static final intData Type: STRING.static final intData Type: STRING.static final intData Type: URL.static final intData Type: STRING.static final intData Type: INT64.static final intData Type: STRING.static final intData Type: STRING.static final intData Type: STRING_LIST.static final intData Type: URL.static final intUsed for return value only.static final intNot specified. -
Method Summary
Modifier and TypeMethodDescriptionforNumber(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<FlightPlaceholderFieldEnum.FlightPlaceholderField>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.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; -
DESTINATION_ID
Data Type: STRING. Required. Destination id. Example: PAR, LON. For feed items that only have destination id, destination id must be a unique key. For feed items that have both destination id and origin id, then the combination must be a unique key.
DESTINATION_ID = 2; -
ORIGIN_ID
Data Type: STRING. Origin id. Example: PAR, LON. Optional. Combination of destination id and origin id must be unique per offer.
ORIGIN_ID = 3; -
FLIGHT_DESCRIPTION
Data Type: STRING. Required. Main headline with product name to be shown in dynamic ad.
FLIGHT_DESCRIPTION = 4; -
ORIGIN_NAME
Data Type: STRING. Shorter names are recommended.
ORIGIN_NAME = 5; -
DESTINATION_NAME
Data Type: STRING. Shorter names are recommended.
DESTINATION_NAME = 6; -
FLIGHT_PRICE
Data Type: STRING. Price to be shown in the ad. Example: "100.00 USD"
FLIGHT_PRICE = 7; -
FORMATTED_PRICE
Data Type: STRING. Formatted price to be shown in the ad. Example: "Starting at $100.00 USD", "$80 - $100"
FORMATTED_PRICE = 8; -
FLIGHT_SALE_PRICE
Data Type: STRING. Sale price to be shown in the ad. Example: "80.00 USD"
FLIGHT_SALE_PRICE = 9; -
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
Data Type: URL. Image to be displayed in the ad.
IMAGE_URL = 11; -
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 = 12; -
FINAL_MOBILE_URLS
Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded URLs.
FINAL_MOBILE_URLS = 13; -
TRACKING_URL
Data Type: URL. Tracking template for the ad when using Upgraded URLs.
TRACKING_URL = 14; -
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 = 15; -
SIMILAR_DESTINATION_IDS
Data Type: STRING_LIST. List of recommended destination IDs to show together with this item.
SIMILAR_DESTINATION_IDS = 16; -
IOS_APP_LINK
Data Type: STRING. iOS app link.
IOS_APP_LINK = 17; -
IOS_APP_STORE_ID
Data Type: INT64. iOS app store ID.
IOS_APP_STORE_ID = 18; -
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:
-
DESTINATION_ID_VALUE
public static final int DESTINATION_ID_VALUEData Type: STRING. Required. Destination id. Example: PAR, LON. For feed items that only have destination id, destination id must be a unique key. For feed items that have both destination id and origin id, then the combination must be a unique key.
DESTINATION_ID = 2;- See Also:
-
ORIGIN_ID_VALUE
public static final int ORIGIN_ID_VALUEData Type: STRING. Origin id. Example: PAR, LON. Optional. Combination of destination id and origin id must be unique per offer.
ORIGIN_ID = 3;- See Also:
-
FLIGHT_DESCRIPTION_VALUE
public static final int FLIGHT_DESCRIPTION_VALUEData Type: STRING. Required. Main headline with product name to be shown in dynamic ad.
FLIGHT_DESCRIPTION = 4;- See Also:
-
ORIGIN_NAME_VALUE
public static final int ORIGIN_NAME_VALUEData Type: STRING. Shorter names are recommended.
ORIGIN_NAME = 5;- See Also:
-
DESTINATION_NAME_VALUE
public static final int DESTINATION_NAME_VALUEData Type: STRING. Shorter names are recommended.
DESTINATION_NAME = 6;- See Also:
-
FLIGHT_PRICE_VALUE
public static final int FLIGHT_PRICE_VALUEData Type: STRING. Price to be shown in the ad. Example: "100.00 USD"
FLIGHT_PRICE = 7;- See Also:
-
FORMATTED_PRICE_VALUE
public static final int FORMATTED_PRICE_VALUEData Type: STRING. Formatted price to be shown in the ad. Example: "Starting at $100.00 USD", "$80 - $100"
FORMATTED_PRICE = 8;- See Also:
-
FLIGHT_SALE_PRICE_VALUE
public static final int FLIGHT_SALE_PRICE_VALUEData Type: STRING. Sale price to be shown in the ad. Example: "80.00 USD"
FLIGHT_SALE_PRICE = 9;- See Also:
-
FORMATTED_SALE_PRICE_VALUE
public static final int FORMATTED_SALE_PRICE_VALUEData 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:
-
IMAGE_URL_VALUE
public static final int IMAGE_URL_VALUEData Type: URL. Image to be displayed in the ad.
IMAGE_URL = 11;- See Also:
-
FINAL_URLS_VALUE
public static final int FINAL_URLS_VALUEData 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 = 12;- See Also:
-
FINAL_MOBILE_URLS_VALUE
public static final int FINAL_MOBILE_URLS_VALUEData Type: URL_LIST. Final mobile URLs for the ad when using Upgraded URLs.
FINAL_MOBILE_URLS = 13;- See Also:
-
TRACKING_URL_VALUE
public static final int TRACKING_URL_VALUEData Type: URL. Tracking template for the ad when using Upgraded URLs.
TRACKING_URL = 14;- See Also:
-
ANDROID_APP_LINK_VALUE
public static final int ANDROID_APP_LINK_VALUEData 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 = 15;- See Also:
-
SIMILAR_DESTINATION_IDS_VALUE
public static final int SIMILAR_DESTINATION_IDS_VALUEData Type: STRING_LIST. List of recommended destination IDs to show together with this item.
SIMILAR_DESTINATION_IDS = 16;- See Also:
-
IOS_APP_LINK_VALUE
public static final int IOS_APP_LINK_VALUEData Type: STRING. iOS app link.
IOS_APP_LINK = 17;- See Also:
-
IOS_APP_STORE_ID_VALUE
public static final int IOS_APP_STORE_ID_VALUEData Type: INT64. iOS app store ID.
IOS_APP_STORE_ID = 18;- 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<FlightPlaceholderFieldEnum.FlightPlaceholderField> 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 FlightPlaceholderFieldEnum.FlightPlaceholderField 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
-