Class Feed.PlacesLocationFeedData.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Feed.PlacesLocationFeedData.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Feed.PlacesLocationFeedData.Builder>
      • getDefaultInstanceForType

        public Feed.PlacesLocationFeedData getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public Feed.PlacesLocationFeedData build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public Feed.PlacesLocationFeedData buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • setRepeatedField

        public Feed.PlacesLocationFeedData.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                    int index,
                                                                    java.lang.Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Feed.PlacesLocationFeedData.Builder>
      • addRepeatedField

        public Feed.PlacesLocationFeedData.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                    java.lang.Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Feed.PlacesLocationFeedData.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Feed.PlacesLocationFeedData.Builder>
      • mergeFrom

        public Feed.PlacesLocationFeedData.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                      throws java.io.IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Feed.PlacesLocationFeedData.Builder>
        Throws:
        java.io.IOException
      • hasOauthInfo

        public boolean hasOauthInfo()
         Immutable. Required authentication token (from OAuth API) for the email.
         This field can only be specified in a create request. All its subfields
         are not selectable.
         
        .google.ads.googleads.v10.resources.Feed.PlacesLocationFeedData.OAuthInfo oauth_info = 1 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        hasOauthInfo in interface Feed.PlacesLocationFeedDataOrBuilder
        Returns:
        Whether the oauthInfo field is set.
      • getOauthInfo

        public Feed.PlacesLocationFeedData.OAuthInfo getOauthInfo()
         Immutable. Required authentication token (from OAuth API) for the email.
         This field can only be specified in a create request. All its subfields
         are not selectable.
         
        .google.ads.googleads.v10.resources.Feed.PlacesLocationFeedData.OAuthInfo oauth_info = 1 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getOauthInfo in interface Feed.PlacesLocationFeedDataOrBuilder
        Returns:
        The oauthInfo.
      • setOauthInfo

        public Feed.PlacesLocationFeedData.Builder setOauthInfo​(Feed.PlacesLocationFeedData.OAuthInfo value)
         Immutable. Required authentication token (from OAuth API) for the email.
         This field can only be specified in a create request. All its subfields
         are not selectable.
         
        .google.ads.googleads.v10.resources.Feed.PlacesLocationFeedData.OAuthInfo oauth_info = 1 [(.google.api.field_behavior) = IMMUTABLE];
      • setOauthInfo

        public Feed.PlacesLocationFeedData.Builder setOauthInfo​(Feed.PlacesLocationFeedData.OAuthInfo.Builder builderForValue)
         Immutable. Required authentication token (from OAuth API) for the email.
         This field can only be specified in a create request. All its subfields
         are not selectable.
         
        .google.ads.googleads.v10.resources.Feed.PlacesLocationFeedData.OAuthInfo oauth_info = 1 [(.google.api.field_behavior) = IMMUTABLE];
      • mergeOauthInfo

        public Feed.PlacesLocationFeedData.Builder mergeOauthInfo​(Feed.PlacesLocationFeedData.OAuthInfo value)
         Immutable. Required authentication token (from OAuth API) for the email.
         This field can only be specified in a create request. All its subfields
         are not selectable.
         
        .google.ads.googleads.v10.resources.Feed.PlacesLocationFeedData.OAuthInfo oauth_info = 1 [(.google.api.field_behavior) = IMMUTABLE];
      • clearOauthInfo

        public Feed.PlacesLocationFeedData.Builder clearOauthInfo()
         Immutable. Required authentication token (from OAuth API) for the email.
         This field can only be specified in a create request. All its subfields
         are not selectable.
         
        .google.ads.googleads.v10.resources.Feed.PlacesLocationFeedData.OAuthInfo oauth_info = 1 [(.google.api.field_behavior) = IMMUTABLE];
      • getOauthInfoBuilder

        public Feed.PlacesLocationFeedData.OAuthInfo.Builder getOauthInfoBuilder()
         Immutable. Required authentication token (from OAuth API) for the email.
         This field can only be specified in a create request. All its subfields
         are not selectable.
         
        .google.ads.googleads.v10.resources.Feed.PlacesLocationFeedData.OAuthInfo oauth_info = 1 [(.google.api.field_behavior) = IMMUTABLE];
      • hasEmailAddress

        public boolean hasEmailAddress()
         Email address of a Business Profile or email address of a
         manager of the Business Profile. Required.
         
        optional string email_address = 7;
        Specified by:
        hasEmailAddress in interface Feed.PlacesLocationFeedDataOrBuilder
        Returns:
        Whether the emailAddress field is set.
      • getEmailAddress

        public java.lang.String getEmailAddress()
         Email address of a Business Profile or email address of a
         manager of the Business Profile. Required.
         
        optional string email_address = 7;
        Specified by:
        getEmailAddress in interface Feed.PlacesLocationFeedDataOrBuilder
        Returns:
        The emailAddress.
      • getEmailAddressBytes

        public com.google.protobuf.ByteString getEmailAddressBytes()
         Email address of a Business Profile or email address of a
         manager of the Business Profile. Required.
         
        optional string email_address = 7;
        Specified by:
        getEmailAddressBytes in interface Feed.PlacesLocationFeedDataOrBuilder
        Returns:
        The bytes for emailAddress.
      • setEmailAddress

        public Feed.PlacesLocationFeedData.Builder setEmailAddress​(java.lang.String value)
         Email address of a Business Profile or email address of a
         manager of the Business Profile. Required.
         
        optional string email_address = 7;
        Parameters:
        value - The emailAddress to set.
        Returns:
        This builder for chaining.
      • clearEmailAddress

        public Feed.PlacesLocationFeedData.Builder clearEmailAddress()
         Email address of a Business Profile or email address of a
         manager of the Business Profile. Required.
         
        optional string email_address = 7;
        Returns:
        This builder for chaining.
      • setEmailAddressBytes

        public Feed.PlacesLocationFeedData.Builder setEmailAddressBytes​(com.google.protobuf.ByteString value)
         Email address of a Business Profile or email address of a
         manager of the Business Profile. Required.
         
        optional string email_address = 7;
        Parameters:
        value - The bytes for emailAddress to set.
        Returns:
        This builder for chaining.
      • getBusinessAccountId

        public java.lang.String getBusinessAccountId()
         Plus page ID of the managed business whose locations should be used. If
         this field is not set, then all businesses accessible by the user
         (specified by email_address) are used.
         This field is mutate-only and is not selectable.
         
        string business_account_id = 8;
        Specified by:
        getBusinessAccountId in interface Feed.PlacesLocationFeedDataOrBuilder
        Returns:
        The businessAccountId.
      • getBusinessAccountIdBytes

        public com.google.protobuf.ByteString getBusinessAccountIdBytes()
         Plus page ID of the managed business whose locations should be used. If
         this field is not set, then all businesses accessible by the user
         (specified by email_address) are used.
         This field is mutate-only and is not selectable.
         
        string business_account_id = 8;
        Specified by:
        getBusinessAccountIdBytes in interface Feed.PlacesLocationFeedDataOrBuilder
        Returns:
        The bytes for businessAccountId.
      • setBusinessAccountId

        public Feed.PlacesLocationFeedData.Builder setBusinessAccountId​(java.lang.String value)
         Plus page ID of the managed business whose locations should be used. If
         this field is not set, then all businesses accessible by the user
         (specified by email_address) are used.
         This field is mutate-only and is not selectable.
         
        string business_account_id = 8;
        Parameters:
        value - The businessAccountId to set.
        Returns:
        This builder for chaining.
      • clearBusinessAccountId

        public Feed.PlacesLocationFeedData.Builder clearBusinessAccountId()
         Plus page ID of the managed business whose locations should be used. If
         this field is not set, then all businesses accessible by the user
         (specified by email_address) are used.
         This field is mutate-only and is not selectable.
         
        string business_account_id = 8;
        Returns:
        This builder for chaining.
      • setBusinessAccountIdBytes

        public Feed.PlacesLocationFeedData.Builder setBusinessAccountIdBytes​(com.google.protobuf.ByteString value)
         Plus page ID of the managed business whose locations should be used. If
         this field is not set, then all businesses accessible by the user
         (specified by email_address) are used.
         This field is mutate-only and is not selectable.
         
        string business_account_id = 8;
        Parameters:
        value - The bytes for businessAccountId to set.
        Returns:
        This builder for chaining.
      • hasBusinessNameFilter

        public boolean hasBusinessNameFilter()
         Used to filter Business Profile listings by business name. If
         business_name_filter is set, only listings with a matching business name
         are candidates to be sync'd into FeedItems.
         
        optional string business_name_filter = 9;
        Specified by:
        hasBusinessNameFilter in interface Feed.PlacesLocationFeedDataOrBuilder
        Returns:
        Whether the businessNameFilter field is set.
      • getBusinessNameFilter

        public java.lang.String getBusinessNameFilter()
         Used to filter Business Profile listings by business name. If
         business_name_filter is set, only listings with a matching business name
         are candidates to be sync'd into FeedItems.
         
        optional string business_name_filter = 9;
        Specified by:
        getBusinessNameFilter in interface Feed.PlacesLocationFeedDataOrBuilder
        Returns:
        The businessNameFilter.
      • getBusinessNameFilterBytes

        public com.google.protobuf.ByteString getBusinessNameFilterBytes()
         Used to filter Business Profile listings by business name. If
         business_name_filter is set, only listings with a matching business name
         are candidates to be sync'd into FeedItems.
         
        optional string business_name_filter = 9;
        Specified by:
        getBusinessNameFilterBytes in interface Feed.PlacesLocationFeedDataOrBuilder
        Returns:
        The bytes for businessNameFilter.
      • setBusinessNameFilter

        public Feed.PlacesLocationFeedData.Builder setBusinessNameFilter​(java.lang.String value)
         Used to filter Business Profile listings by business name. If
         business_name_filter is set, only listings with a matching business name
         are candidates to be sync'd into FeedItems.
         
        optional string business_name_filter = 9;
        Parameters:
        value - The businessNameFilter to set.
        Returns:
        This builder for chaining.
      • clearBusinessNameFilter

        public Feed.PlacesLocationFeedData.Builder clearBusinessNameFilter()
         Used to filter Business Profile listings by business name. If
         business_name_filter is set, only listings with a matching business name
         are candidates to be sync'd into FeedItems.
         
        optional string business_name_filter = 9;
        Returns:
        This builder for chaining.
      • setBusinessNameFilterBytes

        public Feed.PlacesLocationFeedData.Builder setBusinessNameFilterBytes​(com.google.protobuf.ByteString value)
         Used to filter Business Profile listings by business name. If
         business_name_filter is set, only listings with a matching business name
         are candidates to be sync'd into FeedItems.
         
        optional string business_name_filter = 9;
        Parameters:
        value - The bytes for businessNameFilter to set.
        Returns:
        This builder for chaining.
      • getCategoryFiltersList

        public com.google.protobuf.ProtocolStringList getCategoryFiltersList()
         Used to filter Business Profile listings by categories. If entries
         exist in category_filters, only listings that belong to any of the
         categories are candidates to be sync'd into FeedItems. If no entries
         exist in category_filters, then all listings are candidates for syncing.
         
        repeated string category_filters = 11;
        Specified by:
        getCategoryFiltersList in interface Feed.PlacesLocationFeedDataOrBuilder
        Returns:
        A list containing the categoryFilters.
      • getCategoryFiltersCount

        public int getCategoryFiltersCount()
         Used to filter Business Profile listings by categories. If entries
         exist in category_filters, only listings that belong to any of the
         categories are candidates to be sync'd into FeedItems. If no entries
         exist in category_filters, then all listings are candidates for syncing.
         
        repeated string category_filters = 11;
        Specified by:
        getCategoryFiltersCount in interface Feed.PlacesLocationFeedDataOrBuilder
        Returns:
        The count of categoryFilters.
      • getCategoryFilters

        public java.lang.String getCategoryFilters​(int index)
         Used to filter Business Profile listings by categories. If entries
         exist in category_filters, only listings that belong to any of the
         categories are candidates to be sync'd into FeedItems. If no entries
         exist in category_filters, then all listings are candidates for syncing.
         
        repeated string category_filters = 11;
        Specified by:
        getCategoryFilters in interface Feed.PlacesLocationFeedDataOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The categoryFilters at the given index.
      • getCategoryFiltersBytes

        public com.google.protobuf.ByteString getCategoryFiltersBytes​(int index)
         Used to filter Business Profile listings by categories. If entries
         exist in category_filters, only listings that belong to any of the
         categories are candidates to be sync'd into FeedItems. If no entries
         exist in category_filters, then all listings are candidates for syncing.
         
        repeated string category_filters = 11;
        Specified by:
        getCategoryFiltersBytes in interface Feed.PlacesLocationFeedDataOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the categoryFilters at the given index.
      • setCategoryFilters

        public Feed.PlacesLocationFeedData.Builder setCategoryFilters​(int index,
                                                                      java.lang.String value)
         Used to filter Business Profile listings by categories. If entries
         exist in category_filters, only listings that belong to any of the
         categories are candidates to be sync'd into FeedItems. If no entries
         exist in category_filters, then all listings are candidates for syncing.
         
        repeated string category_filters = 11;
        Parameters:
        index - The index to set the value at.
        value - The categoryFilters to set.
        Returns:
        This builder for chaining.
      • addCategoryFilters

        public Feed.PlacesLocationFeedData.Builder addCategoryFilters​(java.lang.String value)
         Used to filter Business Profile listings by categories. If entries
         exist in category_filters, only listings that belong to any of the
         categories are candidates to be sync'd into FeedItems. If no entries
         exist in category_filters, then all listings are candidates for syncing.
         
        repeated string category_filters = 11;
        Parameters:
        value - The categoryFilters to add.
        Returns:
        This builder for chaining.
      • addAllCategoryFilters

        public Feed.PlacesLocationFeedData.Builder addAllCategoryFilters​(java.lang.Iterable<java.lang.String> values)
         Used to filter Business Profile listings by categories. If entries
         exist in category_filters, only listings that belong to any of the
         categories are candidates to be sync'd into FeedItems. If no entries
         exist in category_filters, then all listings are candidates for syncing.
         
        repeated string category_filters = 11;
        Parameters:
        values - The categoryFilters to add.
        Returns:
        This builder for chaining.
      • clearCategoryFilters

        public Feed.PlacesLocationFeedData.Builder clearCategoryFilters()
         Used to filter Business Profile listings by categories. If entries
         exist in category_filters, only listings that belong to any of the
         categories are candidates to be sync'd into FeedItems. If no entries
         exist in category_filters, then all listings are candidates for syncing.
         
        repeated string category_filters = 11;
        Returns:
        This builder for chaining.
      • addCategoryFiltersBytes

        public Feed.PlacesLocationFeedData.Builder addCategoryFiltersBytes​(com.google.protobuf.ByteString value)
         Used to filter Business Profile listings by categories. If entries
         exist in category_filters, only listings that belong to any of the
         categories are candidates to be sync'd into FeedItems. If no entries
         exist in category_filters, then all listings are candidates for syncing.
         
        repeated string category_filters = 11;
        Parameters:
        value - The bytes of the categoryFilters to add.
        Returns:
        This builder for chaining.
      • getLabelFiltersList

        public com.google.protobuf.ProtocolStringList getLabelFiltersList()
         Used to filter Business Profile listings by labels. If entries exist in
         label_filters, only listings that has any of the labels set are
         candidates to be synchronized into FeedItems. If no entries exist in
         label_filters, then all listings are candidates for syncing.
         
        repeated string label_filters = 12;
        Specified by:
        getLabelFiltersList in interface Feed.PlacesLocationFeedDataOrBuilder
        Returns:
        A list containing the labelFilters.
      • getLabelFiltersCount

        public int getLabelFiltersCount()
         Used to filter Business Profile listings by labels. If entries exist in
         label_filters, only listings that has any of the labels set are
         candidates to be synchronized into FeedItems. If no entries exist in
         label_filters, then all listings are candidates for syncing.
         
        repeated string label_filters = 12;
        Specified by:
        getLabelFiltersCount in interface Feed.PlacesLocationFeedDataOrBuilder
        Returns:
        The count of labelFilters.
      • getLabelFilters

        public java.lang.String getLabelFilters​(int index)
         Used to filter Business Profile listings by labels. If entries exist in
         label_filters, only listings that has any of the labels set are
         candidates to be synchronized into FeedItems. If no entries exist in
         label_filters, then all listings are candidates for syncing.
         
        repeated string label_filters = 12;
        Specified by:
        getLabelFilters in interface Feed.PlacesLocationFeedDataOrBuilder
        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 listings by labels. If entries exist in
         label_filters, only listings that has any of the labels set are
         candidates to be synchronized into FeedItems. If no entries exist in
         label_filters, then all listings are candidates for syncing.
         
        repeated string label_filters = 12;
        Specified by:
        getLabelFiltersBytes in interface Feed.PlacesLocationFeedDataOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the labelFilters at the given index.
      • setLabelFilters

        public Feed.PlacesLocationFeedData.Builder setLabelFilters​(int index,
                                                                   java.lang.String value)
         Used to filter Business Profile listings by labels. If entries exist in
         label_filters, only listings that has any of the labels set are
         candidates to be synchronized into FeedItems. If no entries exist in
         label_filters, then all listings are candidates for syncing.
         
        repeated string label_filters = 12;
        Parameters:
        index - The index to set the value at.
        value - The labelFilters to set.
        Returns:
        This builder for chaining.
      • addLabelFilters

        public Feed.PlacesLocationFeedData.Builder addLabelFilters​(java.lang.String value)
         Used to filter Business Profile listings by labels. If entries exist in
         label_filters, only listings that has any of the labels set are
         candidates to be synchronized into FeedItems. If no entries exist in
         label_filters, then all listings are candidates for syncing.
         
        repeated string label_filters = 12;
        Parameters:
        value - The labelFilters to add.
        Returns:
        This builder for chaining.
      • addAllLabelFilters

        public Feed.PlacesLocationFeedData.Builder addAllLabelFilters​(java.lang.Iterable<java.lang.String> values)
         Used to filter Business Profile listings by labels. If entries exist in
         label_filters, only listings that has any of the labels set are
         candidates to be synchronized into FeedItems. If no entries exist in
         label_filters, then all listings are candidates for syncing.
         
        repeated string label_filters = 12;
        Parameters:
        values - The labelFilters to add.
        Returns:
        This builder for chaining.
      • clearLabelFilters

        public Feed.PlacesLocationFeedData.Builder clearLabelFilters()
         Used to filter Business Profile listings by labels. If entries exist in
         label_filters, only listings that has any of the labels set are
         candidates to be synchronized into FeedItems. If no entries exist in
         label_filters, then all listings are candidates for syncing.
         
        repeated string label_filters = 12;
        Returns:
        This builder for chaining.
      • addLabelFiltersBytes

        public Feed.PlacesLocationFeedData.Builder addLabelFiltersBytes​(com.google.protobuf.ByteString value)
         Used to filter Business Profile listings by labels. If entries exist in
         label_filters, only listings that has any of the labels set are
         candidates to be synchronized into FeedItems. If no entries exist in
         label_filters, then all listings are candidates for syncing.
         
        repeated string label_filters = 12;
        Parameters:
        value - The bytes of the labelFilters to add.
        Returns:
        This builder for chaining.
      • mergeUnknownFields

        public final Feed.PlacesLocationFeedData.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Feed.PlacesLocationFeedData.Builder>