Class LocalServicesLead.Builder

  • All Implemented Interfaces:
    LocalServicesLeadOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, java.lang.Cloneable
    Enclosing class:
    LocalServicesLead

    public static final class LocalServicesLead.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<LocalServicesLead.Builder>
    implements LocalServicesLeadOrBuilder
     Data from Local Services Lead.
     Contains details of Lead which is generated when user calls, messages or
     books service from advertiser.
     More info: https://ads.google.com/local-services-ads
     
    Protobuf type google.ads.googleads.v15.resources.LocalServicesLead
    • 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<LocalServicesLead.Builder>
      • clear

        public LocalServicesLead.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<LocalServicesLead.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<LocalServicesLead.Builder>
      • getDefaultInstanceForType

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

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

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

        public LocalServicesLead.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<LocalServicesLead.Builder>
      • setField

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

        public LocalServicesLead.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<LocalServicesLead.Builder>
      • clearOneof

        public LocalServicesLead.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<LocalServicesLead.Builder>
      • setRepeatedField

        public LocalServicesLead.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<LocalServicesLead.Builder>
      • addRepeatedField

        public LocalServicesLead.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<LocalServicesLead.Builder>
      • mergeFrom

        public LocalServicesLead.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<LocalServicesLead.Builder>
      • isInitialized

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

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

        public java.lang.String getResourceName()
         Output only. The resource name of the local services lead data.
         Local Services Lead resource name have the form
        
         `customers/{customer_id}/localServicesLead/{local_services_lead_id}`
         
        string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Specified by:
        getResourceName in interface LocalServicesLeadOrBuilder
        Returns:
        The resourceName.
      • getResourceNameBytes

        public com.google.protobuf.ByteString getResourceNameBytes()
         Output only. The resource name of the local services lead data.
         Local Services Lead resource name have the form
        
         `customers/{customer_id}/localServicesLead/{local_services_lead_id}`
         
        string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Specified by:
        getResourceNameBytes in interface LocalServicesLeadOrBuilder
        Returns:
        The bytes for resourceName.
      • setResourceName

        public LocalServicesLead.Builder setResourceName​(java.lang.String value)
         Output only. The resource name of the local services lead data.
         Local Services Lead resource name have the form
        
         `customers/{customer_id}/localServicesLead/{local_services_lead_id}`
         
        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 LocalServicesLead.Builder clearResourceName()
         Output only. The resource name of the local services lead data.
         Local Services Lead resource name have the form
        
         `customers/{customer_id}/localServicesLead/{local_services_lead_id}`
         
        string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setResourceNameBytes

        public LocalServicesLead.Builder setResourceNameBytes​(com.google.protobuf.ByteString value)
         Output only. The resource name of the local services lead data.
         Local Services Lead resource name have the form
        
         `customers/{customer_id}/localServicesLead/{local_services_lead_id}`
         
        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.
      • getId

        public long getId()
         Output only. ID of this Lead.
         
        int64 id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getId in interface LocalServicesLeadOrBuilder
        Returns:
        The id.
      • setId

        public LocalServicesLead.Builder setId​(long value)
         Output only. ID of this Lead.
         
        int64 id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The id to set.
        Returns:
        This builder for chaining.
      • clearId

        public LocalServicesLead.Builder clearId()
         Output only. ID of this Lead.
         
        int64 id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • getCategoryId

        public java.lang.String getCategoryId()
         Output only. Service category of the lead. For example:
         `xcat:service_area_business_hvac`,
         `xcat:service_area_business_real_estate_agent`, etc.
         For more details see:
         https://developers.google.com/google-ads/api/data/codes-formats#local_services_ids
         
        string category_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCategoryId in interface LocalServicesLeadOrBuilder
        Returns:
        The categoryId.
      • getCategoryIdBytes

        public com.google.protobuf.ByteString getCategoryIdBytes()
         Output only. Service category of the lead. For example:
         `xcat:service_area_business_hvac`,
         `xcat:service_area_business_real_estate_agent`, etc.
         For more details see:
         https://developers.google.com/google-ads/api/data/codes-formats#local_services_ids
         
        string category_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCategoryIdBytes in interface LocalServicesLeadOrBuilder
        Returns:
        The bytes for categoryId.
      • setCategoryId

        public LocalServicesLead.Builder setCategoryId​(java.lang.String value)
         Output only. Service category of the lead. For example:
         `xcat:service_area_business_hvac`,
         `xcat:service_area_business_real_estate_agent`, etc.
         For more details see:
         https://developers.google.com/google-ads/api/data/codes-formats#local_services_ids
         
        string category_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The categoryId to set.
        Returns:
        This builder for chaining.
      • clearCategoryId

        public LocalServicesLead.Builder clearCategoryId()
         Output only. Service category of the lead. For example:
         `xcat:service_area_business_hvac`,
         `xcat:service_area_business_real_estate_agent`, etc.
         For more details see:
         https://developers.google.com/google-ads/api/data/codes-formats#local_services_ids
         
        string category_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setCategoryIdBytes

        public LocalServicesLead.Builder setCategoryIdBytes​(com.google.protobuf.ByteString value)
         Output only. Service category of the lead. For example:
         `xcat:service_area_business_hvac`,
         `xcat:service_area_business_real_estate_agent`, etc.
         For more details see:
         https://developers.google.com/google-ads/api/data/codes-formats#local_services_ids
         
        string category_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for categoryId to set.
        Returns:
        This builder for chaining.
      • getServiceId

        public java.lang.String getServiceId()
         Output only. Service for the  category. For example: `buyer_agent`,
         `seller_agent` for the category of
         `xcat:service_area_business_real_estate_agent`.
         
        string service_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getServiceId in interface LocalServicesLeadOrBuilder
        Returns:
        The serviceId.
      • getServiceIdBytes

        public com.google.protobuf.ByteString getServiceIdBytes()
         Output only. Service for the  category. For example: `buyer_agent`,
         `seller_agent` for the category of
         `xcat:service_area_business_real_estate_agent`.
         
        string service_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getServiceIdBytes in interface LocalServicesLeadOrBuilder
        Returns:
        The bytes for serviceId.
      • setServiceId

        public LocalServicesLead.Builder setServiceId​(java.lang.String value)
         Output only. Service for the  category. For example: `buyer_agent`,
         `seller_agent` for the category of
         `xcat:service_area_business_real_estate_agent`.
         
        string service_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The serviceId to set.
        Returns:
        This builder for chaining.
      • clearServiceId

        public LocalServicesLead.Builder clearServiceId()
         Output only. Service for the  category. For example: `buyer_agent`,
         `seller_agent` for the category of
         `xcat:service_area_business_real_estate_agent`.
         
        string service_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setServiceIdBytes

        public LocalServicesLead.Builder setServiceIdBytes​(com.google.protobuf.ByteString value)
         Output only. Service for the  category. For example: `buyer_agent`,
         `seller_agent` for the category of
         `xcat:service_area_business_real_estate_agent`.
         
        string service_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for serviceId to set.
        Returns:
        This builder for chaining.
      • hasContactDetails

        public boolean hasContactDetails()
         Output only. Lead's contact details.
         
        .google.ads.googleads.v15.resources.ContactDetails contact_details = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasContactDetails in interface LocalServicesLeadOrBuilder
        Returns:
        Whether the contactDetails field is set.
      • getContactDetails

        public ContactDetails getContactDetails()
         Output only. Lead's contact details.
         
        .google.ads.googleads.v15.resources.ContactDetails contact_details = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getContactDetails in interface LocalServicesLeadOrBuilder
        Returns:
        The contactDetails.
      • setContactDetails

        public LocalServicesLead.Builder setContactDetails​(ContactDetails value)
         Output only. Lead's contact details.
         
        .google.ads.googleads.v15.resources.ContactDetails contact_details = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setContactDetails

        public LocalServicesLead.Builder setContactDetails​(ContactDetails.Builder builderForValue)
         Output only. Lead's contact details.
         
        .google.ads.googleads.v15.resources.ContactDetails contact_details = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeContactDetails

        public LocalServicesLead.Builder mergeContactDetails​(ContactDetails value)
         Output only. Lead's contact details.
         
        .google.ads.googleads.v15.resources.ContactDetails contact_details = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearContactDetails

        public LocalServicesLead.Builder clearContactDetails()
         Output only. Lead's contact details.
         
        .google.ads.googleads.v15.resources.ContactDetails contact_details = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getContactDetailsBuilder

        public ContactDetails.Builder getContactDetailsBuilder()
         Output only. Lead's contact details.
         
        .google.ads.googleads.v15.resources.ContactDetails contact_details = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getLeadTypeValue

        public int getLeadTypeValue()
         Output only. Type of Local Services lead: phone, message, booking, etc.
         
        .google.ads.googleads.v15.enums.LocalServicesLeadTypeEnum.LeadType lead_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getLeadTypeValue in interface LocalServicesLeadOrBuilder
        Returns:
        The enum numeric value on the wire for leadType.
      • setLeadTypeValue

        public LocalServicesLead.Builder setLeadTypeValue​(int value)
         Output only. Type of Local Services lead: phone, message, booking, etc.
         
        .google.ads.googleads.v15.enums.LocalServicesLeadTypeEnum.LeadType lead_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The enum numeric value on the wire for leadType to set.
        Returns:
        This builder for chaining.
      • getLeadType

        public LocalServicesLeadTypeEnum.LeadType getLeadType()
         Output only. Type of Local Services lead: phone, message, booking, etc.
         
        .google.ads.googleads.v15.enums.LocalServicesLeadTypeEnum.LeadType lead_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getLeadType in interface LocalServicesLeadOrBuilder
        Returns:
        The leadType.
      • setLeadType

        public LocalServicesLead.Builder setLeadType​(LocalServicesLeadTypeEnum.LeadType value)
         Output only. Type of Local Services lead: phone, message, booking, etc.
         
        .google.ads.googleads.v15.enums.LocalServicesLeadTypeEnum.LeadType lead_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The leadType to set.
        Returns:
        This builder for chaining.
      • clearLeadType

        public LocalServicesLead.Builder clearLeadType()
         Output only. Type of Local Services lead: phone, message, booking, etc.
         
        .google.ads.googleads.v15.enums.LocalServicesLeadTypeEnum.LeadType lead_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • getLeadStatusValue

        public int getLeadStatusValue()
         Output only. Current status of lead.
         
        .google.ads.googleads.v15.enums.LocalServicesLeadStatusEnum.LeadStatus lead_status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getLeadStatusValue in interface LocalServicesLeadOrBuilder
        Returns:
        The enum numeric value on the wire for leadStatus.
      • setLeadStatusValue

        public LocalServicesLead.Builder setLeadStatusValue​(int value)
         Output only. Current status of lead.
         
        .google.ads.googleads.v15.enums.LocalServicesLeadStatusEnum.LeadStatus lead_status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The enum numeric value on the wire for leadStatus to set.
        Returns:
        This builder for chaining.
      • setLeadStatus

        public LocalServicesLead.Builder setLeadStatus​(LocalServicesLeadStatusEnum.LeadStatus value)
         Output only. Current status of lead.
         
        .google.ads.googleads.v15.enums.LocalServicesLeadStatusEnum.LeadStatus lead_status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The leadStatus to set.
        Returns:
        This builder for chaining.
      • clearLeadStatus

        public LocalServicesLead.Builder clearLeadStatus()
         Output only. Current status of lead.
         
        .google.ads.googleads.v15.enums.LocalServicesLeadStatusEnum.LeadStatus lead_status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • getCreationDateTime

        public java.lang.String getCreationDateTime()
         Output only. The date time at which lead was created by Local Services Ads.
         The format is "YYYY-MM-DD HH:MM:SS" in the Google Ads account's timezone.
         Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30"
         
        string creation_date_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCreationDateTime in interface LocalServicesLeadOrBuilder
        Returns:
        The creationDateTime.
      • getCreationDateTimeBytes

        public com.google.protobuf.ByteString getCreationDateTimeBytes()
         Output only. The date time at which lead was created by Local Services Ads.
         The format is "YYYY-MM-DD HH:MM:SS" in the Google Ads account's timezone.
         Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30"
         
        string creation_date_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCreationDateTimeBytes in interface LocalServicesLeadOrBuilder
        Returns:
        The bytes for creationDateTime.
      • setCreationDateTime

        public LocalServicesLead.Builder setCreationDateTime​(java.lang.String value)
         Output only. The date time at which lead was created by Local Services Ads.
         The format is "YYYY-MM-DD HH:MM:SS" in the Google Ads account's timezone.
         Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30"
         
        string creation_date_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The creationDateTime to set.
        Returns:
        This builder for chaining.
      • clearCreationDateTime

        public LocalServicesLead.Builder clearCreationDateTime()
         Output only. The date time at which lead was created by Local Services Ads.
         The format is "YYYY-MM-DD HH:MM:SS" in the Google Ads account's timezone.
         Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30"
         
        string creation_date_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setCreationDateTimeBytes

        public LocalServicesLead.Builder setCreationDateTimeBytes​(com.google.protobuf.ByteString value)
         Output only. The date time at which lead was created by Local Services Ads.
         The format is "YYYY-MM-DD HH:MM:SS" in the Google Ads account's timezone.
         Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30"
         
        string creation_date_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for creationDateTime to set.
        Returns:
        This builder for chaining.
      • getLocale

        public java.lang.String getLocale()
         Output only. Language used by the Local Services provider linked to lead.
         See https://developers.google.com/google-ads/api/data/codes-formats#locales
         
        string locale = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getLocale in interface LocalServicesLeadOrBuilder
        Returns:
        The locale.
      • getLocaleBytes

        public com.google.protobuf.ByteString getLocaleBytes()
         Output only. Language used by the Local Services provider linked to lead.
         See https://developers.google.com/google-ads/api/data/codes-formats#locales
         
        string locale = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getLocaleBytes in interface LocalServicesLeadOrBuilder
        Returns:
        The bytes for locale.
      • setLocale

        public LocalServicesLead.Builder setLocale​(java.lang.String value)
         Output only. Language used by the Local Services provider linked to lead.
         See https://developers.google.com/google-ads/api/data/codes-formats#locales
         
        string locale = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The locale to set.
        Returns:
        This builder for chaining.
      • clearLocale

        public LocalServicesLead.Builder clearLocale()
         Output only. Language used by the Local Services provider linked to lead.
         See https://developers.google.com/google-ads/api/data/codes-formats#locales
         
        string locale = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setLocaleBytes

        public LocalServicesLead.Builder setLocaleBytes​(com.google.protobuf.ByteString value)
         Output only. Language used by the Local Services provider linked to lead.
         See https://developers.google.com/google-ads/api/data/codes-formats#locales
         
        string locale = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for locale to set.
        Returns:
        This builder for chaining.
      • hasNote

        public boolean hasNote()
         Output only. Note added by advertiser for the lead.
         
        optional .google.ads.googleads.v15.resources.Note note = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasNote in interface LocalServicesLeadOrBuilder
        Returns:
        Whether the note field is set.
      • getNote

        public Note getNote()
         Output only. Note added by advertiser for the lead.
         
        optional .google.ads.googleads.v15.resources.Note note = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getNote in interface LocalServicesLeadOrBuilder
        Returns:
        The note.
      • setNote

        public LocalServicesLead.Builder setNote​(Note value)
         Output only. Note added by advertiser for the lead.
         
        optional .google.ads.googleads.v15.resources.Note note = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setNote

        public LocalServicesLead.Builder setNote​(Note.Builder builderForValue)
         Output only. Note added by advertiser for the lead.
         
        optional .google.ads.googleads.v15.resources.Note note = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeNote

        public LocalServicesLead.Builder mergeNote​(Note value)
         Output only. Note added by advertiser for the lead.
         
        optional .google.ads.googleads.v15.resources.Note note = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearNote

        public LocalServicesLead.Builder clearNote()
         Output only. Note added by advertiser for the lead.
         
        optional .google.ads.googleads.v15.resources.Note note = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getNoteBuilder

        public Note.Builder getNoteBuilder()
         Output only. Note added by advertiser for the lead.
         
        optional .google.ads.googleads.v15.resources.Note note = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getNoteOrBuilder

        public NoteOrBuilder getNoteOrBuilder()
         Output only. Note added by advertiser for the lead.
         
        optional .google.ads.googleads.v15.resources.Note note = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getNoteOrBuilder in interface LocalServicesLeadOrBuilder
      • getLeadCharged

        public boolean getLeadCharged()
         Output only. True if the advertiser was charged for the lead.
         
        bool lead_charged = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getLeadCharged in interface LocalServicesLeadOrBuilder
        Returns:
        The leadCharged.
      • setLeadCharged

        public LocalServicesLead.Builder setLeadCharged​(boolean value)
         Output only. True if the advertiser was charged for the lead.
         
        bool lead_charged = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The leadCharged to set.
        Returns:
        This builder for chaining.
      • clearLeadCharged

        public LocalServicesLead.Builder clearLeadCharged()
         Output only. True if the advertiser was charged for the lead.
         
        bool lead_charged = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setUnknownFields

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

        public final LocalServicesLead.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<LocalServicesLead.Builder>