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, Cloneable
    Enclosing class:
    Customer

    public static final class Customer.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<Customer.Builder>
    implements CustomerOrBuilder
     Entity representing a customer of a reseller or distributor.
     
    Protobuf type google.cloud.channel.v1.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,
                                         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,
                                                 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,
                                                 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 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:
        IOException
      • getName

        public String getName()
         Output only. Resource name of the customer.
         Format: accounts/{account_id}/customers/{customer_id}
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getName in interface CustomerOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Output only. Resource name of the customer.
         Format: accounts/{account_id}/customers/{customer_id}
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getNameBytes in interface CustomerOrBuilder
        Returns:
        The bytes for name.
      • setName

        public Customer.Builder setName​(String value)
         Output only. Resource name of the customer.
         Format: accounts/{account_id}/customers/{customer_id}
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public Customer.Builder clearName()
         Output only. Resource name of the customer.
         Format: accounts/{account_id}/customers/{customer_id}
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setNameBytes

        public Customer.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Output only. Resource name of the customer.
         Format: accounts/{account_id}/customers/{customer_id}
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • getOrgDisplayName

        public String getOrgDisplayName()
         Required. Name of the organization that the customer entity represents.
         
        string org_display_name = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getOrgDisplayName in interface CustomerOrBuilder
        Returns:
        The orgDisplayName.
      • getOrgDisplayNameBytes

        public com.google.protobuf.ByteString getOrgDisplayNameBytes()
         Required. Name of the organization that the customer entity represents.
         
        string org_display_name = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getOrgDisplayNameBytes in interface CustomerOrBuilder
        Returns:
        The bytes for orgDisplayName.
      • setOrgDisplayName

        public Customer.Builder setOrgDisplayName​(String value)
         Required. Name of the organization that the customer entity represents.
         
        string org_display_name = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The orgDisplayName to set.
        Returns:
        This builder for chaining.
      • clearOrgDisplayName

        public Customer.Builder clearOrgDisplayName()
         Required. Name of the organization that the customer entity represents.
         
        string org_display_name = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setOrgDisplayNameBytes

        public Customer.Builder setOrgDisplayNameBytes​(com.google.protobuf.ByteString value)
         Required. Name of the organization that the customer entity represents.
         
        string org_display_name = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for orgDisplayName to set.
        Returns:
        This builder for chaining.
      • hasOrgPostalAddress

        public boolean hasOrgPostalAddress()
         Required. The organization address for the customer. To enforce US laws and
         embargoes, we require a region, postal code, and address lines. You must
         provide valid addresses for every customer. To set the customer's
         language, use the Customer-level language code.
         
        .google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasOrgPostalAddress in interface CustomerOrBuilder
        Returns:
        Whether the orgPostalAddress field is set.
      • getOrgPostalAddress

        public com.google.type.PostalAddress getOrgPostalAddress()
         Required. The organization address for the customer. To enforce US laws and
         embargoes, we require a region, postal code, and address lines. You must
         provide valid addresses for every customer. To set the customer's
         language, use the Customer-level language code.
         
        .google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getOrgPostalAddress in interface CustomerOrBuilder
        Returns:
        The orgPostalAddress.
      • setOrgPostalAddress

        public Customer.Builder setOrgPostalAddress​(com.google.type.PostalAddress value)
         Required. The organization address for the customer. To enforce US laws and
         embargoes, we require a region, postal code, and address lines. You must
         provide valid addresses for every customer. To set the customer's
         language, use the Customer-level language code.
         
        .google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED];
      • setOrgPostalAddress

        public Customer.Builder setOrgPostalAddress​(com.google.type.PostalAddress.Builder builderForValue)
         Required. The organization address for the customer. To enforce US laws and
         embargoes, we require a region, postal code, and address lines. You must
         provide valid addresses for every customer. To set the customer's
         language, use the Customer-level language code.
         
        .google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED];
      • mergeOrgPostalAddress

        public Customer.Builder mergeOrgPostalAddress​(com.google.type.PostalAddress value)
         Required. The organization address for the customer. To enforce US laws and
         embargoes, we require a region, postal code, and address lines. You must
         provide valid addresses for every customer. To set the customer's
         language, use the Customer-level language code.
         
        .google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED];
      • clearOrgPostalAddress

        public Customer.Builder clearOrgPostalAddress()
         Required. The organization address for the customer. To enforce US laws and
         embargoes, we require a region, postal code, and address lines. You must
         provide valid addresses for every customer. To set the customer's
         language, use the Customer-level language code.
         
        .google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED];
      • getOrgPostalAddressBuilder

        public com.google.type.PostalAddress.Builder getOrgPostalAddressBuilder()
         Required. The organization address for the customer. To enforce US laws and
         embargoes, we require a region, postal code, and address lines. You must
         provide valid addresses for every customer. To set the customer's
         language, use the Customer-level language code.
         
        .google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED];
      • getOrgPostalAddressOrBuilder

        public com.google.type.PostalAddressOrBuilder getOrgPostalAddressOrBuilder()
         Required. The organization address for the customer. To enforce US laws and
         embargoes, we require a region, postal code, and address lines. You must
         provide valid addresses for every customer. To set the customer's
         language, use the Customer-level language code.
         
        .google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getOrgPostalAddressOrBuilder in interface CustomerOrBuilder
      • hasPrimaryContactInfo

        public boolean hasPrimaryContactInfo()
         Primary contact info.
         
        .google.cloud.channel.v1.ContactInfo primary_contact_info = 4;
        Specified by:
        hasPrimaryContactInfo in interface CustomerOrBuilder
        Returns:
        Whether the primaryContactInfo field is set.
      • getPrimaryContactInfo

        public ContactInfo getPrimaryContactInfo()
         Primary contact info.
         
        .google.cloud.channel.v1.ContactInfo primary_contact_info = 4;
        Specified by:
        getPrimaryContactInfo in interface CustomerOrBuilder
        Returns:
        The primaryContactInfo.
      • setPrimaryContactInfo

        public Customer.Builder setPrimaryContactInfo​(ContactInfo value)
         Primary contact info.
         
        .google.cloud.channel.v1.ContactInfo primary_contact_info = 4;
      • setPrimaryContactInfo

        public Customer.Builder setPrimaryContactInfo​(ContactInfo.Builder builderForValue)
         Primary contact info.
         
        .google.cloud.channel.v1.ContactInfo primary_contact_info = 4;
      • mergePrimaryContactInfo

        public Customer.Builder mergePrimaryContactInfo​(ContactInfo value)
         Primary contact info.
         
        .google.cloud.channel.v1.ContactInfo primary_contact_info = 4;
      • clearPrimaryContactInfo

        public Customer.Builder clearPrimaryContactInfo()
         Primary contact info.
         
        .google.cloud.channel.v1.ContactInfo primary_contact_info = 4;
      • getPrimaryContactInfoBuilder

        public ContactInfo.Builder getPrimaryContactInfoBuilder()
         Primary contact info.
         
        .google.cloud.channel.v1.ContactInfo primary_contact_info = 4;
      • getAlternateEmail

        public String getAlternateEmail()
         Secondary contact email. You need to provide an alternate email to create
         different domains if a primary contact email already exists. Users will
         receive a notification with credentials when you create an admin.google.com
         account. Secondary emails are also recovery email addresses. Alternate
         emails are optional when you create Team customers.
         
        string alternate_email = 5;
        Specified by:
        getAlternateEmail in interface CustomerOrBuilder
        Returns:
        The alternateEmail.
      • getAlternateEmailBytes

        public com.google.protobuf.ByteString getAlternateEmailBytes()
         Secondary contact email. You need to provide an alternate email to create
         different domains if a primary contact email already exists. Users will
         receive a notification with credentials when you create an admin.google.com
         account. Secondary emails are also recovery email addresses. Alternate
         emails are optional when you create Team customers.
         
        string alternate_email = 5;
        Specified by:
        getAlternateEmailBytes in interface CustomerOrBuilder
        Returns:
        The bytes for alternateEmail.
      • setAlternateEmail

        public Customer.Builder setAlternateEmail​(String value)
         Secondary contact email. You need to provide an alternate email to create
         different domains if a primary contact email already exists. Users will
         receive a notification with credentials when you create an admin.google.com
         account. Secondary emails are also recovery email addresses. Alternate
         emails are optional when you create Team customers.
         
        string alternate_email = 5;
        Parameters:
        value - The alternateEmail to set.
        Returns:
        This builder for chaining.
      • clearAlternateEmail

        public Customer.Builder clearAlternateEmail()
         Secondary contact email. You need to provide an alternate email to create
         different domains if a primary contact email already exists. Users will
         receive a notification with credentials when you create an admin.google.com
         account. Secondary emails are also recovery email addresses. Alternate
         emails are optional when you create Team customers.
         
        string alternate_email = 5;
        Returns:
        This builder for chaining.
      • setAlternateEmailBytes

        public Customer.Builder setAlternateEmailBytes​(com.google.protobuf.ByteString value)
         Secondary contact email. You need to provide an alternate email to create
         different domains if a primary contact email already exists. Users will
         receive a notification with credentials when you create an admin.google.com
         account. Secondary emails are also recovery email addresses. Alternate
         emails are optional when you create Team customers.
         
        string alternate_email = 5;
        Parameters:
        value - The bytes for alternateEmail to set.
        Returns:
        This builder for chaining.
      • getDomain

        public String getDomain()
         Required. The customer's primary domain. Must match the primary contact
         email's domain.
         
        string domain = 6 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getDomain in interface CustomerOrBuilder
        Returns:
        The domain.
      • getDomainBytes

        public com.google.protobuf.ByteString getDomainBytes()
         Required. The customer's primary domain. Must match the primary contact
         email's domain.
         
        string domain = 6 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getDomainBytes in interface CustomerOrBuilder
        Returns:
        The bytes for domain.
      • setDomain

        public Customer.Builder setDomain​(String value)
         Required. The customer's primary domain. Must match the primary contact
         email's domain.
         
        string domain = 6 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The domain to set.
        Returns:
        This builder for chaining.
      • clearDomain

        public Customer.Builder clearDomain()
         Required. The customer's primary domain. Must match the primary contact
         email's domain.
         
        string domain = 6 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setDomainBytes

        public Customer.Builder setDomainBytes​(com.google.protobuf.ByteString value)
         Required. The customer's primary domain. Must match the primary contact
         email's domain.
         
        string domain = 6 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for domain to set.
        Returns:
        This builder for chaining.
      • hasCreateTime

        public boolean hasCreateTime()
         Output only. Time when the customer was created.
         
        .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasCreateTime in interface CustomerOrBuilder
        Returns:
        Whether the createTime field is set.
      • getCreateTime

        public com.google.protobuf.Timestamp getCreateTime()
         Output only. Time when the customer was created.
         
        .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCreateTime in interface CustomerOrBuilder
        Returns:
        The createTime.
      • setCreateTime

        public Customer.Builder setCreateTime​(com.google.protobuf.Timestamp value)
         Output only. Time when the customer was created.
         
        .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setCreateTime

        public Customer.Builder setCreateTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Output only. Time when the customer was created.
         
        .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeCreateTime

        public Customer.Builder mergeCreateTime​(com.google.protobuf.Timestamp value)
         Output only. Time when the customer was created.
         
        .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearCreateTime

        public Customer.Builder clearCreateTime()
         Output only. Time when the customer was created.
         
        .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getCreateTimeBuilder

        public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
         Output only. Time when the customer was created.
         
        .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getCreateTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
         Output only. Time when the customer was created.
         
        .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCreateTimeOrBuilder in interface CustomerOrBuilder
      • hasUpdateTime

        public boolean hasUpdateTime()
         Output only. Time when the customer was updated.
         
        .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasUpdateTime in interface CustomerOrBuilder
        Returns:
        Whether the updateTime field is set.
      • getUpdateTime

        public com.google.protobuf.Timestamp getUpdateTime()
         Output only. Time when the customer was updated.
         
        .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUpdateTime in interface CustomerOrBuilder
        Returns:
        The updateTime.
      • setUpdateTime

        public Customer.Builder setUpdateTime​(com.google.protobuf.Timestamp value)
         Output only. Time when the customer was updated.
         
        .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setUpdateTime

        public Customer.Builder setUpdateTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Output only. Time when the customer was updated.
         
        .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeUpdateTime

        public Customer.Builder mergeUpdateTime​(com.google.protobuf.Timestamp value)
         Output only. Time when the customer was updated.
         
        .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearUpdateTime

        public Customer.Builder clearUpdateTime()
         Output only. Time when the customer was updated.
         
        .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getUpdateTimeBuilder

        public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
         Output only. Time when the customer was updated.
         
        .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getUpdateTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
         Output only. Time when the customer was updated.
         
        .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUpdateTimeOrBuilder in interface CustomerOrBuilder
      • getCloudIdentityId

        public String getCloudIdentityId()
         Output only. The customer's Cloud Identity ID if the customer has a Cloud
         Identity resource.
         
        string cloud_identity_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCloudIdentityId in interface CustomerOrBuilder
        Returns:
        The cloudIdentityId.
      • getCloudIdentityIdBytes

        public com.google.protobuf.ByteString getCloudIdentityIdBytes()
         Output only. The customer's Cloud Identity ID if the customer has a Cloud
         Identity resource.
         
        string cloud_identity_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCloudIdentityIdBytes in interface CustomerOrBuilder
        Returns:
        The bytes for cloudIdentityId.
      • setCloudIdentityId

        public Customer.Builder setCloudIdentityId​(String value)
         Output only. The customer's Cloud Identity ID if the customer has a Cloud
         Identity resource.
         
        string cloud_identity_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The cloudIdentityId to set.
        Returns:
        This builder for chaining.
      • clearCloudIdentityId

        public Customer.Builder clearCloudIdentityId()
         Output only. The customer's Cloud Identity ID if the customer has a Cloud
         Identity resource.
         
        string cloud_identity_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setCloudIdentityIdBytes

        public Customer.Builder setCloudIdentityIdBytes​(com.google.protobuf.ByteString value)
         Output only. The customer's Cloud Identity ID if the customer has a Cloud
         Identity resource.
         
        string cloud_identity_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for cloudIdentityId to set.
        Returns:
        This builder for chaining.
      • getLanguageCode

        public String getLanguageCode()
         Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more
         information, see
         https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
         
        string language_code = 10 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getLanguageCode in interface CustomerOrBuilder
        Returns:
        The languageCode.
      • getLanguageCodeBytes

        public com.google.protobuf.ByteString getLanguageCodeBytes()
         Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more
         information, see
         https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
         
        string language_code = 10 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getLanguageCodeBytes in interface CustomerOrBuilder
        Returns:
        The bytes for languageCode.
      • setLanguageCode

        public Customer.Builder setLanguageCode​(String value)
         Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more
         information, see
         https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
         
        string language_code = 10 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The languageCode to set.
        Returns:
        This builder for chaining.
      • clearLanguageCode

        public Customer.Builder clearLanguageCode()
         Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more
         information, see
         https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
         
        string language_code = 10 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • setLanguageCodeBytes

        public Customer.Builder setLanguageCodeBytes​(com.google.protobuf.ByteString value)
         Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more
         information, see
         https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
         
        string language_code = 10 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The bytes for languageCode to set.
        Returns:
        This builder for chaining.
      • hasCloudIdentityInfo

        public boolean hasCloudIdentityInfo()
         Output only. Cloud Identity information for the customer.
         Populated only if a Cloud Identity account exists for this customer.
         
        .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasCloudIdentityInfo in interface CustomerOrBuilder
        Returns:
        Whether the cloudIdentityInfo field is set.
      • getCloudIdentityInfo

        public CloudIdentityInfo getCloudIdentityInfo()
         Output only. Cloud Identity information for the customer.
         Populated only if a Cloud Identity account exists for this customer.
         
        .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCloudIdentityInfo in interface CustomerOrBuilder
        Returns:
        The cloudIdentityInfo.
      • setCloudIdentityInfo

        public Customer.Builder setCloudIdentityInfo​(CloudIdentityInfo value)
         Output only. Cloud Identity information for the customer.
         Populated only if a Cloud Identity account exists for this customer.
         
        .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setCloudIdentityInfo

        public Customer.Builder setCloudIdentityInfo​(CloudIdentityInfo.Builder builderForValue)
         Output only. Cloud Identity information for the customer.
         Populated only if a Cloud Identity account exists for this customer.
         
        .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeCloudIdentityInfo

        public Customer.Builder mergeCloudIdentityInfo​(CloudIdentityInfo value)
         Output only. Cloud Identity information for the customer.
         Populated only if a Cloud Identity account exists for this customer.
         
        .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearCloudIdentityInfo

        public Customer.Builder clearCloudIdentityInfo()
         Output only. Cloud Identity information for the customer.
         Populated only if a Cloud Identity account exists for this customer.
         
        .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getCloudIdentityInfoBuilder

        public CloudIdentityInfo.Builder getCloudIdentityInfoBuilder()
         Output only. Cloud Identity information for the customer.
         Populated only if a Cloud Identity account exists for this customer.
         
        .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getCloudIdentityInfoOrBuilder

        public CloudIdentityInfoOrBuilder getCloudIdentityInfoOrBuilder()
         Output only. Cloud Identity information for the customer.
         Populated only if a Cloud Identity account exists for this customer.
         
        .google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCloudIdentityInfoOrBuilder in interface CustomerOrBuilder
      • getChannelPartnerId

        public String getChannelPartnerId()
         Cloud Identity ID of the customer's channel partner.
         Populated only if a channel partner exists for this customer.
         
        string channel_partner_id = 13;
        Specified by:
        getChannelPartnerId in interface CustomerOrBuilder
        Returns:
        The channelPartnerId.
      • getChannelPartnerIdBytes

        public com.google.protobuf.ByteString getChannelPartnerIdBytes()
         Cloud Identity ID of the customer's channel partner.
         Populated only if a channel partner exists for this customer.
         
        string channel_partner_id = 13;
        Specified by:
        getChannelPartnerIdBytes in interface CustomerOrBuilder
        Returns:
        The bytes for channelPartnerId.
      • setChannelPartnerId

        public Customer.Builder setChannelPartnerId​(String value)
         Cloud Identity ID of the customer's channel partner.
         Populated only if a channel partner exists for this customer.
         
        string channel_partner_id = 13;
        Parameters:
        value - The channelPartnerId to set.
        Returns:
        This builder for chaining.
      • clearChannelPartnerId

        public Customer.Builder clearChannelPartnerId()
         Cloud Identity ID of the customer's channel partner.
         Populated only if a channel partner exists for this customer.
         
        string channel_partner_id = 13;
        Returns:
        This builder for chaining.
      • setChannelPartnerIdBytes

        public Customer.Builder setChannelPartnerIdBytes​(com.google.protobuf.ByteString value)
         Cloud Identity ID of the customer's channel partner.
         Populated only if a channel partner exists for this customer.
         
        string channel_partner_id = 13;
        Parameters:
        value - The bytes for channelPartnerId to set.
        Returns:
        This builder for chaining.
      • getCorrelationId

        public String getCorrelationId()
         Optional. External CRM ID for the customer.
         Populated only if a CRM ID exists for this customer.
         
        string correlation_id = 14 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getCorrelationId in interface CustomerOrBuilder
        Returns:
        The correlationId.
      • getCorrelationIdBytes

        public com.google.protobuf.ByteString getCorrelationIdBytes()
         Optional. External CRM ID for the customer.
         Populated only if a CRM ID exists for this customer.
         
        string correlation_id = 14 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getCorrelationIdBytes in interface CustomerOrBuilder
        Returns:
        The bytes for correlationId.
      • setCorrelationId

        public Customer.Builder setCorrelationId​(String value)
         Optional. External CRM ID for the customer.
         Populated only if a CRM ID exists for this customer.
         
        string correlation_id = 14 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The correlationId to set.
        Returns:
        This builder for chaining.
      • clearCorrelationId

        public Customer.Builder clearCorrelationId()
         Optional. External CRM ID for the customer.
         Populated only if a CRM ID exists for this customer.
         
        string correlation_id = 14 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • setCorrelationIdBytes

        public Customer.Builder setCorrelationIdBytes​(com.google.protobuf.ByteString value)
         Optional. External CRM ID for the customer.
         Populated only if a CRM ID exists for this customer.
         
        string correlation_id = 14 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The bytes for correlationId to set.
        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>