Class DynamicLocalAsset

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

    public final class DynamicLocalAsset
    extends com.google.protobuf.GeneratedMessageV3
    implements DynamicLocalAssetOrBuilder
     A dynamic local asset.
     
    Protobuf type google.ads.googleads.v10.common.DynamicLocalAsset
    See Also:
    Serialized Form
    • Method Detail

      • newInstance

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

        public final com.google.protobuf.UnknownFieldSet getUnknownFields()
        Specified by:
        getUnknownFields in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getUnknownFields 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
      • getDealId

        public java.lang.String getDealId()
         Required. Deal ID which can be any sequence of letters and digits, and must be
         unique and match the values of remarketing tag. Required.
         
        string deal_id = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getDealId in interface DynamicLocalAssetOrBuilder
        Returns:
        The dealId.
      • getDealIdBytes

        public com.google.protobuf.ByteString getDealIdBytes()
         Required. Deal ID which can be any sequence of letters and digits, and must be
         unique and match the values of remarketing tag. Required.
         
        string deal_id = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getDealIdBytes in interface DynamicLocalAssetOrBuilder
        Returns:
        The bytes for dealId.
      • getDealName

        public java.lang.String getDealName()
         Required. Deal name, e.g. 50% off at Mountain View Grocers. Required.
         
        string deal_name = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getDealName in interface DynamicLocalAssetOrBuilder
        Returns:
        The dealName.
      • getDealNameBytes

        public com.google.protobuf.ByteString getDealNameBytes()
         Required. Deal name, e.g. 50% off at Mountain View Grocers. Required.
         
        string deal_name = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getDealNameBytes in interface DynamicLocalAssetOrBuilder
        Returns:
        The bytes for dealName.
      • getSubtitle

        public java.lang.String getSubtitle()
         Subtitle, e.g. Groceries.
         
        string subtitle = 3;
        Specified by:
        getSubtitle in interface DynamicLocalAssetOrBuilder
        Returns:
        The subtitle.
      • getSubtitleBytes

        public com.google.protobuf.ByteString getSubtitleBytes()
         Subtitle, e.g. Groceries.
         
        string subtitle = 3;
        Specified by:
        getSubtitleBytes in interface DynamicLocalAssetOrBuilder
        Returns:
        The bytes for subtitle.
      • getDescription

        public java.lang.String getDescription()
         Description, e.g. Save on your weekly bill.
         
        string description = 4;
        Specified by:
        getDescription in interface DynamicLocalAssetOrBuilder
        Returns:
        The description.
      • getDescriptionBytes

        public com.google.protobuf.ByteString getDescriptionBytes()
         Description, e.g. Save on your weekly bill.
         
        string description = 4;
        Specified by:
        getDescriptionBytes in interface DynamicLocalAssetOrBuilder
        Returns:
        The bytes for description.
      • 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, e.g. 100.00 USD.
         
        string price = 5;
        Specified by:
        getPrice in interface DynamicLocalAssetOrBuilder
        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, e.g. 100.00 USD.
         
        string price = 5;
        Specified by:
        getPriceBytes in interface DynamicLocalAssetOrBuilder
        Returns:
        The bytes for price.
      • getSalePrice

        public java.lang.String getSalePrice()
         Sale price which can be 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 = 6;
        Specified by:
        getSalePrice in interface DynamicLocalAssetOrBuilder
        Returns:
        The salePrice.
      • getSalePriceBytes

        public com.google.protobuf.ByteString getSalePriceBytes()
         Sale price which can be 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 = 6;
        Specified by:
        getSalePriceBytes in interface DynamicLocalAssetOrBuilder
        Returns:
        The bytes for salePrice.
      • getImageUrl

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

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

        public java.lang.String getAddress()
         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 address = 8;
        Specified by:
        getAddress in interface DynamicLocalAssetOrBuilder
        Returns:
        The address.
      • getAddressBytes

        public com.google.protobuf.ByteString getAddressBytes()
         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 address = 8;
        Specified by:
        getAddressBytes in interface DynamicLocalAssetOrBuilder
        Returns:
        The bytes for address.
      • getCategory

        public java.lang.String getCategory()
         Category, e.g. Food.
         
        string category = 9;
        Specified by:
        getCategory in interface DynamicLocalAssetOrBuilder
        Returns:
        The category.
      • getCategoryBytes

        public com.google.protobuf.ByteString getCategoryBytes()
         Category, e.g. Food.
         
        string category = 9;
        Specified by:
        getCategoryBytes in interface DynamicLocalAssetOrBuilder
        Returns:
        The bytes for category.
      • getContextualKeywordsList

        public com.google.protobuf.ProtocolStringList getContextualKeywordsList()
         Contextual keywords, e.g. Save groceries coupons.
         
        repeated string contextual_keywords = 10;
        Specified by:
        getContextualKeywordsList in interface DynamicLocalAssetOrBuilder
        Returns:
        A list containing the contextualKeywords.
      • getContextualKeywordsCount

        public int getContextualKeywordsCount()
         Contextual keywords, e.g. Save groceries coupons.
         
        repeated string contextual_keywords = 10;
        Specified by:
        getContextualKeywordsCount in interface DynamicLocalAssetOrBuilder
        Returns:
        The count of contextualKeywords.
      • getContextualKeywords

        public java.lang.String getContextualKeywords​(int index)
         Contextual keywords, e.g. Save groceries coupons.
         
        repeated string contextual_keywords = 10;
        Specified by:
        getContextualKeywords in interface DynamicLocalAssetOrBuilder
        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, e.g. Save groceries coupons.
         
        repeated string contextual_keywords = 10;
        Specified by:
        getContextualKeywordsBytes in interface DynamicLocalAssetOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the contextualKeywords at the given index.
      • getFormattedPrice

        public 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 = 11;
        Specified by:
        getFormattedPrice in interface DynamicLocalAssetOrBuilder
        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', e.g. Starting at $100.00.
         
        string formatted_price = 11;
        Specified by:
        getFormattedPriceBytes in interface DynamicLocalAssetOrBuilder
        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', e.g. On sale for $80.00.
         
        string formatted_sale_price = 12;
        Specified by:
        getFormattedSalePrice in interface DynamicLocalAssetOrBuilder
        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', e.g. On sale for $80.00.
         
        string formatted_sale_price = 12;
        Specified by:
        getFormattedSalePriceBytes in interface DynamicLocalAssetOrBuilder
        Returns:
        The bytes for formattedSalePrice.
      • getAndroidAppLink

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

        public com.google.protobuf.ByteString getAndroidAppLinkBytes()
         Android deep link, e.g.
         android-app://com.example.android/http/example.com/gizmos?1234.
         
        string android_app_link = 13;
        Specified by:
        getAndroidAppLinkBytes in interface DynamicLocalAssetOrBuilder
        Returns:
        The bytes for androidAppLink.
      • getSimilarDealIdsList

        public com.google.protobuf.ProtocolStringList getSimilarDealIdsList()
         Similar deal IDs, e.g. 1275.
         
        repeated string similar_deal_ids = 14;
        Specified by:
        getSimilarDealIdsList in interface DynamicLocalAssetOrBuilder
        Returns:
        A list containing the similarDealIds.
      • getSimilarDealIdsCount

        public int getSimilarDealIdsCount()
         Similar deal IDs, e.g. 1275.
         
        repeated string similar_deal_ids = 14;
        Specified by:
        getSimilarDealIdsCount in interface DynamicLocalAssetOrBuilder
        Returns:
        The count of similarDealIds.
      • getSimilarDealIds

        public java.lang.String getSimilarDealIds​(int index)
         Similar deal IDs, e.g. 1275.
         
        repeated string similar_deal_ids = 14;
        Specified by:
        getSimilarDealIds in interface DynamicLocalAssetOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The similarDealIds at the given index.
      • getSimilarDealIdsBytes

        public com.google.protobuf.ByteString getSimilarDealIdsBytes​(int index)
         Similar deal IDs, e.g. 1275.
         
        repeated string similar_deal_ids = 14;
        Specified by:
        getSimilarDealIdsBytes in interface DynamicLocalAssetOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the similarDealIds at the given index.
      • getIosAppLink

        public java.lang.String getIosAppLink()
         iOS deep link, e.g. exampleApp://content/page.
         
        string ios_app_link = 15;
        Specified by:
        getIosAppLink in interface DynamicLocalAssetOrBuilder
        Returns:
        The iosAppLink.
      • getIosAppLinkBytes

        public com.google.protobuf.ByteString getIosAppLinkBytes()
         iOS deep link, e.g. exampleApp://content/page.
         
        string ios_app_link = 15;
        Specified by:
        getIosAppLinkBytes in interface DynamicLocalAssetOrBuilder
        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 = 16;
        Specified by:
        getIosAppStoreId in interface DynamicLocalAssetOrBuilder
        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 DynamicLocalAsset parseFrom​(java.nio.ByteBuffer data)
                                           throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        public com.google.protobuf.Parser<DynamicLocalAsset> 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 DynamicLocalAsset getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder