- 3.57.0 (latest)
- 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 CustomerOrBuilder
Entity 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
CustomerOrBuilderMethods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Customer.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Customer.Builder |
build()
public Customer build()
Type | Description |
Customer |
buildPartial()
public Customer buildPartial()
Type | Description |
Customer |
clear()
public Customer.Builder clear()
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;
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;
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];
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];
Type | Description |
Customer.Builder |
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];
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];
Type | Description |
Customer.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Customer.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
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];
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];
Type | Description |
Customer.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Customer.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
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];
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 and zip code. 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];
Type | Description |
Customer.Builder |
clearPrimaryContactInfo()
public Customer.Builder clearPrimaryContactInfo()
Primary contact info.
.google.cloud.channel.v1.ContactInfo primary_contact_info = 4;
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];
Type | Description |
Customer.Builder |
clone()
public Customer.Builder clone()
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;
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;
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;
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;
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];
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];
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];
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];
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];
Type | Description |
CloudIdentityInfoOrBuilder |
getCreateTime()
public Timestamp getCreateTime()
Output only. Time when the customer was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
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];
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];
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public Customer getDefaultInstanceForType()
Type | Description |
Customer |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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];
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];
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];
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];
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];
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];
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];
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];
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 and zip code. 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];
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 and zip code. 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];
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 and zip code. 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];
Type | Description |
com.google.type.PostalAddressOrBuilder |
getPrimaryContactInfo()
public ContactInfo getPrimaryContactInfo()
Primary contact info.
.google.cloud.channel.v1.ContactInfo primary_contact_info = 4;
Type | Description |
ContactInfo | The primaryContactInfo. |
getPrimaryContactInfoBuilder()
public ContactInfo.Builder getPrimaryContactInfoBuilder()
Primary contact info.
.google.cloud.channel.v1.ContactInfo primary_contact_info = 4;
Type | Description |
ContactInfo.Builder |
getPrimaryContactInfoOrBuilder()
public ContactInfoOrBuilder getPrimaryContactInfoOrBuilder()
Primary contact info.
.google.cloud.channel.v1.ContactInfo primary_contact_info = 4;
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];
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];
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];
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];
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];
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 and zip code. 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];
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;
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];
Type | Description |
boolean | Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
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];
Name | Description |
value | CloudIdentityInfo |
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];
Name | Description |
value | Timestamp |
Type | Description |
Customer.Builder |
mergeFrom(Customer other)
public Customer.Builder mergeFrom(Customer other)
Name | Description |
other | Customer |
Type | Description |
Customer.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Customer.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Customer.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Customer.Builder mergeFrom(Message other)
Name | Description |
other | Message |
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 and zip code. 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];
Name | Description |
value | com.google.type.PostalAddress |
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;
Name | Description |
value | ContactInfo |
Type | Description |
Customer.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Customer.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
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];
Name | Description |
value | Timestamp |
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;
Name | Description |
value | String The alternateEmail to set. |
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;
Name | Description |
value | ByteString The bytes for alternateEmail to set. |
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;
Name | Description |
value | String The channelPartnerId to set. |
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;
Name | Description |
value | ByteString The bytes for channelPartnerId to set. |
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];
Name | Description |
value | String The cloudIdentityId to set. |
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];
Name | Description |
value | ByteString The bytes for cloudIdentityId to set. |
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];
Name | Description |
value | CloudIdentityInfo |
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];
Name | Description |
builderForValue | CloudIdentityInfo.Builder |
Type | Description |
Customer.Builder |
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];
Name | Description |
value | Timestamp |
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];
Name | Description |
builderForValue | Builder |
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];
Name | Description |
value | String The domain to set. |
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];
Name | Description |
value | ByteString The bytes for domain to set. |
Type | Description |
Customer.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Customer.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
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];
Name | Description |
value | String The languageCode to set. |
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];
Name | Description |
value | ByteString The bytes for languageCode to set. |
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];
Name | Description |
value | String The name to set. |
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];
Name | Description |
value | ByteString The bytes for name to set. |
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];
Name | Description |
value | String The orgDisplayName to set. |
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];
Name | Description |
value | ByteString The bytes for orgDisplayName to set. |
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 and zip code. 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];
Name | Description |
value | com.google.type.PostalAddress |
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 and zip code. 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];
Name | Description |
builderForValue | com.google.type.PostalAddress.Builder |
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;
Name | Description |
value | ContactInfo |
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;
Name | Description |
builderForValue | ContactInfo.Builder |
Type | Description |
Customer.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Customer.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Customer.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Customer.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
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];
Name | Description |
value | Timestamp |
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];
Name | Description |
builderForValue | Builder |
Type | Description |
Customer.Builder |