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 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, e.g. Book your train ticket. Required.
         
        string title = 3 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The title.
      • getTitleBytes

        com.google.protobuf.ByteString getTitleBytes()
         Required. Title, e.g. 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, e.g. Paris.
         
        string destination_name = 4;
        Returns:
        The destinationName.
      • getDestinationNameBytes

        com.google.protobuf.ByteString getDestinationNameBytes()
         Destination name, e.g. 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, e.g. Mountain View, CA, USA.
         (2) Full address, e.g. 123 Boulevard St, Mountain View, CA 94043.
         (3) Latitude-longitude in the DDD format, e.g. 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, e.g. Mountain View, CA, USA.
         (2) Full address, e.g. 123 Boulevard St, Mountain View, CA 94043.
         (3) Latitude-longitude in the DDD format, e.g. 41.40338, 2.17403.
         
        string destination_address = 5;
        Returns:
        The bytes for destinationAddress.
      • getOriginName

        java.lang.String getOriginName()
         Origin name, e.g. London.
         
        string origin_name = 6;
        Returns:
        The originName.
      • getOriginNameBytes

        com.google.protobuf.ByteString getOriginNameBytes()
         Origin name, e.g. 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. e.g. 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. e.g. 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, e.g. 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, e.g. 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', e.g. 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', e.g. 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', e.g. 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', e.g. On sale for $80.00.
         
        string formatted_sale_price = 10;
        Returns:
        The bytes for formattedSalePrice.
      • getCategory

        java.lang.String getCategory()
         Category, e.g. Express.
         
        string category = 11;
        Returns:
        The category.
      • getCategoryBytes

        com.google.protobuf.ByteString getCategoryBytes()
         Category, e.g. Express.
         
        string category = 11;
        Returns:
        The bytes for category.
      • getContextualKeywordsList

        java.util.List<java.lang.String> getContextualKeywordsList()
         Contextual keywords, e.g. Paris trains.
         
        repeated string contextual_keywords = 12;
        Returns:
        A list containing the contextualKeywords.
      • getContextualKeywordsCount

        int getContextualKeywordsCount()
         Contextual keywords, e.g. Paris trains.
         
        repeated string contextual_keywords = 12;
        Returns:
        The count of contextualKeywords.
      • getContextualKeywords

        java.lang.String getContextualKeywords​(int index)
         Contextual keywords, e.g. 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, e.g. 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, e.g. NYC.
         
        repeated string similar_destination_ids = 13;
        Returns:
        A list containing the similarDestinationIds.
      • getSimilarDestinationIdsCount

        int getSimilarDestinationIdsCount()
         Similar destination IDs, e.g. NYC.
         
        repeated string similar_destination_ids = 13;
        Returns:
        The count of similarDestinationIds.
      • getSimilarDestinationIds

        java.lang.String getSimilarDestinationIds​(int index)
         Similar destination IDs, e.g. 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, e.g. 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, e.g. 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, e.g. 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, e.g.
         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, e.g.
         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, e.g. exampleApp://content/page.
         
        string ios_app_link = 16;
        Returns:
        The iosAppLink.
      • getIosAppLinkBytes

        com.google.protobuf.ByteString getIosAppLinkBytes()
         iOS deep link, e.g. 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.