Class DynamicLocalAsset.Builder

  • All Implemented Interfaces:
    DynamicLocalAssetOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, java.lang.Cloneable
    Enclosing class:
    DynamicLocalAsset

    public static final class DynamicLocalAsset.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<DynamicLocalAsset.Builder>
    implements DynamicLocalAssetOrBuilder
     A dynamic local asset.
     
    Protobuf type google.ads.googleads.v14.common.DynamicLocalAsset
    • Method Detail

      • 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.Builder<DynamicLocalAsset.Builder>
      • clear

        public DynamicLocalAsset.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<DynamicLocalAsset.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<DynamicLocalAsset.Builder>
      • getDefaultInstanceForType

        public DynamicLocalAsset getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

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

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

        public DynamicLocalAsset.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<DynamicLocalAsset.Builder>
      • setField

        public DynamicLocalAsset.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                  java.lang.Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<DynamicLocalAsset.Builder>
      • clearField

        public DynamicLocalAsset.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<DynamicLocalAsset.Builder>
      • clearOneof

        public DynamicLocalAsset.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<DynamicLocalAsset.Builder>
      • setRepeatedField

        public DynamicLocalAsset.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                          int index,
                                                          java.lang.Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DynamicLocalAsset.Builder>
      • addRepeatedField

        public DynamicLocalAsset.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                          java.lang.Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DynamicLocalAsset.Builder>
      • mergeFrom

        public DynamicLocalAsset.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DynamicLocalAsset.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<DynamicLocalAsset.Builder>
      • mergeFrom

        public DynamicLocalAsset.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                   com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                            throws java.io.IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DynamicLocalAsset.Builder>
        Throws:
        java.io.IOException
      • 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.
      • setDealId

        public DynamicLocalAsset.Builder setDealId​(java.lang.String value)
         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];
        Parameters:
        value - The dealId to set.
        Returns:
        This builder for chaining.
      • clearDealId

        public DynamicLocalAsset.Builder clearDealId()
         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];
        Returns:
        This builder for chaining.
      • setDealIdBytes

        public DynamicLocalAsset.Builder setDealIdBytes​(com.google.protobuf.ByteString value)
         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];
        Parameters:
        value - The bytes for dealId to set.
        Returns:
        This builder for chaining.
      • getDealName

        public java.lang.String getDealName()
         Required. Deal name, for example, 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, for example, 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.
      • setDealName

        public DynamicLocalAsset.Builder setDealName​(java.lang.String value)
         Required. Deal name, for example, 50% off at Mountain View Grocers.
         Required.
         
        string deal_name = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The dealName to set.
        Returns:
        This builder for chaining.
      • clearDealName

        public DynamicLocalAsset.Builder clearDealName()
         Required. Deal name, for example, 50% off at Mountain View Grocers.
         Required.
         
        string deal_name = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setDealNameBytes

        public DynamicLocalAsset.Builder setDealNameBytes​(com.google.protobuf.ByteString value)
         Required. Deal name, for example, 50% off at Mountain View Grocers.
         Required.
         
        string deal_name = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for dealName to set.
        Returns:
        This builder for chaining.
      • getSubtitle

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

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

        public DynamicLocalAsset.Builder setSubtitle​(java.lang.String value)
         Subtitle, for example, Groceries.
         
        string subtitle = 3;
        Parameters:
        value - The subtitle to set.
        Returns:
        This builder for chaining.
      • clearSubtitle

        public DynamicLocalAsset.Builder clearSubtitle()
         Subtitle, for example, Groceries.
         
        string subtitle = 3;
        Returns:
        This builder for chaining.
      • setSubtitleBytes

        public DynamicLocalAsset.Builder setSubtitleBytes​(com.google.protobuf.ByteString value)
         Subtitle, for example, Groceries.
         
        string subtitle = 3;
        Parameters:
        value - The bytes for subtitle to set.
        Returns:
        This builder for chaining.
      • getDescription

        public java.lang.String getDescription()
         Description, for example, 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, for example, Save on your weekly bill.
         
        string description = 4;
        Specified by:
        getDescriptionBytes in interface DynamicLocalAssetOrBuilder
        Returns:
        The bytes for description.
      • setDescription

        public DynamicLocalAsset.Builder setDescription​(java.lang.String value)
         Description, for example, Save on your weekly bill.
         
        string description = 4;
        Parameters:
        value - The description to set.
        Returns:
        This builder for chaining.
      • clearDescription

        public DynamicLocalAsset.Builder clearDescription()
         Description, for example, Save on your weekly bill.
         
        string description = 4;
        Returns:
        This builder for chaining.
      • setDescriptionBytes

        public DynamicLocalAsset.Builder setDescriptionBytes​(com.google.protobuf.ByteString value)
         Description, for example, Save on your weekly bill.
         
        string description = 4;
        Parameters:
        value - The bytes for description to set.
        Returns:
        This builder for chaining.
      • 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 = 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, for example, 100.00 USD.
         
        string price = 5;
        Specified by:
        getPriceBytes in interface DynamicLocalAssetOrBuilder
        Returns:
        The bytes for price.
      • setPrice

        public DynamicLocalAsset.Builder setPrice​(java.lang.String value)
         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 = 5;
        Parameters:
        value - The price to set.
        Returns:
        This builder for chaining.
      • clearPrice

        public DynamicLocalAsset.Builder clearPrice()
         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 = 5;
        Returns:
        This builder for chaining.
      • setPriceBytes

        public DynamicLocalAsset.Builder setPriceBytes​(com.google.protobuf.ByteString value)
         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 = 5;
        Parameters:
        value - The bytes for price to set.
        Returns:
        This builder for chaining.
      • 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, for example, 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, for example, 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.
      • setSalePrice

        public DynamicLocalAsset.Builder setSalePrice​(java.lang.String value)
         Sale price which can be 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 = 6;
        Parameters:
        value - The salePrice to set.
        Returns:
        This builder for chaining.
      • clearSalePrice

        public DynamicLocalAsset.Builder clearSalePrice()
         Sale price which can be 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 = 6;
        Returns:
        This builder for chaining.
      • setSalePriceBytes

        public DynamicLocalAsset.Builder setSalePriceBytes​(com.google.protobuf.ByteString value)
         Sale price which can be 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 = 6;
        Parameters:
        value - The bytes for salePrice to set.
        Returns:
        This builder for chaining.
      • 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 = 7;
        Specified by:
        getImageUrl in interface DynamicLocalAssetOrBuilder
        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 = 7;
        Specified by:
        getImageUrlBytes in interface DynamicLocalAssetOrBuilder
        Returns:
        The bytes for imageUrl.
      • setImageUrl

        public DynamicLocalAsset.Builder setImageUrl​(java.lang.String value)
         Image URL, for example, http://www.example.com/image.png. The image will
         not be uploaded as image asset.
         
        string image_url = 7;
        Parameters:
        value - The imageUrl to set.
        Returns:
        This builder for chaining.
      • clearImageUrl

        public DynamicLocalAsset.Builder clearImageUrl()
         Image URL, for example, http://www.example.com/image.png. The image will
         not be uploaded as image asset.
         
        string image_url = 7;
        Returns:
        This builder for chaining.
      • setImageUrlBytes

        public DynamicLocalAsset.Builder setImageUrlBytes​(com.google.protobuf.ByteString value)
         Image URL, for example, http://www.example.com/image.png. The image will
         not be uploaded as image asset.
         
        string image_url = 7;
        Parameters:
        value - The bytes for imageUrl to set.
        Returns:
        This builder for chaining.
      • getAddress

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

        public DynamicLocalAsset.Builder setAddress​(java.lang.String value)
         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 address = 8;
        Parameters:
        value - The address to set.
        Returns:
        This builder for chaining.
      • clearAddress

        public DynamicLocalAsset.Builder clearAddress()
         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 address = 8;
        Returns:
        This builder for chaining.
      • setAddressBytes

        public DynamicLocalAsset.Builder setAddressBytes​(com.google.protobuf.ByteString value)
         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 address = 8;
        Parameters:
        value - The bytes for address to set.
        Returns:
        This builder for chaining.
      • getCategory

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

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

        public DynamicLocalAsset.Builder setCategory​(java.lang.String value)
         Category, for example, Food.
         
        string category = 9;
        Parameters:
        value - The category to set.
        Returns:
        This builder for chaining.
      • clearCategory

        public DynamicLocalAsset.Builder clearCategory()
         Category, for example, Food.
         
        string category = 9;
        Returns:
        This builder for chaining.
      • setCategoryBytes

        public DynamicLocalAsset.Builder setCategoryBytes​(com.google.protobuf.ByteString value)
         Category, for example, Food.
         
        string category = 9;
        Parameters:
        value - The bytes for category to set.
        Returns:
        This builder for chaining.
      • getContextualKeywordsList

        public com.google.protobuf.ProtocolStringList getContextualKeywordsList()
         Contextual keywords, for example, 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, for example, 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, for example, 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, for example, 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.
      • setContextualKeywords

        public DynamicLocalAsset.Builder setContextualKeywords​(int index,
                                                               java.lang.String value)
         Contextual keywords, for example, Save groceries coupons.
         
        repeated string contextual_keywords = 10;
        Parameters:
        index - The index to set the value at.
        value - The contextualKeywords to set.
        Returns:
        This builder for chaining.
      • addContextualKeywords

        public DynamicLocalAsset.Builder addContextualKeywords​(java.lang.String value)
         Contextual keywords, for example, Save groceries coupons.
         
        repeated string contextual_keywords = 10;
        Parameters:
        value - The contextualKeywords to add.
        Returns:
        This builder for chaining.
      • addAllContextualKeywords

        public DynamicLocalAsset.Builder addAllContextualKeywords​(java.lang.Iterable<java.lang.String> values)
         Contextual keywords, for example, Save groceries coupons.
         
        repeated string contextual_keywords = 10;
        Parameters:
        values - The contextualKeywords to add.
        Returns:
        This builder for chaining.
      • clearContextualKeywords

        public DynamicLocalAsset.Builder clearContextualKeywords()
         Contextual keywords, for example, Save groceries coupons.
         
        repeated string contextual_keywords = 10;
        Returns:
        This builder for chaining.
      • addContextualKeywordsBytes

        public DynamicLocalAsset.Builder addContextualKeywordsBytes​(com.google.protobuf.ByteString value)
         Contextual keywords, for example, Save groceries coupons.
         
        repeated string contextual_keywords = 10;
        Parameters:
        value - The bytes of the contextualKeywords to add.
        Returns:
        This builder for chaining.
      • 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 = 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', for example, Starting at $100.00.
         
        string formatted_price = 11;
        Specified by:
        getFormattedPriceBytes in interface DynamicLocalAssetOrBuilder
        Returns:
        The bytes for formattedPrice.
      • setFormattedPrice

        public DynamicLocalAsset.Builder setFormattedPrice​(java.lang.String value)
         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 = 11;
        Parameters:
        value - The formattedPrice to set.
        Returns:
        This builder for chaining.
      • clearFormattedPrice

        public DynamicLocalAsset.Builder clearFormattedPrice()
         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 = 11;
        Returns:
        This builder for chaining.
      • setFormattedPriceBytes

        public DynamicLocalAsset.Builder setFormattedPriceBytes​(com.google.protobuf.ByteString value)
         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 = 11;
        Parameters:
        value - The bytes for formattedPrice to set.
        Returns:
        This builder for chaining.
      • 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 = 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', for example, On sale for $80.00.
         
        string formatted_sale_price = 12;
        Specified by:
        getFormattedSalePriceBytes in interface DynamicLocalAssetOrBuilder
        Returns:
        The bytes for formattedSalePrice.
      • setFormattedSalePrice

        public DynamicLocalAsset.Builder setFormattedSalePrice​(java.lang.String value)
         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 = 12;
        Parameters:
        value - The formattedSalePrice to set.
        Returns:
        This builder for chaining.
      • clearFormattedSalePrice

        public DynamicLocalAsset.Builder clearFormattedSalePrice()
         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 = 12;
        Returns:
        This builder for chaining.
      • setFormattedSalePriceBytes

        public DynamicLocalAsset.Builder setFormattedSalePriceBytes​(com.google.protobuf.ByteString value)
         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 = 12;
        Parameters:
        value - The bytes for formattedSalePrice to set.
        Returns:
        This builder for chaining.
      • 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 = 13;
        Specified by:
        getAndroidAppLink in interface DynamicLocalAssetOrBuilder
        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 = 13;
        Specified by:
        getAndroidAppLinkBytes in interface DynamicLocalAssetOrBuilder
        Returns:
        The bytes for androidAppLink.
      • setAndroidAppLink

        public DynamicLocalAsset.Builder setAndroidAppLink​(java.lang.String value)
         Android deep link, for example,
         android-app://com.example.android/http/example.com/gizmos?1234.
         
        string android_app_link = 13;
        Parameters:
        value - The androidAppLink to set.
        Returns:
        This builder for chaining.
      • clearAndroidAppLink

        public DynamicLocalAsset.Builder clearAndroidAppLink()
         Android deep link, for example,
         android-app://com.example.android/http/example.com/gizmos?1234.
         
        string android_app_link = 13;
        Returns:
        This builder for chaining.
      • setAndroidAppLinkBytes

        public DynamicLocalAsset.Builder setAndroidAppLinkBytes​(com.google.protobuf.ByteString value)
         Android deep link, for example,
         android-app://com.example.android/http/example.com/gizmos?1234.
         
        string android_app_link = 13;
        Parameters:
        value - The bytes for androidAppLink to set.
        Returns:
        This builder for chaining.
      • getSimilarDealIdsList

        public com.google.protobuf.ProtocolStringList getSimilarDealIdsList()
         Similar deal IDs, for example, 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, for example, 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, for example, 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, for example, 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.
      • setSimilarDealIds

        public DynamicLocalAsset.Builder setSimilarDealIds​(int index,
                                                           java.lang.String value)
         Similar deal IDs, for example, 1275.
         
        repeated string similar_deal_ids = 14;
        Parameters:
        index - The index to set the value at.
        value - The similarDealIds to set.
        Returns:
        This builder for chaining.
      • addSimilarDealIds

        public DynamicLocalAsset.Builder addSimilarDealIds​(java.lang.String value)
         Similar deal IDs, for example, 1275.
         
        repeated string similar_deal_ids = 14;
        Parameters:
        value - The similarDealIds to add.
        Returns:
        This builder for chaining.
      • addAllSimilarDealIds

        public DynamicLocalAsset.Builder addAllSimilarDealIds​(java.lang.Iterable<java.lang.String> values)
         Similar deal IDs, for example, 1275.
         
        repeated string similar_deal_ids = 14;
        Parameters:
        values - The similarDealIds to add.
        Returns:
        This builder for chaining.
      • clearSimilarDealIds

        public DynamicLocalAsset.Builder clearSimilarDealIds()
         Similar deal IDs, for example, 1275.
         
        repeated string similar_deal_ids = 14;
        Returns:
        This builder for chaining.
      • addSimilarDealIdsBytes

        public DynamicLocalAsset.Builder addSimilarDealIdsBytes​(com.google.protobuf.ByteString value)
         Similar deal IDs, for example, 1275.
         
        repeated string similar_deal_ids = 14;
        Parameters:
        value - The bytes of the similarDealIds to add.
        Returns:
        This builder for chaining.
      • getIosAppLink

        public java.lang.String getIosAppLink()
         iOS deep link, for example, 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, for example, exampleApp://content/page.
         
        string ios_app_link = 15;
        Specified by:
        getIosAppLinkBytes in interface DynamicLocalAssetOrBuilder
        Returns:
        The bytes for iosAppLink.
      • setIosAppLink

        public DynamicLocalAsset.Builder setIosAppLink​(java.lang.String value)
         iOS deep link, for example, exampleApp://content/page.
         
        string ios_app_link = 15;
        Parameters:
        value - The iosAppLink to set.
        Returns:
        This builder for chaining.
      • clearIosAppLink

        public DynamicLocalAsset.Builder clearIosAppLink()
         iOS deep link, for example, exampleApp://content/page.
         
        string ios_app_link = 15;
        Returns:
        This builder for chaining.
      • setIosAppLinkBytes

        public DynamicLocalAsset.Builder setIosAppLinkBytes​(com.google.protobuf.ByteString value)
         iOS deep link, for example, exampleApp://content/page.
         
        string ios_app_link = 15;
        Parameters:
        value - The bytes for iosAppLink to set.
        Returns:
        This builder for chaining.
      • 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.
      • setIosAppStoreId

        public DynamicLocalAsset.Builder setIosAppStoreId​(long value)
         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;
        Parameters:
        value - The iosAppStoreId to set.
        Returns:
        This builder for chaining.
      • clearIosAppStoreId

        public DynamicLocalAsset.Builder clearIosAppStoreId()
         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;
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final DynamicLocalAsset.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DynamicLocalAsset.Builder>
      • mergeUnknownFields

        public final DynamicLocalAsset.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DynamicLocalAsset.Builder>