Class DynamicAffiliateLocationSetFilter.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<DynamicAffiliateLocationSetFilter.Builder>
-
- com.google.ads.googleads.v13.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.v13.common.DynamicAffiliateLocationSetFilter
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DynamicAffiliateLocationSetFilter.Builder
addAllChainIds(java.lang.Iterable<? extends java.lang.Long> values)
Used to filter affiliate locations by chain ids.DynamicAffiliateLocationSetFilter.Builder
addChainIds(long value)
Used to filter affiliate locations by chain ids.DynamicAffiliateLocationSetFilter.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
DynamicAffiliateLocationSetFilter
build()
DynamicAffiliateLocationSetFilter
buildPartial()
DynamicAffiliateLocationSetFilter.Builder
clear()
DynamicAffiliateLocationSetFilter.Builder
clearChainIds()
Used to filter affiliate locations by chain ids.DynamicAffiliateLocationSetFilter.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
DynamicAffiliateLocationSetFilter.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
DynamicAffiliateLocationSetFilter.Builder
clone()
long
getChainIds(int index)
Used to filter affiliate locations by chain ids.int
getChainIdsCount()
Used to filter affiliate locations by chain ids.java.util.List<java.lang.Long>
getChainIdsList()
Used to filter affiliate locations by chain ids.DynamicAffiliateLocationSetFilter
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
DynamicAffiliateLocationSetFilter.Builder
mergeFrom(DynamicAffiliateLocationSetFilter other)
DynamicAffiliateLocationSetFilter.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
DynamicAffiliateLocationSetFilter.Builder
mergeFrom(com.google.protobuf.Message other)
DynamicAffiliateLocationSetFilter.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
DynamicAffiliateLocationSetFilter.Builder
setChainIds(int index, long value)
Used to filter affiliate locations by chain ids.DynamicAffiliateLocationSetFilter.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
DynamicAffiliateLocationSetFilter.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
DynamicAffiliateLocationSetFilter.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
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<DynamicAffiliateLocationSetFilter.Builder>
-
clear
public DynamicAffiliateLocationSetFilter.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<DynamicAffiliateLocationSetFilter.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<DynamicAffiliateLocationSetFilter.Builder>
-
getDefaultInstanceForType
public DynamicAffiliateLocationSetFilter getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public DynamicAffiliateLocationSetFilter build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public DynamicAffiliateLocationSetFilter buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public DynamicAffiliateLocationSetFilter.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<DynamicAffiliateLocationSetFilter.Builder>
-
setField
public DynamicAffiliateLocationSetFilter.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<DynamicAffiliateLocationSetFilter.Builder>
-
clearField
public DynamicAffiliateLocationSetFilter.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<DynamicAffiliateLocationSetFilter.Builder>
-
clearOneof
public DynamicAffiliateLocationSetFilter.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<DynamicAffiliateLocationSetFilter.Builder>
-
setRepeatedField
public DynamicAffiliateLocationSetFilter.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<DynamicAffiliateLocationSetFilter.Builder>
-
addRepeatedField
public DynamicAffiliateLocationSetFilter.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<DynamicAffiliateLocationSetFilter.Builder>
-
mergeFrom
public DynamicAffiliateLocationSetFilter.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<DynamicAffiliateLocationSetFilter.Builder>
-
mergeFrom
public DynamicAffiliateLocationSetFilter.Builder mergeFrom(DynamicAffiliateLocationSetFilter other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getChainIdsList
in 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:
getChainIdsCount
in 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:
getChainIds
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DynamicAffiliateLocationSetFilter.Builder>
-
mergeUnknownFields
public final DynamicAffiliateLocationSetFilter.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DynamicAffiliateLocationSetFilter.Builder>
-
-