Class Customer.Builder (3.59.0)

public static final class Customer.Builder extends GeneratedMessageV3.Builder<Customer.Builder> implements CustomerOrBuilder

Entity representing a customer of a reseller or distributor.

Protobuf type google.cloud.channel.v1.Customer

Implements

CustomerOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Customer.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Customer.Builder
Overrides

build()

public Customer build()
Returns
Type Description
Customer

buildPartial()

public Customer buildPartial()
Returns
Type Description
Customer

clear()

public Customer.Builder clear()
Returns
Type Description
Customer.Builder
Overrides

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
Type Description
Customer.Builder

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
Type Description
Customer.Builder

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
Type Description
Customer.Builder

This builder for chaining.

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];

Returns
Type Description
Customer.Builder

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
Type Description
Customer.Builder

This builder for chaining.

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];

Returns
Type Description
Customer.Builder

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
Type Description
Customer.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Customer.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Customer.Builder
Overrides

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
Type Description
Customer.Builder

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
Type Description
Customer.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Customer.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Customer.Builder
Overrides

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
Type Description
Customer.Builder

This builder for chaining.

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];

Returns
Type Description
Customer.Builder

clearPrimaryContactInfo()

public Customer.Builder clearPrimaryContactInfo()

Primary contact info.

.google.cloud.channel.v1.ContactInfo primary_contact_info = 4;

Returns
Type Description
Customer.Builder

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];

Returns
Type Description
Customer.Builder

clone()

public Customer.Builder clone()
Returns
Type Description
Customer.Builder
Overrides

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;

Returns
Type Description
String

The alternateEmail.

getAlternateEmailBytes()

public 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;

Returns
Type Description
ByteString

The bytes for alternateEmail.

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;

Returns
Type Description
String

The channelPartnerId.

getChannelPartnerIdBytes()

public 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;

Returns
Type Description
ByteString

The bytes for channelPartnerId.

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];

Returns
Type Description
String

The cloudIdentityId.

getCloudIdentityIdBytes()

public 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];

Returns
Type Description
ByteString

The bytes for cloudIdentityId.

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];

Returns
Type Description
CloudIdentityInfo

The cloudIdentityInfo.

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];

Returns
Type Description
CloudIdentityInfo.Builder

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];

Returns
Type Description
CloudIdentityInfoOrBuilder

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];

Returns
Type Description
String

The correlationId.

getCorrelationIdBytes()

public 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];

Returns
Type Description
ByteString

The bytes for correlationId.

getCreateTime()

public Timestamp getCreateTime()

Output only. Time when the customer was created.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. Time when the customer was created.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Time when the customer was created.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public Customer getDefaultInstanceForType()
Returns
Type Description
Customer

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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];

Returns
Type Description
String

The domain.

getDomainBytes()

public ByteString getDomainBytes()

Required. The customer's primary domain. Must match the primary contact email's domain.

string domain = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for domain.

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];

Returns
Type Description
String

The languageCode.

getLanguageCodeBytes()

public 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];

Returns
Type Description
ByteString

The bytes for languageCode.

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];

Returns
Type Description
String

The name.

getNameBytes()

public 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];

Returns
Type Description
ByteString

The bytes for name.

getOrgDisplayName()

public String getOrgDisplayName()

Required. Name of the organization that the customer entity represents.

string org_display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The orgDisplayName.

getOrgDisplayNameBytes()

public ByteString getOrgDisplayNameBytes()

Required. Name of the organization that the customer entity represents.

string org_display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for orgDisplayName.

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];

Returns
Type Description
com.google.type.PostalAddress

The orgPostalAddress.

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];

Returns
Type Description
com.google.type.PostalAddress.Builder

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];

Returns
Type Description
com.google.type.PostalAddressOrBuilder

getPrimaryContactInfo()

public ContactInfo getPrimaryContactInfo()

Primary contact info.

