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.v13.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
,java.lang.Cloneable
- Enclosing class:
- SitelinkFeedItem
public static final class SitelinkFeedItem.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SitelinkFeedItem.Builder> implements SitelinkFeedItemOrBuilder
Represents a sitelink.
Protobuf typegoogle.ads.googleads.v13.common.SitelinkFeedItem
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SitelinkFeedItem.Builder
addAllFinalMobileUrls(java.lang.Iterable<java.lang.String> values)
A list of possible final mobile URLs after all cross domain redirects.SitelinkFeedItem.Builder
addAllFinalUrls(java.lang.Iterable<java.lang.String> values)
A list of possible final URLs after all cross domain redirects.SitelinkFeedItem.Builder
addAllUrlCustomParameters(java.lang.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.SitelinkFeedItem.Builder
addFinalMobileUrls(java.lang.String value)
A list of possible final mobile URLs after all cross domain redirects.SitelinkFeedItem.Builder
addFinalMobileUrlsBytes(com.google.protobuf.ByteString value)
A list of possible final mobile URLs after all cross domain redirects.SitelinkFeedItem.Builder
addFinalUrls(java.lang.String value)
A list of possible final URLs after all cross domain redirects.SitelinkFeedItem.Builder
addFinalUrlsBytes(com.google.protobuf.ByteString value)
A list of possible final URLs after all cross domain redirects.SitelinkFeedItem.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
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.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.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.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.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.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.SitelinkFeedItem
build()
SitelinkFeedItem
buildPartial()
SitelinkFeedItem.Builder
clear()
SitelinkFeedItem.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
SitelinkFeedItem.Builder
clearFinalMobileUrls()
A list of possible final mobile URLs after all cross domain redirects.SitelinkFeedItem.Builder
clearFinalUrls()
A list of possible final URLs after all cross domain redirects.SitelinkFeedItem.Builder
clearFinalUrlSuffix()
Final URL suffix to be appended to landing page URLs served with parallel tracking.SitelinkFeedItem.Builder
clearLine1()
First line of the description for the sitelink.SitelinkFeedItem.Builder
clearLine2()
Second line of the description for the sitelink.SitelinkFeedItem.Builder
clearLinkText()
URL display text for the sitelink.SitelinkFeedItem.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
SitelinkFeedItem.Builder
clearTrackingUrlTemplate()
URL template for constructing a tracking URL.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.SitelinkFeedItem.Builder
clone()
SitelinkFeedItem
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getFinalMobileUrls(int index)
A list of possible final mobile URLs after all cross domain redirects.com.google.protobuf.ByteString
getFinalMobileUrlsBytes(int index)
A list of possible final mobile URLs after all cross domain redirects.int
getFinalMobileUrlsCount()
A list of possible final mobile URLs after all cross domain redirects.com.google.protobuf.ProtocolStringList
getFinalMobileUrlsList()
A list of possible final mobile URLs after all cross domain redirects.java.lang.String
getFinalUrls(int index)
A list of possible final URLs after all cross domain redirects.com.google.protobuf.ByteString
getFinalUrlsBytes(int index)
A list of possible final URLs after all cross domain redirects.int
getFinalUrlsCount()
A list of possible final URLs after all cross domain redirects.com.google.protobuf.ProtocolStringList
getFinalUrlsList()
A list of possible final URLs after all cross domain redirects.java.lang.String
getFinalUrlSuffix()
Final URL suffix to be appended to landing page URLs served with parallel tracking.com.google.protobuf.ByteString
getFinalUrlSuffixBytes()
Final URL suffix to be appended to landing page URLs served with parallel tracking.java.lang.String
getLine1()
First line of the description for the sitelink.com.google.protobuf.ByteString
getLine1Bytes()
First line of the description for the sitelink.java.lang.String
getLine2()
Second line of the description for the sitelink.com.google.protobuf.ByteString
getLine2Bytes()
Second line of the description for the sitelink.java.lang.String
getLinkText()
URL display text for the sitelink.com.google.protobuf.ByteString
getLinkTextBytes()
URL display text for the sitelink.java.lang.String
getTrackingUrlTemplate()
URL template for constructing a tracking URL.com.google.protobuf.ByteString
getTrackingUrlTemplateBytes()
URL template for constructing a tracking URL.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.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.java.util.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.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.java.util.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.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.java.util.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.boolean
hasFinalUrlSuffix()
Final URL suffix to be appended to landing page URLs served with parallel tracking.boolean
hasLine1()
First line of the description for the sitelink.boolean
hasLine2()
Second line of the description for the sitelink.boolean
hasLinkText()
URL display text for the sitelink.boolean
hasTrackingUrlTemplate()
URL template for constructing a tracking URL.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
SitelinkFeedItem.Builder
mergeFrom(SitelinkFeedItem other)
SitelinkFeedItem.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
SitelinkFeedItem.Builder
mergeFrom(com.google.protobuf.Message other)
SitelinkFeedItem.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
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.SitelinkFeedItem.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
SitelinkFeedItem.Builder
setFinalMobileUrls(int index, java.lang.String value)
A list of possible final mobile URLs after all cross domain redirects.SitelinkFeedItem.Builder
setFinalUrls(int index, java.lang.String value)
A list of possible final URLs after all cross domain redirects.SitelinkFeedItem.Builder
setFinalUrlSuffix(java.lang.String value)
Final URL suffix to be appended to landing page URLs served with parallel tracking.SitelinkFeedItem.Builder
setFinalUrlSuffixBytes(com.google.protobuf.ByteString value)
Final URL suffix to be appended to landing page URLs served with parallel tracking.SitelinkFeedItem.Builder
setLine1(java.lang.String value)
First line of the description for the sitelink.SitelinkFeedItem.Builder
setLine1Bytes(com.google.protobuf.ByteString value)
First line of the description for the sitelink.SitelinkFeedItem.Builder
setLine2(java.lang.String value)
Second line of the description for the sitelink.SitelinkFeedItem.Builder
setLine2Bytes(com.google.protobuf.ByteString value)
Second line of the description for the sitelink.SitelinkFeedItem.Builder
setLinkText(java.lang.String value)
URL display text for the sitelink.SitelinkFeedItem.Builder
setLinkTextBytes(com.google.protobuf.ByteString value)
URL display text for the sitelink.SitelinkFeedItem.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
SitelinkFeedItem.Builder
setTrackingUrlTemplate(java.lang.String value)
URL template for constructing a tracking URL.SitelinkFeedItem.Builder
setTrackingUrlTemplateBytes(com.google.protobuf.ByteString value)
URL template for constructing a tracking URL.SitelinkFeedItem.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
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.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.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<SitelinkFeedItem.Builder>
-
clear
public SitelinkFeedItem.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<SitelinkFeedItem.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<SitelinkFeedItem.Builder>
-
getDefaultInstanceForType
public SitelinkFeedItem getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public SitelinkFeedItem build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public SitelinkFeedItem buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public SitelinkFeedItem.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<SitelinkFeedItem.Builder>
-
setField
public SitelinkFeedItem.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<SitelinkFeedItem.Builder>
-
clearField
public SitelinkFeedItem.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<SitelinkFeedItem.Builder>
-
clearOneof
public SitelinkFeedItem.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<SitelinkFeedItem.Builder>
-
setRepeatedField
public SitelinkFeedItem.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<SitelinkFeedItem.Builder>
-
addRepeatedField
public SitelinkFeedItem.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<SitelinkFeedItem.Builder>
-
mergeFrom
public SitelinkFeedItem.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<SitelinkFeedItem.Builder>
-
mergeFrom
public SitelinkFeedItem.Builder mergeFrom(SitelinkFeedItem other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<SitelinkFeedItem.Builder>
-
mergeFrom
public SitelinkFeedItem.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<SitelinkFeedItem.Builder>
- Throws:
java.io.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 interfaceSitelinkFeedItemOrBuilder
- Returns:
- Whether the linkText field is set.
-
getLinkText
public java.lang.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 interfaceSitelinkFeedItemOrBuilder
- 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 interfaceSitelinkFeedItemOrBuilder
- Returns:
- The bytes for linkText.
-
setLinkText
public SitelinkFeedItem.Builder setLinkText(java.lang.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 interfaceSitelinkFeedItemOrBuilder
- Returns:
- Whether the line1 field is set.
-
getLine1
public java.lang.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 interfaceSitelinkFeedItemOrBuilder
- 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 interfaceSitelinkFeedItemOrBuilder
- Returns:
- The bytes for line1.
-
setLine1
public SitelinkFeedItem.Builder setLine1(java.lang.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 interfaceSitelinkFeedItemOrBuilder
- Returns:
- Whether the line2 field is set.
-
getLine2
public java.lang.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 interfaceSitelinkFeedItemOrBuilder
- 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 interfaceSitelinkFeedItemOrBuilder
- Returns:
- The bytes for line2.
-
setLine2
public SitelinkFeedItem.Builder setLine2(java.lang.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 interfaceSitelinkFeedItemOrBuilder
- 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 interfaceSitelinkFeedItemOrBuilder
- Returns:
- The count of finalUrls.
-
getFinalUrls
public java.lang.String getFinalUrls(int index)
A list of possible final URLs after all cross domain redirects.
repeated string final_urls = 12;
- Specified by:
getFinalUrls
in interfaceSitelinkFeedItemOrBuilder
- 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 interfaceSitelinkFeedItemOrBuilder
- 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, java.lang.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(java.lang.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(java.lang.Iterable<java.lang.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 interfaceSitelinkFeedItemOrBuilder
- 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 interfaceSitelinkFeedItemOrBuilder
- Returns:
- The count of finalMobileUrls.
-
getFinalMobileUrls
public java.lang.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 interfaceSitelinkFeedItemOrBuilder
- 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 interfaceSitelinkFeedItemOrBuilder
- 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, java.lang.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(java.lang.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(java.lang.Iterable<java.lang.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 interfaceSitelinkFeedItemOrBuilder
- Returns:
- Whether the trackingUrlTemplate field is set.
-
getTrackingUrlTemplate
public java.lang.String getTrackingUrlTemplate()
URL template for constructing a tracking URL.
optional string tracking_url_template = 14;
- Specified by:
getTrackingUrlTemplate
in interfaceSitelinkFeedItemOrBuilder
- 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 interfaceSitelinkFeedItemOrBuilder
- Returns:
- The bytes for trackingUrlTemplate.
-
setTrackingUrlTemplate
public SitelinkFeedItem.Builder setTrackingUrlTemplate(java.lang.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 java.util.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.v13.common.CustomParameter url_custom_parameters = 7;
- Specified by:
getUrlCustomParametersList
in interfaceSitelinkFeedItemOrBuilder
-
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.v13.common.CustomParameter url_custom_parameters = 7;
- Specified by:
getUrlCustomParametersCount
in interfaceSitelinkFeedItemOrBuilder
-
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.v13.common.CustomParameter url_custom_parameters = 7;
- Specified by:
getUrlCustomParameters
in interfaceSitelinkFeedItemOrBuilder
-
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.v13.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.v13.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.v13.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.v13.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.v13.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.v13.common.CustomParameter url_custom_parameters = 7;
-
addAllUrlCustomParameters
public SitelinkFeedItem.Builder addAllUrlCustomParameters(java.lang.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.v13.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.v13.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.v13.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.v13.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.v13.common.CustomParameter url_custom_parameters = 7;
- Specified by:
getUrlCustomParametersOrBuilder
in interfaceSitelinkFeedItemOrBuilder
-
getUrlCustomParametersOrBuilderList
public java.util.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.v13.common.CustomParameter url_custom_parameters = 7;
- Specified by:
getUrlCustomParametersOrBuilderList
in interfaceSitelinkFeedItemOrBuilder
-
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.v13.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.v13.common.CustomParameter url_custom_parameters = 7;
-
getUrlCustomParametersBuilderList
public java.util.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.v13.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 interfaceSitelinkFeedItemOrBuilder
- Returns:
- Whether the finalUrlSuffix field is set.
-
getFinalUrlSuffix
public java.lang.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 interfaceSitelinkFeedItemOrBuilder
- 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 interfaceSitelinkFeedItemOrBuilder
- Returns:
- The bytes for finalUrlSuffix.
-
setFinalUrlSuffix
public SitelinkFeedItem.Builder setFinalUrlSuffix(java.lang.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<SitelinkFeedItem.Builder>
-
mergeUnknownFields
public final SitelinkFeedItem.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<SitelinkFeedItem.Builder>
-
-