Class CustomerClient.Builder

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

    public static final class CustomerClient.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<CustomerClient.Builder>
    implements CustomerClientOrBuilder
     A link between the given customer and a client customer. CustomerClients only
     exist for manager customers. All direct and indirect client customers are
     included, as well as the manager itself.
     
    Protobuf type google.ads.googleads.v13.resources.CustomerClient
    • 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<CustomerClient.Builder>
      • clear

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

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

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

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

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

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

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

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

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

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

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

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

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

        public java.lang.String getResourceName()
         Output only. The resource name of the customer client.
         CustomerClient resource names have the form:
         `customers/{customer_id}/customerClients/{client_customer_id}`
         
        string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Specified by:
        getResourceName in interface CustomerClientOrBuilder
        Returns:
        The resourceName.
      • getResourceNameBytes

        public com.google.protobuf.ByteString getResourceNameBytes()
         Output only. The resource name of the customer client.
         CustomerClient resource names have the form:
         `customers/{customer_id}/customerClients/{client_customer_id}`
         
        string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Specified by:
        getResourceNameBytes in interface CustomerClientOrBuilder
        Returns:
        The bytes for resourceName.
      • setResourceName

        public CustomerClient.Builder setResourceName​(java.lang.String value)
         Output only. The resource name of the customer client.
         CustomerClient resource names have the form:
         `customers/{customer_id}/customerClients/{client_customer_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 CustomerClient.Builder clearResourceName()
         Output only. The resource name of the customer client.
         CustomerClient resource names have the form:
         `customers/{customer_id}/customerClients/{client_customer_id}`
         
        string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setResourceNameBytes

        public CustomerClient.Builder setResourceNameBytes​(com.google.protobuf.ByteString value)
         Output only. The resource name of the customer client.
         CustomerClient resource names have the form:
         `customers/{customer_id}/customerClients/{client_customer_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.
      • hasClientCustomer

        public boolean hasClientCustomer()
         Output only. The resource name of the client-customer which is linked to
         the given customer. Read only.
         
        optional string client_customer = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Specified by:
        hasClientCustomer in interface CustomerClientOrBuilder
        Returns:
        Whether the clientCustomer field is set.
      • getClientCustomer

        public java.lang.String getClientCustomer()
         Output only. The resource name of the client-customer which is linked to
         the given customer. Read only.
         
        optional string client_customer = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Specified by:
        getClientCustomer in interface CustomerClientOrBuilder
        Returns:
        The clientCustomer.
      • getClientCustomerBytes

        public com.google.protobuf.ByteString getClientCustomerBytes()
         Output only. The resource name of the client-customer which is linked to
         the given customer. Read only.
         
        optional string client_customer = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Specified by:
        getClientCustomerBytes in interface CustomerClientOrBuilder
        Returns:
        The bytes for clientCustomer.
      • setClientCustomer

        public CustomerClient.Builder setClientCustomer​(java.lang.String value)
         Output only. The resource name of the client-customer which is linked to
         the given customer. Read only.
         
        optional string client_customer = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The clientCustomer to set.
        Returns:
        This builder for chaining.
      • clearClientCustomer

        public CustomerClient.Builder clearClientCustomer()
         Output only. The resource name of the client-customer which is linked to
         the given customer. Read only.
         
        optional string client_customer = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setClientCustomerBytes

        public CustomerClient.Builder setClientCustomerBytes​(com.google.protobuf.ByteString value)
         Output only. The resource name of the client-customer which is linked to
         the given customer. Read only.
         
        optional string client_customer = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for clientCustomer to set.
        Returns:
        This builder for chaining.
      • hasHidden

        public boolean hasHidden()
         Output only. Specifies whether this is a
         [hidden account](https://support.google.com/google-ads/answer/7519830).
         Read only.
         
        optional bool hidden = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasHidden in interface CustomerClientOrBuilder
        Returns:
        Whether the hidden field is set.
      • getHidden

        public boolean getHidden()
         Output only. Specifies whether this is a
         [hidden account](https://support.google.com/google-ads/answer/7519830).
         Read only.
         
        optional bool hidden = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getHidden in interface CustomerClientOrBuilder
        Returns:
        The hidden.
      • setHidden

        public CustomerClient.Builder setHidden​(boolean value)
         Output only. Specifies whether this is a
         [hidden account](https://support.google.com/google-ads/answer/7519830).
         Read only.
         
        optional bool hidden = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The hidden to set.
        Returns:
        This builder for chaining.
      • clearHidden

        public CustomerClient.Builder clearHidden()
         Output only. Specifies whether this is a
         [hidden account](https://support.google.com/google-ads/answer/7519830).
         Read only.
         
        optional bool hidden = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • hasLevel

        public boolean hasLevel()
         Output only. Distance between given customer and client. For self link, the
         level value will be 0. Read only.
         
        optional int64 level = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasLevel in interface CustomerClientOrBuilder
        Returns:
        Whether the level field is set.
      • getLevel

        public long getLevel()
         Output only. Distance between given customer and client. For self link, the
         level value will be 0. Read only.
         
        optional int64 level = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getLevel in interface CustomerClientOrBuilder
        Returns:
        The level.
      • setLevel

        public CustomerClient.Builder setLevel​(long value)
         Output only. Distance between given customer and client. For self link, the
         level value will be 0. Read only.
         
        optional int64 level = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The level to set.
        Returns:
        This builder for chaining.
      • clearLevel

        public CustomerClient.Builder clearLevel()
         Output only. Distance between given customer and client. For self link, the
         level value will be 0. Read only.
         
        optional int64 level = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • hasTimeZone

        public boolean hasTimeZone()
         Output only. Common Locale Data Repository (CLDR) string representation of
         the time zone of the client, for example, America/Los_Angeles. Read only.
         
        optional string time_zone = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasTimeZone in interface CustomerClientOrBuilder
        Returns:
        Whether the timeZone field is set.
      • getTimeZone

        public java.lang.String getTimeZone()
         Output only. Common Locale Data Repository (CLDR) string representation of
         the time zone of the client, for example, America/Los_Angeles. Read only.
         
        optional string time_zone = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getTimeZone in interface CustomerClientOrBuilder
        Returns:
        The timeZone.
      • getTimeZoneBytes

        public com.google.protobuf.ByteString getTimeZoneBytes()
         Output only. Common Locale Data Repository (CLDR) string representation of
         the time zone of the client, for example, America/Los_Angeles. Read only.
         
        optional string time_zone = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getTimeZoneBytes in interface CustomerClientOrBuilder
        Returns:
        The bytes for timeZone.
      • setTimeZone

        public CustomerClient.Builder setTimeZone​(java.lang.String value)
         Output only. Common Locale Data Repository (CLDR) string representation of
         the time zone of the client, for example, America/Los_Angeles. Read only.
         
        optional string time_zone = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The timeZone to set.
        Returns:
        This builder for chaining.
      • clearTimeZone

        public CustomerClient.Builder clearTimeZone()
         Output only. Common Locale Data Repository (CLDR) string representation of
         the time zone of the client, for example, America/Los_Angeles. Read only.
         
        optional string time_zone = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setTimeZoneBytes

        public CustomerClient.Builder setTimeZoneBytes​(com.google.protobuf.ByteString value)
         Output only. Common Locale Data Repository (CLDR) string representation of
         the time zone of the client, for example, America/Los_Angeles. Read only.
         
        optional string time_zone = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for timeZone to set.
        Returns:
        This builder for chaining.
      • hasTestAccount

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

        public boolean getTestAccount()
         Output only. Identifies if the client is a test account. Read only.
         
        optional bool test_account = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getTestAccount in interface CustomerClientOrBuilder
        Returns:
        The testAccount.
      • setTestAccount

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

        public CustomerClient.Builder clearTestAccount()
         Output only. Identifies if the client is a test account. Read only.
         
        optional bool test_account = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • hasManager

        public boolean hasManager()
         Output only. Identifies if the client is a manager. Read only.
         
        optional bool manager = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasManager in interface CustomerClientOrBuilder
        Returns:
        Whether the manager field is set.
      • getManager

        public boolean getManager()
         Output only. Identifies if the client is a manager. Read only.
         
        optional bool manager = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getManager in interface CustomerClientOrBuilder
        Returns:
        The manager.
      • setManager

        public CustomerClient.Builder setManager​(boolean value)
         Output only. Identifies if the client is a manager. Read only.
         
        optional bool manager = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The manager to set.
        Returns:
        This builder for chaining.
      • clearManager

        public CustomerClient.Builder clearManager()
         Output only. Identifies if the client is a manager. Read only.
         
        optional bool manager = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • hasDescriptiveName

        public boolean hasDescriptiveName()
         Output only. Descriptive name for the client. Read only.
         
        optional string descriptive_name = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasDescriptiveName in interface CustomerClientOrBuilder
        Returns:
        Whether the descriptiveName field is set.
      • getDescriptiveName

        public java.lang.String getDescriptiveName()
         Output only. Descriptive name for the client. Read only.
         
        optional string descriptive_name = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getDescriptiveName in interface CustomerClientOrBuilder
        Returns:
        The descriptiveName.
      • getDescriptiveNameBytes

        public com.google.protobuf.ByteString getDescriptiveNameBytes()
         Output only. Descriptive name for the client. Read only.
         
        optional string descriptive_name = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getDescriptiveNameBytes in interface CustomerClientOrBuilder
        Returns:
        The bytes for descriptiveName.
      • setDescriptiveName

        public CustomerClient.Builder setDescriptiveName​(java.lang.String value)
         Output only. Descriptive name for the client. Read only.
         
        optional string descriptive_name = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The descriptiveName to set.
        Returns:
        This builder for chaining.
      • clearDescriptiveName

        public CustomerClient.Builder clearDescriptiveName()
         Output only. Descriptive name for the client. Read only.
         
        optional string descriptive_name = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setDescriptiveNameBytes

        public CustomerClient.Builder setDescriptiveNameBytes​(com.google.protobuf.ByteString value)
         Output only. Descriptive name for the client. Read only.
         
        optional string descriptive_name = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for descriptiveName to set.
        Returns:
        This builder for chaining.
      • hasCurrencyCode

        public boolean hasCurrencyCode()
         Output only. Currency code (for example, 'USD', 'EUR') for the client. Read
         only.
         
        optional string currency_code = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasCurrencyCode in interface CustomerClientOrBuilder
        Returns:
        Whether the currencyCode field is set.
      • getCurrencyCode

        public java.lang.String getCurrencyCode()
         Output only. Currency code (for example, 'USD', 'EUR') for the client. Read
         only.
         
        optional string currency_code = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCurrencyCode in interface CustomerClientOrBuilder
        Returns:
        The currencyCode.
      • getCurrencyCodeBytes

        public com.google.protobuf.ByteString getCurrencyCodeBytes()
         Output only. Currency code (for example, 'USD', 'EUR') for the client. Read
         only.
         
        optional string currency_code = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCurrencyCodeBytes in interface CustomerClientOrBuilder
        Returns:
        The bytes for currencyCode.
      • setCurrencyCode

        public CustomerClient.Builder setCurrencyCode​(java.lang.String value)
         Output only. Currency code (for example, 'USD', 'EUR') for the client. Read
         only.
         
        optional string currency_code = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The currencyCode to set.
        Returns:
        This builder for chaining.
      • clearCurrencyCode

        public CustomerClient.Builder clearCurrencyCode()
         Output only. Currency code (for example, 'USD', 'EUR') for the client. Read
         only.
         
        optional string currency_code = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setCurrencyCodeBytes

        public CustomerClient.Builder setCurrencyCodeBytes​(com.google.protobuf.ByteString value)
         Output only. Currency code (for example, 'USD', 'EUR') for the client. Read
         only.
         
        optional string currency_code = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for currencyCode to set.
        Returns:
        This builder for chaining.
      • hasId

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

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

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

        public CustomerClient.Builder clearId()
         Output only. The ID of the client customer. Read only.
         
        optional int64 id = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • getAppliedLabelsList

        public com.google.protobuf.ProtocolStringList getAppliedLabelsList()
         Output only. The resource names of the labels owned by the requesting
         customer that are applied to the client customer. Label resource names have
         the form:
        
         `customers/{customer_id}/labels/{label_id}`
         
        repeated string applied_labels = 21 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Specified by:
        getAppliedLabelsList in interface CustomerClientOrBuilder
        Returns:
        A list containing the appliedLabels.
      • getAppliedLabelsCount

        public int getAppliedLabelsCount()
         Output only. The resource names of the labels owned by the requesting
         customer that are applied to the client customer. Label resource names have
         the form:
        
         `customers/{customer_id}/labels/{label_id}`
         
        repeated string applied_labels = 21 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Specified by:
        getAppliedLabelsCount in interface CustomerClientOrBuilder
        Returns:
        The count of appliedLabels.
      • getAppliedLabels

        public java.lang.String getAppliedLabels​(int index)
         Output only. The resource names of the labels owned by the requesting
         customer that are applied to the client customer. Label resource names have
         the form:
        
         `customers/{customer_id}/labels/{label_id}`
         
        repeated string applied_labels = 21 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Specified by:
        getAppliedLabels in interface CustomerClientOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The appliedLabels at the given index.
      • getAppliedLabelsBytes

        public com.google.protobuf.ByteString getAppliedLabelsBytes​(int index)
         Output only. The resource names of the labels owned by the requesting
         customer that are applied to the client customer. Label resource names have
         the form:
        
         `customers/{customer_id}/labels/{label_id}`
         
        repeated string applied_labels = 21 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Specified by:
        getAppliedLabelsBytes in interface CustomerClientOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the appliedLabels at the given index.
      • setAppliedLabels

        public CustomerClient.Builder setAppliedLabels​(int index,
                                                       java.lang.String value)
         Output only. The resource names of the labels owned by the requesting
         customer that are applied to the client customer. Label resource names have
         the form:
        
         `customers/{customer_id}/labels/{label_id}`
         
        repeated string applied_labels = 21 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Parameters:
        index - The index to set the value at.
        value - The appliedLabels to set.
        Returns:
        This builder for chaining.
      • addAppliedLabels

        public CustomerClient.Builder addAppliedLabels​(java.lang.String value)
         Output only. The resource names of the labels owned by the requesting
         customer that are applied to the client customer. Label resource names have
         the form:
        
         `customers/{customer_id}/labels/{label_id}`
         
        repeated string applied_labels = 21 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The appliedLabels to add.
        Returns:
        This builder for chaining.
      • addAllAppliedLabels

        public CustomerClient.Builder addAllAppliedLabels​(java.lang.Iterable<java.lang.String> values)
         Output only. The resource names of the labels owned by the requesting
         customer that are applied to the client customer. Label resource names have
         the form:
        
         `customers/{customer_id}/labels/{label_id}`
         
        repeated string applied_labels = 21 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Parameters:
        values - The appliedLabels to add.
        Returns:
        This builder for chaining.
      • clearAppliedLabels

        public CustomerClient.Builder clearAppliedLabels()
         Output only. The resource names of the labels owned by the requesting
         customer that are applied to the client customer. Label resource names have
         the form:
        
         `customers/{customer_id}/labels/{label_id}`
         
        repeated string applied_labels = 21 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • addAppliedLabelsBytes

        public CustomerClient.Builder addAppliedLabelsBytes​(com.google.protobuf.ByteString value)
         Output only. The resource names of the labels owned by the requesting
         customer that are applied to the client customer. Label resource names have
         the form:
        
         `customers/{customer_id}/labels/{label_id}`
         
        repeated string applied_labels = 21 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes of the appliedLabels to add.
        Returns:
        This builder for chaining.
      • getStatusValue

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

        public CustomerClient.Builder setStatusValue​(int value)
         Output only. The status of the client customer. Read only.
         
        .google.ads.googleads.v13.enums.CustomerStatusEnum.CustomerStatus status = 22 [(.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 client customer. Read only.
         
        .google.ads.googleads.v13.enums.CustomerStatusEnum.CustomerStatus status = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getStatus in interface CustomerClientOrBuilder
        Returns:
        The status.
      • setStatus

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

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

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

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