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.v18.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,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 type
google.ads.googleads.v18.common.DynamicBusinessProfileLocationGroupFilter-
Method Summary
Modifier and TypeMethodDescriptionaddAllLabelFilters(Iterable<String> values) Used to filter Business Profile locations by label.addAllListingIdFilters(Iterable<? extends Long> values) Used to filter Business Profile locations by listing ids.addLabelFilters(String value) Used to filter Business Profile locations by label.addLabelFiltersBytes(com.google.protobuf.ByteString value) Used to filter Business Profile locations by label.addListingIdFilters(long value) Used to filter Business Profile locations by listing ids.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Used to filter Business Profile locations by business name.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Used to filter Business Profile locations by label.Used to filter Business Profile locations by listing ids.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()Used to filter Business Profile locations by business name.Used to filter Business Profile locations by business name.Used to filter Business Profile locations by business name.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetLabelFilters(int index) Used to filter Business Profile locations by label.com.google.protobuf.ByteStringgetLabelFiltersBytes(int index) Used to filter Business Profile locations by label.intUsed to filter Business Profile locations by label.com.google.protobuf.ProtocolStringListUsed to filter Business Profile locations by label.longgetListingIdFilters(int index) Used to filter Business Profile locations by listing ids.intUsed to filter Business Profile locations by listing ids.Used to filter Business Profile locations by listing ids.booleanUsed to filter Business Profile locations by business name.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanUsed to filter Business Profile locations by business name.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Used to filter Business Profile locations by business name.setBusinessNameFilter(BusinessProfileBusinessNameFilter.Builder builderForValue) Used to filter Business Profile locations by business name.setLabelFilters(int index, String value) Used to filter Business Profile locations by label.setListingIdFilters(int index, long value) Used to filter Business Profile locations by listing ids.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) 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, 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<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
- 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<DynamicBusinessProfileLocationGroupFilter.Builder>
-
setField
public DynamicBusinessProfileLocationGroupFilter.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<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, 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, 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 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:
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
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
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
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(Iterable<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
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.v18.common.BusinessProfileBusinessNameFilter business_name_filter = 2;- Specified by:
hasBusinessNameFilterin interfaceDynamicBusinessProfileLocationGroupFilterOrBuilder- Returns:
- Whether the businessNameFilter field is set.
-
getBusinessNameFilter
Used to filter Business Profile locations by business name.
optional .google.ads.googleads.v18.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.v18.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.v18.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.v18.common.BusinessProfileBusinessNameFilter business_name_filter = 2; -
clearBusinessNameFilter
Used to filter Business Profile locations by business name.
optional .google.ads.googleads.v18.common.BusinessProfileBusinessNameFilter business_name_filter = 2; -
getBusinessNameFilterBuilder
Used to filter Business Profile locations by business name.
optional .google.ads.googleads.v18.common.BusinessProfileBusinessNameFilter business_name_filter = 2; -
getBusinessNameFilterOrBuilder
Used to filter Business Profile locations by business name.
optional .google.ads.googleads.v18.common.BusinessProfileBusinessNameFilter business_name_filter = 2;- Specified by:
getBusinessNameFilterOrBuilderin interfaceDynamicBusinessProfileLocationGroupFilterOrBuilder
-
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
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
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(Iterable<? extends 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
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>
-