Class SitelinkFeedItem.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<SitelinkFeedItem.Builder>
com.google.ads.googleads.v18.common.SitelinkFeedItem.Builder
All Implemented Interfaces:
SitelinkFeedItemOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
SitelinkFeedItem

public static final class SitelinkFeedItem.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SitelinkFeedItem.Builder> implements SitelinkFeedItemOrBuilder
 Represents a sitelink.
 
Protobuf type google.ads.googleads.v18.common.SitelinkFeedItem
  • Method Details

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

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

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

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

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

      public SitelinkFeedItem.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<SitelinkFeedItem.Builder>
    • setField

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

      public SitelinkFeedItem.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<SitelinkFeedItem.Builder>
    • clearOneof

      public SitelinkFeedItem.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<SitelinkFeedItem.Builder>
    • setRepeatedField

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

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

      public SitelinkFeedItem.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<SitelinkFeedItem.Builder>
    • mergeFrom

      public SitelinkFeedItem.Builder mergeFrom(SitelinkFeedItem other)
    • isInitialized

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

      public SitelinkFeedItem.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws 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<SitelinkFeedItem.Builder>
      Throws:
      IOException
    • hasLinkText

      public boolean hasLinkText()
       URL display text for the sitelink.
       The length of this string should be between 1 and 25, inclusive.
       
      optional string link_text = 9;
      Specified by:
      hasLinkText in interface SitelinkFeedItemOrBuilder
      Returns:
      Whether the linkText field is set.
    • getLinkText

      public String getLinkText()
       URL display text for the sitelink.
       The length of this string should be between 1 and 25, inclusive.
       
      optional string link_text = 9;
      Specified by:
      getLinkText in interface SitelinkFeedItemOrBuilder
      Returns:
      The linkText.
    • getLinkTextBytes

      public com.google.protobuf.ByteString getLinkTextBytes()
       URL display text for the sitelink.
       The length of this string should be between 1 and 25, inclusive.
       
      optional string link_text = 9;
      Specified by:
      getLinkTextBytes in interface SitelinkFeedItemOrBuilder
      Returns:
      The bytes for linkText.
    • setLinkText

      public SitelinkFeedItem.Builder setLinkText(String value)
       URL display text for the sitelink.
       The length of this string should be between 1 and 25, inclusive.
       
      optional string link_text = 9;
      Parameters:
      value - The linkText to set.
      Returns:
      This builder for chaining.
    • clearLinkText

      public SitelinkFeedItem.Builder clearLinkText()
       URL display text for the sitelink.
       The length of this string should be between 1 and 25, inclusive.
       
      optional string link_text = 9;
      Returns:
      This builder for chaining.
    • setLinkTextBytes

      public SitelinkFeedItem.Builder setLinkTextBytes(com.google.protobuf.ByteString value)
       URL display text for the sitelink.
       The length of this string should be between 1 and 25, inclusive.
       
      optional string link_text = 9;
      Parameters:
      value - The bytes for linkText to set.
      Returns:
      This builder for chaining.
    • hasLine1

      public boolean hasLine1()
       First line of the description for the sitelink.
       If this value is set, line2 must also be set.
       The length of this string should be between 0 and 35, inclusive.
       
      optional string line1 = 10;
      Specified by:
      hasLine1 in interface SitelinkFeedItemOrBuilder
      Returns:
      Whether the line1 field is set.
    • getLine1

      public String getLine1()
       First line of the description for the sitelink.
       If this value is set, line2 must also be set.
       The length of this string should be between 0 and 35, inclusive.
       
      optional string line1 = 10;
      Specified by:
      getLine1 in interface SitelinkFeedItemOrBuilder
      Returns:
      The line1.
    • getLine1Bytes

      public com.google.protobuf.ByteString getLine1Bytes()
       First line of the description for the sitelink.
       If this value is set, line2 must also be set.
       The length of this string should be between 0 and 35, inclusive.
       
      optional string line1 = 10;
      Specified by:
      getLine1Bytes in interface SitelinkFeedItemOrBuilder
      Returns:
      The bytes for line1.
    • setLine1

      public SitelinkFeedItem.Builder setLine1(String value)
       First line of the description for the sitelink.
       If this value is set, line2 must also be set.
       The length of this string should be between 0 and 35, inclusive.
       
      optional string line1 = 10;
      Parameters:
      value - The line1 to set.
      Returns:
      This builder for chaining.
    • clearLine1

      public SitelinkFeedItem.Builder clearLine1()
       First line of the description for the sitelink.
       If this value is set, line2 must also be set.
       The length of this string should be between 0 and 35, inclusive.
       
      optional string line1 = 10;
      Returns:
      This builder for chaining.
    • setLine1Bytes

      public SitelinkFeedItem.Builder setLine1Bytes(com.google.protobuf.ByteString value)
       First line of the description for the sitelink.
       If this value is set, line2 must also be set.
       The length of this string should be between 0 and 35, inclusive.
       
      optional string line1 = 10;
      Parameters:
      value - The bytes for line1 to set.
      Returns:
      This builder for chaining.
    • hasLine2

      public boolean hasLine2()
       Second line of the description for the sitelink.
       If this value is set, line1 must also be set.
       The length of this string should be between 0 and 35, inclusive.
       
      optional string line2 = 11;
      Specified by:
      hasLine2 in interface SitelinkFeedItemOrBuilder
      Returns:
      Whether the line2 field is set.
    • getLine2

      public String getLine2()
       Second line of the description for the sitelink.
       If this value is set, line1 must also be set.
       The length of this string should be between 0 and 35, inclusive.
       
      optional string line2 = 11;
      Specified by:
      getLine2 in interface SitelinkFeedItemOrBuilder
      Returns:
      The line2.
    • getLine2Bytes

      public com.google.protobuf.ByteString getLine2Bytes()
       Second line of the description for the sitelink.
       If this value is set, line1 must also be set.
       The length of this string should be between 0 and 35, inclusive.
       
      optional string line2 = 11;
      Specified by:
      getLine2Bytes in interface SitelinkFeedItemOrBuilder
      Returns:
      The bytes for line2.
    • setLine2

      public SitelinkFeedItem.Builder setLine2(String value)
       Second line of the description for the sitelink.
       If this value is set, line1 must also be set.
       The length of this string should be between 0 and 35, inclusive.
       
      optional string line2 = 11;
      Parameters:
      value - The line2 to set.
      Returns:
      This builder for chaining.
    • clearLine2

      public SitelinkFeedItem.Builder clearLine2()
       Second line of the description for the sitelink.
       If this value is set, line1 must also be set.
       The length of this string should be between 0 and 35, inclusive.
       
      optional string line2 = 11;
      Returns:
      This builder for chaining.
    • setLine2Bytes

      public SitelinkFeedItem.Builder setLine2Bytes(com.google.protobuf.ByteString value)
       Second line of the description for the sitelink.
       If this value is set, line1 must also be set.
       The length of this string should be between 0 and 35, inclusive.
       
      optional string line2 = 11;
      Parameters:
      value - The bytes for line2 to set.
      Returns:
      This builder for chaining.
    • getFinalUrlsList

      public com.google.protobuf.ProtocolStringList getFinalUrlsList()
       A list of possible final URLs after all cross domain redirects.
       
      repeated string final_urls = 12;
      Specified by:
      getFinalUrlsList in interface SitelinkFeedItemOrBuilder
      Returns:
      A list containing the finalUrls.
    • getFinalUrlsCount

      public int getFinalUrlsCount()
       A list of possible final URLs after all cross domain redirects.
       
      repeated string final_urls = 12;
      Specified by:
      getFinalUrlsCount in interface SitelinkFeedItemOrBuilder
      Returns:
      The count of finalUrls.
    • getFinalUrls

      public String getFinalUrls(int index)
       A list of possible final URLs after all cross domain redirects.
       
      repeated string final_urls = 12;
      Specified by:
      getFinalUrls in interface SitelinkFeedItemOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The finalUrls at the given index.
    • getFinalUrlsBytes

      public com.google.protobuf.ByteString getFinalUrlsBytes(int index)
       A list of possible final URLs after all cross domain redirects.
       
      repeated string final_urls = 12;
      Specified by:
      getFinalUrlsBytes in interface SitelinkFeedItemOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the finalUrls at the given index.
    • setFinalUrls

      public SitelinkFeedItem.Builder setFinalUrls(int index, String value)
       A list of possible final URLs after all cross domain redirects.
       
      repeated string final_urls = 12;
      Parameters:
      index - The index to set the value at.
      value - The finalUrls to set.
      Returns:
      This builder for chaining.
    • addFinalUrls

      public SitelinkFeedItem.Builder addFinalUrls(String value)
       A list of possible final URLs after all cross domain redirects.
       
      repeated string final_urls = 12;
      Parameters:
      value - The finalUrls to add.
      Returns:
      This builder for chaining.
    • addAllFinalUrls

      public SitelinkFeedItem.Builder addAllFinalUrls(Iterable<String> values)
       A list of possible final URLs after all cross domain redirects.
       
      repeated string final_urls = 12;
      Parameters:
      values - The finalUrls to add.
      Returns:
      This builder for chaining.
    • clearFinalUrls

      public SitelinkFeedItem.Builder clearFinalUrls()
       A list of possible final URLs after all cross domain redirects.
       
      repeated string final_urls = 12;
      Returns:
      This builder for chaining.
    • addFinalUrlsBytes

      public SitelinkFeedItem.Builder addFinalUrlsBytes(com.google.protobuf.ByteString value)
       A list of possible final URLs after all cross domain redirects.
       
      repeated string final_urls = 12;
      Parameters:
      value - The bytes of the finalUrls to add.
      Returns:
      This builder for chaining.
    • getFinalMobileUrlsList

      public com.google.protobuf.ProtocolStringList getFinalMobileUrlsList()
       A list of possible final mobile URLs after all cross domain redirects.
       
      repeated string final_mobile_urls = 13;
      Specified by:
      getFinalMobileUrlsList in interface SitelinkFeedItemOrBuilder
      Returns:
      A list containing the finalMobileUrls.
    • getFinalMobileUrlsCount

      public int getFinalMobileUrlsCount()
       A list of possible final mobile URLs after all cross domain redirects.
       
      repeated string final_mobile_urls = 13;
      Specified by:
      getFinalMobileUrlsCount in interface SitelinkFeedItemOrBuilder
      Returns:
      The count of finalMobileUrls.
    • getFinalMobileUrls

      public String getFinalMobileUrls(int index)
       A list of possible final mobile URLs after all cross domain redirects.
       
      repeated string final_mobile_urls = 13;
      Specified by:
      getFinalMobileUrls in interface SitelinkFeedItemOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The finalMobileUrls at the given index.
    • getFinalMobileUrlsBytes

      public com.google.protobuf.ByteString getFinalMobileUrlsBytes(int index)
       A list of possible final mobile URLs after all cross domain redirects.
       
      repeated string final_mobile_urls = 13;
      Specified by:
      getFinalMobileUrlsBytes in interface SitelinkFeedItemOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the finalMobileUrls at the given index.
    • setFinalMobileUrls

      public SitelinkFeedItem.Builder setFinalMobileUrls(int index, String value)
       A list of possible final mobile URLs after all cross domain redirects.
       
      repeated string final_mobile_urls = 13;
      Parameters:
      index - The index to set the value at.
      value - The finalMobileUrls to set.
      Returns:
      This builder for chaining.
    • addFinalMobileUrls

      public SitelinkFeedItem.Builder addFinalMobileUrls(String value)
       A list of possible final mobile URLs after all cross domain redirects.
       
      repeated string final_mobile_urls = 13;
      Parameters:
      value - The finalMobileUrls to add.
      Returns:
      This builder for chaining.
    • addAllFinalMobileUrls

      public SitelinkFeedItem.Builder addAllFinalMobileUrls(Iterable<String> values)
       A list of possible final mobile URLs after all cross domain redirects.
       
      repeated string final_mobile_urls = 13;
      Parameters:
      values - The finalMobileUrls to add.
      Returns:
      This builder for chaining.
    • clearFinalMobileUrls

      public SitelinkFeedItem.Builder clearFinalMobileUrls()
       A list of possible final mobile URLs after all cross domain redirects.
       
      repeated string final_mobile_urls = 13;
      Returns:
      This builder for chaining.
    • addFinalMobileUrlsBytes

      public SitelinkFeedItem.Builder addFinalMobileUrlsBytes(com.google.protobuf.ByteString value)
       A list of possible final mobile URLs after all cross domain redirects.
       
      repeated string final_mobile_urls = 13;
      Parameters:
      value - The bytes of the finalMobileUrls to add.
      Returns:
      This builder for chaining.
    • hasTrackingUrlTemplate

      public boolean hasTrackingUrlTemplate()
       URL template for constructing a tracking URL.
       
      optional string tracking_url_template = 14;
      Specified by:
      hasTrackingUrlTemplate in interface SitelinkFeedItemOrBuilder
      Returns:
      Whether the trackingUrlTemplate field is set.
    • getTrackingUrlTemplate

      public String getTrackingUrlTemplate()
       URL template for constructing a tracking URL.
       
      optional string tracking_url_template = 14;
      Specified by:
      getTrackingUrlTemplate in interface SitelinkFeedItemOrBuilder
      Returns:
      The trackingUrlTemplate.
    • getTrackingUrlTemplateBytes

      public com.google.protobuf.ByteString getTrackingUrlTemplateBytes()
       URL template for constructing a tracking URL.
       
      optional string tracking_url_template = 14;
      Specified by:
      getTrackingUrlTemplateBytes in interface SitelinkFeedItemOrBuilder
      Returns:
      The bytes for trackingUrlTemplate.
    • setTrackingUrlTemplate

      public SitelinkFeedItem.Builder setTrackingUrlTemplate(String value)
       URL template for constructing a tracking URL.
       
      optional string tracking_url_template = 14;
      Parameters:
      value - The trackingUrlTemplate to set.
      Returns:
      This builder for chaining.
    • clearTrackingUrlTemplate

      public SitelinkFeedItem.Builder clearTrackingUrlTemplate()
       URL template for constructing a tracking URL.
       
      optional string tracking_url_template = 14;
      Returns:
      This builder for chaining.
    • setTrackingUrlTemplateBytes

      public SitelinkFeedItem.Builder setTrackingUrlTemplateBytes(com.google.protobuf.ByteString value)
       URL template for constructing a tracking URL.
       
      optional string tracking_url_template = 14;
      Parameters:
      value - The bytes for trackingUrlTemplate to set.
      Returns:
      This builder for chaining.
    • getUrlCustomParametersList

      public List<CustomParameter> getUrlCustomParametersList()
       A list of mappings to be used for substituting URL custom parameter tags in
       the tracking_url_template, final_urls, and/or final_mobile_urls.
       
      repeated .google.ads.googleads.v18.common.CustomParameter url_custom_parameters = 7;
      Specified by:
      getUrlCustomParametersList in interface SitelinkFeedItemOrBuilder
    • getUrlCustomParametersCount

      public int getUrlCustomParametersCount()
       A list of mappings to be used for substituting URL custom parameter tags in
       the tracking_url_template, final_urls, and/or final_mobile_urls.
       
      repeated .google.ads.googleads.v18.common.CustomParameter url_custom_parameters = 7;
      Specified by:
      getUrlCustomParametersCount in interface SitelinkFeedItemOrBuilder
    • getUrlCustomParameters

      public CustomParameter getUrlCustomParameters(int index)
       A list of mappings to be used for substituting URL custom parameter tags in
       the tracking_url_template, final_urls, and/or final_mobile_urls.
       
      repeated .google.ads.googleads.v18.common.CustomParameter url_custom_parameters = 7;
      Specified by:
      getUrlCustomParameters in interface SitelinkFeedItemOrBuilder
    • setUrlCustomParameters

      public SitelinkFeedItem.Builder setUrlCustomParameters(int index, CustomParameter value)
       A list of mappings to be used for substituting URL custom parameter tags in
       the tracking_url_template, final_urls, and/or final_mobile_urls.
       
      repeated .google.ads.googleads.v18.common.CustomParameter url_custom_parameters = 7;
    • setUrlCustomParameters

      public SitelinkFeedItem.Builder setUrlCustomParameters(int index, CustomParameter.Builder builderForValue)
       A list of mappings to be used for substituting URL custom parameter tags in
       the tracking_url_template, final_urls, and/or final_mobile_urls.
       
      repeated .google.ads.googleads.v18.common.CustomParameter url_custom_parameters = 7;
    • addUrlCustomParameters

      public SitelinkFeedItem.Builder addUrlCustomParameters(CustomParameter value)
       A list of mappings to be used for substituting URL custom parameter tags in
       the tracking_url_template, final_urls, and/or final_mobile_urls.
       
      repeated .google.ads.googleads.v18.common.CustomParameter url_custom_parameters = 7;
    • addUrlCustomParameters

      public SitelinkFeedItem.Builder addUrlCustomParameters(int index, CustomParameter value)
       A list of mappings to be used for substituting URL custom parameter tags in
       the tracking_url_template, final_urls, and/or final_mobile_urls.
       
      repeated .google.ads.googleads.v18.common.CustomParameter url_custom_parameters = 7;
    • addUrlCustomParameters

      public SitelinkFeedItem.Builder addUrlCustomParameters(CustomParameter.Builder builderForValue)
       A list of mappings to be used for substituting URL custom parameter tags in
       the tracking_url_template, final_urls, and/or final_mobile_urls.
       
      repeated .google.ads.googleads.v18.common.CustomParameter url_custom_parameters = 7;
    • addUrlCustomParameters

      public SitelinkFeedItem.Builder addUrlCustomParameters(int index, CustomParameter.Builder builderForValue)
       A list of mappings to be used for substituting URL custom parameter tags in
       the tracking_url_template, final_urls, and/or final_mobile_urls.
       
      repeated .google.ads.googleads.v18.common.CustomParameter url_custom_parameters = 7;
    • addAllUrlCustomParameters

      public SitelinkFeedItem.Builder addAllUrlCustomParameters(Iterable<? extends CustomParameter> values)
       A list of mappings to be used for substituting URL custom parameter tags in
       the tracking_url_template, final_urls, and/or final_mobile_urls.
       
      repeated .google.ads.googleads.v18.common.CustomParameter url_custom_parameters = 7;
    • clearUrlCustomParameters

      public SitelinkFeedItem.Builder clearUrlCustomParameters()
       A list of mappings to be used for substituting URL custom parameter tags in
       the tracking_url_template, final_urls, and/or final_mobile_urls.
       
      repeated .google.ads.googleads.v18.common.CustomParameter url_custom_parameters = 7;
    • removeUrlCustomParameters

      public SitelinkFeedItem.Builder removeUrlCustomParameters(int index)
       A list of mappings to be used for substituting URL custom parameter tags in
       the tracking_url_template, final_urls, and/or final_mobile_urls.
       
      repeated .google.ads.googleads.v18.common.CustomParameter url_custom_parameters = 7;
    • getUrlCustomParametersBuilder

      public CustomParameter.Builder getUrlCustomParametersBuilder(int index)
       A list of mappings to be used for substituting URL custom parameter tags in
       the tracking_url_template, final_urls, and/or final_mobile_urls.
       
      repeated .google.ads.googleads.v18.common.CustomParameter url_custom_parameters = 7;
    • getUrlCustomParametersOrBuilder

      public CustomParameterOrBuilder getUrlCustomParametersOrBuilder(int index)
       A list of mappings to be used for substituting URL custom parameter tags in
       the tracking_url_template, final_urls, and/or final_mobile_urls.
       
      repeated .google.ads.googleads.v18.common.CustomParameter url_custom_parameters = 7;
      Specified by:
      getUrlCustomParametersOrBuilder in interface SitelinkFeedItemOrBuilder
    • getUrlCustomParametersOrBuilderList

      public List<? extends CustomParameterOrBuilder> getUrlCustomParametersOrBuilderList()
       A list of mappings to be used for substituting URL custom parameter tags in
       the tracking_url_template, final_urls, and/or final_mobile_urls.
       
      repeated .google.ads.googleads.v18.common.CustomParameter url_custom_parameters = 7;
      Specified by:
      getUrlCustomParametersOrBuilderList in interface SitelinkFeedItemOrBuilder
    • addUrlCustomParametersBuilder

      public CustomParameter.Builder addUrlCustomParametersBuilder()
       A list of mappings to be used for substituting URL custom parameter tags in
       the tracking_url_template, final_urls, and/or final_mobile_urls.
       
      repeated .google.ads.googleads.v18.common.CustomParameter url_custom_parameters = 7;
    • addUrlCustomParametersBuilder

      public CustomParameter.Builder addUrlCustomParametersBuilder(int index)
       A list of mappings to be used for substituting URL custom parameter tags in
       the tracking_url_template, final_urls, and/or final_mobile_urls.
       
      repeated .google.ads.googleads.v18.common.CustomParameter url_custom_parameters = 7;
    • getUrlCustomParametersBuilderList

      public List<CustomParameter.Builder> getUrlCustomParametersBuilderList()
       A list of mappings to be used for substituting URL custom parameter tags in
       the tracking_url_template, final_urls, and/or final_mobile_urls.
       
      repeated .google.ads.googleads.v18.common.CustomParameter url_custom_parameters = 7;
    • hasFinalUrlSuffix

      public boolean hasFinalUrlSuffix()
       Final URL suffix to be appended to landing page URLs served with
       parallel tracking.
       
      optional string final_url_suffix = 15;
      Specified by:
      hasFinalUrlSuffix in interface SitelinkFeedItemOrBuilder
      Returns:
      Whether the finalUrlSuffix field is set.
    • getFinalUrlSuffix

      public String getFinalUrlSuffix()
       Final URL suffix to be appended to landing page URLs served with
       parallel tracking.
       
      optional string final_url_suffix = 15;
      Specified by:
      getFinalUrlSuffix in interface SitelinkFeedItemOrBuilder
      Returns:
      The finalUrlSuffix.
    • getFinalUrlSuffixBytes

      public com.google.protobuf.ByteString getFinalUrlSuffixBytes()
       Final URL suffix to be appended to landing page URLs served with
       parallel tracking.
       
      optional string final_url_suffix = 15;
      Specified by:
      getFinalUrlSuffixBytes in interface SitelinkFeedItemOrBuilder
      Returns:
      The bytes for finalUrlSuffix.
    • setFinalUrlSuffix

      public SitelinkFeedItem.Builder setFinalUrlSuffix(String value)
       Final URL suffix to be appended to landing page URLs served with
       parallel tracking.
       
      optional string final_url_suffix = 15;
      Parameters:
      value - The finalUrlSuffix to set.
      Returns:
      This builder for chaining.
    • clearFinalUrlSuffix

      public SitelinkFeedItem.Builder clearFinalUrlSuffix()
       Final URL suffix to be appended to landing page URLs served with
       parallel tracking.
       
      optional string final_url_suffix = 15;
      Returns:
      This builder for chaining.
    • setFinalUrlSuffixBytes

      public SitelinkFeedItem.Builder setFinalUrlSuffixBytes(com.google.protobuf.ByteString value)
       Final URL suffix to be appended to landing page URLs served with
       parallel tracking.
       
      optional string final_url_suffix = 15;
      Parameters:
      value - The bytes for finalUrlSuffix to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final SitelinkFeedItem.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<SitelinkFeedItem.Builder>
    • mergeUnknownFields

      public final SitelinkFeedItem.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<SitelinkFeedItem.Builder>