Class DynamicTravelAsset

  • All Implemented Interfaces:
    DynamicTravelAssetOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, java.io.Serializable

    public final class DynamicTravelAsset
    extends com.google.protobuf.GeneratedMessageV3
    implements DynamicTravelAssetOrBuilder
     A dynamic travel asset.
     
    Protobuf type google.ads.googleads.v15.common.DynamicTravelAsset
    See Also:
    Serialized Form
    • Field Detail

      • DESTINATION_ID_FIELD_NUMBER

        public static final int DESTINATION_ID_FIELD_NUMBER
        See Also:
        Constant Field Values
      • DESTINATION_NAME_FIELD_NUMBER

        public static final int DESTINATION_NAME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • DESTINATION_ADDRESS_FIELD_NUMBER

        public static final int DESTINATION_ADDRESS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ORIGIN_NAME_FIELD_NUMBER

        public static final int ORIGIN_NAME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SALE_PRICE_FIELD_NUMBER

        public static final int SALE_PRICE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • FORMATTED_PRICE_FIELD_NUMBER

        public static final int FORMATTED_PRICE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • FORMATTED_SALE_PRICE_FIELD_NUMBER

        public static final int FORMATTED_SALE_PRICE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CONTEXTUAL_KEYWORDS_FIELD_NUMBER

        public static final int CONTEXTUAL_KEYWORDS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SIMILAR_DESTINATION_IDS_FIELD_NUMBER

        public static final int SIMILAR_DESTINATION_IDS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ANDROID_APP_LINK_FIELD_NUMBER

        public static final int ANDROID_APP_LINK_FIELD_NUMBER
        See Also:
        Constant Field Values
      • IOS_APP_LINK_FIELD_NUMBER

        public static final int IOS_APP_LINK_FIELD_NUMBER
        See Also:
        Constant Field Values
      • IOS_APP_STORE_ID_FIELD_NUMBER

        public static final int IOS_APP_STORE_ID_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected java.lang.Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • getDestinationId

        public 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];
        Specified by:
        getDestinationId in interface DynamicTravelAssetOrBuilder
        Returns:
        The destinationId.
      • getDestinationIdBytes

        public 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];
        Specified by:
        getDestinationIdBytes in interface DynamicTravelAssetOrBuilder
        Returns:
        The bytes for destinationId.
      • getOriginId

        public 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;
        Specified by:
        getOriginId in interface DynamicTravelAssetOrBuilder
        Returns:
        The originId.
      • getOriginIdBytes

        public 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;
        Specified by:
        getOriginIdBytes in interface DynamicTravelAssetOrBuilder
        Returns:
        The bytes for originId.
      • getTitle

        public java.lang.String getTitle()
         Required. Title, for example, Book your train ticket. Required.
         
        string title = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getTitle in interface DynamicTravelAssetOrBuilder
        Returns:
        The title.
      • getTitleBytes

        public com.google.protobuf.ByteString getTitleBytes()
         Required. Title, for example, Book your train ticket. Required.
         
        string title = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getTitleBytes in interface DynamicTravelAssetOrBuilder
        Returns:
        The bytes for title.
      • getDestinationName

        public java.lang.String getDestinationName()
         Destination name, for example, Paris.
         
        string destination_name = 4;
        Specified by:
        getDestinationName in interface DynamicTravelAssetOrBuilder
        Returns:
        The destinationName.
      • getDestinationNameBytes

        public com.google.protobuf.ByteString getDestinationNameBytes()
         Destination name, for example, Paris.
         
        string destination_name = 4;
        Specified by:
        getDestinationNameBytes in interface DynamicTravelAssetOrBuilder
        Returns:
        The bytes for destinationName.
      • getDestinationAddress

        public 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;
        Specified by:
        getDestinationAddress in interface DynamicTravelAssetOrBuilder
        Returns:
        The destinationAddress.
      • getDestinationAddressBytes

        public 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;
        Specified by:
        getDestinationAddressBytes in interface DynamicTravelAssetOrBuilder
        Returns:
        The bytes for destinationAddress.
      • getOriginName

        public java.lang.String getOriginName()
         Origin name, for example, London.
         
        string origin_name = 6;
        Specified by:
        getOriginName in interface DynamicTravelAssetOrBuilder
        Returns:
        The originName.
      • getOriginNameBytes

        public com.google.protobuf.ByteString getOriginNameBytes()
         Origin name, for example, London.
         
        string origin_name = 6;
        Specified by:
        getOriginNameBytes in interface DynamicTravelAssetOrBuilder
        Returns:
        The bytes for originName.
      • getPrice

        public 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;
        Specified by:
        getPrice in interface DynamicTravelAssetOrBuilder
        Returns:
        The price.
      • getPriceBytes

        public 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;
        Specified by:
        getPriceBytes in interface DynamicTravelAssetOrBuilder
        Returns:
        The bytes for price.
      • getSalePrice

        public 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;
        Specified by:
        getSalePrice in interface DynamicTravelAssetOrBuilder
        Returns:
        The salePrice.
      • getSalePriceBytes

        public 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;
        Specified by:
        getSalePriceBytes in interface DynamicTravelAssetOrBuilder
        Returns:
        The bytes for salePrice.
      • getFormattedPrice

        public 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;
        Specified by:
        getFormattedPrice in interface DynamicTravelAssetOrBuilder
        Returns:
        The formattedPrice.
      • getFormattedPriceBytes

        public 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;
        Specified by:
        getFormattedPriceBytes in interface DynamicTravelAssetOrBuilder
        Returns:
        The bytes for formattedPrice.
      • getFormattedSalePrice

        public 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;
        Specified by:
        getFormattedSalePrice in interface DynamicTravelAssetOrBuilder
        Returns:
        The formattedSalePrice.
      • getFormattedSalePriceBytes

        public 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;
        Specified by:
        getFormattedSalePriceBytes in interface DynamicTravelAssetOrBuilder
        Returns:
        The bytes for formattedSalePrice.
      • getCategory

        public java.lang.String getCategory()
         Category, for example, Express.
         
        string category = 11;
        Specified by:
        getCategory in interface DynamicTravelAssetOrBuilder
        Returns:
        The category.
      • getCategoryBytes

        public com.google.protobuf.ByteString getCategoryBytes()
         Category, for example, Express.
         
        string category = 11;
        Specified by:
        getCategoryBytes in interface DynamicTravelAssetOrBuilder
        Returns:
        The bytes for category.
      • getContextualKeywordsList

        public com.google.protobuf.ProtocolStringList getContextualKeywordsList()
         Contextual keywords, for example, Paris trains.
         
        repeated string contextual_keywords = 12;
        Specified by:
        getContextualKeywordsList in interface DynamicTravelAssetOrBuilder
        Returns:
        A list containing the contextualKeywords.
      • getContextualKeywordsCount

        public int getContextualKeywordsCount()
         Contextual keywords, for example, Paris trains.
         
        repeated string contextual_keywords = 12;
        Specified by:
        getContextualKeywordsCount in interface DynamicTravelAssetOrBuilder
        Returns:
        The count of contextualKeywords.
      • getContextualKeywords

        public java.lang.String getContextualKeywords​(int index)
         Contextual keywords, for example, Paris trains.
         
        repeated string contextual_keywords = 12;
        Specified by:
        getContextualKeywords in interface DynamicTravelAssetOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The contextualKeywords at the given index.
      • getContextualKeywordsBytes

        public com.google.protobuf.ByteString getContextualKeywordsBytes​(int index)
         Contextual keywords, for example, Paris trains.
         
        repeated string contextual_keywords = 12;
        Specified by:
        getContextualKeywordsBytes in interface DynamicTravelAssetOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the contextualKeywords at the given index.
      • getSimilarDestinationIdsList

        public com.google.protobuf.ProtocolStringList getSimilarDestinationIdsList()
         Similar destination IDs, for example, NYC.
         
        repeated string similar_destination_ids = 13;
        Specified by:
        getSimilarDestinationIdsList in interface DynamicTravelAssetOrBuilder
        Returns:
        A list containing the similarDestinationIds.
      • getSimilarDestinationIdsCount

        public int getSimilarDestinationIdsCount()
         Similar destination IDs, for example, NYC.
         
        repeated string similar_destination_ids = 13;
        Specified by:
        getSimilarDestinationIdsCount in interface DynamicTravelAssetOrBuilder
        Returns:
        The count of similarDestinationIds.
      • getSimilarDestinationIds

        public java.lang.String getSimilarDestinationIds​(int index)
         Similar destination IDs, for example, NYC.
         
        repeated string similar_destination_ids = 13;
        Specified by:
        getSimilarDestinationIds in interface DynamicTravelAssetOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The similarDestinationIds at the given index.
      • getSimilarDestinationIdsBytes

        public com.google.protobuf.ByteString getSimilarDestinationIdsBytes​(int index)
         Similar destination IDs, for example, NYC.
         
        repeated string similar_destination_ids = 13;
        Specified by:
        getSimilarDestinationIdsBytes in interface DynamicTravelAssetOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the similarDestinationIds at the given index.
      • getImageUrl

        public 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;
        Specified by:
        getImageUrl in interface DynamicTravelAssetOrBuilder
        Returns:
        The imageUrl.
      • getImageUrlBytes

        public 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;
        Specified by:
        getImageUrlBytes in interface DynamicTravelAssetOrBuilder
        Returns:
        The bytes for imageUrl.
      • getAndroidAppLink

        public java.lang.String getAndroidAppLink()
         Android deep link, for example,
         android-app://com.example.android/http/example.com/gizmos?1234.
         
        string android_app_link = 15;
        Specified by:
        getAndroidAppLink in interface DynamicTravelAssetOrBuilder
        Returns:
        The androidAppLink.
      • getAndroidAppLinkBytes

        public 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;
        Specified by:
        getAndroidAppLinkBytes in interface DynamicTravelAssetOrBuilder
        Returns:
        The bytes for androidAppLink.
      • getIosAppLink

        public java.lang.String getIosAppLink()
         iOS deep link, for example, exampleApp://content/page.
         
        string ios_app_link = 16;
        Specified by:
        getIosAppLink in interface DynamicTravelAssetOrBuilder
        Returns:
        The iosAppLink.
      • getIosAppLinkBytes

        public com.google.protobuf.ByteString getIosAppLinkBytes()
         iOS deep link, for example, exampleApp://content/page.
         
        string ios_app_link = 16;
        Specified by:
        getIosAppLinkBytes in interface DynamicTravelAssetOrBuilder
        Returns:
        The bytes for iosAppLink.
      • getIosAppStoreId

        public 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;
        Specified by:
        getIosAppStoreId in interface DynamicTravelAssetOrBuilder
        Returns:
        The iosAppStoreId.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws java.io.IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        java.io.IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(java.lang.Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static DynamicTravelAsset parseFrom​(java.nio.ByteBuffer data)
                                            throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static DynamicTravelAsset parseFrom​(java.nio.ByteBuffer data,
                                                   com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                            throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static DynamicTravelAsset parseFrom​(com.google.protobuf.ByteString data)
                                            throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static DynamicTravelAsset parseFrom​(com.google.protobuf.ByteString data,
                                                   com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                            throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static DynamicTravelAsset parseFrom​(byte[] data)
                                            throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static DynamicTravelAsset parseFrom​(byte[] data,
                                                   com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                            throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static DynamicTravelAsset parseFrom​(java.io.InputStream input)
                                            throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static DynamicTravelAsset parseFrom​(java.io.InputStream input,
                                                   com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                            throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static DynamicTravelAsset parseDelimitedFrom​(java.io.InputStream input)
                                                     throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static DynamicTravelAsset parseDelimitedFrom​(java.io.InputStream input,
                                                            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                     throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static DynamicTravelAsset parseFrom​(com.google.protobuf.CodedInputStream input)
                                            throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static DynamicTravelAsset parseFrom​(com.google.protobuf.CodedInputStream input,
                                                   com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                            throws java.io.IOException
        Throws:
        java.io.IOException
      • newBuilderForType

        public DynamicTravelAsset.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public DynamicTravelAsset.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected DynamicTravelAsset.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<DynamicTravelAsset> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public DynamicTravelAsset getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder