Class BusinessProfileLocationSet.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<BusinessProfileLocationSet.Builder>
-
- com.google.ads.googleads.v14.common.BusinessProfileLocationSet.Builder
-
- All Implemented Interfaces:
BusinessProfileLocationSetOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- BusinessProfileLocationSet
public static final class BusinessProfileLocationSet.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BusinessProfileLocationSet.Builder> implements BusinessProfileLocationSetOrBuilder
Data used to configure a location set populated from Google Business Profile locations. Different types of filters are AND'ed together, if they are specified.
Protobuf typegoogle.ads.googleads.v14.common.BusinessProfileLocationSet
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BusinessProfileLocationSet.Builder
addAllLabelFilters(java.lang.Iterable<java.lang.String> values)
Used to filter Google Business Profile listings by labels.BusinessProfileLocationSet.Builder
addAllListingIdFilters(java.lang.Iterable<? extends java.lang.Long> values)
Used to filter Google Business Profile listings by listing id.BusinessProfileLocationSet.Builder
addLabelFilters(java.lang.String value)
Used to filter Google Business Profile listings by labels.BusinessProfileLocationSet.Builder
addLabelFiltersBytes(com.google.protobuf.ByteString value)
Used to filter Google Business Profile listings by labels.BusinessProfileLocationSet.Builder
addListingIdFilters(long value)
Used to filter Google Business Profile listings by listing id.BusinessProfileLocationSet.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
BusinessProfileLocationSet
build()
BusinessProfileLocationSet
buildPartial()
BusinessProfileLocationSet.Builder
clear()
BusinessProfileLocationSet.Builder
clearBusinessAccountId()
Immutable.BusinessProfileLocationSet.Builder
clearBusinessNameFilter()
Used to filter Google Business Profile listings by business name.BusinessProfileLocationSet.Builder
clearEmailAddress()
Required.BusinessProfileLocationSet.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
BusinessProfileLocationSet.Builder
clearHttpAuthorizationToken()
Required.BusinessProfileLocationSet.Builder
clearLabelFilters()
Used to filter Google Business Profile listings by labels.BusinessProfileLocationSet.Builder
clearListingIdFilters()
Used to filter Google Business Profile listings by listing id.BusinessProfileLocationSet.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
BusinessProfileLocationSet.Builder
clone()
java.lang.String
getBusinessAccountId()
Immutable.com.google.protobuf.ByteString
getBusinessAccountIdBytes()
Immutable.java.lang.String
getBusinessNameFilter()
Used to filter Google Business Profile listings by business name.com.google.protobuf.ByteString
getBusinessNameFilterBytes()
Used to filter Google Business Profile listings by business name.BusinessProfileLocationSet
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getEmailAddress()
Required.com.google.protobuf.ByteString
getEmailAddressBytes()
Required.java.lang.String
getHttpAuthorizationToken()
Required.com.google.protobuf.ByteString
getHttpAuthorizationTokenBytes()
Required.java.lang.String
getLabelFilters(int index)
Used to filter Google Business Profile listings by labels.com.google.protobuf.ByteString
getLabelFiltersBytes(int index)
Used to filter Google Business Profile listings by labels.int
getLabelFiltersCount()
Used to filter Google Business Profile listings by labels.com.google.protobuf.ProtocolStringList
getLabelFiltersList()
Used to filter Google Business Profile listings by labels.long
getListingIdFilters(int index)
Used to filter Google Business Profile listings by listing id.int
getListingIdFiltersCount()
Used to filter Google Business Profile listings by listing id.java.util.List<java.lang.Long>
getListingIdFiltersList()
Used to filter Google Business Profile listings by listing id.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
BusinessProfileLocationSet.Builder
mergeFrom(BusinessProfileLocationSet other)
BusinessProfileLocationSet.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
BusinessProfileLocationSet.Builder
mergeFrom(com.google.protobuf.Message other)
BusinessProfileLocationSet.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
BusinessProfileLocationSet.Builder
setBusinessAccountId(java.lang.String value)
Immutable.BusinessProfileLocationSet.Builder
setBusinessAccountIdBytes(com.google.protobuf.ByteString value)
Immutable.BusinessProfileLocationSet.Builder
setBusinessNameFilter(java.lang.String value)
Used to filter Google Business Profile listings by business name.BusinessProfileLocationSet.Builder
setBusinessNameFilterBytes(com.google.protobuf.ByteString value)
Used to filter Google Business Profile listings by business name.BusinessProfileLocationSet.Builder
setEmailAddress(java.lang.String value)
Required.BusinessProfileLocationSet.Builder
setEmailAddressBytes(com.google.protobuf.ByteString value)
Required.BusinessProfileLocationSet.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
BusinessProfileLocationSet.Builder
setHttpAuthorizationToken(java.lang.String value)
Required.BusinessProfileLocationSet.Builder
setHttpAuthorizationTokenBytes(com.google.protobuf.ByteString value)
Required.BusinessProfileLocationSet.Builder
setLabelFilters(int index, java.lang.String value)
Used to filter Google Business Profile listings by labels.BusinessProfileLocationSet.Builder
setListingIdFilters(int index, long value)
Used to filter Google Business Profile listings by listing id.BusinessProfileLocationSet.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
BusinessProfileLocationSet.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, 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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<BusinessProfileLocationSet.Builder>
-
clear
public BusinessProfileLocationSet.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<BusinessProfileLocationSet.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<BusinessProfileLocationSet.Builder>
-
getDefaultInstanceForType
public BusinessProfileLocationSet getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public BusinessProfileLocationSet build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public BusinessProfileLocationSet buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public BusinessProfileLocationSet.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<BusinessProfileLocationSet.Builder>
-
setField
public BusinessProfileLocationSet.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<BusinessProfileLocationSet.Builder>
-
clearField
public BusinessProfileLocationSet.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<BusinessProfileLocationSet.Builder>
-
clearOneof
public BusinessProfileLocationSet.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<BusinessProfileLocationSet.Builder>
-
setRepeatedField
public BusinessProfileLocationSet.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<BusinessProfileLocationSet.Builder>
-
addRepeatedField
public BusinessProfileLocationSet.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<BusinessProfileLocationSet.Builder>
-
mergeFrom
public BusinessProfileLocationSet.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<BusinessProfileLocationSet.Builder>
-
mergeFrom
public BusinessProfileLocationSet.Builder mergeFrom(BusinessProfileLocationSet other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<BusinessProfileLocationSet.Builder>
-
mergeFrom
public BusinessProfileLocationSet.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<BusinessProfileLocationSet.Builder>
- Throws:
java.io.IOException
-
getHttpAuthorizationToken
public java.lang.String getHttpAuthorizationToken()
Required. Immutable. The HTTP authorization token used to obtain authorization.
string http_authorization_token = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
- Specified by:
getHttpAuthorizationToken
in interfaceBusinessProfileLocationSetOrBuilder
- Returns:
- The httpAuthorizationToken.
-
getHttpAuthorizationTokenBytes
public com.google.protobuf.ByteString getHttpAuthorizationTokenBytes()
Required. Immutable. The HTTP authorization token used to obtain authorization.
string http_authorization_token = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
- Specified by:
getHttpAuthorizationTokenBytes
in interfaceBusinessProfileLocationSetOrBuilder
- Returns:
- The bytes for httpAuthorizationToken.
-
setHttpAuthorizationToken
public BusinessProfileLocationSet.Builder setHttpAuthorizationToken(java.lang.String value)
Required. Immutable. The HTTP authorization token used to obtain authorization.
string http_authorization_token = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
- Parameters:
value
- The httpAuthorizationToken to set.- Returns:
- This builder for chaining.
-
clearHttpAuthorizationToken
public BusinessProfileLocationSet.Builder clearHttpAuthorizationToken()
Required. Immutable. The HTTP authorization token used to obtain authorization.
string http_authorization_token = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
- Returns:
- This builder for chaining.
-
setHttpAuthorizationTokenBytes
public BusinessProfileLocationSet.Builder setHttpAuthorizationTokenBytes(com.google.protobuf.ByteString value)
Required. Immutable. The HTTP authorization token used to obtain authorization.
string http_authorization_token = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
- Parameters:
value
- The bytes for httpAuthorizationToken to set.- Returns:
- This builder for chaining.
-
getEmailAddress
public java.lang.String getEmailAddress()
Required. Immutable. Email address of a Google Business Profile account or email address of a manager of the Google Business Profile account.
string email_address = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
- Specified by:
getEmailAddress
in interfaceBusinessProfileLocationSetOrBuilder
- Returns:
- The emailAddress.
-
getEmailAddressBytes
public com.google.protobuf.ByteString getEmailAddressBytes()
Required. Immutable. Email address of a Google Business Profile account or email address of a manager of the Google Business Profile account.
string email_address = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
- Specified by:
getEmailAddressBytes
in interfaceBusinessProfileLocationSetOrBuilder
- Returns:
- The bytes for emailAddress.
-
setEmailAddress
public BusinessProfileLocationSet.Builder setEmailAddress(java.lang.String value)
Required. Immutable. Email address of a Google Business Profile account or email address of a manager of the Google Business Profile account.
string email_address = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
- Parameters:
value
- The emailAddress to set.- Returns:
- This builder for chaining.
-
clearEmailAddress
public BusinessProfileLocationSet.Builder clearEmailAddress()
Required. Immutable. Email address of a Google Business Profile account or email address of a manager of the Google Business Profile account.
string email_address = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
- Returns:
- This builder for chaining.
-
setEmailAddressBytes
public BusinessProfileLocationSet.Builder setEmailAddressBytes(com.google.protobuf.ByteString value)
Required. Immutable. Email address of a Google Business Profile account or email address of a manager of the Google Business Profile account.
string email_address = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
- Parameters:
value
- The bytes for emailAddress to set.- Returns:
- This builder for chaining.
-
getBusinessNameFilter
public java.lang.String getBusinessNameFilter()
Used to filter Google Business Profile listings by business name. If businessNameFilter is set, only listings with a matching business name are candidates to be sync'd into Assets.
string business_name_filter = 3;
- Specified by:
getBusinessNameFilter
in interfaceBusinessProfileLocationSetOrBuilder
- Returns:
- The businessNameFilter.
-
getBusinessNameFilterBytes
public com.google.protobuf.ByteString getBusinessNameFilterBytes()
Used to filter Google Business Profile listings by business name. If businessNameFilter is set, only listings with a matching business name are candidates to be sync'd into Assets.
string business_name_filter = 3;
- Specified by:
getBusinessNameFilterBytes
in interfaceBusinessProfileLocationSetOrBuilder
- Returns:
- The bytes for businessNameFilter.
-
setBusinessNameFilter
public BusinessProfileLocationSet.Builder setBusinessNameFilter(java.lang.String value)
Used to filter Google Business Profile listings by business name. If businessNameFilter is set, only listings with a matching business name are candidates to be sync'd into Assets.
string business_name_filter = 3;
- Parameters:
value
- The businessNameFilter to set.- Returns:
- This builder for chaining.
-
clearBusinessNameFilter
public BusinessProfileLocationSet.Builder clearBusinessNameFilter()
Used to filter Google Business Profile listings by business name. If businessNameFilter is set, only listings with a matching business name are candidates to be sync'd into Assets.
string business_name_filter = 3;
- Returns:
- This builder for chaining.
-
setBusinessNameFilterBytes
public BusinessProfileLocationSet.Builder setBusinessNameFilterBytes(com.google.protobuf.ByteString value)
Used to filter Google Business Profile listings by business name. If businessNameFilter is set, only listings with a matching business name are candidates to be sync'd into Assets.
string business_name_filter = 3;
- Parameters:
value
- The bytes for businessNameFilter to set.- Returns:
- This builder for chaining.
-
getLabelFiltersList
public com.google.protobuf.ProtocolStringList getLabelFiltersList()
Used to filter Google Business Profile listings by labels. If entries exist in labelFilters, only listings that have any of the labels set are candidates to be synchronized into Assets. If no entries exist in labelFilters, then all listings are candidates for syncing. Label filters are OR'ed together.
repeated string label_filters = 4;
- Specified by:
getLabelFiltersList
in interfaceBusinessProfileLocationSetOrBuilder
- Returns:
- A list containing the labelFilters.
-
getLabelFiltersCount
public int getLabelFiltersCount()
Used to filter Google Business Profile listings by labels. If entries exist in labelFilters, only listings that have any of the labels set are candidates to be synchronized into Assets. If no entries exist in labelFilters, then all listings are candidates for syncing. Label filters are OR'ed together.
repeated string label_filters = 4;
- Specified by:
getLabelFiltersCount
in interfaceBusinessProfileLocationSetOrBuilder
- Returns:
- The count of labelFilters.
-
getLabelFilters
public java.lang.String getLabelFilters(int index)
Used to filter Google Business Profile listings by labels. If entries exist in labelFilters, only listings that have any of the labels set are candidates to be synchronized into Assets. If no entries exist in labelFilters, then all listings are candidates for syncing. Label filters are OR'ed together.
repeated string label_filters = 4;
- Specified by:
getLabelFilters
in interfaceBusinessProfileLocationSetOrBuilder
- 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 Google Business Profile listings by labels. If entries exist in labelFilters, only listings that have any of the labels set are candidates to be synchronized into Assets. If no entries exist in labelFilters, then all listings are candidates for syncing. Label filters are OR'ed together.
repeated string label_filters = 4;
- Specified by:
getLabelFiltersBytes
in interfaceBusinessProfileLocationSetOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the labelFilters at the given index.
-
setLabelFilters
public BusinessProfileLocationSet.Builder setLabelFilters(int index, java.lang.String value)
Used to filter Google Business Profile listings by labels. If entries exist in labelFilters, only listings that have any of the labels set are candidates to be synchronized into Assets. If no entries exist in labelFilters, then all listings are candidates for syncing. Label filters are OR'ed together.
repeated string label_filters = 4;
- Parameters:
index
- The index to set the value at.value
- The labelFilters to set.- Returns:
- This builder for chaining.
-
addLabelFilters
public BusinessProfileLocationSet.Builder addLabelFilters(java.lang.String value)
Used to filter Google Business Profile listings by labels. If entries exist in labelFilters, only listings that have any of the labels set are candidates to be synchronized into Assets. If no entries exist in labelFilters, then all listings are candidates for syncing. Label filters are OR'ed together.
repeated string label_filters = 4;
- Parameters:
value
- The labelFilters to add.- Returns:
- This builder for chaining.
-
addAllLabelFilters
public BusinessProfileLocationSet.Builder addAllLabelFilters(java.lang.Iterable<java.lang.String> values)
Used to filter Google Business Profile listings by labels. If entries exist in labelFilters, only listings that have any of the labels set are candidates to be synchronized into Assets. If no entries exist in labelFilters, then all listings are candidates for syncing. Label filters are OR'ed together.
repeated string label_filters = 4;
- Parameters:
values
- The labelFilters to add.- Returns:
- This builder for chaining.
-
clearLabelFilters
public BusinessProfileLocationSet.Builder clearLabelFilters()
Used to filter Google Business Profile listings by labels. If entries exist in labelFilters, only listings that have any of the labels set are candidates to be synchronized into Assets. If no entries exist in labelFilters, then all listings are candidates for syncing. Label filters are OR'ed together.
repeated string label_filters = 4;
- Returns:
- This builder for chaining.
-
addLabelFiltersBytes
public BusinessProfileLocationSet.Builder addLabelFiltersBytes(com.google.protobuf.ByteString value)
Used to filter Google Business Profile listings by labels. If entries exist in labelFilters, only listings that have any of the labels set are candidates to be synchronized into Assets. If no entries exist in labelFilters, then all listings are candidates for syncing. Label filters are OR'ed together.
repeated string label_filters = 4;
- Parameters:
value
- The bytes of the labelFilters to add.- Returns:
- This builder for chaining.
-
getListingIdFiltersList
public java.util.List<java.lang.Long> getListingIdFiltersList()
Used to filter Google Business Profile listings by listing id. If entries exist in listingIdFilters, only listings specified by the filters are candidates to be synchronized into Assets. If no entries exist in listingIdFilters, then all listings are candidates for syncing. Listing ID filters are OR'ed together.
repeated int64 listing_id_filters = 5;
- Specified by:
getListingIdFiltersList
in interfaceBusinessProfileLocationSetOrBuilder
- Returns:
- A list containing the listingIdFilters.
-
getListingIdFiltersCount
public int getListingIdFiltersCount()
Used to filter Google Business Profile listings by listing id. If entries exist in listingIdFilters, only listings specified by the filters are candidates to be synchronized into Assets. If no entries exist in listingIdFilters, then all listings are candidates for syncing. Listing ID filters are OR'ed together.
repeated int64 listing_id_filters = 5;
- Specified by:
getListingIdFiltersCount
in interfaceBusinessProfileLocationSetOrBuilder
- Returns:
- The count of listingIdFilters.
-
getListingIdFilters
public long getListingIdFilters(int index)
Used to filter Google Business Profile listings by listing id. If entries exist in listingIdFilters, only listings specified by the filters are candidates to be synchronized into Assets. If no entries exist in listingIdFilters, then all listings are candidates for syncing. Listing ID filters are OR'ed together.
repeated int64 listing_id_filters = 5;
- Specified by:
getListingIdFilters
in interfaceBusinessProfileLocationSetOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The listingIdFilters at the given index.
-
setListingIdFilters
public BusinessProfileLocationSet.Builder setListingIdFilters(int index, long value)
Used to filter Google Business Profile listings by listing id. If entries exist in listingIdFilters, only listings specified by the filters are candidates to be synchronized into Assets. If no entries exist in listingIdFilters, then all listings are candidates for syncing. Listing ID filters are OR'ed together.
repeated int64 listing_id_filters = 5;
- Parameters:
index
- The index to set the value at.value
- The listingIdFilters to set.- Returns:
- This builder for chaining.
-
addListingIdFilters
public BusinessProfileLocationSet.Builder addListingIdFilters(long value)
Used to filter Google Business Profile listings by listing id. If entries exist in listingIdFilters, only listings specified by the filters are candidates to be synchronized into Assets. If no entries exist in listingIdFilters, then all listings are candidates for syncing. Listing ID filters are OR'ed together.
repeated int64 listing_id_filters = 5;
- Parameters:
value
- The listingIdFilters to add.- Returns:
- This builder for chaining.
-
addAllListingIdFilters
public BusinessProfileLocationSet.Builder addAllListingIdFilters(java.lang.Iterable<? extends java.lang.Long> values)
Used to filter Google Business Profile listings by listing id. If entries exist in listingIdFilters, only listings specified by the filters are candidates to be synchronized into Assets. If no entries exist in listingIdFilters, then all listings are candidates for syncing. Listing ID filters are OR'ed together.
repeated int64 listing_id_filters = 5;
- Parameters:
values
- The listingIdFilters to add.- Returns:
- This builder for chaining.
-
clearListingIdFilters
public BusinessProfileLocationSet.Builder clearListingIdFilters()
Used to filter Google Business Profile listings by listing id. If entries exist in listingIdFilters, only listings specified by the filters are candidates to be synchronized into Assets. If no entries exist in listingIdFilters, then all listings are candidates for syncing. Listing ID filters are OR'ed together.
repeated int64 listing_id_filters = 5;
- Returns:
- This builder for chaining.
-
getBusinessAccountId
public java.lang.String getBusinessAccountId()
Immutable. The account ID of the managed business whose locations are to be used. If this field is not set, then all businesses accessible by the user (specified by the emailAddress) are used.
string business_account_id = 6 [(.google.api.field_behavior) = IMMUTABLE];
- Specified by:
getBusinessAccountId
in interfaceBusinessProfileLocationSetOrBuilder
- Returns:
- The businessAccountId.
-
getBusinessAccountIdBytes
public com.google.protobuf.ByteString getBusinessAccountIdBytes()
Immutable. The account ID of the managed business whose locations are to be used. If this field is not set, then all businesses accessible by the user (specified by the emailAddress) are used.
string business_account_id = 6 [(.google.api.field_behavior) = IMMUTABLE];
- Specified by:
getBusinessAccountIdBytes
in interfaceBusinessProfileLocationSetOrBuilder
- Returns:
- The bytes for businessAccountId.
-
setBusinessAccountId
public BusinessProfileLocationSet.Builder setBusinessAccountId(java.lang.String value)
Immutable. The account ID of the managed business whose locations are to be used. If this field is not set, then all businesses accessible by the user (specified by the emailAddress) are used.
string business_account_id = 6 [(.google.api.field_behavior) = IMMUTABLE];
- Parameters:
value
- The businessAccountId to set.- Returns:
- This builder for chaining.
-
clearBusinessAccountId
public BusinessProfileLocationSet.Builder clearBusinessAccountId()
Immutable. The account ID of the managed business whose locations are to be used. If this field is not set, then all businesses accessible by the user (specified by the emailAddress) are used.
string business_account_id = 6 [(.google.api.field_behavior) = IMMUTABLE];
- Returns:
- This builder for chaining.
-
setBusinessAccountIdBytes
public BusinessProfileLocationSet.Builder setBusinessAccountIdBytes(com.google.protobuf.ByteString value)
Immutable. The account ID of the managed business whose locations are to be used. If this field is not set, then all businesses accessible by the user (specified by the emailAddress) are used.
string business_account_id = 6 [(.google.api.field_behavior) = IMMUTABLE];
- Parameters:
value
- The bytes for businessAccountId to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final BusinessProfileLocationSet.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<BusinessProfileLocationSet.Builder>
-
mergeUnknownFields
public final BusinessProfileLocationSet.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<BusinessProfileLocationSet.Builder>
-
-