.google.cloud.channel.v1.ContactInfo primary_contact_info = 4;

Returns
Type Description
ContactInfo

The primaryContactInfo.

getPrimaryContactInfoBuilder()

public ContactInfo.Builder getPrimaryContactInfoBuilder()

Primary contact info.

.google.cloud.channel.v1.ContactInfo primary_contact_info = 4;

Returns
Type Description
ContactInfo.Builder

getPrimaryContactInfoOrBuilder()

public ContactInfoOrBuilder getPrimaryContactInfoOrBuilder()

Primary contact info.

.google.cloud.channel.v1.ContactInfo primary_contact_info = 4;

Returns
Type Description
ContactInfoOrBuilder

getUpdateTime()

public Timestamp getUpdateTime()

Output only. Time when the customer was updated.

.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. Time when the customer was updated.

.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. Time when the customer was updated.

.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

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];

Returns
Type Description
boolean

Whether the cloudIdentityInfo field is set.

hasCreateTime()

public boolean hasCreateTime()

Output only. Time when the customer was created.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

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];

Returns
Type Description
boolean

Whether the orgPostalAddress field is set.

hasPrimaryContactInfo()

public boolean hasPrimaryContactInfo()

Primary contact info.

.google.cloud.channel.v1.ContactInfo primary_contact_info = 4;

Returns
Type Description
boolean

Whether the primaryContactInfo field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. Time when the customer was updated.

.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCloudIdentityInfo(CloudIdentityInfo value)

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];

Parameter
Name Description
value CloudIdentityInfo
Returns
Type Description
Customer.Builder

mergeCreateTime(Timestamp value)

public Customer.Builder mergeCreateTime(Timestamp value)

Output only. Time when the customer was created.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Customer.Builder

mergeFrom(Customer other)

public Customer.Builder mergeFrom(Customer other)
Parameter
Name Description
other Customer
Returns
Type Description
Customer.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Customer.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Customer.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Customer.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Customer.Builder
Overrides

mergeOrgPostalAddress(PostalAddress value)

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];

Parameter
Name Description
value com.google.type.PostalAddress
Returns
Type Description
Customer.Builder

mergePrimaryContactInfo(ContactInfo value)

public Customer.Builder mergePrimaryContactInfo(ContactInfo value)

Primary contact info.

.google.cloud.channel.v1.ContactInfo primary_contact_info = 4;

Parameter
Name Description
value ContactInfo
Returns
Type Description
Customer.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Customer.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Customer.Builder
Overrides

mergeUpdateTime(Timestamp value)

public Customer.Builder mergeUpdateTime(Timestamp value)

Output only. Time when the customer was updated.

.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Customer.Builder

setAlternateEmail(String value)

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;

Parameter
Name Description
value String

The alternateEmail to set.

Returns
Type Description
Customer.Builder

This builder for chaining.

setAlternateEmailBytes(ByteString value)

public Customer.Builder setAlternateEmailBytes(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;

Parameter
Name Description
value ByteString

The bytes for alternateEmail to set.

Returns
Type Description
Customer.Builder

This builder for chaining.

setChannelPartnerId(String value)

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;

Parameter
Name Description
value String

The channelPartnerId to set.

Returns
Type Description
Customer.Builder

This builder for chaining.

setChannelPartnerIdBytes(ByteString value)

public Customer.Builder setChannelPartnerIdBytes(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;

Parameter
Name Description
value ByteString

The bytes for channelPartnerId to set.

Returns
Type Description
Customer.Builder

This builder for chaining.

setCloudIdentityId(String value)

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];

Parameter
Name Description
value String

The cloudIdentityId to set.

Returns
Type Description
Customer.Builder

This builder for chaining.

setCloudIdentityIdBytes(ByteString value)

public Customer.Builder setCloudIdentityIdBytes(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];

Parameter
Name Description
value ByteString

The bytes for cloudIdentityId to set.

Returns
Type Description
Customer.Builder

This builder for chaining.

setCloudIdentityInfo(CloudIdentityInfo value)

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];

