- 3.80.0 (latest)
- 3.79.0
- 3.78.0
- 3.77.0
- 3.76.0
- 3.74.0
- 3.72.0
- 3.71.0
- 3.68.0
- 3.67.0
- 3.66.0
- 3.64.0
- 3.63.0
- 3.62.0
- 3.61.0
- 3.60.0
- 3.59.0
- 3.58.0
- 3.57.0
- 3.56.0
- 3.55.0
- 3.53.0
- 3.52.0
- 3.51.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.6
- 3.6.1
- 3.5.1
- 3.3.1
public static final class Customer.Builder extends GeneratedMessageV3.Builder<Customer.Builder> implements CustomerOrBuilderEntity representing a customer of a reseller or distributor.
Protobuf type google.cloud.channel.v1.Customer
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Customer.BuilderImplements
CustomerOrBuilderStatic 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 |
|
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 |
|
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 |
|
clearCustomerAttestationState()
public Customer.Builder clearCustomerAttestationState()Optional. Indicate whether 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 | |
|---|---|
| Type | Description |
Customer.Builder |
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 | |
|---|---|
| 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 |
|
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 |
|
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 |
|
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 |
|
getCustomerAttestationState()
public Customer.CustomerAttestationState getCustomerAttestationState()Optional. Indicate whether 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 | |
|---|---|
| Type | Description |
Customer.CustomerAttestationState |
The customerAttestationState. |
getCustomerAttestationStateValue()
public int getCustomerAttestationStateValue()Optional. Indicate whether 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 | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for customerAttestationState. |
getDefaultInstanceForType()
public Customer getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Customer |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Customer.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Customer.Builder |
|
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 |
|
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 |
StringThe 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 |
ByteStringThe 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 |
StringThe 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 |
ByteStringThe 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 |
StringThe 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 |
ByteStringThe 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 |
StringThe 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 |
ByteStringThe 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 |
|
setCustomerAttestationState(Customer.CustomerAttestationState value)
public Customer.Builder setCustomerAttestationState(Customer.CustomerAttestationState value)Optional. Indicate whether 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];
| Parameter | |
|---|---|
| Name | Description |
value |
Customer.CustomerAttestationStateThe customerAttestationState to set. |
| Returns | |
|---|---|
| Type | Description |
Customer.Builder |
This builder for chaining. |
setCustomerAttestationStateValue(int value)
public Customer.Builder setCustomerAttestationStateValue(int value)Optional. Indicate whether 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];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for customerAttestationState to set. |
| Returns | |
|---|---|
| Type | Description |
Customer.Builder |
This builder for chaining. |
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 |
StringThe 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 |
ByteStringThe 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 |
|
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 |
StringThe 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 |
ByteStringThe 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 |
StringThe 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 |
ByteStringThe 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 |
StringThe 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 |
ByteStringThe 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 |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final Customer.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
Customer.Builder |
|
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 |
|