Class UrlCollection.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<UrlCollection.Builder>
com.google.ads.googleads.v18.common.UrlCollection.Builder
- All Implemented Interfaces:
UrlCollectionOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- UrlCollection
public static final class UrlCollection.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<UrlCollection.Builder>
implements UrlCollectionOrBuilder
Collection of urls that is tagged with a unique identifier.Protobuf type
google.ads.googleads.v18.common.UrlCollection-
Method Summary
Modifier and TypeMethodDescriptionaddAllFinalMobileUrls(Iterable<String> values) A list of possible final mobile URLs.addAllFinalUrls(Iterable<String> values) A list of possible final URLs.addFinalMobileUrls(String value) A list of possible final mobile URLs.addFinalMobileUrlsBytes(com.google.protobuf.ByteString value) A list of possible final mobile URLs.addFinalUrls(String value) A list of possible final URLs.addFinalUrlsBytes(com.google.protobuf.ByteString value) A list of possible final URLs.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) A list of possible final mobile URLs.A list of possible final URLs.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) URL template for constructing a tracking URL.Unique identifier for this UrlCollection instance.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetFinalMobileUrls(int index) A list of possible final mobile URLs.com.google.protobuf.ByteStringgetFinalMobileUrlsBytes(int index) A list of possible final mobile URLs.intA list of possible final mobile URLs.com.google.protobuf.ProtocolStringListA list of possible final mobile URLs.getFinalUrls(int index) A list of possible final URLs.com.google.protobuf.ByteStringgetFinalUrlsBytes(int index) A list of possible final URLs.intA list of possible final URLs.com.google.protobuf.ProtocolStringListA list of possible final URLs.URL template for constructing a tracking URL.com.google.protobuf.ByteStringURL template for constructing a tracking URL.Unique identifier for this UrlCollection instance.com.google.protobuf.ByteStringUnique identifier for this UrlCollection instance.booleanURL template for constructing a tracking URL.booleanUnique identifier for this UrlCollection instance.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(UrlCollection other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) final UrlCollection.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setFinalMobileUrls(int index, String value) A list of possible final mobile URLs.setFinalUrls(int index, String value) A list of possible final URLs.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setTrackingUrlTemplate(String value) URL template for constructing a tracking URL.setTrackingUrlTemplateBytes(com.google.protobuf.ByteString value) URL template for constructing a tracking URL.final UrlCollection.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setUrlCollectionId(String value) Unique identifier for this UrlCollection instance.setUrlCollectionIdBytes(com.google.protobuf.ByteString value) Unique identifier for this UrlCollection instance.Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.Builder<UrlCollection.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<UrlCollection.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<UrlCollection.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<UrlCollection.Builder>
-
setField
public UrlCollection.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UrlCollection.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UrlCollection.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<UrlCollection.Builder>
-
setRepeatedField
public UrlCollection.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UrlCollection.Builder>
-
addRepeatedField
public UrlCollection.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UrlCollection.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UrlCollection.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<UrlCollection.Builder>
-
mergeFrom
public UrlCollection.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UrlCollection.Builder>- Throws:
IOException
-
hasUrlCollectionId
public boolean hasUrlCollectionId()Unique identifier for this UrlCollection instance.
optional string url_collection_id = 5;- Specified by:
hasUrlCollectionIdin interfaceUrlCollectionOrBuilder- Returns:
- Whether the urlCollectionId field is set.
-
getUrlCollectionId
Unique identifier for this UrlCollection instance.
optional string url_collection_id = 5;- Specified by:
getUrlCollectionIdin interfaceUrlCollectionOrBuilder- Returns:
- The urlCollectionId.
-
getUrlCollectionIdBytes
public com.google.protobuf.ByteString getUrlCollectionIdBytes()Unique identifier for this UrlCollection instance.
optional string url_collection_id = 5;- Specified by:
getUrlCollectionIdBytesin interfaceUrlCollectionOrBuilder- Returns:
- The bytes for urlCollectionId.
-
setUrlCollectionId
Unique identifier for this UrlCollection instance.
optional string url_collection_id = 5;- Parameters:
value- The urlCollectionId to set.- Returns:
- This builder for chaining.
-
clearUrlCollectionId
Unique identifier for this UrlCollection instance.
optional string url_collection_id = 5;- Returns:
- This builder for chaining.
-
setUrlCollectionIdBytes
Unique identifier for this UrlCollection instance.
optional string url_collection_id = 5;- Parameters:
value- The bytes for urlCollectionId to set.- Returns:
- This builder for chaining.
-
getFinalUrlsList
public com.google.protobuf.ProtocolStringList getFinalUrlsList()A list of possible final URLs.
repeated string final_urls = 6;- Specified by:
getFinalUrlsListin interfaceUrlCollectionOrBuilder- Returns:
- A list containing the finalUrls.
-
getFinalUrlsCount
public int getFinalUrlsCount()A list of possible final URLs.
repeated string final_urls = 6;- Specified by:
getFinalUrlsCountin interfaceUrlCollectionOrBuilder- Returns:
- The count of finalUrls.
-
getFinalUrls
A list of possible final URLs.
repeated string final_urls = 6;- Specified by:
getFinalUrlsin interfaceUrlCollectionOrBuilder- 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.
repeated string final_urls = 6;- Specified by:
getFinalUrlsBytesin interfaceUrlCollectionOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the finalUrls at the given index.
-
setFinalUrls
A list of possible final URLs.
repeated string final_urls = 6;- Parameters:
index- The index to set the value at.value- The finalUrls to set.- Returns:
- This builder for chaining.
-
addFinalUrls
A list of possible final URLs.
repeated string final_urls = 6;- Parameters:
value- The finalUrls to add.- Returns:
- This builder for chaining.
-
addAllFinalUrls
A list of possible final URLs.
repeated string final_urls = 6;- Parameters:
values- The finalUrls to add.- Returns:
- This builder for chaining.
-
clearFinalUrls
A list of possible final URLs.
repeated string final_urls = 6;- Returns:
- This builder for chaining.
-
addFinalUrlsBytes
A list of possible final URLs.
repeated string final_urls = 6;- 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.
repeated string final_mobile_urls = 7;- Specified by:
getFinalMobileUrlsListin interfaceUrlCollectionOrBuilder- Returns:
- A list containing the finalMobileUrls.
-
getFinalMobileUrlsCount
public int getFinalMobileUrlsCount()A list of possible final mobile URLs.
repeated string final_mobile_urls = 7;- Specified by:
getFinalMobileUrlsCountin interfaceUrlCollectionOrBuilder- Returns:
- The count of finalMobileUrls.
-
getFinalMobileUrls
A list of possible final mobile URLs.
repeated string final_mobile_urls = 7;- Specified by:
getFinalMobileUrlsin interfaceUrlCollectionOrBuilder- 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.
repeated string final_mobile_urls = 7;- Specified by:
getFinalMobileUrlsBytesin interfaceUrlCollectionOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the finalMobileUrls at the given index.
-
setFinalMobileUrls
A list of possible final mobile URLs.
repeated string final_mobile_urls = 7;- Parameters:
index- The index to set the value at.value- The finalMobileUrls to set.- Returns:
- This builder for chaining.
-
addFinalMobileUrls
A list of possible final mobile URLs.
repeated string final_mobile_urls = 7;- Parameters:
value- The finalMobileUrls to add.- Returns:
- This builder for chaining.
-
addAllFinalMobileUrls
A list of possible final mobile URLs.
repeated string final_mobile_urls = 7;- Parameters:
values- The finalMobileUrls to add.- Returns:
- This builder for chaining.
-
clearFinalMobileUrls
A list of possible final mobile URLs.
repeated string final_mobile_urls = 7;- Returns:
- This builder for chaining.
-
addFinalMobileUrlsBytes
A list of possible final mobile URLs.
repeated string final_mobile_urls = 7;- 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 = 8;- Specified by:
hasTrackingUrlTemplatein interfaceUrlCollectionOrBuilder- Returns:
- Whether the trackingUrlTemplate field is set.
-
getTrackingUrlTemplate
URL template for constructing a tracking URL.
optional string tracking_url_template = 8;- Specified by:
getTrackingUrlTemplatein interfaceUrlCollectionOrBuilder- Returns:
- The trackingUrlTemplate.
-
getTrackingUrlTemplateBytes
public com.google.protobuf.ByteString getTrackingUrlTemplateBytes()URL template for constructing a tracking URL.
optional string tracking_url_template = 8;- Specified by:
getTrackingUrlTemplateBytesin interfaceUrlCollectionOrBuilder- Returns:
- The bytes for trackingUrlTemplate.
-
setTrackingUrlTemplate
URL template for constructing a tracking URL.
optional string tracking_url_template = 8;- Parameters:
value- The trackingUrlTemplate to set.- Returns:
- This builder for chaining.
-
clearTrackingUrlTemplate
URL template for constructing a tracking URL.
optional string tracking_url_template = 8;- Returns:
- This builder for chaining.
-
setTrackingUrlTemplateBytes
URL template for constructing a tracking URL.
optional string tracking_url_template = 8;- Parameters:
value- The bytes for trackingUrlTemplate to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final UrlCollection.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<UrlCollection.Builder>
-
mergeUnknownFields
public final UrlCollection.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<UrlCollection.Builder>
-