Class DynamicLocationSetFilter.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<DynamicLocationSetFilter.Builder>
-
- com.google.ads.googleads.v10.common.DynamicLocationSetFilter.Builder
-
- All Implemented Interfaces:
DynamicLocationSetFilterOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable
- Enclosing class:
- DynamicLocationSetFilter
public static final class DynamicLocationSetFilter.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DynamicLocationSetFilter.Builder> implements DynamicLocationSetFilterOrBuilder
Represents a filter on locations in a feed item set. Only applicable if the parent Feed of the FeedItemSet is a LOCATION feed.
Protobuf typegoogle.ads.googleads.v10.common.DynamicLocationSetFilter
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DynamicLocationSetFilter.BuilderaddAllLabels(java.lang.Iterable<java.lang.String> values)If multiple labels are set, then only feeditems marked with all the labels will be added to the FeedItemSet.DynamicLocationSetFilter.BuilderaddLabels(java.lang.String value)If multiple labels are set, then only feeditems marked with all the labels will be added to the FeedItemSet.DynamicLocationSetFilter.BuilderaddLabelsBytes(com.google.protobuf.ByteString value)If multiple labels are set, then only feeditems marked with all the labels will be added to the FeedItemSet.DynamicLocationSetFilter.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)DynamicLocationSetFilterbuild()DynamicLocationSetFilterbuildPartial()DynamicLocationSetFilter.Builderclear()DynamicLocationSetFilter.BuilderclearBusinessNameFilter()Business name filter.DynamicLocationSetFilter.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)DynamicLocationSetFilter.BuilderclearLabels()If multiple labels are set, then only feeditems marked with all the labels will be added to the FeedItemSet.DynamicLocationSetFilter.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)DynamicLocationSetFilter.Builderclone()BusinessNameFiltergetBusinessNameFilter()Business name filter.BusinessNameFilter.BuildergetBusinessNameFilterBuilder()Business name filter.BusinessNameFilterOrBuildergetBusinessNameFilterOrBuilder()Business name filter.DynamicLocationSetFiltergetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()java.lang.StringgetLabels(int index)If multiple labels are set, then only feeditems marked with all the labels will be added to the FeedItemSet.com.google.protobuf.ByteStringgetLabelsBytes(int index)If multiple labels are set, then only feeditems marked with all the labels will be added to the FeedItemSet.intgetLabelsCount()If multiple labels are set, then only feeditems marked with all the labels will be added to the FeedItemSet.com.google.protobuf.ProtocolStringListgetLabelsList()If multiple labels are set, then only feeditems marked with all the labels will be added to the FeedItemSet.booleanhasBusinessNameFilter()Business name filter.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()DynamicLocationSetFilter.BuildermergeBusinessNameFilter(BusinessNameFilter value)Business name filter.DynamicLocationSetFilter.BuildermergeFrom(DynamicLocationSetFilter other)DynamicLocationSetFilter.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)DynamicLocationSetFilter.BuildermergeFrom(com.google.protobuf.Message other)DynamicLocationSetFilter.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)DynamicLocationSetFilter.BuildersetBusinessNameFilter(BusinessNameFilter value)Business name filter.DynamicLocationSetFilter.BuildersetBusinessNameFilter(BusinessNameFilter.Builder builderForValue)Business name filter.DynamicLocationSetFilter.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)DynamicLocationSetFilter.BuildersetLabels(int index, java.lang.String value)If multiple labels are set, then only feeditems marked with all the labels will be added to the FeedItemSet.DynamicLocationSetFilter.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)DynamicLocationSetFilter.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<DynamicLocationSetFilter.Builder>
-
clear
public DynamicLocationSetFilter.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<DynamicLocationSetFilter.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<DynamicLocationSetFilter.Builder>
-
getDefaultInstanceForType
public DynamicLocationSetFilter getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public DynamicLocationSetFilter build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public DynamicLocationSetFilter buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public DynamicLocationSetFilter.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<DynamicLocationSetFilter.Builder>
-
setField
public DynamicLocationSetFilter.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<DynamicLocationSetFilter.Builder>
-
clearField
public DynamicLocationSetFilter.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DynamicLocationSetFilter.Builder>
-
clearOneof
public DynamicLocationSetFilter.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<DynamicLocationSetFilter.Builder>
-
setRepeatedField
public DynamicLocationSetFilter.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<DynamicLocationSetFilter.Builder>
-
addRepeatedField
public DynamicLocationSetFilter.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<DynamicLocationSetFilter.Builder>
-
mergeFrom
public DynamicLocationSetFilter.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DynamicLocationSetFilter.Builder>
-
mergeFrom
public DynamicLocationSetFilter.Builder mergeFrom(DynamicLocationSetFilter other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<DynamicLocationSetFilter.Builder>
-
mergeFrom
public DynamicLocationSetFilter.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<DynamicLocationSetFilter.Builder>- Throws:
java.io.IOException
-
getLabelsList
public com.google.protobuf.ProtocolStringList getLabelsList()
If multiple labels are set, then only feeditems marked with all the labels will be added to the FeedItemSet.
repeated string labels = 1;- Specified by:
getLabelsListin interfaceDynamicLocationSetFilterOrBuilder- Returns:
- A list containing the labels.
-
getLabelsCount
public int getLabelsCount()
If multiple labels are set, then only feeditems marked with all the labels will be added to the FeedItemSet.
repeated string labels = 1;- Specified by:
getLabelsCountin interfaceDynamicLocationSetFilterOrBuilder- Returns:
- The count of labels.
-
getLabels
public java.lang.String getLabels(int index)
If multiple labels are set, then only feeditems marked with all the labels will be added to the FeedItemSet.
repeated string labels = 1;- Specified by:
getLabelsin interfaceDynamicLocationSetFilterOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The labels at the given index.
-
getLabelsBytes
public com.google.protobuf.ByteString getLabelsBytes(int index)
If multiple labels are set, then only feeditems marked with all the labels will be added to the FeedItemSet.
repeated string labels = 1;- Specified by:
getLabelsBytesin interfaceDynamicLocationSetFilterOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the labels at the given index.
-
setLabels
public DynamicLocationSetFilter.Builder setLabels(int index, java.lang.String value)
If multiple labels are set, then only feeditems marked with all the labels will be added to the FeedItemSet.
repeated string labels = 1;- Parameters:
index- The index to set the value at.value- The labels to set.- Returns:
- This builder for chaining.
-
addLabels
public DynamicLocationSetFilter.Builder addLabels(java.lang.String value)
If multiple labels are set, then only feeditems marked with all the labels will be added to the FeedItemSet.
repeated string labels = 1;- Parameters:
value- The labels to add.- Returns:
- This builder for chaining.
-
addAllLabels
public DynamicLocationSetFilter.Builder addAllLabels(java.lang.Iterable<java.lang.String> values)
If multiple labels are set, then only feeditems marked with all the labels will be added to the FeedItemSet.
repeated string labels = 1;- Parameters:
values- The labels to add.- Returns:
- This builder for chaining.
-
clearLabels
public DynamicLocationSetFilter.Builder clearLabels()
If multiple labels are set, then only feeditems marked with all the labels will be added to the FeedItemSet.
repeated string labels = 1;- Returns:
- This builder for chaining.
-
addLabelsBytes
public DynamicLocationSetFilter.Builder addLabelsBytes(com.google.protobuf.ByteString value)
If multiple labels are set, then only feeditems marked with all the labels will be added to the FeedItemSet.
repeated string labels = 1;- Parameters:
value- The bytes of the labels to add.- Returns:
- This builder for chaining.
-
hasBusinessNameFilter
public boolean hasBusinessNameFilter()
Business name filter.
.google.ads.googleads.v10.common.BusinessNameFilter business_name_filter = 2;- Specified by:
hasBusinessNameFilterin interfaceDynamicLocationSetFilterOrBuilder- Returns:
- Whether the businessNameFilter field is set.
-
getBusinessNameFilter
public BusinessNameFilter getBusinessNameFilter()
Business name filter.
.google.ads.googleads.v10.common.BusinessNameFilter business_name_filter = 2;- Specified by:
getBusinessNameFilterin interfaceDynamicLocationSetFilterOrBuilder- Returns:
- The businessNameFilter.
-
setBusinessNameFilter
public DynamicLocationSetFilter.Builder setBusinessNameFilter(BusinessNameFilter value)
Business name filter.
.google.ads.googleads.v10.common.BusinessNameFilter business_name_filter = 2;
-
setBusinessNameFilter
public DynamicLocationSetFilter.Builder setBusinessNameFilter(BusinessNameFilter.Builder builderForValue)
Business name filter.
.google.ads.googleads.v10.common.BusinessNameFilter business_name_filter = 2;
-
mergeBusinessNameFilter
public DynamicLocationSetFilter.Builder mergeBusinessNameFilter(BusinessNameFilter value)
Business name filter.
.google.ads.googleads.v10.common.BusinessNameFilter business_name_filter = 2;
-
clearBusinessNameFilter
public DynamicLocationSetFilter.Builder clearBusinessNameFilter()
Business name filter.
.google.ads.googleads.v10.common.BusinessNameFilter business_name_filter = 2;
-
getBusinessNameFilterBuilder
public BusinessNameFilter.Builder getBusinessNameFilterBuilder()
Business name filter.
.google.ads.googleads.v10.common.BusinessNameFilter business_name_filter = 2;
-
getBusinessNameFilterOrBuilder
public BusinessNameFilterOrBuilder getBusinessNameFilterOrBuilder()
Business name filter.
.google.ads.googleads.v10.common.BusinessNameFilter business_name_filter = 2;- Specified by:
getBusinessNameFilterOrBuilderin interfaceDynamicLocationSetFilterOrBuilder
-
setUnknownFields
public final DynamicLocationSetFilter.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DynamicLocationSetFilter.Builder>
-
mergeUnknownFields
public final DynamicLocationSetFilter.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DynamicLocationSetFilter.Builder>
-
-