Class DynamicAffiliateLocationSetFilter.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<DynamicAffiliateLocationSetFilter.Builder>
-
- com.google.ads.googleads.v10.common.DynamicAffiliateLocationSetFilter.Builder
-
- All Implemented Interfaces:
DynamicAffiliateLocationSetFilterOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable
- Enclosing class:
- DynamicAffiliateLocationSetFilter
public static final class DynamicAffiliateLocationSetFilter.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DynamicAffiliateLocationSetFilter.Builder> implements DynamicAffiliateLocationSetFilterOrBuilder
Represents a filter on affiliate locations in a FeedItemSet. Only applicable if the parent Feed of the FeedItemSet is an AFFILIATE_LOCATION feed.
Protobuf typegoogle.ads.googleads.v10.common.DynamicAffiliateLocationSetFilter
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DynamicAffiliateLocationSetFilter.BuilderaddAllChainIds(java.lang.Iterable<? extends java.lang.Long> values)Used to filter affiliate locations by chain ids.DynamicAffiliateLocationSetFilter.BuilderaddChainIds(long value)Used to filter affiliate locations by chain ids.DynamicAffiliateLocationSetFilter.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)DynamicAffiliateLocationSetFilterbuild()DynamicAffiliateLocationSetFilterbuildPartial()DynamicAffiliateLocationSetFilter.Builderclear()DynamicAffiliateLocationSetFilter.BuilderclearChainIds()Used to filter affiliate locations by chain ids.DynamicAffiliateLocationSetFilter.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)DynamicAffiliateLocationSetFilter.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)DynamicAffiliateLocationSetFilter.Builderclone()longgetChainIds(int index)Used to filter affiliate locations by chain ids.intgetChainIdsCount()Used to filter affiliate locations by chain ids.java.util.List<java.lang.Long>getChainIdsList()Used to filter affiliate locations by chain ids.DynamicAffiliateLocationSetFiltergetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()DynamicAffiliateLocationSetFilter.BuildermergeFrom(DynamicAffiliateLocationSetFilter other)DynamicAffiliateLocationSetFilter.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)DynamicAffiliateLocationSetFilter.BuildermergeFrom(com.google.protobuf.Message other)DynamicAffiliateLocationSetFilter.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)DynamicAffiliateLocationSetFilter.BuildersetChainIds(int index, long value)Used to filter affiliate locations by chain ids.DynamicAffiliateLocationSetFilter.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)DynamicAffiliateLocationSetFilter.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)DynamicAffiliateLocationSetFilter.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
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<DynamicAffiliateLocationSetFilter.Builder>
-
clear
public DynamicAffiliateLocationSetFilter.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<DynamicAffiliateLocationSetFilter.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<DynamicAffiliateLocationSetFilter.Builder>
-
getDefaultInstanceForType
public DynamicAffiliateLocationSetFilter getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public DynamicAffiliateLocationSetFilter build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public DynamicAffiliateLocationSetFilter buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public DynamicAffiliateLocationSetFilter.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<DynamicAffiliateLocationSetFilter.Builder>
-
setField
public DynamicAffiliateLocationSetFilter.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DynamicAffiliateLocationSetFilter.Builder>
-
clearField
public DynamicAffiliateLocationSetFilter.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DynamicAffiliateLocationSetFilter.Builder>
-
clearOneof
public DynamicAffiliateLocationSetFilter.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<DynamicAffiliateLocationSetFilter.Builder>
-
setRepeatedField
public DynamicAffiliateLocationSetFilter.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DynamicAffiliateLocationSetFilter.Builder>
-
addRepeatedField
public DynamicAffiliateLocationSetFilter.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DynamicAffiliateLocationSetFilter.Builder>
-
mergeFrom
public DynamicAffiliateLocationSetFilter.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DynamicAffiliateLocationSetFilter.Builder>
-
mergeFrom
public DynamicAffiliateLocationSetFilter.Builder mergeFrom(DynamicAffiliateLocationSetFilter other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<DynamicAffiliateLocationSetFilter.Builder>
-
mergeFrom
public DynamicAffiliateLocationSetFilter.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DynamicAffiliateLocationSetFilter.Builder>- Throws:
java.io.IOException
-
getChainIdsList
public java.util.List<java.lang.Long> getChainIdsList()
Used to filter affiliate locations by chain ids. Only affiliate locations that belong to the specified chain(s) will be added to the FeedItemSet.
repeated int64 chain_ids = 1;- Specified by:
getChainIdsListin interfaceDynamicAffiliateLocationSetFilterOrBuilder- Returns:
- A list containing the chainIds.
-
getChainIdsCount
public int getChainIdsCount()
Used to filter affiliate locations by chain ids. Only affiliate locations that belong to the specified chain(s) will be added to the FeedItemSet.
repeated int64 chain_ids = 1;- Specified by:
getChainIdsCountin interfaceDynamicAffiliateLocationSetFilterOrBuilder- Returns:
- The count of chainIds.
-
getChainIds
public long getChainIds(int index)
Used to filter affiliate locations by chain ids. Only affiliate locations that belong to the specified chain(s) will be added to the FeedItemSet.
repeated int64 chain_ids = 1;- Specified by:
getChainIdsin interfaceDynamicAffiliateLocationSetFilterOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The chainIds at the given index.
-
setChainIds
public DynamicAffiliateLocationSetFilter.Builder setChainIds(int index, long value)
Used to filter affiliate locations by chain ids. Only affiliate locations that belong to the specified chain(s) will be added to the FeedItemSet.
repeated int64 chain_ids = 1;- Parameters:
index- The index to set the value at.value- The chainIds to set.- Returns:
- This builder for chaining.
-
addChainIds
public DynamicAffiliateLocationSetFilter.Builder addChainIds(long value)
Used to filter affiliate locations by chain ids. Only affiliate locations that belong to the specified chain(s) will be added to the FeedItemSet.
repeated int64 chain_ids = 1;- Parameters:
value- The chainIds to add.- Returns:
- This builder for chaining.
-
addAllChainIds
public DynamicAffiliateLocationSetFilter.Builder addAllChainIds(java.lang.Iterable<? extends java.lang.Long> values)
Used to filter affiliate locations by chain ids. Only affiliate locations that belong to the specified chain(s) will be added to the FeedItemSet.
repeated int64 chain_ids = 1;- Parameters:
values- The chainIds to add.- Returns:
- This builder for chaining.
-
clearChainIds
public DynamicAffiliateLocationSetFilter.Builder clearChainIds()
Used to filter affiliate locations by chain ids. Only affiliate locations that belong to the specified chain(s) will be added to the FeedItemSet.
repeated int64 chain_ids = 1;- Returns:
- This builder for chaining.
-
setUnknownFields
public final DynamicAffiliateLocationSetFilter.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DynamicAffiliateLocationSetFilter.Builder>
-
mergeUnknownFields
public final DynamicAffiliateLocationSetFilter.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DynamicAffiliateLocationSetFilter.Builder>
-
-