Class SitelinkFeedItem
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.ads.googleads.v18.common.SitelinkFeedItem
- All Implemented Interfaces:
SitelinkFeedItemOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class SitelinkFeedItem
extends com.google.protobuf.GeneratedMessageV3
implements SitelinkFeedItemOrBuilder
Represents a sitelink.Protobuf type
google.ads.googleads.v18.common.SitelinkFeedItem- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classRepresents a sitelink.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic SitelinkFeedItemstatic final com.google.protobuf.Descriptors.DescriptorgetFinalMobileUrls(int index) A list of possible final mobile URLs after all cross domain redirects.com.google.protobuf.ByteStringgetFinalMobileUrlsBytes(int index) A list of possible final mobile URLs after all cross domain redirects.intA list of possible final mobile URLs after all cross domain redirects.com.google.protobuf.ProtocolStringListA list of possible final mobile URLs after all cross domain redirects.getFinalUrls(int index) A list of possible final URLs after all cross domain redirects.com.google.protobuf.ByteStringgetFinalUrlsBytes(int index) A list of possible final URLs after all cross domain redirects.intA list of possible final URLs after all cross domain redirects.com.google.protobuf.ProtocolStringListA list of possible final URLs after all cross domain redirects.Final URL suffix to be appended to landing page URLs served with parallel tracking.com.google.protobuf.ByteStringFinal URL suffix to be appended to landing page URLs served with parallel tracking.getLine1()First line of the description for the sitelink.com.google.protobuf.ByteStringFirst line of the description for the sitelink.getLine2()Second line of the description for the sitelink.com.google.protobuf.ByteStringSecond line of the description for the sitelink.URL display text for the sitelink.com.google.protobuf.ByteStringURL display text for the sitelink.com.google.protobuf.Parser<SitelinkFeedItem>intURL template for constructing a tracking URL.com.google.protobuf.ByteStringURL template for constructing a tracking URL.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.intA list of mappings to be used for substituting URL custom parameter tags in the tracking_url_template, final_urls, and/or final_mobile_urls.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.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.List<? extends CustomParameterOrBuilder>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.booleanFinal URL suffix to be appended to landing page URLs served with parallel tracking.inthashCode()booleanhasLine1()First line of the description for the sitelink.booleanhasLine2()Second line of the description for the sitelink.booleanURL display text for the sitelink.booleanURL template for constructing a tracking URL.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic SitelinkFeedItem.Builderstatic SitelinkFeedItem.BuildernewBuilder(SitelinkFeedItem prototype) protected SitelinkFeedItem.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static SitelinkFeedItemparseDelimitedFrom(InputStream input) static SitelinkFeedItemparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SitelinkFeedItemparseFrom(byte[] data) static SitelinkFeedItemparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SitelinkFeedItemparseFrom(com.google.protobuf.ByteString data) static SitelinkFeedItemparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SitelinkFeedItemparseFrom(com.google.protobuf.CodedInputStream input) static SitelinkFeedItemparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SitelinkFeedItemparseFrom(InputStream input) static SitelinkFeedItemparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SitelinkFeedItemparseFrom(ByteBuffer data) static SitelinkFeedItemparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<SitelinkFeedItem>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
LINK_TEXT_FIELD_NUMBER
public static final int LINK_TEXT_FIELD_NUMBER- See Also:
-
LINE1_FIELD_NUMBER
public static final int LINE1_FIELD_NUMBER- See Also:
-
LINE2_FIELD_NUMBER
public static final int LINE2_FIELD_NUMBER- See Also:
-
FINAL_URLS_FIELD_NUMBER
public static final int FINAL_URLS_FIELD_NUMBER- See Also:
-
FINAL_MOBILE_URLS_FIELD_NUMBER
public static final int FINAL_MOBILE_URLS_FIELD_NUMBER- See Also:
-
TRACKING_URL_TEMPLATE_FIELD_NUMBER
public static final int TRACKING_URL_TEMPLATE_FIELD_NUMBER- See Also:
-
URL_CUSTOM_PARAMETERS_FIELD_NUMBER
public static final int URL_CUSTOM_PARAMETERS_FIELD_NUMBER- See Also:
-
FINAL_URL_SUFFIX_FIELD_NUMBER
public static final int FINAL_URL_SUFFIX_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
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:
hasLinkTextin interfaceSitelinkFeedItemOrBuilder- Returns:
- Whether the linkText field is set.
-
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:
getLinkTextin 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:
getLinkTextBytesin interfaceSitelinkFeedItemOrBuilder- Returns:
- The bytes for linkText.
-
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:
hasLine1in interfaceSitelinkFeedItemOrBuilder- Returns:
- Whether the line1 field is set.
-
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:
getLine1in 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:
getLine1Bytesin interfaceSitelinkFeedItemOrBuilder- Returns:
- The bytes for line1.
-
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:
hasLine2in interfaceSitelinkFeedItemOrBuilder- Returns:
- Whether the line2 field is set.
-
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:
getLine2in 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:
getLine2Bytesin interfaceSitelinkFeedItemOrBuilder- Returns:
- The bytes for line2.
-
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:
getFinalUrlsListin 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:
getFinalUrlsCountin interfaceSitelinkFeedItemOrBuilder- Returns:
- The count of finalUrls.
-
getFinalUrls
A list of possible final URLs after all cross domain redirects.
repeated string final_urls = 12;- Specified by:
getFinalUrlsin 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:
getFinalUrlsBytesin interfaceSitelinkFeedItemOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the finalUrls at the given index.
-
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:
getFinalMobileUrlsListin 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:
getFinalMobileUrlsCountin interfaceSitelinkFeedItemOrBuilder- Returns:
- The count of finalMobileUrls.
-
getFinalMobileUrls
A list of possible final mobile URLs after all cross domain redirects.
repeated string final_mobile_urls = 13;- Specified by:
getFinalMobileUrlsin 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:
getFinalMobileUrlsBytesin interfaceSitelinkFeedItemOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the finalMobileUrls at the given index.
-
hasTrackingUrlTemplate
public boolean hasTrackingUrlTemplate()URL template for constructing a tracking URL.
optional string tracking_url_template = 14;- Specified by:
hasTrackingUrlTemplatein interfaceSitelinkFeedItemOrBuilder- Returns:
- Whether the trackingUrlTemplate field is set.
-
getTrackingUrlTemplate
URL template for constructing a tracking URL.
optional string tracking_url_template = 14;- Specified by:
getTrackingUrlTemplatein 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:
getTrackingUrlTemplateBytesin interfaceSitelinkFeedItemOrBuilder- Returns:
- The bytes for trackingUrlTemplate.
-
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:
getUrlCustomParametersListin interfaceSitelinkFeedItemOrBuilder
-
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:
getUrlCustomParametersOrBuilderListin 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.v18.common.CustomParameter url_custom_parameters = 7;- Specified by:
getUrlCustomParametersCountin interfaceSitelinkFeedItemOrBuilder
-
getUrlCustomParameters
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:
getUrlCustomParametersin interfaceSitelinkFeedItemOrBuilder
-
getUrlCustomParametersOrBuilder
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:
getUrlCustomParametersOrBuilderin interfaceSitelinkFeedItemOrBuilder
-
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:
hasFinalUrlSuffixin interfaceSitelinkFeedItemOrBuilder- Returns:
- Whether the finalUrlSuffix field is set.
-
getFinalUrlSuffix
Final URL suffix to be appended to landing page URLs served with parallel tracking.
optional string final_url_suffix = 15;- Specified by:
getFinalUrlSuffixin 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:
getFinalUrlSuffixBytesin interfaceSitelinkFeedItemOrBuilder- Returns:
- The bytes for finalUrlSuffix.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static SitelinkFeedItem parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SitelinkFeedItem parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SitelinkFeedItem parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SitelinkFeedItem parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SitelinkFeedItem parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SitelinkFeedItem parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static SitelinkFeedItem parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static SitelinkFeedItem parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static SitelinkFeedItem parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static SitelinkFeedItem parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected SitelinkFeedItem.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-