Interface DynamicTravelAssetOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DynamicTravelAsset,DynamicTravelAsset.Builder
public interface DynamicTravelAssetOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetAndroidAppLink()Android deep link, for example, android-app://com.example.android/http/example.com/gizmos?1234.com.google.protobuf.ByteStringgetAndroidAppLinkBytes()Android deep link, for example, android-app://com.example.android/http/example.com/gizmos?1234.java.lang.StringgetCategory()Category, for example, Express.com.google.protobuf.ByteStringgetCategoryBytes()Category, for example, Express.java.lang.StringgetContextualKeywords(int index)Contextual keywords, for example, Paris trains.com.google.protobuf.ByteStringgetContextualKeywordsBytes(int index)Contextual keywords, for example, Paris trains.intgetContextualKeywordsCount()Contextual keywords, for example, Paris trains.java.util.List<java.lang.String>getContextualKeywordsList()Contextual keywords, for example, Paris trains.java.lang.StringgetDestinationAddress()Destination address which can be specified in one of the following formats.com.google.protobuf.ByteStringgetDestinationAddressBytes()Destination address which can be specified in one of the following formats.java.lang.StringgetDestinationId()Required.com.google.protobuf.ByteStringgetDestinationIdBytes()Required.java.lang.StringgetDestinationName()Destination name, for example, Paris.com.google.protobuf.ByteStringgetDestinationNameBytes()Destination name, for example, Paris.java.lang.StringgetFormattedPrice()Formatted price which can be any characters.com.google.protobuf.ByteStringgetFormattedPriceBytes()Formatted price which can be any characters.java.lang.StringgetFormattedSalePrice()Formatted sale price which can be any characters.com.google.protobuf.ByteStringgetFormattedSalePriceBytes()Formatted sale price which can be any characters.java.lang.StringgetImageUrl()Image URL, for example, http://www.example.com/image.png.com.google.protobuf.ByteStringgetImageUrlBytes()Image URL, for example, http://www.example.com/image.png.java.lang.StringgetIosAppLink()iOS deep link, for example, exampleApp://content/page.com.google.protobuf.ByteStringgetIosAppLinkBytes()iOS deep link, for example, exampleApp://content/page.longgetIosAppStoreId()iOS app store ID.java.lang.StringgetOriginId()Origin ID which can be any sequence of letters and digits.com.google.protobuf.ByteStringgetOriginIdBytes()Origin ID which can be any sequence of letters and digits.java.lang.StringgetOriginName()Origin name, for example, London.com.google.protobuf.ByteStringgetOriginNameBytes()Origin name, for example, London.java.lang.StringgetPrice()Price which can be a number followed by the alphabetic currency code, ISO 4217 standard.com.google.protobuf.ByteStringgetPriceBytes()Price which can be a number followed by the alphabetic currency code, ISO 4217 standard.java.lang.StringgetSalePrice()Sale price which can be a number followed by the alphabetic currency code, ISO 4217 standard.com.google.protobuf.ByteStringgetSalePriceBytes()Sale price which can be a number followed by the alphabetic currency code, ISO 4217 standard.java.lang.StringgetSimilarDestinationIds(int index)Similar destination IDs, for example, NYC.com.google.protobuf.ByteStringgetSimilarDestinationIdsBytes(int index)Similar destination IDs, for example, NYC.intgetSimilarDestinationIdsCount()Similar destination IDs, for example, NYC.java.util.List<java.lang.String>getSimilarDestinationIdsList()Similar destination IDs, for example, NYC.java.lang.StringgetTitle()Required.com.google.protobuf.ByteStringgetTitleBytes()Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getDestinationId
java.lang.String getDestinationId()
Required. Destination ID which can be any sequence of letters and digits, and must be unique and match the values of remarketing tag. Required.
string destination_id = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The destinationId.
-
getDestinationIdBytes
com.google.protobuf.ByteString getDestinationIdBytes()
Required. Destination ID which can be any sequence of letters and digits, and must be unique and match the values of remarketing tag. Required.
string destination_id = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for destinationId.
-
getOriginId
java.lang.String getOriginId()
Origin ID which can be any sequence of letters and digits. The ID sequence (destination ID + origin ID) must be unique.
string origin_id = 2;- Returns:
- The originId.
-
getOriginIdBytes
com.google.protobuf.ByteString getOriginIdBytes()
Origin ID which can be any sequence of letters and digits. The ID sequence (destination ID + origin ID) must be unique.
string origin_id = 2;- Returns:
- The bytes for originId.
-
getTitle
java.lang.String getTitle()
Required. Title, for example, Book your train ticket. Required.
string title = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The title.
-
getTitleBytes
com.google.protobuf.ByteString getTitleBytes()
Required. Title, for example, Book your train ticket. Required.
string title = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for title.
-
getDestinationName
java.lang.String getDestinationName()
Destination name, for example, Paris.
string destination_name = 4;- Returns:
- The destinationName.
-
getDestinationNameBytes
com.google.protobuf.ByteString getDestinationNameBytes()
Destination name, for example, Paris.
string destination_name = 4;- Returns:
- The bytes for destinationName.
-
getDestinationAddress
java.lang.String getDestinationAddress()
Destination address which can be specified in one of the following formats. (1) City, state, code, country, for example, Mountain View, CA, USA. (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043. (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403.
string destination_address = 5;- Returns:
- The destinationAddress.
-
getDestinationAddressBytes
com.google.protobuf.ByteString getDestinationAddressBytes()
Destination address which can be specified in one of the following formats. (1) City, state, code, country, for example, Mountain View, CA, USA. (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043. (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403.
string destination_address = 5;- Returns:
- The bytes for destinationAddress.
-
getOriginName
java.lang.String getOriginName()
Origin name, for example, London.
string origin_name = 6;- Returns:
- The originName.
-
getOriginNameBytes
com.google.protobuf.ByteString getOriginNameBytes()
Origin name, for example, London.
string origin_name = 6;- Returns:
- The bytes for originName.
-
getPrice
java.lang.String getPrice()
Price which can be a number followed by the alphabetic currency code, ISO 4217 standard. Use '.' as the decimal mark, for example, 100.00 USD.
string price = 7;- Returns:
- The price.
-
getPriceBytes
com.google.protobuf.ByteString getPriceBytes()
Price which can be a number followed by the alphabetic currency code, ISO 4217 standard. Use '.' as the decimal mark, for example, 100.00 USD.
string price = 7;- Returns:
- The bytes for price.
-
getSalePrice
java.lang.String getSalePrice()
Sale price which can be a number followed by the alphabetic currency code, ISO 4217 standard. Use '.' as the decimal mark, for example, 80.00 USD. Must be less than the 'price' field.
string sale_price = 8;- Returns:
- The salePrice.
-
getSalePriceBytes
com.google.protobuf.ByteString getSalePriceBytes()
Sale price which can be a number followed by the alphabetic currency code, ISO 4217 standard. Use '.' as the decimal mark, for example, 80.00 USD. Must be less than the 'price' field.
string sale_price = 8;- Returns:
- The bytes for salePrice.
-
getFormattedPrice
java.lang.String getFormattedPrice()
Formatted price which can be any characters. If set, this attribute will be used instead of 'price', for example, Starting at $100.00.
string formatted_price = 9;- Returns:
- The formattedPrice.
-
getFormattedPriceBytes
com.google.protobuf.ByteString getFormattedPriceBytes()
Formatted price which can be any characters. If set, this attribute will be used instead of 'price', for example, Starting at $100.00.
string formatted_price = 9;- Returns:
- The bytes for formattedPrice.
-
getFormattedSalePrice
java.lang.String getFormattedSalePrice()
Formatted sale price which can be any characters. If set, this attribute will be used instead of 'sale price', for example, On sale for $80.00.
string formatted_sale_price = 10;- Returns:
- The formattedSalePrice.
-
getFormattedSalePriceBytes
com.google.protobuf.ByteString getFormattedSalePriceBytes()
Formatted sale price which can be any characters. If set, this attribute will be used instead of 'sale price', for example, On sale for $80.00.
string formatted_sale_price = 10;- Returns:
- The bytes for formattedSalePrice.
-
getCategory
java.lang.String getCategory()
Category, for example, Express.
string category = 11;- Returns:
- The category.
-
getCategoryBytes
com.google.protobuf.ByteString getCategoryBytes()
Category, for example, Express.
string category = 11;- Returns:
- The bytes for category.
-
getContextualKeywordsList
java.util.List<java.lang.String> getContextualKeywordsList()
Contextual keywords, for example, Paris trains.
repeated string contextual_keywords = 12;- Returns:
- A list containing the contextualKeywords.
-
getContextualKeywordsCount
int getContextualKeywordsCount()
Contextual keywords, for example, Paris trains.
repeated string contextual_keywords = 12;- Returns:
- The count of contextualKeywords.
-
getContextualKeywords
java.lang.String getContextualKeywords(int index)
Contextual keywords, for example, Paris trains.
repeated string contextual_keywords = 12;- Parameters:
index- The index of the element to return.- Returns:
- The contextualKeywords at the given index.
-
getContextualKeywordsBytes
com.google.protobuf.ByteString getContextualKeywordsBytes(int index)
Contextual keywords, for example, Paris trains.
repeated string contextual_keywords = 12;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the contextualKeywords at the given index.
-
getSimilarDestinationIdsList
java.util.List<java.lang.String> getSimilarDestinationIdsList()
Similar destination IDs, for example, NYC.
repeated string similar_destination_ids = 13;- Returns:
- A list containing the similarDestinationIds.
-
getSimilarDestinationIdsCount
int getSimilarDestinationIdsCount()
Similar destination IDs, for example, NYC.
repeated string similar_destination_ids = 13;- Returns:
- The count of similarDestinationIds.
-
getSimilarDestinationIds
java.lang.String getSimilarDestinationIds(int index)
Similar destination IDs, for example, NYC.
repeated string similar_destination_ids = 13;- Parameters:
index- The index of the element to return.- Returns:
- The similarDestinationIds at the given index.
-
getSimilarDestinationIdsBytes
com.google.protobuf.ByteString getSimilarDestinationIdsBytes(int index)
Similar destination IDs, for example, NYC.
repeated string similar_destination_ids = 13;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the similarDestinationIds at the given index.
-
getImageUrl
java.lang.String getImageUrl()
Image URL, for example, http://www.example.com/image.png. The image will not be uploaded as image asset.
string image_url = 14;- Returns:
- The imageUrl.
-
getImageUrlBytes
com.google.protobuf.ByteString getImageUrlBytes()
Image URL, for example, http://www.example.com/image.png. The image will not be uploaded as image asset.
string image_url = 14;- Returns:
- The bytes for imageUrl.
-
getAndroidAppLink
java.lang.String getAndroidAppLink()
Android deep link, for example, android-app://com.example.android/http/example.com/gizmos?1234.
string android_app_link = 15;- Returns:
- The androidAppLink.
-
getAndroidAppLinkBytes
com.google.protobuf.ByteString getAndroidAppLinkBytes()
Android deep link, for example, android-app://com.example.android/http/example.com/gizmos?1234.
string android_app_link = 15;- Returns:
- The bytes for androidAppLink.
-
getIosAppLink
java.lang.String getIosAppLink()
iOS deep link, for example, exampleApp://content/page.
string ios_app_link = 16;- Returns:
- The iosAppLink.
-
getIosAppLinkBytes
com.google.protobuf.ByteString getIosAppLinkBytes()
iOS deep link, for example, exampleApp://content/page.
string ios_app_link = 16;- Returns:
- The bytes for iosAppLink.
-
getIosAppStoreId
long getIosAppStoreId()
iOS app store ID. This is used to check if the user has the app installed on their device before deep linking. If this field is set, then the ios_app_link field must also be present.
int64 ios_app_store_id = 17;- Returns:
- The iosAppStoreId.
-
-