Parameter
Name Description
value CloudIdentityInfo
Returns
Type Description
Customer.Builder

setCloudIdentityInfo(CloudIdentityInfo.Builder builderForValue)

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];

Parameter
Name Description
builderForValue CloudIdentityInfo.Builder
Returns
Type Description
Customer.Builder

setCorrelationId(String value)

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];

Parameter
Name Description
value String

The correlationId to set.

Returns
Type Description
Customer.Builder

This builder for chaining.

setCorrelationIdBytes(ByteString value)

public Customer.Builder setCorrelationIdBytes(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];

Parameter
Name Description
value ByteString

The bytes for correlationId to set.

Returns
Type Description
Customer.Builder

This builder for chaining.

setCreateTime(Timestamp value)

public Customer.Builder setCreateTime(Timestamp value)

Output only. Time when the customer was created.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Customer.Builder

setCreateTime(Timestamp.Builder builderForValue)

public Customer.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. Time when the customer was created.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Customer.Builder

setDomain(String value)

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];

Parameter
Name Description
value String

The domain to set.

Returns
Type Description
Customer.Builder

This builder for chaining.

setDomainBytes(ByteString value)

public Customer.Builder setDomainBytes(ByteString value)

Required. The customer's primary domain. Must match the primary contact email's domain.

string domain = 6 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for domain to set.

Returns
Type Description
Customer.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Customer.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Customer.Builder
Overrides

setLanguageCode(String value)

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];

Parameter
Name Description
value String

The languageCode to set.

Returns
Type Description
Customer.Builder

This builder for chaining.

setLanguageCodeBytes(ByteString value)

public Customer.Builder setLanguageCodeBytes(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];

Parameter
Name Description
value ByteString

The bytes for languageCode to set.

Returns
Type Description
Customer.Builder

This builder for chaining.

setName(String value)

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];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
Customer.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Customer.Builder setNameBytes(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];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
Customer.Builder

This builder for chaining.

setOrgDisplayName(String value)

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];

Parameter
Name Description
value String

The orgDisplayName to set.

Returns
Type Description
Customer.Builder

This builder for chaining.

setOrgDisplayNameBytes(ByteString value)

public Customer.Builder setOrgDisplayNameBytes(ByteString value)

Required. Name of the organization that the customer entity represents.

string org_display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for orgDisplayName to set.

Returns
Type Description
Customer.Builder

This builder for chaining.

setOrgPostalAddress(PostalAddress value)

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];

Parameter
Name Description
value com.google.type.PostalAddress
Returns
Type Description
Customer.Builder

setOrgPostalAddress(PostalAddress.Builder builderForValue)

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];

Parameter
Name Description
builderForValue com.google.type.PostalAddress.Builder
Returns
Type Description
Customer.Builder

setPrimaryContactInfo(ContactInfo value)

public Customer.Builder setPrimaryContactInfo(ContactInfo value)

Primary contact info.

.google.cloud.channel.v1.ContactInfo primary_contact_info = 4;

Parameter
Name Description
value ContactInfo
Returns
Type Description
Customer.Builder

setPrimaryContactInfo(ContactInfo.Builder builderForValue)

public Customer.Builder setPrimaryContactInfo(ContactInfo.Builder builderForValue)

Primary contact info.

.google.cloud.channel.v1.ContactInfo primary_contact_info = 4;

Parameter
Name Description
builderForValue ContactInfo.Builder
Returns
Type Description
Customer.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Customer.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Customer.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Customer.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Customer.Builder
Overrides

setUpdateTime(Timestamp value)

public Customer.Builder setUpdateTime(Timestamp value)

Output only. Time when the customer was updated.

.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Customer.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public Customer.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. Time when the customer was updated.

.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Customer.Builder