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
Modifier and TypeMethodDescriptionAndroid deep link, for example, android-app://com.example.android/http/example.com/gizmos?1234.com.google.protobuf.ByteStringAndroid deep link, for example, android-app://com.example.android/http/example.com/gizmos?1234.Category, for example, Express.com.google.protobuf.ByteStringCategory, for example, Express.getContextualKeywords(int index) Contextual keywords, for example, Paris trains.com.google.protobuf.ByteStringgetContextualKeywordsBytes(int index) Contextual keywords, for example, Paris trains.intContextual keywords, for example, Paris trains.Contextual keywords, for example, Paris trains.Destination address which can be specified in one of the following formats.com.google.protobuf.ByteStringDestination address which can be specified in one of the following formats.Required.com.google.protobuf.ByteStringRequired.Destination name, for example, Paris.com.google.protobuf.ByteStringDestination name, for example, Paris.Formatted price which can be any characters.com.google.protobuf.ByteStringFormatted price which can be any characters.Formatted sale price which can be any characters.com.google.protobuf.ByteStringFormatted sale price which can be any characters.Image URL, for example, http://www.example.com/image.png.com.google.protobuf.ByteStringImage URL, for example, http://www.example.com/image.png.iOS deep link, for example, exampleApp://content/page.com.google.protobuf.ByteStringiOS deep link, for example, exampleApp://content/page.longiOS app store ID.Origin ID which can be any sequence of letters and digits.com.google.protobuf.ByteStringOrigin ID which can be any sequence of letters and digits.Origin name, for example, London.com.google.protobuf.ByteStringOrigin name, for example, London.getPrice()Price which can be a number followed by the alphabetic currency code, ISO 4217 standard.com.google.protobuf.ByteStringPrice which can be a number followed by the alphabetic currency code, ISO 4217 standard.Sale price which can be a number followed by the alphabetic currency code, ISO 4217 standard.com.google.protobuf.ByteStringSale price which can be a number followed by the alphabetic currency code, ISO 4217 standard.getSimilarDestinationIds(int index) Similar destination IDs, for example, NYC.com.google.protobuf.ByteStringgetSimilarDestinationIdsBytes(int index) Similar destination IDs, for example, NYC.intSimilar destination IDs, for example, NYC.Similar destination IDs, for example, NYC.getTitle()Required.com.google.protobuf.ByteStringRequired.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDestinationId
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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.
-