Package com.google.cloud.channel.v1
Class Customer.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Customer.Builder>
com.google.cloud.channel.v1.Customer.Builder
- All Implemented Interfaces:
CustomerOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Customer
public static final class Customer.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Customer.Builder>
implements CustomerOrBuilder
Entity representing a customer of a reseller or distributor.Protobuf type
google.cloud.channel.v1.Customer-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Secondary contact email.Cloud Identity ID of the customer's channel partner.Output only.Output only.Optional.Output only.Optional.Required.Optional.Output only.Required.Required.Primary contact info.Output only.Secondary contact email.com.google.protobuf.ByteStringSecondary contact email.Cloud Identity ID of the customer's channel partner.com.google.protobuf.ByteStringCloud Identity ID of the customer's channel partner.Output only.com.google.protobuf.ByteStringOutput only.Output only.Output only.Output only.Optional.com.google.protobuf.ByteStringOptional.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Optional.intOptional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorRequired.com.google.protobuf.ByteStringRequired.Optional.com.google.protobuf.ByteStringOptional.getName()Output only.com.google.protobuf.ByteStringOutput only.Required.com.google.protobuf.ByteStringRequired.Required.Required.Required.Primary contact info.Primary contact info.Primary contact info.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanOutput only.booleanRequired.booleanPrimary contact info.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanOutput only.mergeCreateTime(com.google.protobuf.Timestamp value) Output only.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Required.Primary contact info.mergeUpdateTime(com.google.protobuf.Timestamp value) Output only.setAlternateEmail(String value) Secondary contact email.setAlternateEmailBytes(com.google.protobuf.ByteString value) Secondary contact email.setChannelPartnerId(String value) Cloud Identity ID of the customer's channel partner.setChannelPartnerIdBytes(com.google.protobuf.ByteString value) Cloud Identity ID of the customer's channel partner.setCloudIdentityId(String value) Output only.setCloudIdentityIdBytes(com.google.protobuf.ByteString value) Output only.Output only.setCloudIdentityInfo(CloudIdentityInfo.Builder builderForValue) Output only.setCorrelationId(String value) Optional.setCorrelationIdBytes(com.google.protobuf.ByteString value) Optional.setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Optional.setCustomerAttestationStateValue(int value) Optional.Required.setDomainBytes(com.google.protobuf.ByteString value) Required.setLanguageCode(String value) Optional.setLanguageCodeBytes(com.google.protobuf.ByteString value) Optional.Output only.setNameBytes(com.google.protobuf.ByteString value) Output only.setOrgDisplayName(String value) Required.setOrgDisplayNameBytes(com.google.protobuf.ByteString value) Required.setOrgPostalAddress(PostalAddress value) Required.setOrgPostalAddress(PostalAddress.Builder builderForValue) Required.setPrimaryContactInfo(ContactInfo value) Primary contact info.setPrimaryContactInfo(ContactInfo.Builder builderForValue) Primary contact info.setUpdateTime(com.google.protobuf.Timestamp value) Output only.setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Customer.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Customer.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Customer.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Customer.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Customer.Builder>
-
mergeFrom
public Customer.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Customer.Builder>- Throws:
IOException
-
getName
Output only. Resource name of the customer. Format: accounts/{account_id}/customers/{customer_id}string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNamein interfaceCustomerOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Output only. Resource name of the customer. Format: accounts/{account_id}/customers/{customer_id}string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNameBytesin interfaceCustomerOrBuilder- Returns:
- The bytes for name.
-
setName
Output only. Resource name of the customer. Format: accounts/{account_id}/customers/{customer_id}string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Output only. Resource name of the customer. Format: accounts/{account_id}/customers/{customer_id}string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setNameBytes
Output only. Resource name of the customer. Format: accounts/{account_id}/customers/{customer_id}string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getOrgDisplayName
Required. Name of the organization that the customer entity represents.
string org_display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getOrgDisplayNamein interfaceCustomerOrBuilder- Returns:
- The orgDisplayName.
-
getOrgDisplayNameBytes
public com.google.protobuf.ByteString getOrgDisplayNameBytes()Required. Name of the organization that the customer entity represents.
string org_display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getOrgDisplayNameBytesin interfaceCustomerOrBuilder- Returns:
- The bytes for orgDisplayName.
-
setOrgDisplayName
Required. Name of the organization that the customer entity represents.
string org_display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The orgDisplayName to set.- Returns:
- This builder for chaining.
-
clearOrgDisplayName
Required. Name of the organization that the customer entity represents.
string org_display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setOrgDisplayNameBytes
Required. Name of the organization that the customer entity represents.
string org_display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for orgDisplayName to set.- Returns:
- This builder for chaining.
-
hasOrgPostalAddress
public boolean hasOrgPostalAddress()Required. The organization address for the customer. To enforce US laws and embargoes, we require a region, postal code, and address lines. You must provide valid addresses for every customer. To set the customer's language, use the Customer-level language code.
.google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasOrgPostalAddressin interfaceCustomerOrBuilder- Returns:
- Whether the orgPostalAddress field is set.
-
getOrgPostalAddress
Required. The organization address for the customer. To enforce US laws and embargoes, we require a region, postal code, and address lines. You must provide valid addresses for every customer. To set the customer's language, use the Customer-level language code.
.google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getOrgPostalAddressin interfaceCustomerOrBuilder- Returns:
- The orgPostalAddress.
-
setOrgPostalAddress
Required. The organization address for the customer. To enforce US laws and embargoes, we require a region, postal code, and address lines. You must provide valid addresses for every customer. To set the customer's language, use the Customer-level language code.
.google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED]; -
setOrgPostalAddress
Required. The organization address for the customer. To enforce US laws and embargoes, we require a region, postal code, and address lines. You must provide valid addresses for every customer. To set the customer's language, use the Customer-level language code.
.google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED]; -
mergeOrgPostalAddress
Required. The organization address for the customer. To enforce US laws and embargoes, we require a region, postal code, and address lines. You must provide valid addresses for every customer. To set the customer's language, use the Customer-level language code.
.google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED]; -
clearOrgPostalAddress
Required. The organization address for the customer. To enforce US laws and embargoes, we require a region, postal code, and address lines. You must provide valid addresses for every customer. To set the customer's language, use the Customer-level language code.
.google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED]; -
getOrgPostalAddressBuilder
Required. The organization address for the customer. To enforce US laws and embargoes, we require a region, postal code, and address lines. You must provide valid addresses for every customer. To set the customer's language, use the Customer-level language code.
.google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED]; -
getOrgPostalAddressOrBuilder
Required. The organization address for the customer. To enforce US laws and embargoes, we require a region, postal code, and address lines. You must provide valid addresses for every customer. To set the customer's language, use the Customer-level language code.
.google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getOrgPostalAddressOrBuilderin interfaceCustomerOrBuilder
-
hasPrimaryContactInfo
public boolean hasPrimaryContactInfo()Primary contact info.
.google.cloud.channel.v1.ContactInfo primary_contact_info = 4;- Specified by:
hasPrimaryContactInfoin interfaceCustomerOrBuilder- Returns:
- Whether the primaryContactInfo field is set.
-
getPrimaryContactInfo
Primary contact info.
.google.cloud.channel.v1.ContactInfo primary_contact_info = 4;- Specified by:
getPrimaryContactInfoin interfaceCustomerOrBuilder- Returns:
- The primaryContactInfo.
-
setPrimaryContactInfo
Primary contact info.
.google.cloud.channel.v1.ContactInfo primary_contact_info = 4; -
setPrimaryContactInfo
Primary contact info.
.google.cloud.channel.v1.ContactInfo primary_contact_info = 4; -
mergePrimaryContactInfo
Primary contact info.
.google.cloud.channel.v1.ContactInfo primary_contact_info = 4; -
clearPrimaryContactInfo
Primary contact info.
.google.cloud.channel.v1.ContactInfo primary_contact_info = 4; -
getPrimaryContactInfoBuilder
Primary contact info.
.google.cloud.channel.v1.ContactInfo primary_contact_info = 4; -
getPrimaryContactInfoOrBuilder
Primary contact info.
.google.cloud.channel.v1.ContactInfo primary_contact_info = 4;- Specified by:
getPrimaryContactInfoOrBuilderin interfaceCustomerOrBuilder
-
getAlternateEmail
Secondary contact email. You need to provide an alternate email to create different domains if a primary contact email already exists. Users will receive a notification with credentials when you create an admin.google.com account. Secondary emails are also recovery email addresses. Alternate emails are optional when you create Team customers.
string alternate_email = 5;- Specified by:
getAlternateEmailin interfaceCustomerOrBuilder- Returns:
- The alternateEmail.
-
getAlternateEmailBytes
public com.google.protobuf.ByteString getAlternateEmailBytes()Secondary contact email. You need to provide an alternate email to create different domains if a primary contact email already exists. Users will receive a notification with credentials when you create an admin.google.com account. Secondary emails are also recovery email addresses. Alternate emails are optional when you create Team customers.
string alternate_email = 5;- Specified by:
getAlternateEmailBytesin interfaceCustomerOrBuilder- Returns:
- The bytes for alternateEmail.
-
setAlternateEmail
Secondary contact email. You need to provide an alternate email to create different domains if a primary contact email already exists. Users will receive a notification with credentials when you create an admin.google.com account. Secondary emails are also recovery email addresses. Alternate emails are optional when you create Team customers.
string alternate_email = 5;- Parameters:
value- The alternateEmail to set.- Returns:
- This builder for chaining.
-
clearAlternateEmail
Secondary contact email. You need to provide an alternate email to create different domains if a primary contact email already exists. Users will receive a notification with credentials when you create an admin.google.com account. Secondary emails are also recovery email addresses. Alternate emails are optional when you create Team customers.
string alternate_email = 5;- Returns:
- This builder for chaining.
-
setAlternateEmailBytes
Secondary contact email. You need to provide an alternate email to create different domains if a primary contact email already exists. Users will receive a notification with credentials when you create an admin.google.com account. Secondary emails are also recovery email addresses. Alternate emails are optional when you create Team customers.
string alternate_email = 5;- Parameters:
value- The bytes for alternateEmail to set.- Returns:
- This builder for chaining.
-
getDomain
Required. The customer's primary domain. Must match the primary contact email's domain.
string domain = 6 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDomainin interfaceCustomerOrBuilder- Returns:
- The domain.
-
getDomainBytes
public com.google.protobuf.ByteString getDomainBytes()Required. The customer's primary domain. Must match the primary contact email's domain.
string domain = 6 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDomainBytesin interfaceCustomerOrBuilder- Returns:
- The bytes for domain.
-
setDomain
Required. The customer's primary domain. Must match the primary contact email's domain.
string domain = 6 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The domain to set.- Returns:
- This builder for chaining.
-
clearDomain
Required. The customer's primary domain. Must match the primary contact email's domain.
string domain = 6 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setDomainBytes
Required. The customer's primary domain. Must match the primary contact email's domain.
string domain = 6 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for domain to set.- Returns:
- This builder for chaining.
-
hasCreateTime
public boolean hasCreateTime()Output only. Time when the customer was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceCustomerOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. Time when the customer was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceCustomerOrBuilder- Returns:
- The createTime.
-
setCreateTime
Output only. Time when the customer was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreateTime
Output only. Time when the customer was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreateTime
Output only. Time when the customer was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearCreateTime
Output only. Time when the customer was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()Output only. Time when the customer was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. Time when the customer was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceCustomerOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()Output only. Time when the customer was updated.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceCustomerOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()Output only. Time when the customer was updated.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceCustomerOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
Output only. Time when the customer was updated.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setUpdateTime
Output only. Time when the customer was updated.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeUpdateTime
Output only. Time when the customer was updated.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearUpdateTime
Output only. Time when the customer was updated.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()Output only. Time when the customer was updated.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. Time when the customer was updated.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceCustomerOrBuilder
-
getCloudIdentityId
Output only. The customer's Cloud Identity ID if the customer has a Cloud Identity resource.
string cloud_identity_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCloudIdentityIdin interfaceCustomerOrBuilder- Returns:
- The cloudIdentityId.
-
getCloudIdentityIdBytes
public com.google.protobuf.ByteString getCloudIdentityIdBytes()Output only. The customer's Cloud Identity ID if the customer has a Cloud Identity resource.
string cloud_identity_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCloudIdentityIdBytesin interfaceCustomerOrBuilder- Returns:
- The bytes for cloudIdentityId.
-
setCloudIdentityId
Output only. The customer's Cloud Identity ID if the customer has a Cloud Identity resource.
string cloud_identity_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The cloudIdentityId to set.- Returns:
- This builder for chaining.
-
clearCloudIdentityId
Output only. The customer's Cloud Identity ID if the customer has a Cloud Identity resource.
string cloud_identity_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setCloudIdentityIdBytes
Output only. The customer's Cloud Identity ID if the customer has a Cloud Identity resource.
string cloud_identity_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for cloudIdentityId to set.- Returns:
- This builder for chaining.
-
getLanguageCode
Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
string language_code = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLanguageCodein interfaceCustomerOrBuilder- Returns:
- The languageCode.
-
getLanguageCodeBytes
public com.google.protobuf.ByteString getLanguageCodeBytes()Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
string language_code = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLanguageCodeBytesin interfaceCustomerOrBuilder- Returns:
- The bytes for languageCode.
-
setLanguageCode
Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
string language_code = 10 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The languageCode to set.- Returns:
- This builder for chaining.
-
clearLanguageCode
Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
string language_code = 10 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setLanguageCodeBytes
Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
string language_code = 10 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for languageCode to set.- Returns:
- This builder for chaining.
-
hasCloudIdentityInfo
public boolean hasCloudIdentityInfo()Output only. Cloud Identity information for the customer. Populated only if a Cloud Identity account exists for this customer.
.google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCloudIdentityInfoin interfaceCustomerOrBuilder- Returns:
- Whether the cloudIdentityInfo field is set.
-
getCloudIdentityInfo
Output only. Cloud Identity information for the customer. Populated only if a Cloud Identity account exists for this customer.
.google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCloudIdentityInfoin interfaceCustomerOrBuilder- Returns:
- The cloudIdentityInfo.
-
setCloudIdentityInfo
Output only. Cloud Identity information for the customer. Populated only if a Cloud Identity account exists for this customer.
.google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCloudIdentityInfo
Output only. Cloud Identity information for the customer. Populated only if a Cloud Identity account exists for this customer.
.google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCloudIdentityInfo
Output only. Cloud Identity information for the customer. Populated only if a Cloud Identity account exists for this customer.
.google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearCloudIdentityInfo
Output only. Cloud Identity information for the customer. Populated only if a Cloud Identity account exists for this customer.
.google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCloudIdentityInfoBuilder
Output only. Cloud Identity information for the customer. Populated only if a Cloud Identity account exists for this customer.
.google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCloudIdentityInfoOrBuilder
Output only. Cloud Identity information for the customer. Populated only if a Cloud Identity account exists for this customer.
.google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCloudIdentityInfoOrBuilderin interfaceCustomerOrBuilder
-
getChannelPartnerId
Cloud Identity ID of the customer's channel partner. Populated only if a channel partner exists for this customer.
string channel_partner_id = 13;- Specified by:
getChannelPartnerIdin interfaceCustomerOrBuilder- Returns:
- The channelPartnerId.
-
getChannelPartnerIdBytes
public com.google.protobuf.ByteString getChannelPartnerIdBytes()Cloud Identity ID of the customer's channel partner. Populated only if a channel partner exists for this customer.
string channel_partner_id = 13;- Specified by:
getChannelPartnerIdBytesin interfaceCustomerOrBuilder- Returns:
- The bytes for channelPartnerId.
-
setChannelPartnerId
Cloud Identity ID of the customer's channel partner. Populated only if a channel partner exists for this customer.
string channel_partner_id = 13;- Parameters:
value- The channelPartnerId to set.- Returns:
- This builder for chaining.
-
clearChannelPartnerId
Cloud Identity ID of the customer's channel partner. Populated only if a channel partner exists for this customer.
string channel_partner_id = 13;- Returns:
- This builder for chaining.
-
setChannelPartnerIdBytes
Cloud Identity ID of the customer's channel partner. Populated only if a channel partner exists for this customer.
string channel_partner_id = 13;- Parameters:
value- The bytes for channelPartnerId to set.- Returns:
- This builder for chaining.
-
getCorrelationId
Optional. External CRM ID for the customer. Populated only if a CRM ID exists for this customer.
string correlation_id = 14 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getCorrelationIdin interfaceCustomerOrBuilder- Returns:
- The correlationId.
-
getCorrelationIdBytes
public com.google.protobuf.ByteString getCorrelationIdBytes()Optional. External CRM ID for the customer. Populated only if a CRM ID exists for this customer.
string correlation_id = 14 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getCorrelationIdBytesin interfaceCustomerOrBuilder- Returns:
- The bytes for correlationId.
-
setCorrelationId
Optional. External CRM ID for the customer. Populated only if a CRM ID exists for this customer.
string correlation_id = 14 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The correlationId to set.- Returns:
- This builder for chaining.
-
clearCorrelationId
Optional. External CRM ID for the customer. Populated only if a CRM ID exists for this customer.
string correlation_id = 14 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setCorrelationIdBytes
Optional. External CRM ID for the customer. Populated only if a CRM ID exists for this customer.
string correlation_id = 14 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for correlationId to set.- Returns:
- This builder for chaining.
-
getCustomerAttestationStateValue
public int getCustomerAttestationStateValue()Optional. Indicate if a customer is attesting about the correctness of provided information. Only required if creating a GCP Entitlement.
.google.cloud.channel.v1.Customer.CustomerAttestationState customer_attestation_state = 16 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getCustomerAttestationStateValuein interfaceCustomerOrBuilder- Returns:
- The enum numeric value on the wire for customerAttestationState.
-
setCustomerAttestationStateValue
Optional. Indicate if a customer is attesting about the correctness of provided information. Only required if creating a GCP Entitlement.
.google.cloud.channel.v1.Customer.CustomerAttestationState customer_attestation_state = 16 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The enum numeric value on the wire for customerAttestationState to set.- Returns:
- This builder for chaining.
-
getCustomerAttestationState
Optional. Indicate if a customer is attesting about the correctness of provided information. Only required if creating a GCP Entitlement.
.google.cloud.channel.v1.Customer.CustomerAttestationState customer_attestation_state = 16 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getCustomerAttestationStatein interfaceCustomerOrBuilder- Returns:
- The customerAttestationState.
-
setCustomerAttestationState
Optional. Indicate if a customer is attesting about the correctness of provided information. Only required if creating a GCP Entitlement.
.google.cloud.channel.v1.Customer.CustomerAttestationState customer_attestation_state = 16 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The customerAttestationState to set.- Returns:
- This builder for chaining.
-
clearCustomerAttestationState
Optional. Indicate if a customer is attesting about the correctness of provided information. Only required if creating a GCP Entitlement.
.google.cloud.channel.v1.Customer.CustomerAttestationState customer_attestation_state = 16 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-