Class DynamicBusinessProfileLocationGroupFilter.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<DynamicBusinessProfileLocationGroupFilter.Builder>
-
- com.google.ads.googleads.v14.common.DynamicBusinessProfileLocationGroupFilter.Builder
-
- All Implemented Interfaces:
DynamicBusinessProfileLocationGroupFilterOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable
- Enclosing class:
- DynamicBusinessProfileLocationGroupFilter
public static final class DynamicBusinessProfileLocationGroupFilter.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DynamicBusinessProfileLocationGroupFilter.Builder> implements DynamicBusinessProfileLocationGroupFilterOrBuilder
Represents a filter on Business Profile locations in an asset set. If multiple filters are provided, they are AND'ed together.
Protobuf typegoogle.ads.googleads.v14.common.DynamicBusinessProfileLocationGroupFilter
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DynamicBusinessProfileLocationGroupFilter.BuilderaddAllLabelFilters(java.lang.Iterable<java.lang.String> values)Used to filter Business Profile locations by label.DynamicBusinessProfileLocationGroupFilter.BuilderaddAllListingIdFilters(java.lang.Iterable<? extends java.lang.Long> values)Used to filter Business Profile locations by listing ids.DynamicBusinessProfileLocationGroupFilter.BuilderaddLabelFilters(java.lang.String value)Used to filter Business Profile locations by label.DynamicBusinessProfileLocationGroupFilter.BuilderaddLabelFiltersBytes(com.google.protobuf.ByteString value)Used to filter Business Profile locations by label.DynamicBusinessProfileLocationGroupFilter.BuilderaddListingIdFilters(long value)Used to filter Business Profile locations by listing ids.DynamicBusinessProfileLocationGroupFilter.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)DynamicBusinessProfileLocationGroupFilterbuild()DynamicBusinessProfileLocationGroupFilterbuildPartial()DynamicBusinessProfileLocationGroupFilter.Builderclear()DynamicBusinessProfileLocationGroupFilter.BuilderclearBusinessNameFilter()Used to filter Business Profile locations by business name.DynamicBusinessProfileLocationGroupFilter.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)DynamicBusinessProfileLocationGroupFilter.BuilderclearLabelFilters()Used to filter Business Profile locations by label.DynamicBusinessProfileLocationGroupFilter.BuilderclearListingIdFilters()Used to filter Business Profile locations by listing ids.DynamicBusinessProfileLocationGroupFilter.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)DynamicBusinessProfileLocationGroupFilter.Builderclone()BusinessProfileBusinessNameFiltergetBusinessNameFilter()Used to filter Business Profile locations by business name.BusinessProfileBusinessNameFilter.BuildergetBusinessNameFilterBuilder()Used to filter Business Profile locations by business name.BusinessProfileBusinessNameFilterOrBuildergetBusinessNameFilterOrBuilder()Used to filter Business Profile locations by business name.DynamicBusinessProfileLocationGroupFiltergetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()java.lang.StringgetLabelFilters(int index)Used to filter Business Profile locations by label.com.google.protobuf.ByteStringgetLabelFiltersBytes(int index)Used to filter Business Profile locations by label.intgetLabelFiltersCount()Used to filter Business Profile locations by label.com.google.protobuf.ProtocolStringListgetLabelFiltersList()Used to filter Business Profile locations by label.longgetListingIdFilters(int index)Used to filter Business Profile locations by listing ids.intgetListingIdFiltersCount()Used to filter Business Profile locations by listing ids.java.util.List<java.lang.Long>getListingIdFiltersList()Used to filter Business Profile locations by listing ids.booleanhasBusinessNameFilter()Used to filter Business Profile locations by business name.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()DynamicBusinessProfileLocationGroupFilter.BuildermergeBusinessNameFilter(BusinessProfileBusinessNameFilter value)Used to filter Business Profile locations by business name.DynamicBusinessProfileLocationGroupFilter.BuildermergeFrom(DynamicBusinessProfileLocationGroupFilter other)DynamicBusinessProfileLocationGroupFilter.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)DynamicBusinessProfileLocationGroupFilter.BuildermergeFrom(com.google.protobuf.Message other)DynamicBusinessProfileLocationGroupFilter.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)DynamicBusinessProfileLocationGroupFilter.BuildersetBusinessNameFilter(BusinessProfileBusinessNameFilter value)Used to filter Business Profile locations by business name.DynamicBusinessProfileLocationGroupFilter.BuildersetBusinessNameFilter(BusinessProfileBusinessNameFilter.Builder builderForValue)Used to filter Business Profile locations by business name.DynamicBusinessProfileLocationGroupFilter.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)DynamicBusinessProfileLocationGroupFilter.BuildersetLabelFilters(int index, java.lang.String value)Used to filter Business Profile locations by label.DynamicBusinessProfileLocationGroupFilter.BuildersetListingIdFilters(int index, long value)Used to filter Business Profile locations by listing ids.DynamicBusinessProfileLocationGroupFilter.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)DynamicBusinessProfileLocationGroupFilter.BuildersetUnknownFields(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, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, 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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<DynamicBusinessProfileLocationGroupFilter.Builder>
-
clear
public DynamicBusinessProfileLocationGroupFilter.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<DynamicBusinessProfileLocationGroupFilter.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<DynamicBusinessProfileLocationGroupFilter.Builder>
-
getDefaultInstanceForType
public DynamicBusinessProfileLocationGroupFilter getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public DynamicBusinessProfileLocationGroupFilter build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public DynamicBusinessProfileLocationGroupFilter buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public DynamicBusinessProfileLocationGroupFilter.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<DynamicBusinessProfileLocationGroupFilter.Builder>
-
setField
public DynamicBusinessProfileLocationGroupFilter.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<DynamicBusinessProfileLocationGroupFilter.Builder>
-
clearField
public DynamicBusinessProfileLocationGroupFilter.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DynamicBusinessProfileLocationGroupFilter.Builder>
-
clearOneof
public DynamicBusinessProfileLocationGroupFilter.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<DynamicBusinessProfileLocationGroupFilter.Builder>
-
setRepeatedField
public DynamicBusinessProfileLocationGroupFilter.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<DynamicBusinessProfileLocationGroupFilter.Builder>
-
addRepeatedField
public DynamicBusinessProfileLocationGroupFilter.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<DynamicBusinessProfileLocationGroupFilter.Builder>
-
mergeFrom
public DynamicBusinessProfileLocationGroupFilter.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DynamicBusinessProfileLocationGroupFilter.Builder>
-
mergeFrom
public DynamicBusinessProfileLocationGroupFilter.Builder mergeFrom(DynamicBusinessProfileLocationGroupFilter other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<DynamicBusinessProfileLocationGroupFilter.Builder>
-
mergeFrom
public DynamicBusinessProfileLocationGroupFilter.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<DynamicBusinessProfileLocationGroupFilter.Builder>- Throws:
java.io.IOException
-
getLabelFiltersList
public com.google.protobuf.ProtocolStringList getLabelFiltersList()
Used to filter Business Profile locations by label. Only locations that have any of the listed labels will be in the asset set. Label filters are OR'ed together.
repeated string label_filters = 1;- Specified by:
getLabelFiltersListin interfaceDynamicBusinessProfileLocationGroupFilterOrBuilder- Returns:
- A list containing the labelFilters.
-
getLabelFiltersCount
public int getLabelFiltersCount()
Used to filter Business Profile locations by label. Only locations that have any of the listed labels will be in the asset set. Label filters are OR'ed together.
repeated string label_filters = 1;- Specified by:
getLabelFiltersCountin interfaceDynamicBusinessProfileLocationGroupFilterOrBuilder- Returns:
- The count of labelFilters.
-
getLabelFilters
public java.lang.String getLabelFilters(int index)
Used to filter Business Profile locations by label. Only locations that have any of the listed labels will be in the asset set. Label filters are OR'ed together.
repeated string label_filters = 1;- Specified by:
getLabelFiltersin interfaceDynamicBusinessProfileLocationGroupFilterOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The labelFilters at the given index.
-
getLabelFiltersBytes
public com.google.protobuf.ByteString getLabelFiltersBytes(int index)
Used to filter Business Profile locations by label. Only locations that have any of the listed labels will be in the asset set. Label filters are OR'ed together.
repeated string label_filters = 1;- Specified by:
getLabelFiltersBytesin interfaceDynamicBusinessProfileLocationGroupFilterOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the labelFilters at the given index.
-
setLabelFilters
public DynamicBusinessProfileLocationGroupFilter.Builder setLabelFilters(int index, java.lang.String value)
Used to filter Business Profile locations by label. Only locations that have any of the listed labels will be in the asset set. Label filters are OR'ed together.
repeated string label_filters = 1;- Parameters:
index- The index to set the value at.value- The labelFilters to set.- Returns:
- This builder for chaining.
-
addLabelFilters
public DynamicBusinessProfileLocationGroupFilter.Builder addLabelFilters(java.lang.String value)
Used to filter Business Profile locations by label. Only locations that have any of the listed labels will be in the asset set. Label filters are OR'ed together.
repeated string label_filters = 1;- Parameters:
value- The labelFilters to add.- Returns:
- This builder for chaining.
-
addAllLabelFilters
public DynamicBusinessProfileLocationGroupFilter.Builder addAllLabelFilters(java.lang.Iterable<java.lang.String> values)
Used to filter Business Profile locations by label. Only locations that have any of the listed labels will be in the asset set. Label filters are OR'ed together.
repeated string label_filters = 1;- Parameters:
values- The labelFilters to add.- Returns:
- This builder for chaining.
-
clearLabelFilters
public DynamicBusinessProfileLocationGroupFilter.Builder clearLabelFilters()
Used to filter Business Profile locations by label. Only locations that have any of the listed labels will be in the asset set. Label filters are OR'ed together.
repeated string label_filters = 1;- Returns:
- This builder for chaining.
-
addLabelFiltersBytes
public DynamicBusinessProfileLocationGroupFilter.Builder addLabelFiltersBytes(com.google.protobuf.ByteString value)
Used to filter Business Profile locations by label. Only locations that have any of the listed labels will be in the asset set. Label filters are OR'ed together.
repeated string label_filters = 1;- Parameters:
value- The bytes of the labelFilters to add.- Returns:
- This builder for chaining.
-
hasBusinessNameFilter
public boolean hasBusinessNameFilter()
Used to filter Business Profile locations by business name.
optional .google.ads.googleads.v14.common.BusinessProfileBusinessNameFilter business_name_filter = 2;- Specified by:
hasBusinessNameFilterin interfaceDynamicBusinessProfileLocationGroupFilterOrBuilder- Returns:
- Whether the businessNameFilter field is set.
-
getBusinessNameFilter
public BusinessProfileBusinessNameFilter getBusinessNameFilter()
Used to filter Business Profile locations by business name.
optional .google.ads.googleads.v14.common.BusinessProfileBusinessNameFilter business_name_filter = 2;- Specified by:
getBusinessNameFilterin interfaceDynamicBusinessProfileLocationGroupFilterOrBuilder- Returns:
- The businessNameFilter.
-
setBusinessNameFilter
public DynamicBusinessProfileLocationGroupFilter.Builder setBusinessNameFilter(BusinessProfileBusinessNameFilter value)
Used to filter Business Profile locations by business name.
optional .google.ads.googleads.v14.common.BusinessProfileBusinessNameFilter business_name_filter = 2;
-
setBusinessNameFilter
public DynamicBusinessProfileLocationGroupFilter.Builder setBusinessNameFilter(BusinessProfileBusinessNameFilter.Builder builderForValue)
Used to filter Business Profile locations by business name.
optional .google.ads.googleads.v14.common.BusinessProfileBusinessNameFilter business_name_filter = 2;
-
mergeBusinessNameFilter
public DynamicBusinessProfileLocationGroupFilter.Builder mergeBusinessNameFilter(BusinessProfileBusinessNameFilter value)
Used to filter Business Profile locations by business name.
optional .google.ads.googleads.v14.common.BusinessProfileBusinessNameFilter business_name_filter = 2;
-
clearBusinessNameFilter
public DynamicBusinessProfileLocationGroupFilter.Builder clearBusinessNameFilter()
Used to filter Business Profile locations by business name.
optional .google.ads.googleads.v14.common.BusinessProfileBusinessNameFilter business_name_filter = 2;
-
getBusinessNameFilterBuilder
public BusinessProfileBusinessNameFilter.Builder getBusinessNameFilterBuilder()
Used to filter Business Profile locations by business name.
optional .google.ads.googleads.v14.common.BusinessProfileBusinessNameFilter business_name_filter = 2;
-
getBusinessNameFilterOrBuilder
public BusinessProfileBusinessNameFilterOrBuilder getBusinessNameFilterOrBuilder()
Used to filter Business Profile locations by business name.
optional .google.ads.googleads.v14.common.BusinessProfileBusinessNameFilter business_name_filter = 2;- Specified by:
getBusinessNameFilterOrBuilderin interfaceDynamicBusinessProfileLocationGroupFilterOrBuilder
-
getListingIdFiltersList
public java.util.List<java.lang.Long> getListingIdFiltersList()
Used to filter Business Profile locations by listing ids.
repeated int64 listing_id_filters = 3;- Specified by:
getListingIdFiltersListin interfaceDynamicBusinessProfileLocationGroupFilterOrBuilder- Returns:
- A list containing the listingIdFilters.
-
getListingIdFiltersCount
public int getListingIdFiltersCount()
Used to filter Business Profile locations by listing ids.
repeated int64 listing_id_filters = 3;- Specified by:
getListingIdFiltersCountin interfaceDynamicBusinessProfileLocationGroupFilterOrBuilder- Returns:
- The count of listingIdFilters.
-
getListingIdFilters
public long getListingIdFilters(int index)
Used to filter Business Profile locations by listing ids.
repeated int64 listing_id_filters = 3;- Specified by:
getListingIdFiltersin interfaceDynamicBusinessProfileLocationGroupFilterOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The listingIdFilters at the given index.
-
setListingIdFilters
public DynamicBusinessProfileLocationGroupFilter.Builder setListingIdFilters(int index, long value)
Used to filter Business Profile locations by listing ids.
repeated int64 listing_id_filters = 3;- Parameters:
index- The index to set the value at.value- The listingIdFilters to set.- Returns:
- This builder for chaining.
-
addListingIdFilters
public DynamicBusinessProfileLocationGroupFilter.Builder addListingIdFilters(long value)
Used to filter Business Profile locations by listing ids.
repeated int64 listing_id_filters = 3;- Parameters:
value- The listingIdFilters to add.- Returns:
- This builder for chaining.
-
addAllListingIdFilters
public DynamicBusinessProfileLocationGroupFilter.Builder addAllListingIdFilters(java.lang.Iterable<? extends java.lang.Long> values)
Used to filter Business Profile locations by listing ids.
repeated int64 listing_id_filters = 3;- Parameters:
values- The listingIdFilters to add.- Returns:
- This builder for chaining.
-
clearListingIdFilters
public DynamicBusinessProfileLocationGroupFilter.Builder clearListingIdFilters()
Used to filter Business Profile locations by listing ids.
repeated int64 listing_id_filters = 3;- Returns:
- This builder for chaining.
-
setUnknownFields
public final DynamicBusinessProfileLocationGroupFilter.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DynamicBusinessProfileLocationGroupFilter.Builder>
-
mergeUnknownFields
public final DynamicBusinessProfileLocationGroupFilter.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DynamicBusinessProfileLocationGroupFilter.Builder>
-
-