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.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Customer
build()
Customer
buildPartial()
Customer.Builder
clear()
Customer.Builder
clearAlternateEmail()
Secondary contact email.Customer.Builder
clearChannelPartnerId()
Cloud Identity ID of the customer's channel partner.Customer.Builder
clearCloudIdentityId()
Output only.Customer.Builder
clearCloudIdentityInfo()
Output only.Customer.Builder
clearCorrelationId()
Optional.Customer.Builder
clearCreateTime()
Output only.Customer.Builder
clearDomain()
Required.Customer.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Customer.Builder
clearLanguageCode()
Optional.Customer.Builder
clearName()
Output only.Customer.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Customer.Builder
clearOrgDisplayName()
Required.Customer.Builder
clearOrgPostalAddress()
Required.Customer.Builder
clearPrimaryContactInfo()
Primary contact info.Customer.Builder
clearUpdateTime()
Output only.Customer.Builder
clone()
String
getAlternateEmail()
Secondary contact email.com.google.protobuf.ByteString
getAlternateEmailBytes()
Secondary contact email.String
getChannelPartnerId()
Cloud Identity ID of the customer's channel partner.com.google.protobuf.ByteString
getChannelPartnerIdBytes()
Cloud Identity ID of the customer's channel partner.String
getCloudIdentityId()
Output only.com.google.protobuf.ByteString
getCloudIdentityIdBytes()
Output only.CloudIdentityInfo
getCloudIdentityInfo()
Output only.CloudIdentityInfo.Builder
getCloudIdentityInfoBuilder()
Output only.CloudIdentityInfoOrBuilder
getCloudIdentityInfoOrBuilder()
Output only.String
getCorrelationId()
Optional.com.google.protobuf.ByteString
getCorrelationIdBytes()
Optional.com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.Timestamp.Builder
getCreateTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.Customer
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getDomain()
Required.com.google.protobuf.ByteString
getDomainBytes()
Required.String
getLanguageCode()
Optional.com.google.protobuf.ByteString
getLanguageCodeBytes()
Optional.String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.String
getOrgDisplayName()
Required.com.google.protobuf.ByteString
getOrgDisplayNameBytes()
Required.com.google.type.PostalAddress
getOrgPostalAddress()
Required.com.google.type.PostalAddress.Builder
getOrgPostalAddressBuilder()
Required.com.google.type.PostalAddressOrBuilder
getOrgPostalAddressOrBuilder()
Required.ContactInfo
getPrimaryContactInfo()
Primary contact info.ContactInfo.Builder
getPrimaryContactInfoBuilder()
Primary contact info.ContactInfoOrBuilder
getPrimaryContactInfoOrBuilder()
Primary contact info.com.google.protobuf.Timestamp
getUpdateTime()
Output only.com.google.protobuf.Timestamp.Builder
getUpdateTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
Output only.boolean
hasCloudIdentityInfo()
Output only.boolean
hasCreateTime()
Output only.boolean
hasOrgPostalAddress()
Required.boolean
hasPrimaryContactInfo()
Primary contact info.boolean
hasUpdateTime()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Customer.Builder
mergeCloudIdentityInfo(CloudIdentityInfo value)
Output only.Customer.Builder
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.Customer.Builder
mergeFrom(Customer other)
Customer.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Customer.Builder
mergeFrom(com.google.protobuf.Message other)
Customer.Builder
mergeOrgPostalAddress(com.google.type.PostalAddress value)
Required.Customer.Builder
mergePrimaryContactInfo(ContactInfo value)
Primary contact info.Customer.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Customer.Builder
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.Customer.Builder
setAlternateEmail(String value)
Secondary contact email.Customer.Builder
setAlternateEmailBytes(com.google.protobuf.ByteString value)
Secondary contact email.Customer.Builder
setChannelPartnerId(String value)
Cloud Identity ID of the customer's channel partner.Customer.Builder
setChannelPartnerIdBytes(com.google.protobuf.ByteString value)
Cloud Identity ID of the customer's channel partner.Customer.Builder
setCloudIdentityId(String value)
Output only.Customer.Builder
setCloudIdentityIdBytes(com.google.protobuf.ByteString value)
Output only.Customer.Builder
setCloudIdentityInfo(CloudIdentityInfo value)
Output only.Customer.Builder
setCloudIdentityInfo(CloudIdentityInfo.Builder builderForValue)
Output only.Customer.Builder
setCorrelationId(String value)
Optional.Customer.Builder
setCorrelationIdBytes(com.google.protobuf.ByteString value)
Optional.Customer.Builder
setCreateTime(com.google.protobuf.Timestamp value)
Output only.Customer.Builder
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.Customer.Builder
setDomain(String value)
Required.Customer.Builder
setDomainBytes(com.google.protobuf.ByteString value)
Required.Customer.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Customer.Builder
setLanguageCode(String value)
Optional.Customer.Builder
setLanguageCodeBytes(com.google.protobuf.ByteString value)
Optional.Customer.Builder
setName(String value)
Output only.Customer.Builder
setNameBytes(com.google.protobuf.ByteString value)
Output only.Customer.Builder
setOrgDisplayName(String value)
Required.Customer.Builder
setOrgDisplayNameBytes(com.google.protobuf.ByteString value)
Required.Customer.Builder
setOrgPostalAddress(com.google.type.PostalAddress value)
Required.Customer.Builder
setOrgPostalAddress(com.google.type.PostalAddress.Builder builderForValue)
Required.Customer.Builder
setPrimaryContactInfo(ContactInfo value)
Primary contact info.Customer.Builder
setPrimaryContactInfo(ContactInfo.Builder builderForValue)
Primary contact info.Customer.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Customer.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Customer.Builder
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.Customer.Builder
setUpdateTime(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Customer.Builder>
-
clear
public Customer.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Customer.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Customer.Builder>
-
getDefaultInstanceForType
public Customer getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Customer build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Customer buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Customer.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Customer.Builder>
-
setField
public Customer.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Customer.Builder>
-
clearField
public Customer.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Customer.Builder>
-
clearOneof
public Customer.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Customer.Builder>
-
setRepeatedField
public Customer.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Customer.Builder>
-
addRepeatedField
public Customer.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Customer.Builder>
-
mergeFrom
public Customer.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Customer.Builder>
-
mergeFrom
public Customer.Builder mergeFrom(Customer other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getName
in 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:
getNameBytes
in 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:
getOrgDisplayName
in 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:
getOrgDisplayNameBytes
in 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:
hasOrgPostalAddress
in 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:
getOrgPostalAddress
in 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:
getOrgPostalAddressOrBuilder
in interfaceCustomerOrBuilder
-
hasPrimaryContactInfo
public boolean hasPrimaryContactInfo()
Primary contact info.
.google.cloud.channel.v1.ContactInfo primary_contact_info = 4;
- Specified by:
hasPrimaryContactInfo
in 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:
getPrimaryContactInfo
in 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:
getPrimaryContactInfoOrBuilder
in 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:
getAlternateEmail
in 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:
getAlternateEmailBytes
in 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:
getDomain
in 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:
getDomainBytes
in 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:
hasCreateTime
in 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:
getCreateTime
in 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:
getCreateTimeOrBuilder
in 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:
hasUpdateTime
in 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:
getUpdateTime
in 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:
getUpdateTimeOrBuilder
in 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:
getCloudIdentityId
in 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:
getCloudIdentityIdBytes
in 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:
getLanguageCode
in 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:
getLanguageCodeBytes
in 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:
hasCloudIdentityInfo
in 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:
getCloudIdentityInfo
in 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:
getCloudIdentityInfoOrBuilder
in 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:
getChannelPartnerId
in 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:
getChannelPartnerIdBytes
in 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:
getCorrelationId
in 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:
getCorrelationIdBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Customer.Builder>
-
mergeUnknownFields
public final Customer.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Customer.Builder>
-
-