Class Customer.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Customer.Builder>
com.google.cloud.channel.v1.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.GeneratedMessage.Builder<Customer.Builder> implements CustomerOrBuilder
 Entity representing a customer of a reseller or distributor.
 
Protobuf type google.cloud.channel.v1.Customer
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.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.GeneratedMessage.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.GeneratedMessage.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
    • 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>
    • mergeFrom

      public Customer.Builder mergeFrom(Customer other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.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 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(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(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(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 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 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;
    • getPrimaryContactInfoOrBuilder

      public ContactInfoOrBuilder getPrimaryContactInfoOrBuilder()
       Primary contact info.
       
      .google.cloud.channel.v1.ContactInfo primary_contact_info = 4;
      Specified by:
      getPrimaryContactInfoOrBuilder in interface CustomerOrBuilder
    • 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.
    • getCustomerAttestationStateValue

      public int getCustomerAttestationStateValue()
       Optional. Indicate if a customer is attesting about the correctness of
       provided information. Only required if creating a GCP Entitlement.
       
      .google.cloud.channel.v1.Customer.CustomerAttestationState customer_attestation_state = 16 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCustomerAttestationStateValue in interface CustomerOrBuilder
      Returns:
      The enum numeric value on the wire for customerAttestationState.
    • setCustomerAttestationStateValue

      public Customer.Builder setCustomerAttestationStateValue(int value)
       Optional. Indicate if a customer is attesting about the correctness of
       provided information. Only required if creating a GCP Entitlement.
       
      .google.cloud.channel.v1.Customer.CustomerAttestationState customer_attestation_state = 16 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The enum numeric value on the wire for customerAttestationState to set.
      Returns:
      This builder for chaining.
    • getCustomerAttestationState

      public Customer.CustomerAttestationState getCustomerAttestationState()
       Optional. Indicate if a customer is attesting about the correctness of
       provided information. Only required if creating a GCP Entitlement.
       
      .google.cloud.channel.v1.Customer.CustomerAttestationState customer_attestation_state = 16 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCustomerAttestationState in interface CustomerOrBuilder
      Returns:
      The customerAttestationState.
    • setCustomerAttestationState

      public Customer.Builder setCustomerAttestationState(Customer.CustomerAttestationState value)
       Optional. Indicate if a customer is attesting about the correctness of
       provided information. Only required if creating a GCP Entitlement.
       
      .google.cloud.channel.v1.Customer.CustomerAttestationState customer_attestation_state = 16 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The customerAttestationState to set.
      Returns:
      This builder for chaining.
    • clearCustomerAttestationState

      public Customer.Builder clearCustomerAttestationState()
       Optional. Indicate if a customer is attesting about the correctness of
       provided information. Only required if creating a GCP Entitlement.
       
      .google.cloud.channel.v1.Customer.CustomerAttestationState customer_attestation_state = 16 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.