Class Customer.Builder

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

    public static final class Customer.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<Customer.Builder>
    implements CustomerOrBuilder
     A customer.
     
    Protobuf type google.ads.googleads.v10.resources.Customer
    • 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<Customer.Builder>
      • clear

        public Customer.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<Customer.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<Customer.Builder>
      • getDefaultInstanceForType

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

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

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

        public Customer.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<Customer.Builder>
      • setField

        public Customer.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<Customer.Builder>
      • clearField

        public Customer.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<Customer.Builder>
      • clearOneof

        public Customer.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<Customer.Builder>
      • setRepeatedField

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

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

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

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

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

        public java.lang.String getResourceName()
         Immutable. The resource name of the customer.
         Customer resource names have the form:
         `customers/{customer_id}`
         
        string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
        Specified by:
        getResourceName in interface CustomerOrBuilder
        Returns:
        The resourceName.
      • getResourceNameBytes

        public com.google.protobuf.ByteString getResourceNameBytes()
         Immutable. The resource name of the customer.
         Customer resource names have the form:
         `customers/{customer_id}`
         
        string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
        Specified by:
        getResourceNameBytes in interface CustomerOrBuilder
        Returns:
        The bytes for resourceName.
      • setResourceName

        public Customer.Builder setResourceName​(java.lang.String value)
         Immutable. The resource name of the customer.
         Customer resource names have the form:
         `customers/{customer_id}`
         
        string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The resourceName to set.
        Returns:
        This builder for chaining.
      • clearResourceName

        public Customer.Builder clearResourceName()
         Immutable. The resource name of the customer.
         Customer resource names have the form:
         `customers/{customer_id}`
         
        string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setResourceNameBytes

        public Customer.Builder setResourceNameBytes​(com.google.protobuf.ByteString value)
         Immutable. The resource name of the customer.
         Customer resource names have the form:
         `customers/{customer_id}`
         
        string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for resourceName to set.
        Returns:
        This builder for chaining.
      • hasId

        public boolean hasId()
         Output only. The ID of the customer.
         
        optional int64 id = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasId in interface CustomerOrBuilder
        Returns:
        Whether the id field is set.
      • getId

        public long getId()
         Output only. The ID of the customer.
         
        optional int64 id = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getId in interface CustomerOrBuilder
        Returns:
        The id.
      • setId

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

        public Customer.Builder clearId()
         Output only. The ID of the customer.
         
        optional int64 id = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • hasDescriptiveName

        public boolean hasDescriptiveName()
         Optional, non-unique descriptive name of the customer.
         
        optional string descriptive_name = 20;
        Specified by:
        hasDescriptiveName in interface CustomerOrBuilder
        Returns:
        Whether the descriptiveName field is set.
      • getDescriptiveName

        public java.lang.String getDescriptiveName()
         Optional, non-unique descriptive name of the customer.
         
        optional string descriptive_name = 20;
        Specified by:
        getDescriptiveName in interface CustomerOrBuilder
        Returns:
        The descriptiveName.
      • getDescriptiveNameBytes

        public com.google.protobuf.ByteString getDescriptiveNameBytes()
         Optional, non-unique descriptive name of the customer.
         
        optional string descriptive_name = 20;
        Specified by:
        getDescriptiveNameBytes in interface CustomerOrBuilder
        Returns:
        The bytes for descriptiveName.
      • setDescriptiveName

        public Customer.Builder setDescriptiveName​(java.lang.String value)
         Optional, non-unique descriptive name of the customer.
         
        optional string descriptive_name = 20;
        Parameters:
        value - The descriptiveName to set.
        Returns:
        This builder for chaining.
      • clearDescriptiveName

        public Customer.Builder clearDescriptiveName()
         Optional, non-unique descriptive name of the customer.
         
        optional string descriptive_name = 20;
        Returns:
        This builder for chaining.
      • setDescriptiveNameBytes

        public Customer.Builder setDescriptiveNameBytes​(com.google.protobuf.ByteString value)
         Optional, non-unique descriptive name of the customer.
         
        optional string descriptive_name = 20;
        Parameters:
        value - The bytes for descriptiveName to set.
        Returns:
        This builder for chaining.
      • hasCurrencyCode

        public boolean hasCurrencyCode()
         Immutable. The currency in which the account operates.
         A subset of the currency codes from the ISO 4217 standard is
         supported.
         
        optional string currency_code = 21 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        hasCurrencyCode in interface CustomerOrBuilder
        Returns:
        Whether the currencyCode field is set.
      • getCurrencyCode

        public java.lang.String getCurrencyCode()
         Immutable. The currency in which the account operates.
         A subset of the currency codes from the ISO 4217 standard is
         supported.
         
        optional string currency_code = 21 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getCurrencyCode in interface CustomerOrBuilder
        Returns:
        The currencyCode.
      • getCurrencyCodeBytes

        public com.google.protobuf.ByteString getCurrencyCodeBytes()
         Immutable. The currency in which the account operates.
         A subset of the currency codes from the ISO 4217 standard is
         supported.
         
        optional string currency_code = 21 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getCurrencyCodeBytes in interface CustomerOrBuilder
        Returns:
        The bytes for currencyCode.
      • setCurrencyCode

        public Customer.Builder setCurrencyCode​(java.lang.String value)
         Immutable. The currency in which the account operates.
         A subset of the currency codes from the ISO 4217 standard is
         supported.
         
        optional string currency_code = 21 [(.google.api.field_behavior) = IMMUTABLE];
        Parameters:
        value - The currencyCode to set.
        Returns:
        This builder for chaining.
      • clearCurrencyCode

        public Customer.Builder clearCurrencyCode()
         Immutable. The currency in which the account operates.
         A subset of the currency codes from the ISO 4217 standard is
         supported.
         
        optional string currency_code = 21 [(.google.api.field_behavior) = IMMUTABLE];
        Returns:
        This builder for chaining.
      • setCurrencyCodeBytes

        public Customer.Builder setCurrencyCodeBytes​(com.google.protobuf.ByteString value)
         Immutable. The currency in which the account operates.
         A subset of the currency codes from the ISO 4217 standard is
         supported.
         
        optional string currency_code = 21 [(.google.api.field_behavior) = IMMUTABLE];
        Parameters:
        value - The bytes for currencyCode to set.
        Returns:
        This builder for chaining.
      • hasTimeZone

        public boolean hasTimeZone()
         Immutable. The local timezone ID of the customer.
         
        optional string time_zone = 22 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        hasTimeZone in interface CustomerOrBuilder
        Returns:
        Whether the timeZone field is set.
      • getTimeZone

        public java.lang.String getTimeZone()
         Immutable. The local timezone ID of the customer.
         
        optional string time_zone = 22 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getTimeZone in interface CustomerOrBuilder
        Returns:
        The timeZone.
      • getTimeZoneBytes

        public com.google.protobuf.ByteString getTimeZoneBytes()
         Immutable. The local timezone ID of the customer.
         
        optional string time_zone = 22 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getTimeZoneBytes in interface CustomerOrBuilder
        Returns:
        The bytes for timeZone.
      • setTimeZone

        public Customer.Builder setTimeZone​(java.lang.String value)
         Immutable. The local timezone ID of the customer.
         
        optional string time_zone = 22 [(.google.api.field_behavior) = IMMUTABLE];
        Parameters:
        value - The timeZone to set.
        Returns:
        This builder for chaining.
      • clearTimeZone

        public Customer.Builder clearTimeZone()
         Immutable. The local timezone ID of the customer.
         
        optional string time_zone = 22 [(.google.api.field_behavior) = IMMUTABLE];
        Returns:
        This builder for chaining.
      • setTimeZoneBytes

        public Customer.Builder setTimeZoneBytes​(com.google.protobuf.ByteString value)
         Immutable. The local timezone ID of the customer.
         
        optional string time_zone = 22 [(.google.api.field_behavior) = IMMUTABLE];
        Parameters:
        value - The bytes for timeZone to set.
        Returns:
        This builder for chaining.
      • hasTrackingUrlTemplate

        public boolean hasTrackingUrlTemplate()
         The URL template for constructing a tracking URL out of parameters.
         
        optional string tracking_url_template = 23;
        Specified by:
        hasTrackingUrlTemplate in interface CustomerOrBuilder
        Returns:
        Whether the trackingUrlTemplate field is set.
      • getTrackingUrlTemplate

        public java.lang.String getTrackingUrlTemplate()
         The URL template for constructing a tracking URL out of parameters.
         
        optional string tracking_url_template = 23;
        Specified by:
        getTrackingUrlTemplate in interface CustomerOrBuilder
        Returns:
        The trackingUrlTemplate.
      • getTrackingUrlTemplateBytes

        public com.google.protobuf.ByteString getTrackingUrlTemplateBytes()
         The URL template for constructing a tracking URL out of parameters.
         
        optional string tracking_url_template = 23;
        Specified by:
        getTrackingUrlTemplateBytes in interface CustomerOrBuilder
        Returns:
        The bytes for trackingUrlTemplate.
      • setTrackingUrlTemplate

        public Customer.Builder setTrackingUrlTemplate​(java.lang.String value)
         The URL template for constructing a tracking URL out of parameters.
         
        optional string tracking_url_template = 23;
        Parameters:
        value - The trackingUrlTemplate to set.
        Returns:
        This builder for chaining.
      • clearTrackingUrlTemplate

        public Customer.Builder clearTrackingUrlTemplate()
         The URL template for constructing a tracking URL out of parameters.
         
        optional string tracking_url_template = 23;
        Returns:
        This builder for chaining.
      • setTrackingUrlTemplateBytes

        public Customer.Builder setTrackingUrlTemplateBytes​(com.google.protobuf.ByteString value)
         The URL template for constructing a tracking URL out of parameters.
         
        optional string tracking_url_template = 23;
        Parameters:
        value - The bytes for trackingUrlTemplate to set.
        Returns:
        This builder for chaining.
      • hasFinalUrlSuffix

        public boolean hasFinalUrlSuffix()
         The URL template for appending params to the final URL
         
        optional string final_url_suffix = 24;
        Specified by:
        hasFinalUrlSuffix in interface CustomerOrBuilder
        Returns:
        Whether the finalUrlSuffix field is set.
      • getFinalUrlSuffix

        public java.lang.String getFinalUrlSuffix()
         The URL template for appending params to the final URL
         
        optional string final_url_suffix = 24;
        Specified by:
        getFinalUrlSuffix in interface CustomerOrBuilder
        Returns:
        The finalUrlSuffix.
      • getFinalUrlSuffixBytes

        public com.google.protobuf.ByteString getFinalUrlSuffixBytes()
         The URL template for appending params to the final URL
         
        optional string final_url_suffix = 24;
        Specified by:
        getFinalUrlSuffixBytes in interface CustomerOrBuilder
        Returns:
        The bytes for finalUrlSuffix.
      • setFinalUrlSuffix

        public Customer.Builder setFinalUrlSuffix​(java.lang.String value)
         The URL template for appending params to the final URL
         
        optional string final_url_suffix = 24;
        Parameters:
        value - The finalUrlSuffix to set.
        Returns:
        This builder for chaining.
      • clearFinalUrlSuffix

        public Customer.Builder clearFinalUrlSuffix()
         The URL template for appending params to the final URL
         
        optional string final_url_suffix = 24;
        Returns:
        This builder for chaining.
      • setFinalUrlSuffixBytes

        public Customer.Builder setFinalUrlSuffixBytes​(com.google.protobuf.ByteString value)
         The URL template for appending params to the final URL
         
        optional string final_url_suffix = 24;
        Parameters:
        value - The bytes for finalUrlSuffix to set.
        Returns:
        This builder for chaining.
      • hasAutoTaggingEnabled

        public boolean hasAutoTaggingEnabled()
         Whether auto-tagging is enabled for the customer.
         
        optional bool auto_tagging_enabled = 25;
        Specified by:
        hasAutoTaggingEnabled in interface CustomerOrBuilder
        Returns:
        Whether the autoTaggingEnabled field is set.
      • getAutoTaggingEnabled

        public boolean getAutoTaggingEnabled()
         Whether auto-tagging is enabled for the customer.
         
        optional bool auto_tagging_enabled = 25;
        Specified by:
        getAutoTaggingEnabled in interface CustomerOrBuilder
        Returns:
        The autoTaggingEnabled.
      • setAutoTaggingEnabled

        public Customer.Builder setAutoTaggingEnabled​(boolean value)
         Whether auto-tagging is enabled for the customer.
         
        optional bool auto_tagging_enabled = 25;
        Parameters:
        value - The autoTaggingEnabled to set.
        Returns:
        This builder for chaining.
      • clearAutoTaggingEnabled

        public Customer.Builder clearAutoTaggingEnabled()
         Whether auto-tagging is enabled for the customer.
         
        optional bool auto_tagging_enabled = 25;
        Returns:
        This builder for chaining.
      • hasHasPartnersBadge

        public boolean hasHasPartnersBadge()
         Output only. Whether the Customer has a Partners program badge. If the Customer is not
         associated with the Partners program, this will be false. For more
         information, see https://support.google.com/partners/answer/3125774.
         
        optional bool has_partners_badge = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasHasPartnersBadge in interface CustomerOrBuilder
        Returns:
        Whether the hasPartnersBadge field is set.
      • getHasPartnersBadge

        public boolean getHasPartnersBadge()
         Output only. Whether the Customer has a Partners program badge. If the Customer is not
         associated with the Partners program, this will be false. For more
         information, see https://support.google.com/partners/answer/3125774.
         
        optional bool has_partners_badge = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getHasPartnersBadge in interface CustomerOrBuilder
        Returns:
        The hasPartnersBadge.
      • setHasPartnersBadge

        public Customer.Builder setHasPartnersBadge​(boolean value)
         Output only. Whether the Customer has a Partners program badge. If the Customer is not
         associated with the Partners program, this will be false. For more
         information, see https://support.google.com/partners/answer/3125774.
         
        optional bool has_partners_badge = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The hasPartnersBadge to set.
        Returns:
        This builder for chaining.
      • clearHasPartnersBadge

        public Customer.Builder clearHasPartnersBadge()
         Output only. Whether the Customer has a Partners program badge. If the Customer is not
         associated with the Partners program, this will be false. For more
         information, see https://support.google.com/partners/answer/3125774.
         
        optional bool has_partners_badge = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • hasManager

        public boolean hasManager()
         Output only. Whether the customer is a manager.
         
        optional bool manager = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasManager in interface CustomerOrBuilder
        Returns:
        Whether the manager field is set.
      • getManager

        public boolean getManager()
         Output only. Whether the customer is a manager.
         
        optional bool manager = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getManager in interface CustomerOrBuilder
        Returns:
        The manager.
      • setManager

        public Customer.Builder setManager​(boolean value)
         Output only. Whether the customer is a manager.
         
        optional bool manager = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The manager to set.
        Returns:
        This builder for chaining.
      • clearManager

        public Customer.Builder clearManager()
         Output only. Whether the customer is a manager.
         
        optional bool manager = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • hasTestAccount

        public boolean hasTestAccount()
         Output only. Whether the customer is a test account.
         
        optional bool test_account = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasTestAccount in interface CustomerOrBuilder
        Returns:
        Whether the testAccount field is set.
      • getTestAccount

        public boolean getTestAccount()
         Output only. Whether the customer is a test account.
         
        optional bool test_account = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getTestAccount in interface CustomerOrBuilder
        Returns:
        The testAccount.
      • setTestAccount

        public Customer.Builder setTestAccount​(boolean value)
         Output only. Whether the customer is a test account.
         
        optional bool test_account = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The testAccount to set.
        Returns:
        This builder for chaining.
      • clearTestAccount

        public Customer.Builder clearTestAccount()
         Output only. Whether the customer is a test account.
         
        optional bool test_account = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • hasCallReportingSetting

        public boolean hasCallReportingSetting()
         Call reporting setting for a customer.
         
        .google.ads.googleads.v10.resources.CallReportingSetting call_reporting_setting = 10;
        Specified by:
        hasCallReportingSetting in interface CustomerOrBuilder
        Returns:
        Whether the callReportingSetting field is set.
      • getCallReportingSetting

        public CallReportingSetting getCallReportingSetting()
         Call reporting setting for a customer.
         
        .google.ads.googleads.v10.resources.CallReportingSetting call_reporting_setting = 10;
        Specified by:
        getCallReportingSetting in interface CustomerOrBuilder
        Returns:
        The callReportingSetting.
      • setCallReportingSetting

        public Customer.Builder setCallReportingSetting​(CallReportingSetting value)
         Call reporting setting for a customer.
         
        .google.ads.googleads.v10.resources.CallReportingSetting call_reporting_setting = 10;
      • setCallReportingSetting

        public Customer.Builder setCallReportingSetting​(CallReportingSetting.Builder builderForValue)
         Call reporting setting for a customer.
         
        .google.ads.googleads.v10.resources.CallReportingSetting call_reporting_setting = 10;
      • mergeCallReportingSetting

        public Customer.Builder mergeCallReportingSetting​(CallReportingSetting value)
         Call reporting setting for a customer.
         
        .google.ads.googleads.v10.resources.CallReportingSetting call_reporting_setting = 10;
      • clearCallReportingSetting

        public Customer.Builder clearCallReportingSetting()
         Call reporting setting for a customer.
         
        .google.ads.googleads.v10.resources.CallReportingSetting call_reporting_setting = 10;
      • getCallReportingSettingBuilder

        public CallReportingSetting.Builder getCallReportingSettingBuilder()
         Call reporting setting for a customer.
         
        .google.ads.googleads.v10.resources.CallReportingSetting call_reporting_setting = 10;
      • hasConversionTrackingSetting

        public boolean hasConversionTrackingSetting()
         Output only. Conversion tracking setting for a customer.
         
        .google.ads.googleads.v10.resources.ConversionTrackingSetting conversion_tracking_setting = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasConversionTrackingSetting in interface CustomerOrBuilder
        Returns:
        Whether the conversionTrackingSetting field is set.
      • getConversionTrackingSetting

        public ConversionTrackingSetting getConversionTrackingSetting()
         Output only. Conversion tracking setting for a customer.
         
        .google.ads.googleads.v10.resources.ConversionTrackingSetting conversion_tracking_setting = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getConversionTrackingSetting in interface CustomerOrBuilder
        Returns:
        The conversionTrackingSetting.
      • setConversionTrackingSetting

        public Customer.Builder setConversionTrackingSetting​(ConversionTrackingSetting value)
         Output only. Conversion tracking setting for a customer.
         
        .google.ads.googleads.v10.resources.ConversionTrackingSetting conversion_tracking_setting = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setConversionTrackingSetting

        public Customer.Builder setConversionTrackingSetting​(ConversionTrackingSetting.Builder builderForValue)
         Output only. Conversion tracking setting for a customer.
         
        .google.ads.googleads.v10.resources.ConversionTrackingSetting conversion_tracking_setting = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeConversionTrackingSetting

        public Customer.Builder mergeConversionTrackingSetting​(ConversionTrackingSetting value)
         Output only. Conversion tracking setting for a customer.
         
        .google.ads.googleads.v10.resources.ConversionTrackingSetting conversion_tracking_setting = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearConversionTrackingSetting

        public Customer.Builder clearConversionTrackingSetting()
         Output only. Conversion tracking setting for a customer.
         
        .google.ads.googleads.v10.resources.ConversionTrackingSetting conversion_tracking_setting = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getConversionTrackingSettingBuilder

        public ConversionTrackingSetting.Builder getConversionTrackingSettingBuilder()
         Output only. Conversion tracking setting for a customer.
         
        .google.ads.googleads.v10.resources.ConversionTrackingSetting conversion_tracking_setting = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • hasRemarketingSetting

        public boolean hasRemarketingSetting()
         Output only. Remarketing setting for a customer.
         
        .google.ads.googleads.v10.resources.RemarketingSetting remarketing_setting = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasRemarketingSetting in interface CustomerOrBuilder
        Returns:
        Whether the remarketingSetting field is set.
      • getRemarketingSetting

        public RemarketingSetting getRemarketingSetting()
         Output only. Remarketing setting for a customer.
         
        .google.ads.googleads.v10.resources.RemarketingSetting remarketing_setting = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getRemarketingSetting in interface CustomerOrBuilder
        Returns:
        The remarketingSetting.
      • setRemarketingSetting

        public Customer.Builder setRemarketingSetting​(RemarketingSetting value)
         Output only. Remarketing setting for a customer.
         
        .google.ads.googleads.v10.resources.RemarketingSetting remarketing_setting = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setRemarketingSetting

        public Customer.Builder setRemarketingSetting​(RemarketingSetting.Builder builderForValue)
         Output only. Remarketing setting for a customer.
         
        .google.ads.googleads.v10.resources.RemarketingSetting remarketing_setting = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeRemarketingSetting

        public Customer.Builder mergeRemarketingSetting​(RemarketingSetting value)
         Output only. Remarketing setting for a customer.
         
        .google.ads.googleads.v10.resources.RemarketingSetting remarketing_setting = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearRemarketingSetting

        public Customer.Builder clearRemarketingSetting()
         Output only. Remarketing setting for a customer.
         
        .google.ads.googleads.v10.resources.RemarketingSetting remarketing_setting = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getRemarketingSettingBuilder

        public RemarketingSetting.Builder getRemarketingSettingBuilder()
         Output only. Remarketing setting for a customer.
         
        .google.ads.googleads.v10.resources.RemarketingSetting remarketing_setting = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getPayPerConversionEligibilityFailureReasonsCount

        public int getPayPerConversionEligibilityFailureReasonsCount()
         Output only. Reasons why the customer is not eligible to use PaymentMode.CONVERSIONS. If
         the list is empty, the customer is eligible. This field is read-only.
         
        repeated .google.ads.googleads.v10.enums.CustomerPayPerConversionEligibilityFailureReasonEnum.CustomerPayPerConversionEligibilityFailureReason pay_per_conversion_eligibility_failure_reasons = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getPayPerConversionEligibilityFailureReasonsCount in interface CustomerOrBuilder
        Returns:
        The count of payPerConversionEligibilityFailureReasons.
      • getPayPerConversionEligibilityFailureReasons

        public CustomerPayPerConversionEligibilityFailureReasonEnum.CustomerPayPerConversionEligibilityFailureReason getPayPerConversionEligibilityFailureReasons​(int index)
         Output only. Reasons why the customer is not eligible to use PaymentMode.CONVERSIONS. If
         the list is empty, the customer is eligible. This field is read-only.
         
        repeated .google.ads.googleads.v10.enums.CustomerPayPerConversionEligibilityFailureReasonEnum.CustomerPayPerConversionEligibilityFailureReason pay_per_conversion_eligibility_failure_reasons = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getPayPerConversionEligibilityFailureReasons in interface CustomerOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The payPerConversionEligibilityFailureReasons at the given index.
      • setPayPerConversionEligibilityFailureReasons

        public Customer.Builder setPayPerConversionEligibilityFailureReasons​(int index,
                                                                             CustomerPayPerConversionEligibilityFailureReasonEnum.CustomerPayPerConversionEligibilityFailureReason value)
         Output only. Reasons why the customer is not eligible to use PaymentMode.CONVERSIONS. If
         the list is empty, the customer is eligible. This field is read-only.
         
        repeated .google.ads.googleads.v10.enums.CustomerPayPerConversionEligibilityFailureReasonEnum.CustomerPayPerConversionEligibilityFailureReason pay_per_conversion_eligibility_failure_reasons = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        index - The index to set the value at.
        value - The payPerConversionEligibilityFailureReasons to set.
        Returns:
        This builder for chaining.
      • addPayPerConversionEligibilityFailureReasons

        public Customer.Builder addPayPerConversionEligibilityFailureReasons​(CustomerPayPerConversionEligibilityFailureReasonEnum.CustomerPayPerConversionEligibilityFailureReason value)
         Output only. Reasons why the customer is not eligible to use PaymentMode.CONVERSIONS. If
         the list is empty, the customer is eligible. This field is read-only.
         
        repeated .google.ads.googleads.v10.enums.CustomerPayPerConversionEligibilityFailureReasonEnum.CustomerPayPerConversionEligibilityFailureReason pay_per_conversion_eligibility_failure_reasons = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The payPerConversionEligibilityFailureReasons to add.
        Returns:
        This builder for chaining.
      • addAllPayPerConversionEligibilityFailureReasons

        public Customer.Builder addAllPayPerConversionEligibilityFailureReasons​(java.lang.Iterable<? extends CustomerPayPerConversionEligibilityFailureReasonEnum.CustomerPayPerConversionEligibilityFailureReason> values)
         Output only. Reasons why the customer is not eligible to use PaymentMode.CONVERSIONS. If
         the list is empty, the customer is eligible. This field is read-only.
         
        repeated .google.ads.googleads.v10.enums.CustomerPayPerConversionEligibilityFailureReasonEnum.CustomerPayPerConversionEligibilityFailureReason pay_per_conversion_eligibility_failure_reasons = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        values - The payPerConversionEligibilityFailureReasons to add.
        Returns:
        This builder for chaining.
      • clearPayPerConversionEligibilityFailureReasons

        public Customer.Builder clearPayPerConversionEligibilityFailureReasons()
         Output only. Reasons why the customer is not eligible to use PaymentMode.CONVERSIONS. If
         the list is empty, the customer is eligible. This field is read-only.
         
        repeated .google.ads.googleads.v10.enums.CustomerPayPerConversionEligibilityFailureReasonEnum.CustomerPayPerConversionEligibilityFailureReason pay_per_conversion_eligibility_failure_reasons = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • getPayPerConversionEligibilityFailureReasonsValueList

        public java.util.List<java.lang.Integer> getPayPerConversionEligibilityFailureReasonsValueList()
         Output only. Reasons why the customer is not eligible to use PaymentMode.CONVERSIONS. If
         the list is empty, the customer is eligible. This field is read-only.
         
        repeated .google.ads.googleads.v10.enums.CustomerPayPerConversionEligibilityFailureReasonEnum.CustomerPayPerConversionEligibilityFailureReason pay_per_conversion_eligibility_failure_reasons = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getPayPerConversionEligibilityFailureReasonsValueList in interface CustomerOrBuilder
        Returns:
        A list containing the enum numeric values on the wire for payPerConversionEligibilityFailureReasons.
      • getPayPerConversionEligibilityFailureReasonsValue

        public int getPayPerConversionEligibilityFailureReasonsValue​(int index)
         Output only. Reasons why the customer is not eligible to use PaymentMode.CONVERSIONS. If
         the list is empty, the customer is eligible. This field is read-only.
         
        repeated .google.ads.googleads.v10.enums.CustomerPayPerConversionEligibilityFailureReasonEnum.CustomerPayPerConversionEligibilityFailureReason pay_per_conversion_eligibility_failure_reasons = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getPayPerConversionEligibilityFailureReasonsValue in interface CustomerOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The enum numeric value on the wire of payPerConversionEligibilityFailureReasons at the given index.
      • setPayPerConversionEligibilityFailureReasonsValue

        public Customer.Builder setPayPerConversionEligibilityFailureReasonsValue​(int index,
                                                                                  int value)
         Output only. Reasons why the customer is not eligible to use PaymentMode.CONVERSIONS. If
         the list is empty, the customer is eligible. This field is read-only.
         
        repeated .google.ads.googleads.v10.enums.CustomerPayPerConversionEligibilityFailureReasonEnum.CustomerPayPerConversionEligibilityFailureReason pay_per_conversion_eligibility_failure_reasons = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        index - The index of the value to return.
        Returns:
        The enum numeric value on the wire of payPerConversionEligibilityFailureReasons at the given index.
      • addPayPerConversionEligibilityFailureReasonsValue

        public Customer.Builder addPayPerConversionEligibilityFailureReasonsValue​(int value)
         Output only. Reasons why the customer is not eligible to use PaymentMode.CONVERSIONS. If
         the list is empty, the customer is eligible. This field is read-only.
         
        repeated .google.ads.googleads.v10.enums.CustomerPayPerConversionEligibilityFailureReasonEnum.CustomerPayPerConversionEligibilityFailureReason pay_per_conversion_eligibility_failure_reasons = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The enum numeric value on the wire for payPerConversionEligibilityFailureReasons to add.
        Returns:
        This builder for chaining.
      • addAllPayPerConversionEligibilityFailureReasonsValue

        public Customer.Builder addAllPayPerConversionEligibilityFailureReasonsValue​(java.lang.Iterable<java.lang.Integer> values)
         Output only. Reasons why the customer is not eligible to use PaymentMode.CONVERSIONS. If
         the list is empty, the customer is eligible. This field is read-only.
         
        repeated .google.ads.googleads.v10.enums.CustomerPayPerConversionEligibilityFailureReasonEnum.CustomerPayPerConversionEligibilityFailureReason pay_per_conversion_eligibility_failure_reasons = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        values - The enum numeric values on the wire for payPerConversionEligibilityFailureReasons to add.
        Returns:
        This builder for chaining.
      • hasOptimizationScore

        public boolean hasOptimizationScore()
         Output only. Optimization score of the customer.
         Optimization score is an estimate of how well a customer's campaigns are
         set to perform. It ranges from 0% (0.0) to 100% (1.0). This field is null
         for all manager customers, and for unscored non-manager customers.
         See "About optimization score" at
         https://support.google.com/google-ads/answer/9061546.
         This field is read-only.
         
        optional double optimization_score = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasOptimizationScore in interface CustomerOrBuilder
        Returns:
        Whether the optimizationScore field is set.
      • getOptimizationScore

        public double getOptimizationScore()
         Output only. Optimization score of the customer.
         Optimization score is an estimate of how well a customer's campaigns are
         set to perform. It ranges from 0% (0.0) to 100% (1.0). This field is null
         for all manager customers, and for unscored non-manager customers.
         See "About optimization score" at
         https://support.google.com/google-ads/answer/9061546.
         This field is read-only.
         
        optional double optimization_score = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getOptimizationScore in interface CustomerOrBuilder
        Returns:
        The optimizationScore.
      • setOptimizationScore

        public Customer.Builder setOptimizationScore​(double value)
         Output only. Optimization score of the customer.
         Optimization score is an estimate of how well a customer's campaigns are
         set to perform. It ranges from 0% (0.0) to 100% (1.0). This field is null
         for all manager customers, and for unscored non-manager customers.
         See "About optimization score" at
         https://support.google.com/google-ads/answer/9061546.
         This field is read-only.
         
        optional double optimization_score = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The optimizationScore to set.
        Returns:
        This builder for chaining.
      • clearOptimizationScore

        public Customer.Builder clearOptimizationScore()
         Output only. Optimization score of the customer.
         Optimization score is an estimate of how well a customer's campaigns are
         set to perform. It ranges from 0% (0.0) to 100% (1.0). This field is null
         for all manager customers, and for unscored non-manager customers.
         See "About optimization score" at
         https://support.google.com/google-ads/answer/9061546.
         This field is read-only.
         
        optional double optimization_score = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • getOptimizationScoreWeight

        public double getOptimizationScoreWeight()
         Output only. Optimization score weight of the customer.
         Optimization score weight can be used to compare/aggregate optimization
         scores across multiple non-manager customers. The aggregate optimization
         score of a manager is computed as the sum over all of their customers of
         `Customer.optimization_score * Customer.optimization_score_weight`. This
         field is 0 for all manager customers, and for unscored non-manager
         customers.
         This field is read-only.
         
        double optimization_score_weight = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getOptimizationScoreWeight in interface CustomerOrBuilder
        Returns:
        The optimizationScoreWeight.
      • setOptimizationScoreWeight

        public Customer.Builder setOptimizationScoreWeight​(double value)
         Output only. Optimization score weight of the customer.
         Optimization score weight can be used to compare/aggregate optimization
         scores across multiple non-manager customers. The aggregate optimization
         score of a manager is computed as the sum over all of their customers of
         `Customer.optimization_score * Customer.optimization_score_weight`. This
         field is 0 for all manager customers, and for unscored non-manager
         customers.
         This field is read-only.
         
        double optimization_score_weight = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The optimizationScoreWeight to set.
        Returns:
        This builder for chaining.
      • clearOptimizationScoreWeight

        public Customer.Builder clearOptimizationScoreWeight()
         Output only. Optimization score weight of the customer.
         Optimization score weight can be used to compare/aggregate optimization
         scores across multiple non-manager customers. The aggregate optimization
         score of a manager is computed as the sum over all of their customers of
         `Customer.optimization_score * Customer.optimization_score_weight`. This
         field is 0 for all manager customers, and for unscored non-manager
         customers.
         This field is read-only.
         
        double optimization_score_weight = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • getStatusValue

        public int getStatusValue()
         Output only. The status of the customer.
         
        .google.ads.googleads.v10.enums.CustomerStatusEnum.CustomerStatus status = 36 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getStatusValue in interface CustomerOrBuilder
        Returns:
        The enum numeric value on the wire for status.
      • setStatusValue

        public Customer.Builder setStatusValue​(int value)
         Output only. The status of the customer.
         
        .google.ads.googleads.v10.enums.CustomerStatusEnum.CustomerStatus status = 36 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The enum numeric value on the wire for status to set.
        Returns:
        This builder for chaining.
      • getStatus

        public CustomerStatusEnum.CustomerStatus getStatus()
         Output only. The status of the customer.
         
        .google.ads.googleads.v10.enums.CustomerStatusEnum.CustomerStatus status = 36 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getStatus in interface CustomerOrBuilder
        Returns:
        The status.
      • setStatus

        public Customer.Builder setStatus​(CustomerStatusEnum.CustomerStatus value)
         Output only. The status of the customer.
         
        .google.ads.googleads.v10.enums.CustomerStatusEnum.CustomerStatus status = 36 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The status to set.
        Returns:
        This builder for chaining.
      • clearStatus

        public Customer.Builder clearStatus()
         Output only. The status of the customer.
         
        .google.ads.googleads.v10.enums.CustomerStatusEnum.CustomerStatus status = 36 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final Customer.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<Customer.Builder>
      • mergeUnknownFields

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