public final class Customer extends GeneratedMessageV3 implements CustomerOrBuilder
Entity representing a customer of a reseller or distributor.
Protobuf type google.cloud.channel.v1.Customer
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ALTERNATE_EMAIL_FIELD_NUMBER
public static final int ALTERNATE_EMAIL_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
CHANNEL_PARTNER_ID_FIELD_NUMBER
public static final int CHANNEL_PARTNER_ID_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
CLOUD_IDENTITY_ID_FIELD_NUMBER
public static final int CLOUD_IDENTITY_ID_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
CLOUD_IDENTITY_INFO_FIELD_NUMBER
public static final int CLOUD_IDENTITY_INFO_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
CORRELATION_ID_FIELD_NUMBER
public static final int CORRELATION_ID_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
DOMAIN_FIELD_NUMBER
public static final int DOMAIN_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
LANGUAGE_CODE_FIELD_NUMBER
public static final int LANGUAGE_CODE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
ORG_DISPLAY_NAME_FIELD_NUMBER
public static final int ORG_DISPLAY_NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
ORG_POSTAL_ADDRESS_FIELD_NUMBER
public static final int ORG_POSTAL_ADDRESS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int PRIMARY_CONTACT_INFO_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Customer getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Customer.Builder newBuilder()
newBuilder(Customer prototype)
public static Customer.Builder newBuilder(Customer prototype)
Parameter |
Name |
Description |
prototype |
Customer
|
public static Customer parseDelimitedFrom(InputStream input)
public static Customer parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Customer parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Customer parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Customer parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Customer parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Customer parseFrom(CodedInputStream input)
public static Customer parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Customer parseFrom(InputStream input)
public static Customer parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Customer parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Customer parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Customer> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getAlternateEmail()
public String getAlternateEmail()
Secondary contact email. You need to provide an alternate email to create
different domains if a primary contact email already exists. Users will
receive a notification with credentials when you create an admin.google.com
account. Secondary emails are also recovery email addresses. Alternate
emails are optional when you create Team customers.
string alternate_email = 5;
Returns |
Type |
Description |
String |
The alternateEmail.
|
getAlternateEmailBytes()
public ByteString getAlternateEmailBytes()
Secondary contact email. You need to provide an alternate email to create
different domains if a primary contact email already exists. Users will
receive a notification with credentials when you create an admin.google.com
account. Secondary emails are also recovery email addresses. Alternate
emails are optional when you create Team customers.
string alternate_email = 5;
Returns |
Type |
Description |
ByteString |
The bytes for alternateEmail.
|
getChannelPartnerId()
public String getChannelPartnerId()
Cloud Identity ID of the customer's channel partner.
Populated only if a channel partner exists for this customer.
string channel_partner_id = 13;
Returns |
Type |
Description |
String |
The channelPartnerId.
|
getChannelPartnerIdBytes()
public ByteString getChannelPartnerIdBytes()
Cloud Identity ID of the customer's channel partner.
Populated only if a channel partner exists for this customer.
string channel_partner_id = 13;
Returns |
Type |
Description |
ByteString |
The bytes for channelPartnerId.
|
getCloudIdentityId()
public String getCloudIdentityId()
Output only. The customer's Cloud Identity ID if the customer has a Cloud
Identity resource.
string cloud_identity_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
String |
The cloudIdentityId.
|
getCloudIdentityIdBytes()
public ByteString getCloudIdentityIdBytes()
Output only. The customer's Cloud Identity ID if the customer has a Cloud
Identity resource.
string cloud_identity_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
ByteString |
The bytes for cloudIdentityId.
|
getCloudIdentityInfo()
public CloudIdentityInfo getCloudIdentityInfo()
Output only. Cloud Identity information for the customer.
Populated only if a Cloud Identity account exists for this customer.
.google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
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];
getCorrelationId()
public String getCorrelationId()
Optional. External CRM ID for the customer.
Populated only if a CRM ID exists for this customer.
string correlation_id = 14 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The correlationId.
|
getCorrelationIdBytes()
public ByteString getCorrelationIdBytes()
Optional. External CRM ID for the customer.
Populated only if a CRM ID exists for this customer.
string correlation_id = 14 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ByteString |
The bytes for correlationId.
|
getCreateTime()
public Timestamp getCreateTime()
Output only. Time when the customer was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
Timestamp |
The createTime.
|
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Time when the customer was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDefaultInstanceForType()
public Customer getDefaultInstanceForType()
getDomain()
public String getDomain()
Required. The customer's primary domain. Must match the primary contact
email's domain.
string domain = 6 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
String |
The domain.
|
getDomainBytes()
public ByteString getDomainBytes()
Required. The customer's primary domain. Must match the primary contact
email's domain.
string domain = 6 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
ByteString |
The bytes for domain.
|
getLanguageCode()
public String getLanguageCode()
Returns |
Type |
Description |
String |
The languageCode.
|
getLanguageCodeBytes()
public ByteString getLanguageCodeBytes()
Returns |
Type |
Description |
ByteString |
The bytes for languageCode.
|
getName()
Output only. Resource name of the customer.
Format: accounts/{account_id}/customers/{customer_id}
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
String |
The name.
|
getNameBytes()
public ByteString getNameBytes()
Output only. Resource name of the customer.
Format: accounts/{account_id}/customers/{customer_id}
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
ByteString |
The bytes for name.
|
getOrgDisplayName()
public String getOrgDisplayName()
Required. Name of the organization that the customer entity represents.
string org_display_name = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
String |
The orgDisplayName.
|
getOrgDisplayNameBytes()
public ByteString getOrgDisplayNameBytes()
Required. Name of the organization that the customer entity represents.
string org_display_name = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
ByteString |
The bytes for orgDisplayName.
|
getOrgPostalAddress()
public PostalAddress getOrgPostalAddress()
Required. The organization address for the customer. To enforce US laws and
embargoes, we require a region, postal code, and address lines. You must
provide valid addresses for every customer. To set the customer's
language, use the Customer-level language code.
.google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
com.google.type.PostalAddress |
The orgPostalAddress.
|
getOrgPostalAddressOrBuilder()
public PostalAddressOrBuilder getOrgPostalAddressOrBuilder()
Required. The organization address for the customer. To enforce US laws and
embargoes, we require a region, postal code, and address lines. You must
provide valid addresses for every customer. To set the customer's
language, use the Customer-level language code.
.google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
com.google.type.PostalAddressOrBuilder |
|
getParserForType()
public Parser<Customer> getParserForType()
Overrides
public ContactInfo getPrimaryContactInfo()
Primary contact info.
.google.cloud.channel.v1.ContactInfo primary_contact_info = 4;
Returns |
Type |
Description |
ContactInfo |
The primaryContactInfo.
|
public ContactInfoOrBuilder getPrimaryContactInfoOrBuilder()
Primary contact info.
.google.cloud.channel.v1.ContactInfo primary_contact_info = 4;
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getUpdateTime()
public Timestamp getUpdateTime()
Output only. Time when the customer was updated.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
Timestamp |
The updateTime.
|
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Time when the customer was updated.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCloudIdentityInfo()
public boolean hasCloudIdentityInfo()
Output only. Cloud Identity information for the customer.
Populated only if a Cloud Identity account exists for this customer.
.google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the cloudIdentityInfo field is set.
|
hasCreateTime()
public boolean hasCreateTime()
Output only. Time when the customer was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the createTime field is set.
|
hasOrgPostalAddress()
public boolean hasOrgPostalAddress()
Required. The organization address for the customer. To enforce US laws and
embargoes, we require a region, postal code, and address lines. You must
provide valid addresses for every customer. To set the customer's
language, use the Customer-level language code.
.google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the orgPostalAddress field is set.
|
public boolean hasPrimaryContactInfo()
Primary contact info.
.google.cloud.channel.v1.ContactInfo primary_contact_info = 4;
Returns |
Type |
Description |
boolean |
Whether the primaryContactInfo field is set.
|
hasUpdateTime()
public boolean hasUpdateTime()
Output only. Time when the customer was updated.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the updateTime field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Customer.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Customer.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public Customer.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides