Class LegacyResponsiveDisplayAdInfo.Builder

    • 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<LegacyResponsiveDisplayAdInfo.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<LegacyResponsiveDisplayAdInfo.Builder>
      • getDefaultInstanceForType

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

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

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

        public LegacyResponsiveDisplayAdInfo.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<LegacyResponsiveDisplayAdInfo.Builder>
      • addRepeatedField

        public LegacyResponsiveDisplayAdInfo.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<LegacyResponsiveDisplayAdInfo.Builder>
      • isInitialized

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

        public LegacyResponsiveDisplayAdInfo.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<LegacyResponsiveDisplayAdInfo.Builder>
        Throws:
        java.io.IOException
      • setShortHeadline

        public LegacyResponsiveDisplayAdInfo.Builder setShortHeadline​(java.lang.String value)
         The short version of the ad's headline.
         
        optional string short_headline = 16;
        Parameters:
        value - The shortHeadline to set.
        Returns:
        This builder for chaining.
      • clearShortHeadline

        public LegacyResponsiveDisplayAdInfo.Builder clearShortHeadline()
         The short version of the ad's headline.
         
        optional string short_headline = 16;
        Returns:
        This builder for chaining.
      • setShortHeadlineBytes

        public LegacyResponsiveDisplayAdInfo.Builder setShortHeadlineBytes​(com.google.protobuf.ByteString value)
         The short version of the ad's headline.
         
        optional string short_headline = 16;
        Parameters:
        value - The bytes for shortHeadline to set.
        Returns:
        This builder for chaining.
      • setLongHeadline

        public LegacyResponsiveDisplayAdInfo.Builder setLongHeadline​(java.lang.String value)
         The long version of the ad's headline.
         
        optional string long_headline = 17;
        Parameters:
        value - The longHeadline to set.
        Returns:
        This builder for chaining.
      • clearLongHeadline

        public LegacyResponsiveDisplayAdInfo.Builder clearLongHeadline()
         The long version of the ad's headline.
         
        optional string long_headline = 17;
        Returns:
        This builder for chaining.
      • setLongHeadlineBytes

        public LegacyResponsiveDisplayAdInfo.Builder setLongHeadlineBytes​(com.google.protobuf.ByteString value)
         The long version of the ad's headline.
         
        optional string long_headline = 17;
        Parameters:
        value - The bytes for longHeadline to set.
        Returns:
        This builder for chaining.
      • setDescription

        public LegacyResponsiveDisplayAdInfo.Builder setDescription​(java.lang.String value)
         The description of the ad.
         
        optional string description = 18;
        Parameters:
        value - The description to set.
        Returns:
        This builder for chaining.
      • setDescriptionBytes

        public LegacyResponsiveDisplayAdInfo.Builder setDescriptionBytes​(com.google.protobuf.ByteString value)
         The description of the ad.
         
        optional string description = 18;
        Parameters:
        value - The bytes for description to set.
        Returns:
        This builder for chaining.
      • setBusinessName

        public LegacyResponsiveDisplayAdInfo.Builder setBusinessName​(java.lang.String value)
         The business name in the ad.
         
        optional string business_name = 19;
        Parameters:
        value - The businessName to set.
        Returns:
        This builder for chaining.
      • clearBusinessName

        public LegacyResponsiveDisplayAdInfo.Builder clearBusinessName()
         The business name in the ad.
         
        optional string business_name = 19;
        Returns:
        This builder for chaining.
      • setBusinessNameBytes

        public LegacyResponsiveDisplayAdInfo.Builder setBusinessNameBytes​(com.google.protobuf.ByteString value)
         The business name in the ad.
         
        optional string business_name = 19;
        Parameters:
        value - The bytes for businessName to set.
        Returns:
        This builder for chaining.
      • hasAllowFlexibleColor

        public boolean hasAllowFlexibleColor()
         Advertiser's consent to allow flexible color. When true, the ad may be
         served with different color if necessary. When false, the ad will be served
         with the specified colors or a neutral color.
         The default value is `true`.
         Must be true if `main_color` and `accent_color` are not set.
         
        optional bool allow_flexible_color = 20;
        Specified by:
        hasAllowFlexibleColor in interface LegacyResponsiveDisplayAdInfoOrBuilder
        Returns:
        Whether the allowFlexibleColor field is set.
      • getAllowFlexibleColor

        public boolean getAllowFlexibleColor()
         Advertiser's consent to allow flexible color. When true, the ad may be
         served with different color if necessary. When false, the ad will be served
         with the specified colors or a neutral color.
         The default value is `true`.
         Must be true if `main_color` and `accent_color` are not set.
         
        optional bool allow_flexible_color = 20;
        Specified by:
        getAllowFlexibleColor in interface LegacyResponsiveDisplayAdInfoOrBuilder
        Returns:
        The allowFlexibleColor.
      • setAllowFlexibleColor

        public LegacyResponsiveDisplayAdInfo.Builder setAllowFlexibleColor​(boolean value)
         Advertiser's consent to allow flexible color. When true, the ad may be
         served with different color if necessary. When false, the ad will be served
         with the specified colors or a neutral color.
         The default value is `true`.
         Must be true if `main_color` and `accent_color` are not set.
         
        optional bool allow_flexible_color = 20;
        Parameters:
        value - The allowFlexibleColor to set.
        Returns:
        This builder for chaining.
      • clearAllowFlexibleColor

        public LegacyResponsiveDisplayAdInfo.Builder clearAllowFlexibleColor()
         Advertiser's consent to allow flexible color. When true, the ad may be
         served with different color if necessary. When false, the ad will be served
         with the specified colors or a neutral color.
         The default value is `true`.
         Must be true if `main_color` and `accent_color` are not set.
         
        optional bool allow_flexible_color = 20;
        Returns:
        This builder for chaining.
      • hasAccentColor

        public boolean hasAccentColor()
         The accent color of the ad in hexadecimal, e.g. #ffffff for white.
         If one of `main_color` and `accent_color` is set, the other is required as
         well.
         
        optional string accent_color = 21;
        Specified by:
        hasAccentColor in interface LegacyResponsiveDisplayAdInfoOrBuilder
        Returns:
        Whether the accentColor field is set.
      • getAccentColor

        public java.lang.String getAccentColor()
         The accent color of the ad in hexadecimal, e.g. #ffffff for white.
         If one of `main_color` and `accent_color` is set, the other is required as
         well.
         
        optional string accent_color = 21;
        Specified by:
        getAccentColor in interface LegacyResponsiveDisplayAdInfoOrBuilder
        Returns:
        The accentColor.
      • getAccentColorBytes

        public com.google.protobuf.ByteString getAccentColorBytes()
         The accent color of the ad in hexadecimal, e.g. #ffffff for white.
         If one of `main_color` and `accent_color` is set, the other is required as
         well.
         
        optional string accent_color = 21;
        Specified by:
        getAccentColorBytes in interface LegacyResponsiveDisplayAdInfoOrBuilder
        Returns:
        The bytes for accentColor.
      • setAccentColor

        public LegacyResponsiveDisplayAdInfo.Builder setAccentColor​(java.lang.String value)
         The accent color of the ad in hexadecimal, e.g. #ffffff for white.
         If one of `main_color` and `accent_color` is set, the other is required as
         well.
         
        optional string accent_color = 21;
        Parameters:
        value - The accentColor to set.
        Returns:
        This builder for chaining.
      • clearAccentColor

        public LegacyResponsiveDisplayAdInfo.Builder clearAccentColor()
         The accent color of the ad in hexadecimal, e.g. #ffffff for white.
         If one of `main_color` and `accent_color` is set, the other is required as
         well.
         
        optional string accent_color = 21;
        Returns:
        This builder for chaining.
      • setAccentColorBytes

        public LegacyResponsiveDisplayAdInfo.Builder setAccentColorBytes​(com.google.protobuf.ByteString value)
         The accent color of the ad in hexadecimal, e.g. #ffffff for white.
         If one of `main_color` and `accent_color` is set, the other is required as
         well.
         
        optional string accent_color = 21;
        Parameters:
        value - The bytes for accentColor to set.
        Returns:
        This builder for chaining.
      • hasMainColor

        public boolean hasMainColor()
         The main color of the ad in hexadecimal, e.g. #ffffff for white.
         If one of `main_color` and `accent_color` is set, the other is required as
         well.
         
        optional string main_color = 22;
        Specified by:
        hasMainColor in interface LegacyResponsiveDisplayAdInfoOrBuilder
        Returns:
        Whether the mainColor field is set.
      • getMainColor

        public java.lang.String getMainColor()
         The main color of the ad in hexadecimal, e.g. #ffffff for white.
         If one of `main_color` and `accent_color` is set, the other is required as
         well.
         
        optional string main_color = 22;
        Specified by:
        getMainColor in interface LegacyResponsiveDisplayAdInfoOrBuilder
        Returns:
        The mainColor.
      • getMainColorBytes

        public com.google.protobuf.ByteString getMainColorBytes()
         The main color of the ad in hexadecimal, e.g. #ffffff for white.
         If one of `main_color` and `accent_color` is set, the other is required as
         well.
         
        optional string main_color = 22;
        Specified by:
        getMainColorBytes in interface LegacyResponsiveDisplayAdInfoOrBuilder
        Returns:
        The bytes for mainColor.
      • setMainColor

        public LegacyResponsiveDisplayAdInfo.Builder setMainColor​(java.lang.String value)
         The main color of the ad in hexadecimal, e.g. #ffffff for white.
         If one of `main_color` and `accent_color` is set, the other is required as
         well.
         
        optional string main_color = 22;
        Parameters:
        value - The mainColor to set.
        Returns:
        This builder for chaining.
      • clearMainColor

        public LegacyResponsiveDisplayAdInfo.Builder clearMainColor()
         The main color of the ad in hexadecimal, e.g. #ffffff for white.
         If one of `main_color` and `accent_color` is set, the other is required as
         well.
         
        optional string main_color = 22;
        Returns:
        This builder for chaining.
      • setMainColorBytes

        public LegacyResponsiveDisplayAdInfo.Builder setMainColorBytes​(com.google.protobuf.ByteString value)
         The main color of the ad in hexadecimal, e.g. #ffffff for white.
         If one of `main_color` and `accent_color` is set, the other is required as
         well.
         
        optional string main_color = 22;
        Parameters:
        value - The bytes for mainColor to set.
        Returns:
        This builder for chaining.
      • setCallToActionText

        public LegacyResponsiveDisplayAdInfo.Builder setCallToActionText​(java.lang.String value)
         The call-to-action text for the ad.
         
        optional string call_to_action_text = 23;
        Parameters:
        value - The callToActionText to set.
        Returns:
        This builder for chaining.
      • clearCallToActionText

        public LegacyResponsiveDisplayAdInfo.Builder clearCallToActionText()
         The call-to-action text for the ad.
         
        optional string call_to_action_text = 23;
        Returns:
        This builder for chaining.
      • setCallToActionTextBytes

        public LegacyResponsiveDisplayAdInfo.Builder setCallToActionTextBytes​(com.google.protobuf.ByteString value)
         The call-to-action text for the ad.
         
        optional string call_to_action_text = 23;
        Parameters:
        value - The bytes for callToActionText to set.
        Returns:
        This builder for chaining.
      • hasLogoImage

        public boolean hasLogoImage()
         The MediaFile resource name of the logo image used in the ad.
         
        optional string logo_image = 24;
        Specified by:
        hasLogoImage in interface LegacyResponsiveDisplayAdInfoOrBuilder
        Returns:
        Whether the logoImage field is set.
      • getLogoImage

        public java.lang.String getLogoImage()
         The MediaFile resource name of the logo image used in the ad.
         
        optional string logo_image = 24;
        Specified by:
        getLogoImage in interface LegacyResponsiveDisplayAdInfoOrBuilder
        Returns:
        The logoImage.
      • getLogoImageBytes

        public com.google.protobuf.ByteString getLogoImageBytes()
         The MediaFile resource name of the logo image used in the ad.
         
        optional string logo_image = 24;
        Specified by:
        getLogoImageBytes in interface LegacyResponsiveDisplayAdInfoOrBuilder
        Returns:
        The bytes for logoImage.
      • setLogoImage

        public LegacyResponsiveDisplayAdInfo.Builder setLogoImage​(java.lang.String value)
         The MediaFile resource name of the logo image used in the ad.
         
        optional string logo_image = 24;
        Parameters:
        value - The logoImage to set.
        Returns:
        This builder for chaining.
      • clearLogoImage

        public LegacyResponsiveDisplayAdInfo.Builder clearLogoImage()
         The MediaFile resource name of the logo image used in the ad.
         
        optional string logo_image = 24;
        Returns:
        This builder for chaining.
      • setLogoImageBytes

        public LegacyResponsiveDisplayAdInfo.Builder setLogoImageBytes​(com.google.protobuf.ByteString value)
         The MediaFile resource name of the logo image used in the ad.
         
        optional string logo_image = 24;
        Parameters:
        value - The bytes for logoImage to set.
        Returns:
        This builder for chaining.
      • hasSquareLogoImage

        public boolean hasSquareLogoImage()
         The MediaFile resource name of the square logo image used in the ad.
         
        optional string square_logo_image = 25;
        Specified by:
        hasSquareLogoImage in interface LegacyResponsiveDisplayAdInfoOrBuilder
        Returns:
        Whether the squareLogoImage field is set.
      • getSquareLogoImage

        public java.lang.String getSquareLogoImage()
         The MediaFile resource name of the square logo image used in the ad.
         
        optional string square_logo_image = 25;
        Specified by:
        getSquareLogoImage in interface LegacyResponsiveDisplayAdInfoOrBuilder
        Returns:
        The squareLogoImage.
      • getSquareLogoImageBytes

        public com.google.protobuf.ByteString getSquareLogoImageBytes()
         The MediaFile resource name of the square logo image used in the ad.
         
        optional string square_logo_image = 25;
        Specified by:
        getSquareLogoImageBytes in interface LegacyResponsiveDisplayAdInfoOrBuilder
        Returns:
        The bytes for squareLogoImage.
      • setSquareLogoImage

        public LegacyResponsiveDisplayAdInfo.Builder setSquareLogoImage​(java.lang.String value)
         The MediaFile resource name of the square logo image used in the ad.
         
        optional string square_logo_image = 25;
        Parameters:
        value - The squareLogoImage to set.
        Returns:
        This builder for chaining.
      • clearSquareLogoImage

        public LegacyResponsiveDisplayAdInfo.Builder clearSquareLogoImage()
         The MediaFile resource name of the square logo image used in the ad.
         
        optional string square_logo_image = 25;
        Returns:
        This builder for chaining.
      • setSquareLogoImageBytes

        public LegacyResponsiveDisplayAdInfo.Builder setSquareLogoImageBytes​(com.google.protobuf.ByteString value)
         The MediaFile resource name of the square logo image used in the ad.
         
        optional string square_logo_image = 25;
        Parameters:
        value - The bytes for squareLogoImage to set.
        Returns:
        This builder for chaining.
      • hasMarketingImage

        public boolean hasMarketingImage()
         The MediaFile resource name of the marketing image used in the ad.
         
        optional string marketing_image = 26;
        Specified by:
        hasMarketingImage in interface LegacyResponsiveDisplayAdInfoOrBuilder
        Returns:
        Whether the marketingImage field is set.
      • getMarketingImage

        public java.lang.String getMarketingImage()
         The MediaFile resource name of the marketing image used in the ad.
         
        optional string marketing_image = 26;
        Specified by:
        getMarketingImage in interface LegacyResponsiveDisplayAdInfoOrBuilder
        Returns:
        The marketingImage.
      • getMarketingImageBytes

        public com.google.protobuf.ByteString getMarketingImageBytes()
         The MediaFile resource name of the marketing image used in the ad.
         
        optional string marketing_image = 26;
        Specified by:
        getMarketingImageBytes in interface LegacyResponsiveDisplayAdInfoOrBuilder
        Returns:
        The bytes for marketingImage.
      • setMarketingImage

        public LegacyResponsiveDisplayAdInfo.Builder setMarketingImage​(java.lang.String value)
         The MediaFile resource name of the marketing image used in the ad.
         
        optional string marketing_image = 26;
        Parameters:
        value - The marketingImage to set.
        Returns:
        This builder for chaining.
      • clearMarketingImage

        public LegacyResponsiveDisplayAdInfo.Builder clearMarketingImage()
         The MediaFile resource name of the marketing image used in the ad.
         
        optional string marketing_image = 26;
        Returns:
        This builder for chaining.
      • setMarketingImageBytes

        public LegacyResponsiveDisplayAdInfo.Builder setMarketingImageBytes​(com.google.protobuf.ByteString value)
         The MediaFile resource name of the marketing image used in the ad.
         
        optional string marketing_image = 26;
        Parameters:
        value - The bytes for marketingImage to set.
        Returns:
        This builder for chaining.
      • hasSquareMarketingImage

        public boolean hasSquareMarketingImage()
         The MediaFile resource name of the square marketing image used in the ad.
         
        optional string square_marketing_image = 27;
        Specified by:
        hasSquareMarketingImage in interface LegacyResponsiveDisplayAdInfoOrBuilder
        Returns:
        Whether the squareMarketingImage field is set.
      • getSquareMarketingImage

        public java.lang.String getSquareMarketingImage()
         The MediaFile resource name of the square marketing image used in the ad.
         
        optional string square_marketing_image = 27;
        Specified by:
        getSquareMarketingImage in interface LegacyResponsiveDisplayAdInfoOrBuilder
        Returns:
        The squareMarketingImage.
      • getSquareMarketingImageBytes

        public com.google.protobuf.ByteString getSquareMarketingImageBytes()
         The MediaFile resource name of the square marketing image used in the ad.
         
        optional string square_marketing_image = 27;
        Specified by:
        getSquareMarketingImageBytes in interface LegacyResponsiveDisplayAdInfoOrBuilder
        Returns:
        The bytes for squareMarketingImage.
      • setSquareMarketingImage

        public LegacyResponsiveDisplayAdInfo.Builder setSquareMarketingImage​(java.lang.String value)
         The MediaFile resource name of the square marketing image used in the ad.
         
        optional string square_marketing_image = 27;
        Parameters:
        value - The squareMarketingImage to set.
        Returns:
        This builder for chaining.
      • clearSquareMarketingImage

        public LegacyResponsiveDisplayAdInfo.Builder clearSquareMarketingImage()
         The MediaFile resource name of the square marketing image used in the ad.
         
        optional string square_marketing_image = 27;
        Returns:
        This builder for chaining.
      • setSquareMarketingImageBytes

        public LegacyResponsiveDisplayAdInfo.Builder setSquareMarketingImageBytes​(com.google.protobuf.ByteString value)
         The MediaFile resource name of the square marketing image used in the ad.
         
        optional string square_marketing_image = 27;
        Parameters:
        value - The bytes for squareMarketingImage to set.
        Returns:
        This builder for chaining.
      • getFormatSettingValue

        public int getFormatSettingValue()
         Specifies which format the ad will be served in. Default is ALL_FORMATS.
         
        .google.ads.googleads.v10.enums.DisplayAdFormatSettingEnum.DisplayAdFormatSetting format_setting = 13;
        Specified by:
        getFormatSettingValue in interface LegacyResponsiveDisplayAdInfoOrBuilder
        Returns:
        The enum numeric value on the wire for formatSetting.
      • setFormatSettingValue

        public LegacyResponsiveDisplayAdInfo.Builder setFormatSettingValue​(int value)
         Specifies which format the ad will be served in. Default is ALL_FORMATS.
         
        .google.ads.googleads.v10.enums.DisplayAdFormatSettingEnum.DisplayAdFormatSetting format_setting = 13;
        Parameters:
        value - The enum numeric value on the wire for formatSetting to set.
        Returns:
        This builder for chaining.
      • clearFormatSetting

        public LegacyResponsiveDisplayAdInfo.Builder clearFormatSetting()
         Specifies which format the ad will be served in. Default is ALL_FORMATS.
         
        .google.ads.googleads.v10.enums.DisplayAdFormatSettingEnum.DisplayAdFormatSetting format_setting = 13;
        Returns:
        This builder for chaining.
      • setPricePrefix

        public LegacyResponsiveDisplayAdInfo.Builder setPricePrefix​(java.lang.String value)
         Prefix before price. E.g. 'as low as'.
         
        optional string price_prefix = 28;
        Parameters:
        value - The pricePrefix to set.
        Returns:
        This builder for chaining.
      • clearPricePrefix

        public LegacyResponsiveDisplayAdInfo.Builder clearPricePrefix()
         Prefix before price. E.g. 'as low as'.
         
        optional string price_prefix = 28;
        Returns:
        This builder for chaining.
      • setPricePrefixBytes

        public LegacyResponsiveDisplayAdInfo.Builder setPricePrefixBytes​(com.google.protobuf.ByteString value)
         Prefix before price. E.g. 'as low as'.
         
        optional string price_prefix = 28;
        Parameters:
        value - The bytes for pricePrefix to set.
        Returns:
        This builder for chaining.
      • hasPromoText

        public boolean hasPromoText()
         Promotion text used for dynamic formats of responsive ads. For example
         'Free two-day shipping'.
         
        optional string promo_text = 29;
        Specified by:
        hasPromoText in interface LegacyResponsiveDisplayAdInfoOrBuilder
        Returns:
        Whether the promoText field is set.
      • getPromoText

        public java.lang.String getPromoText()
         Promotion text used for dynamic formats of responsive ads. For example
         'Free two-day shipping'.
         
        optional string promo_text = 29;
        Specified by:
        getPromoText in interface LegacyResponsiveDisplayAdInfoOrBuilder
        Returns:
        The promoText.
      • getPromoTextBytes

        public com.google.protobuf.ByteString getPromoTextBytes()
         Promotion text used for dynamic formats of responsive ads. For example
         'Free two-day shipping'.
         
        optional string promo_text = 29;
        Specified by:
        getPromoTextBytes in interface LegacyResponsiveDisplayAdInfoOrBuilder
        Returns:
        The bytes for promoText.
      • setPromoText

        public LegacyResponsiveDisplayAdInfo.Builder setPromoText​(java.lang.String value)
         Promotion text used for dynamic formats of responsive ads. For example
         'Free two-day shipping'.
         
        optional string promo_text = 29;
        Parameters:
        value - The promoText to set.
        Returns:
        This builder for chaining.
      • clearPromoText

        public LegacyResponsiveDisplayAdInfo.Builder clearPromoText()
         Promotion text used for dynamic formats of responsive ads. For example
         'Free two-day shipping'.
         
        optional string promo_text = 29;
        Returns:
        This builder for chaining.
      • setPromoTextBytes

        public LegacyResponsiveDisplayAdInfo.Builder setPromoTextBytes​(com.google.protobuf.ByteString value)
         Promotion text used for dynamic formats of responsive ads. For example
         'Free two-day shipping'.
         
        optional string promo_text = 29;
        Parameters:
        value - The bytes for promoText to set.
        Returns:
        This builder for chaining.