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.GeneratedMessageV3.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.GeneratedMessageV3.Builder<Customer.Builder> implements CustomerOrBuilder
Entity representing a customer of a reseller or distributor.
Protobuf typegoogle.cloud.channel.v1.Customer
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Customer.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Customerbuild()CustomerbuildPartial()Customer.Builderclear()Customer.BuilderclearAlternateEmail()Secondary contact email.Customer.BuilderclearChannelPartnerId()Cloud Identity ID of the customer's channel partner.Customer.BuilderclearCloudIdentityId()Output only.Customer.BuilderclearCloudIdentityInfo()Output only.Customer.BuilderclearCorrelationId()Optional.Customer.BuilderclearCreateTime()Output only.Customer.BuilderclearDomain()Required.Customer.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Customer.BuilderclearLanguageCode()Optional.Customer.BuilderclearName()Output only.Customer.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Customer.BuilderclearOrgDisplayName()Required.Customer.BuilderclearOrgPostalAddress()Required.Customer.BuilderclearPrimaryContactInfo()Primary contact info.Customer.BuilderclearUpdateTime()Output only.Customer.Builderclone()StringgetAlternateEmail()Secondary contact email.com.google.protobuf.ByteStringgetAlternateEmailBytes()Secondary contact email.StringgetChannelPartnerId()Cloud Identity ID of the customer's channel partner.com.google.protobuf.ByteStringgetChannelPartnerIdBytes()Cloud Identity ID of the customer's channel partner.StringgetCloudIdentityId()Output only.com.google.protobuf.ByteStringgetCloudIdentityIdBytes()Output only.CloudIdentityInfogetCloudIdentityInfo()Output only.CloudIdentityInfo.BuildergetCloudIdentityInfoBuilder()Output only.CloudIdentityInfoOrBuildergetCloudIdentityInfoOrBuilder()Output only.StringgetCorrelationId()Optional.com.google.protobuf.ByteStringgetCorrelationIdBytes()Optional.com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.Timestamp.BuildergetCreateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.CustomergetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetDomain()Required.com.google.protobuf.ByteStringgetDomainBytes()Required.StringgetLanguageCode()Optional.com.google.protobuf.ByteStringgetLanguageCodeBytes()Optional.StringgetName()Output only.com.google.protobuf.ByteStringgetNameBytes()Output only.StringgetOrgDisplayName()Required.com.google.protobuf.ByteStringgetOrgDisplayNameBytes()Required.com.google.type.PostalAddressgetOrgPostalAddress()Required.com.google.type.PostalAddress.BuildergetOrgPostalAddressBuilder()Required.com.google.type.PostalAddressOrBuildergetOrgPostalAddressOrBuilder()Required.ContactInfogetPrimaryContactInfo()Primary contact info.ContactInfo.BuildergetPrimaryContactInfoBuilder()Primary contact info.ContactInfoOrBuildergetPrimaryContactInfoOrBuilder()Primary contact info.com.google.protobuf.TimestampgetUpdateTime()Output only.com.google.protobuf.Timestamp.BuildergetUpdateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()Output only.booleanhasCloudIdentityInfo()Output only.booleanhasCreateTime()Output only.booleanhasOrgPostalAddress()Required.booleanhasPrimaryContactInfo()Primary contact info.booleanhasUpdateTime()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Customer.BuildermergeCloudIdentityInfo(CloudIdentityInfo value)Output only.Customer.BuildermergeCreateTime(com.google.protobuf.Timestamp value)Output only.Customer.BuildermergeFrom(Customer other)Customer.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Customer.BuildermergeFrom(com.google.protobuf.Message other)Customer.BuildermergeOrgPostalAddress(com.google.type.PostalAddress value)Required.Customer.BuildermergePrimaryContactInfo(ContactInfo value)Primary contact info.Customer.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Customer.BuildermergeUpdateTime(com.google.protobuf.Timestamp value)Output only.Customer.BuildersetAlternateEmail(String value)Secondary contact email.Customer.BuildersetAlternateEmailBytes(com.google.protobuf.ByteString value)Secondary contact email.Customer.BuildersetChannelPartnerId(String value)Cloud Identity ID of the customer's channel partner.Customer.BuildersetChannelPartnerIdBytes(com.google.protobuf.ByteString value)Cloud Identity ID of the customer's channel partner.Customer.BuildersetCloudIdentityId(String value)Output only.Customer.BuildersetCloudIdentityIdBytes(com.google.protobuf.ByteString value)Output only.Customer.BuildersetCloudIdentityInfo(CloudIdentityInfo value)Output only.Customer.BuildersetCloudIdentityInfo(CloudIdentityInfo.Builder builderForValue)Output only.Customer.BuildersetCorrelationId(String value)Optional.Customer.BuildersetCorrelationIdBytes(com.google.protobuf.ByteString value)Optional.Customer.BuildersetCreateTime(com.google.protobuf.Timestamp value)Output only.Customer.BuildersetCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.Customer.BuildersetDomain(String value)Required.Customer.BuildersetDomainBytes(com.google.protobuf.ByteString value)Required.Customer.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Customer.BuildersetLanguageCode(String value)Optional.Customer.BuildersetLanguageCodeBytes(com.google.protobuf.ByteString value)Optional.Customer.BuildersetName(String value)Output only.Customer.BuildersetNameBytes(com.google.protobuf.ByteString value)Output only.Customer.BuildersetOrgDisplayName(String value)Required.Customer.BuildersetOrgDisplayNameBytes(com.google.protobuf.ByteString value)Required.Customer.BuildersetOrgPostalAddress(com.google.type.PostalAddress value)Required.Customer.BuildersetOrgPostalAddress(com.google.type.PostalAddress.Builder builderForValue)Required.Customer.BuildersetPrimaryContactInfo(ContactInfo value)Primary contact info.Customer.BuildersetPrimaryContactInfo(ContactInfo.Builder builderForValue)Primary contact info.Customer.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Customer.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Customer.BuildersetUpdateTime(com.google.protobuf.Timestamp value)Output only.Customer.BuildersetUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Customer.Builder>
-
clear
public Customer.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<Customer.Builder>
-
getDefaultInstanceForType
public Customer getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Customer build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Customer buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Customer.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Customer.Builder>
-
setField
public Customer.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Customer.Builder>
-
clearField
public Customer.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Customer.Builder>
-
clearOneof
public Customer.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Customer.Builder>
-
setRepeatedField
public Customer.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Customer.Builder>
-
addRepeatedField
public Customer.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Customer.Builder>
-
mergeFrom
public Customer.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Customer.Builder>
-
mergeFrom
public Customer.Builder mergeFrom(Customer other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.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
public String getName()
Output only. Resource name of the customer. Format: accounts/{account_id}/customers/{customer_id}string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
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
public Customer.Builder setName(String value)
Output only. Resource name of the customer. Format: accounts/{account_id}/customers/{customer_id}string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public Customer.Builder clearName()
Output only. Resource name of the customer. Format: accounts/{account_id}/customers/{customer_id}string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setNameBytes
public Customer.Builder setNameBytes(com.google.protobuf.ByteString value)
Output only. Resource name of the customer. Format: accounts/{account_id}/customers/{customer_id}string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getOrgDisplayName
public String getOrgDisplayName()
Required. Name of the organization that the customer entity represents.
string org_display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
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
public Customer.Builder setOrgDisplayName(String value)
Required. Name of the organization that the customer entity represents.
string org_display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The orgDisplayName to set.- Returns:
- This builder for chaining.
-
clearOrgDisplayName
public Customer.Builder clearOrgDisplayName()
Required. Name of the organization that the customer entity represents.
string org_display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setOrgDisplayNameBytes
public Customer.Builder setOrgDisplayNameBytes(com.google.protobuf.ByteString value)
Required. Name of the organization that the customer entity represents.
string org_display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for orgDisplayName to set.- Returns:
- This builder for chaining.
-
hasOrgPostalAddress
public boolean hasOrgPostalAddress()
Required. The organization address for the customer. To enforce US laws and embargoes, we require a region, postal code, and address lines. You must provide valid addresses for every customer. To set the customer's language, use the Customer-level language code.
.google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasOrgPostalAddressin interfaceCustomerOrBuilder- Returns:
- Whether the orgPostalAddress field is set.
-
getOrgPostalAddress
public com.google.type.PostalAddress getOrgPostalAddress()
Required. The organization address for the customer. To enforce US laws and embargoes, we require a region, postal code, and address lines. You must provide valid addresses for every customer. To set the customer's language, use the Customer-level language code.
.google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getOrgPostalAddressin interfaceCustomerOrBuilder- Returns:
- The orgPostalAddress.
-
setOrgPostalAddress
public Customer.Builder setOrgPostalAddress(com.google.type.PostalAddress value)
Required. The organization address for the customer. To enforce US laws and embargoes, we require a region, postal code, and address lines. You must provide valid addresses for every customer. To set the customer's language, use the Customer-level language code.
.google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED];
-
setOrgPostalAddress
public Customer.Builder setOrgPostalAddress(com.google.type.PostalAddress.Builder builderForValue)
Required. The organization address for the customer. To enforce US laws and embargoes, we require a region, postal code, and address lines. You must provide valid addresses for every customer. To set the customer's language, use the Customer-level language code.
.google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED];
-
mergeOrgPostalAddress
public Customer.Builder mergeOrgPostalAddress(com.google.type.PostalAddress value)
Required. The organization address for the customer. To enforce US laws and embargoes, we require a region, postal code, and address lines. You must provide valid addresses for every customer. To set the customer's language, use the Customer-level language code.
.google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED];
-
clearOrgPostalAddress
public Customer.Builder clearOrgPostalAddress()
Required. The organization address for the customer. To enforce US laws and embargoes, we require a region, postal code, and address lines. You must provide valid addresses for every customer. To set the customer's language, use the Customer-level language code.
.google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED];
-
getOrgPostalAddressBuilder
public com.google.type.PostalAddress.Builder getOrgPostalAddressBuilder()
Required. The organization address for the customer. To enforce US laws and embargoes, we require a region, postal code, and address lines. You must provide valid addresses for every customer. To set the customer's language, use the Customer-level language code.
.google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED];
-
getOrgPostalAddressOrBuilder
public com.google.type.PostalAddressOrBuilder getOrgPostalAddressOrBuilder()
Required. The organization address for the customer. To enforce US laws and embargoes, we require a region, postal code, and address lines. You must provide valid addresses for every customer. To set the customer's language, use the Customer-level language code.
.google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
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
public ContactInfo getPrimaryContactInfo()
Primary contact info.
.google.cloud.channel.v1.ContactInfo primary_contact_info = 4;- Specified by:
getPrimaryContactInfoin interfaceCustomerOrBuilder- Returns:
- The primaryContactInfo.
-
setPrimaryContactInfo
public Customer.Builder setPrimaryContactInfo(ContactInfo value)
Primary contact info.
.google.cloud.channel.v1.ContactInfo primary_contact_info = 4;
-
setPrimaryContactInfo
public Customer.Builder setPrimaryContactInfo(ContactInfo.Builder builderForValue)
Primary contact info.
.google.cloud.channel.v1.ContactInfo primary_contact_info = 4;
-
mergePrimaryContactInfo
public Customer.Builder mergePrimaryContactInfo(ContactInfo value)
Primary contact info.
.google.cloud.channel.v1.ContactInfo primary_contact_info = 4;
-
clearPrimaryContactInfo
public Customer.Builder clearPrimaryContactInfo()
Primary contact info.
.google.cloud.channel.v1.ContactInfo primary_contact_info = 4;
-
getPrimaryContactInfoBuilder
public ContactInfo.Builder getPrimaryContactInfoBuilder()
Primary contact info.
.google.cloud.channel.v1.ContactInfo primary_contact_info = 4;
-
getPrimaryContactInfoOrBuilder
public ContactInfoOrBuilder getPrimaryContactInfoOrBuilder()
Primary contact info.
.google.cloud.channel.v1.ContactInfo primary_contact_info = 4;- Specified by:
getPrimaryContactInfoOrBuilderin interfaceCustomerOrBuilder
-
getAlternateEmail
public String getAlternateEmail()
Secondary contact email. You need to provide an alternate email to create different domains if a primary contact email already exists. Users will receive a notification with credentials when you create an admin.google.com account. Secondary emails are also recovery email addresses. Alternate emails are optional when you create Team customers.
string alternate_email = 5;- Specified by:
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
public Customer.Builder setAlternateEmail(String value)
Secondary contact email. You need to provide an alternate email to create different domains if a primary contact email already exists. Users will receive a notification with credentials when you create an admin.google.com account. Secondary emails are also recovery email addresses. Alternate emails are optional when you create Team customers.
string alternate_email = 5;- Parameters:
value- The alternateEmail to set.- Returns:
- This builder for chaining.
-
clearAlternateEmail
public Customer.Builder clearAlternateEmail()
Secondary contact email. You need to provide an alternate email to create different domains if a primary contact email already exists. Users will receive a notification with credentials when you create an admin.google.com account. Secondary emails are also recovery email addresses. Alternate emails are optional when you create Team customers.
string alternate_email = 5;- Returns:
- This builder for chaining.
-
setAlternateEmailBytes
public Customer.Builder setAlternateEmailBytes(com.google.protobuf.ByteString value)
Secondary contact email. You need to provide an alternate email to create different domains if a primary contact email already exists. Users will receive a notification with credentials when you create an admin.google.com account. Secondary emails are also recovery email addresses. Alternate emails are optional when you create Team customers.
string alternate_email = 5;- Parameters:
value- The bytes for alternateEmail to set.- Returns:
- This builder for chaining.
-
getDomain
public String getDomain()
Required. The customer's primary domain. Must match the primary contact email's domain.
string domain = 6 [(.google.api.field_behavior) = REQUIRED];- Specified by:
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
public Customer.Builder setDomain(String value)
Required. The customer's primary domain. Must match the primary contact email's domain.
string domain = 6 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The domain to set.- Returns:
- This builder for chaining.
-
clearDomain
public Customer.Builder clearDomain()
Required. The customer's primary domain. Must match the primary contact email's domain.
string domain = 6 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setDomainBytes
public Customer.Builder setDomainBytes(com.google.protobuf.ByteString value)
Required. The customer's primary domain. Must match the primary contact email's domain.
string domain = 6 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for domain to set.- Returns:
- This builder for chaining.
-
hasCreateTime
public boolean hasCreateTime()
Output only. Time when the customer was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
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
public Customer.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. Time when the customer was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setCreateTime
public Customer.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Time when the customer was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeCreateTime
public Customer.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. Time when the customer was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearCreateTime
public Customer.Builder clearCreateTime()
Output only. Time when the customer was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. Time when the customer was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Time when the customer was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
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
public Customer.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. Time when the customer was updated.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setUpdateTime
public Customer.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Time when the customer was updated.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeUpdateTime
public Customer.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. Time when the customer was updated.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearUpdateTime
public Customer.Builder clearUpdateTime()
Output only. Time when the customer was updated.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
Output only. Time when the customer was updated.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Time when the customer was updated.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceCustomerOrBuilder
-
getCloudIdentityId
public String getCloudIdentityId()
Output only. The customer's Cloud Identity ID if the customer has a Cloud Identity resource.
string cloud_identity_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
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
public Customer.Builder setCloudIdentityId(String value)
Output only. The customer's Cloud Identity ID if the customer has a Cloud Identity resource.
string cloud_identity_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The cloudIdentityId to set.- Returns:
- This builder for chaining.
-
clearCloudIdentityId
public Customer.Builder clearCloudIdentityId()
Output only. The customer's Cloud Identity ID if the customer has a Cloud Identity resource.
string cloud_identity_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setCloudIdentityIdBytes
public Customer.Builder setCloudIdentityIdBytes(com.google.protobuf.ByteString value)
Output only. The customer's Cloud Identity ID if the customer has a Cloud Identity resource.
string cloud_identity_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for cloudIdentityId to set.- Returns:
- This builder for chaining.
-
getLanguageCode
public String getLanguageCode()
Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
string language_code = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
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
public Customer.Builder setLanguageCode(String value)
Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
string language_code = 10 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The languageCode to set.- Returns:
- This builder for chaining.
-
clearLanguageCode
public Customer.Builder clearLanguageCode()
Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
string language_code = 10 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setLanguageCodeBytes
public Customer.Builder setLanguageCodeBytes(com.google.protobuf.ByteString value)
Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
string language_code = 10 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for languageCode to set.- Returns:
- This builder for chaining.
-
hasCloudIdentityInfo
public boolean hasCloudIdentityInfo()
Output only. Cloud Identity information for the customer. Populated only if a Cloud Identity account exists for this customer.
.google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCloudIdentityInfoin interfaceCustomerOrBuilder- Returns:
- Whether the cloudIdentityInfo field is set.
-
getCloudIdentityInfo
public CloudIdentityInfo getCloudIdentityInfo()
Output only. Cloud Identity information for the customer. Populated only if a Cloud Identity account exists for this customer.
.google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCloudIdentityInfoin interfaceCustomerOrBuilder- Returns:
- The cloudIdentityInfo.
-
setCloudIdentityInfo
public Customer.Builder setCloudIdentityInfo(CloudIdentityInfo value)
Output only. Cloud Identity information for the customer. Populated only if a Cloud Identity account exists for this customer.
.google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setCloudIdentityInfo
public Customer.Builder setCloudIdentityInfo(CloudIdentityInfo.Builder builderForValue)
Output only. Cloud Identity information for the customer. Populated only if a Cloud Identity account exists for this customer.
.google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeCloudIdentityInfo
public Customer.Builder mergeCloudIdentityInfo(CloudIdentityInfo value)
Output only. Cloud Identity information for the customer. Populated only if a Cloud Identity account exists for this customer.
.google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearCloudIdentityInfo
public Customer.Builder clearCloudIdentityInfo()
Output only. Cloud Identity information for the customer. Populated only if a Cloud Identity account exists for this customer.
.google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCloudIdentityInfoBuilder
public CloudIdentityInfo.Builder getCloudIdentityInfoBuilder()
Output only. Cloud Identity information for the customer. Populated only if a Cloud Identity account exists for this customer.
.google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCloudIdentityInfoOrBuilder
public CloudIdentityInfoOrBuilder getCloudIdentityInfoOrBuilder()
Output only. Cloud Identity information for the customer. Populated only if a Cloud Identity account exists for this customer.
.google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCloudIdentityInfoOrBuilderin interfaceCustomerOrBuilder
-
getChannelPartnerId
public String getChannelPartnerId()
Cloud Identity ID of the customer's channel partner. Populated only if a channel partner exists for this customer.
string channel_partner_id = 13;- Specified by:
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
public Customer.Builder setChannelPartnerId(String value)
Cloud Identity ID of the customer's channel partner. Populated only if a channel partner exists for this customer.
string channel_partner_id = 13;- Parameters:
value- The channelPartnerId to set.- Returns:
- This builder for chaining.
-
clearChannelPartnerId
public Customer.Builder clearChannelPartnerId()
Cloud Identity ID of the customer's channel partner. Populated only if a channel partner exists for this customer.
string channel_partner_id = 13;- Returns:
- This builder for chaining.
-
setChannelPartnerIdBytes
public Customer.Builder setChannelPartnerIdBytes(com.google.protobuf.ByteString value)
Cloud Identity ID of the customer's channel partner. Populated only if a channel partner exists for this customer.
string channel_partner_id = 13;- Parameters:
value- The bytes for channelPartnerId to set.- Returns:
- This builder for chaining.
-
getCorrelationId
public String getCorrelationId()
Optional. External CRM ID for the customer. Populated only if a CRM ID exists for this customer.
string correlation_id = 14 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
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
public Customer.Builder setCorrelationId(String value)
Optional. External CRM ID for the customer. Populated only if a CRM ID exists for this customer.
string correlation_id = 14 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The correlationId to set.- Returns:
- This builder for chaining.
-
clearCorrelationId
public Customer.Builder clearCorrelationId()
Optional. External CRM ID for the customer. Populated only if a CRM ID exists for this customer.
string correlation_id = 14 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setCorrelationIdBytes
public Customer.Builder setCorrelationIdBytes(com.google.protobuf.ByteString value)
Optional. External CRM ID for the customer. Populated only if a CRM ID exists for this customer.
string correlation_id = 14 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for correlationId to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Customer.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Customer.Builder>
-
mergeUnknownFields
public final Customer.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Customer.Builder>
-
-