Class DynamicSearchAdsSearchTermView.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<DynamicSearchAdsSearchTermView.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<DynamicSearchAdsSearchTermView.Builder>
      • getDefaultInstanceForType

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

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

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

        public DynamicSearchAdsSearchTermView.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<DynamicSearchAdsSearchTermView.Builder>
      • isInitialized

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

        public DynamicSearchAdsSearchTermView.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<DynamicSearchAdsSearchTermView.Builder>
        Throws:
        java.io.IOException
      • getResourceName

        public java.lang.String getResourceName()
         Output only. The resource name of the dynamic search ads search term view.
         Dynamic search ads search term view resource names have the form:
         `customers/{customer_id}/dynamicSearchAdsSearchTermViews/{ad_group_id}~{search_term_fingerprint}~{headline_fingerprint}~{landing_page_fingerprint}~{page_url_fingerprint}`
         
        string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Specified by:
        getResourceName in interface DynamicSearchAdsSearchTermViewOrBuilder
        Returns:
        The resourceName.
      • getResourceNameBytes

        public com.google.protobuf.ByteString getResourceNameBytes()
         Output only. The resource name of the dynamic search ads search term view.
         Dynamic search ads search term view resource names have the form:
         `customers/{customer_id}/dynamicSearchAdsSearchTermViews/{ad_group_id}~{search_term_fingerprint}~{headline_fingerprint}~{landing_page_fingerprint}~{page_url_fingerprint}`
         
        string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Specified by:
        getResourceNameBytes in interface DynamicSearchAdsSearchTermViewOrBuilder
        Returns:
        The bytes for resourceName.
      • setResourceName

        public DynamicSearchAdsSearchTermView.Builder setResourceName​(java.lang.String value)
         Output only. The resource name of the dynamic search ads search term view.
         Dynamic search ads search term view resource names have the form:
         `customers/{customer_id}/dynamicSearchAdsSearchTermViews/{ad_group_id}~{search_term_fingerprint}~{headline_fingerprint}~{landing_page_fingerprint}~{page_url_fingerprint}`
         
        string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The resourceName to set.
        Returns:
        This builder for chaining.
      • clearResourceName

        public DynamicSearchAdsSearchTermView.Builder clearResourceName()
         Output only. The resource name of the dynamic search ads search term view.
         Dynamic search ads search term view resource names have the form:
         `customers/{customer_id}/dynamicSearchAdsSearchTermViews/{ad_group_id}~{search_term_fingerprint}~{headline_fingerprint}~{landing_page_fingerprint}~{page_url_fingerprint}`
         
        string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setResourceNameBytes

        public DynamicSearchAdsSearchTermView.Builder setResourceNameBytes​(com.google.protobuf.ByteString value)
         Output only. The resource name of the dynamic search ads search term view.
         Dynamic search ads search term view resource names have the form:
         `customers/{customer_id}/dynamicSearchAdsSearchTermViews/{ad_group_id}~{search_term_fingerprint}~{headline_fingerprint}~{landing_page_fingerprint}~{page_url_fingerprint}`
         
        string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for resourceName to set.
        Returns:
        This builder for chaining.
      • hasSearchTerm

        public boolean hasSearchTerm()
         Output only. Search term
         This field is read-only.
         
        optional string search_term = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasSearchTerm in interface DynamicSearchAdsSearchTermViewOrBuilder
        Returns:
        Whether the searchTerm field is set.
      • getSearchTerm

        public java.lang.String getSearchTerm()
         Output only. Search term
         This field is read-only.
         
        optional string search_term = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getSearchTerm in interface DynamicSearchAdsSearchTermViewOrBuilder
        Returns:
        The searchTerm.
      • getSearchTermBytes

        public com.google.protobuf.ByteString getSearchTermBytes()
         Output only. Search term
         This field is read-only.
         
        optional string search_term = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getSearchTermBytes in interface DynamicSearchAdsSearchTermViewOrBuilder
        Returns:
        The bytes for searchTerm.
      • setSearchTerm

        public DynamicSearchAdsSearchTermView.Builder setSearchTerm​(java.lang.String value)
         Output only. Search term
         This field is read-only.
         
        optional string search_term = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The searchTerm to set.
        Returns:
        This builder for chaining.
      • clearSearchTerm

        public DynamicSearchAdsSearchTermView.Builder clearSearchTerm()
         Output only. Search term
         This field is read-only.
         
        optional string search_term = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setSearchTermBytes

        public DynamicSearchAdsSearchTermView.Builder setSearchTermBytes​(com.google.protobuf.ByteString value)
         Output only. Search term
         This field is read-only.
         
        optional string search_term = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for searchTerm to set.
        Returns:
        This builder for chaining.
      • hasHeadline

        public boolean hasHeadline()
         Output only. The dynamically generated headline of the Dynamic Search Ad.
         This field is read-only.
         
        optional string headline = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasHeadline in interface DynamicSearchAdsSearchTermViewOrBuilder
        Returns:
        Whether the headline field is set.
      • getHeadline

        public java.lang.String getHeadline()
         Output only. The dynamically generated headline of the Dynamic Search Ad.
         This field is read-only.
         
        optional string headline = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getHeadline in interface DynamicSearchAdsSearchTermViewOrBuilder
        Returns:
        The headline.
      • getHeadlineBytes

        public com.google.protobuf.ByteString getHeadlineBytes()
         Output only. The dynamically generated headline of the Dynamic Search Ad.
         This field is read-only.
         
        optional string headline = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getHeadlineBytes in interface DynamicSearchAdsSearchTermViewOrBuilder
        Returns:
        The bytes for headline.
      • setHeadline

        public DynamicSearchAdsSearchTermView.Builder setHeadline​(java.lang.String value)
         Output only. The dynamically generated headline of the Dynamic Search Ad.
         This field is read-only.
         
        optional string headline = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The headline to set.
        Returns:
        This builder for chaining.
      • clearHeadline

        public DynamicSearchAdsSearchTermView.Builder clearHeadline()
         Output only. The dynamically generated headline of the Dynamic Search Ad.
         This field is read-only.
         
        optional string headline = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setHeadlineBytes

        public DynamicSearchAdsSearchTermView.Builder setHeadlineBytes​(com.google.protobuf.ByteString value)
         Output only. The dynamically generated headline of the Dynamic Search Ad.
         This field is read-only.
         
        optional string headline = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for headline to set.
        Returns:
        This builder for chaining.
      • hasLandingPage

        public boolean hasLandingPage()
         Output only. The dynamically selected landing page URL of the impression.
         This field is read-only.
         
        optional string landing_page = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasLandingPage in interface DynamicSearchAdsSearchTermViewOrBuilder
        Returns:
        Whether the landingPage field is set.
      • getLandingPage

        public java.lang.String getLandingPage()
         Output only. The dynamically selected landing page URL of the impression.
         This field is read-only.
         
        optional string landing_page = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getLandingPage in interface DynamicSearchAdsSearchTermViewOrBuilder
        Returns:
        The landingPage.
      • getLandingPageBytes

        public com.google.protobuf.ByteString getLandingPageBytes()
         Output only. The dynamically selected landing page URL of the impression.
         This field is read-only.
         
        optional string landing_page = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getLandingPageBytes in interface DynamicSearchAdsSearchTermViewOrBuilder
        Returns:
        The bytes for landingPage.
      • setLandingPage

        public DynamicSearchAdsSearchTermView.Builder setLandingPage​(java.lang.String value)
         Output only. The dynamically selected landing page URL of the impression.
         This field is read-only.
         
        optional string landing_page = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The landingPage to set.
        Returns:
        This builder for chaining.
      • clearLandingPage

        public DynamicSearchAdsSearchTermView.Builder clearLandingPage()
         Output only. The dynamically selected landing page URL of the impression.
         This field is read-only.
         
        optional string landing_page = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setLandingPageBytes

        public DynamicSearchAdsSearchTermView.Builder setLandingPageBytes​(com.google.protobuf.ByteString value)
         Output only. The dynamically selected landing page URL of the impression.
         This field is read-only.
         
        optional string landing_page = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for landingPage to set.
        Returns:
        This builder for chaining.
      • hasPageUrl

        public boolean hasPageUrl()
         Output only. The URL of page feed item served for the impression.
         This field is read-only.
         
        optional string page_url = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasPageUrl in interface DynamicSearchAdsSearchTermViewOrBuilder
        Returns:
        Whether the pageUrl field is set.
      • getPageUrl

        public java.lang.String getPageUrl()
         Output only. The URL of page feed item served for the impression.
         This field is read-only.
         
        optional string page_url = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getPageUrl in interface DynamicSearchAdsSearchTermViewOrBuilder
        Returns:
        The pageUrl.
      • getPageUrlBytes

        public com.google.protobuf.ByteString getPageUrlBytes()
         Output only. The URL of page feed item served for the impression.
         This field is read-only.
         
        optional string page_url = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getPageUrlBytes in interface DynamicSearchAdsSearchTermViewOrBuilder
        Returns:
        The bytes for pageUrl.
      • setPageUrl

        public DynamicSearchAdsSearchTermView.Builder setPageUrl​(java.lang.String value)
         Output only. The URL of page feed item served for the impression.
         This field is read-only.
         
        optional string page_url = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The pageUrl to set.
        Returns:
        This builder for chaining.
      • clearPageUrl

        public DynamicSearchAdsSearchTermView.Builder clearPageUrl()
         Output only. The URL of page feed item served for the impression.
         This field is read-only.
         
        optional string page_url = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setPageUrlBytes

        public DynamicSearchAdsSearchTermView.Builder setPageUrlBytes​(com.google.protobuf.ByteString value)
         Output only. The URL of page feed item served for the impression.
         This field is read-only.
         
        optional string page_url = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for pageUrl to set.
        Returns:
        This builder for chaining.
      • hasHasNegativeKeyword

        public boolean hasHasNegativeKeyword()
         Output only. True if query matches a negative keyword.
         This field is read-only.
         
        optional bool has_negative_keyword = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasHasNegativeKeyword in interface DynamicSearchAdsSearchTermViewOrBuilder
        Returns:
        Whether the hasNegativeKeyword field is set.
      • getHasNegativeKeyword

        public boolean getHasNegativeKeyword()
         Output only. True if query matches a negative keyword.
         This field is read-only.
         
        optional bool has_negative_keyword = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getHasNegativeKeyword in interface DynamicSearchAdsSearchTermViewOrBuilder
        Returns:
        The hasNegativeKeyword.
      • setHasNegativeKeyword

        public DynamicSearchAdsSearchTermView.Builder setHasNegativeKeyword​(boolean value)
         Output only. True if query matches a negative keyword.
         This field is read-only.
         
        optional bool has_negative_keyword = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The hasNegativeKeyword to set.
        Returns:
        This builder for chaining.
      • clearHasNegativeKeyword

        public DynamicSearchAdsSearchTermView.Builder clearHasNegativeKeyword()
         Output only. True if query matches a negative keyword.
         This field is read-only.
         
        optional bool has_negative_keyword = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • hasHasMatchingKeyword

        public boolean hasHasMatchingKeyword()
         Output only. True if query is added to targeted keywords.
         This field is read-only.
         
        optional bool has_matching_keyword = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasHasMatchingKeyword in interface DynamicSearchAdsSearchTermViewOrBuilder
        Returns:
        Whether the hasMatchingKeyword field is set.
      • getHasMatchingKeyword

        public boolean getHasMatchingKeyword()
         Output only. True if query is added to targeted keywords.
         This field is read-only.
         
        optional bool has_matching_keyword = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getHasMatchingKeyword in interface DynamicSearchAdsSearchTermViewOrBuilder
        Returns:
        The hasMatchingKeyword.
      • setHasMatchingKeyword

        public DynamicSearchAdsSearchTermView.Builder setHasMatchingKeyword​(boolean value)
         Output only. True if query is added to targeted keywords.
         This field is read-only.
         
        optional bool has_matching_keyword = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The hasMatchingKeyword to set.
        Returns:
        This builder for chaining.
      • clearHasMatchingKeyword

        public DynamicSearchAdsSearchTermView.Builder clearHasMatchingKeyword()
         Output only. True if query is added to targeted keywords.
         This field is read-only.
         
        optional bool has_matching_keyword = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • hasHasNegativeUrl

        public boolean hasHasNegativeUrl()
         Output only. True if query matches a negative url.
         This field is read-only.
         
        optional bool has_negative_url = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasHasNegativeUrl in interface DynamicSearchAdsSearchTermViewOrBuilder
        Returns:
        Whether the hasNegativeUrl field is set.
      • getHasNegativeUrl

        public boolean getHasNegativeUrl()
         Output only. True if query matches a negative url.
         This field is read-only.
         
        optional bool has_negative_url = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getHasNegativeUrl in interface DynamicSearchAdsSearchTermViewOrBuilder
        Returns:
        The hasNegativeUrl.
      • setHasNegativeUrl

        public DynamicSearchAdsSearchTermView.Builder setHasNegativeUrl​(boolean value)
         Output only. True if query matches a negative url.
         This field is read-only.
         
        optional bool has_negative_url = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The hasNegativeUrl to set.
        Returns:
        This builder for chaining.
      • clearHasNegativeUrl

        public DynamicSearchAdsSearchTermView.Builder clearHasNegativeUrl()
         Output only. True if query matches a negative url.
         This field is read-only.
         
        optional bool has_negative_url = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.