public final class Customer extends GeneratedMessageV3 implements CustomerOrBuilder
Entity representing a customer of a reseller or distributor.
Protobuf type google.cloud.channel.v1.Customer
Fields
ALTERNATE_EMAIL_FIELD_NUMBER
public static final int ALTERNATE_EMAIL_FIELD_NUMBER
Field Value
CHANNEL_PARTNER_ID_FIELD_NUMBER
public static final int CHANNEL_PARTNER_ID_FIELD_NUMBER
Field Value
CLOUD_IDENTITY_ID_FIELD_NUMBER
public static final int CLOUD_IDENTITY_ID_FIELD_NUMBER
Field Value
CLOUD_IDENTITY_INFO_FIELD_NUMBER
public static final int CLOUD_IDENTITY_INFO_FIELD_NUMBER
Field Value
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
Field Value
DOMAIN_FIELD_NUMBER
public static final int DOMAIN_FIELD_NUMBER
Field Value
LANGUAGE_CODE_FIELD_NUMBER
public static final int LANGUAGE_CODE_FIELD_NUMBER
Field Value
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
ORG_DISPLAY_NAME_FIELD_NUMBER
public static final int ORG_DISPLAY_NAME_FIELD_NUMBER
Field Value
ORG_POSTAL_ADDRESS_FIELD_NUMBER
public static final int ORG_POSTAL_ADDRESS_FIELD_NUMBER
Field Value
public static final int PRIMARY_CONTACT_INFO_FIELD_NUMBER
Field Value
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
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];
Returns
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];
Returns
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
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Time when the customer was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getDefaultInstance()
public static Customer getDefaultInstance()
Returns
getDefaultInstanceForType()
public Customer getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
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
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
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 and zip code. You must provide valid
addresses for every customer. To set the customer's language, use the
Customer-level language code.
.google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED];
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 and zip code. You must provide valid
addresses for every customer. To set the customer's language, use the
Customer-level language code.
.google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
com.google.type.PostalAddressOrBuilder | |
getParserForType()
public Parser<Customer> getParserForType()
Returns
Overrides
public ContactInfo getPrimaryContactInfo()
Primary contact info.
.google.cloud.channel.v1.ContactInfo primary_contact_info = 4;
Returns
public ContactInfoOrBuilder getPrimaryContactInfoOrBuilder()
Primary contact info.
.google.cloud.channel.v1.ContactInfo primary_contact_info = 4;
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
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
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Time when the customer was updated.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
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 and zip code. You must provide valid
addresses for every customer. To set the customer's language, use the
Customer-level language code.
.google.type.PostalAddress org_postal_address = 3 [(.google.api.field_behavior) = REQUIRED];
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
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilder()
public static Customer.Builder newBuilder()
Returns
newBuilder(Customer prototype)
public static Customer.Builder newBuilder(Customer prototype)
Parameter
Returns
newBuilderForType()
public Customer.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Customer.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static Customer parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Customer parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Customer parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Customer parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Customer parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Customer parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Customer parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Customer parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Customer parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Customer parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Customer parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Customer parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Customer> parser()
Returns
toBuilder()
public Customer.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions