public static final class CloudIdentityCustomerAccount.Builder extends GeneratedMessage.Builder<CloudIdentityCustomerAccount.Builder> implements CloudIdentityCustomerAccountOrBuilderEntity representing a Cloud Identity account that may be associated with a Channel Services API partner.
Protobuf type google.cloud.channel.v1.CloudIdentityCustomerAccount
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CloudIdentityCustomerAccount.BuilderImplements
CloudIdentityCustomerAccountOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CloudIdentityCustomerAccount build()| Returns | |
|---|---|
| Type | Description |
CloudIdentityCustomerAccount |
|
buildPartial()
public CloudIdentityCustomerAccount buildPartial()| Returns | |
|---|---|
| Type | Description |
CloudIdentityCustomerAccount |
|
clear()
public CloudIdentityCustomerAccount.Builder clear()| Returns | |
|---|---|
| Type | Description |
CloudIdentityCustomerAccount.Builder |
|
clearChannelPartnerCloudIdentityId()
public CloudIdentityCustomerAccount.Builder clearChannelPartnerCloudIdentityId()If existing = true, and is 2-tier customer, the channel partner of the customer.
string channel_partner_cloud_identity_id = 6;
| Returns | |
|---|---|
| Type | Description |
CloudIdentityCustomerAccount.Builder |
This builder for chaining. |
clearCustomerCloudIdentityId()
public CloudIdentityCustomerAccount.Builder clearCustomerCloudIdentityId()If existing = true, the Cloud Identity ID of the customer.
string customer_cloud_identity_id = 4;
| Returns | |
|---|---|
| Type | Description |
CloudIdentityCustomerAccount.Builder |
This builder for chaining. |
clearCustomerName()
public CloudIdentityCustomerAccount.Builder clearCustomerName()If owned = true, the name of the customer that owns the Cloud Identity account. Customer_name uses the format: accounts/{account_id}/customers/{customer_id}
string customer_name = 3;
| Returns | |
|---|---|
| Type | Description |
CloudIdentityCustomerAccount.Builder |
This builder for chaining. |
clearCustomerType()
public CloudIdentityCustomerAccount.Builder clearCustomerType()If existing = true, the type of the customer.
.google.cloud.channel.v1.CloudIdentityInfo.CustomerType customer_type = 5;
| Returns | |
|---|---|
| Type | Description |
CloudIdentityCustomerAccount.Builder |
This builder for chaining. |
clearExisting()
public CloudIdentityCustomerAccount.Builder clearExisting()Returns true if a Cloud Identity account exists for a specific domain.
bool existing = 1;
| Returns | |
|---|---|
| Type | Description |
CloudIdentityCustomerAccount.Builder |
This builder for chaining. |
clearOwned()
public CloudIdentityCustomerAccount.Builder clearOwned()Returns true if the Cloud Identity account is associated with a customer of the Channel Services partner (with active subscriptions or purchase consents).
bool owned = 2;
| Returns | |
|---|---|
| Type | Description |
CloudIdentityCustomerAccount.Builder |
This builder for chaining. |
getChannelPartnerCloudIdentityId()
public String getChannelPartnerCloudIdentityId()If existing = true, and is 2-tier customer, the channel partner of the customer.
string channel_partner_cloud_identity_id = 6;
| Returns | |
|---|---|
| Type | Description |
String |
The channelPartnerCloudIdentityId. |
getChannelPartnerCloudIdentityIdBytes()
public ByteString getChannelPartnerCloudIdentityIdBytes()If existing = true, and is 2-tier customer, the channel partner of the customer.
string channel_partner_cloud_identity_id = 6;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for channelPartnerCloudIdentityId. |
getCustomerCloudIdentityId()
public String getCustomerCloudIdentityId()If existing = true, the Cloud Identity ID of the customer.
string customer_cloud_identity_id = 4;
| Returns | |
|---|---|
| Type | Description |
String |
The customerCloudIdentityId. |
getCustomerCloudIdentityIdBytes()
public ByteString getCustomerCloudIdentityIdBytes()If existing = true, the Cloud Identity ID of the customer.
string customer_cloud_identity_id = 4;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for customerCloudIdentityId. |
getCustomerName()
public String getCustomerName()If owned = true, the name of the customer that owns the Cloud Identity account. Customer_name uses the format: accounts/{account_id}/customers/{customer_id}
string customer_name = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The customerName. |
getCustomerNameBytes()
public ByteString getCustomerNameBytes()If owned = true, the name of the customer that owns the Cloud Identity account. Customer_name uses the format: accounts/{account_id}/customers/{customer_id}
string customer_name = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for customerName. |
getCustomerType()
public CloudIdentityInfo.CustomerType getCustomerType()If existing = true, the type of the customer.
.google.cloud.channel.v1.CloudIdentityInfo.CustomerType customer_type = 5;
| Returns | |
|---|---|
| Type | Description |
CloudIdentityInfo.CustomerType |
The customerType. |
getCustomerTypeValue()
public int getCustomerTypeValue()If existing = true, the type of the customer.
.google.cloud.channel.v1.CloudIdentityInfo.CustomerType customer_type = 5;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for customerType. |
getDefaultInstanceForType()
public CloudIdentityCustomerAccount getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CloudIdentityCustomerAccount |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getExisting()
public boolean getExisting()Returns true if a Cloud Identity account exists for a specific domain.
bool existing = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
The existing. |
getOwned()
public boolean getOwned()Returns true if the Cloud Identity account is associated with a customer of the Channel Services partner (with active subscriptions or purchase consents).
bool owned = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
The owned. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CloudIdentityCustomerAccount other)
public CloudIdentityCustomerAccount.Builder mergeFrom(CloudIdentityCustomerAccount other)| Parameter | |
|---|---|
| Name | Description |
other |
CloudIdentityCustomerAccount |
| Returns | |
|---|---|
| Type | Description |
CloudIdentityCustomerAccount.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CloudIdentityCustomerAccount.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CloudIdentityCustomerAccount.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CloudIdentityCustomerAccount.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CloudIdentityCustomerAccount.Builder |
|
setChannelPartnerCloudIdentityId(String value)
public CloudIdentityCustomerAccount.Builder setChannelPartnerCloudIdentityId(String value)If existing = true, and is 2-tier customer, the channel partner of the customer.
string channel_partner_cloud_identity_id = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe channelPartnerCloudIdentityId to set. |
| Returns | |
|---|---|
| Type | Description |
CloudIdentityCustomerAccount.Builder |
This builder for chaining. |
setChannelPartnerCloudIdentityIdBytes(ByteString value)
public CloudIdentityCustomerAccount.Builder setChannelPartnerCloudIdentityIdBytes(ByteString value)If existing = true, and is 2-tier customer, the channel partner of the customer.
string channel_partner_cloud_identity_id = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for channelPartnerCloudIdentityId to set. |
| Returns | |
|---|---|
| Type | Description |
CloudIdentityCustomerAccount.Builder |
This builder for chaining. |
setCustomerCloudIdentityId(String value)
public CloudIdentityCustomerAccount.Builder setCustomerCloudIdentityId(String value)If existing = true, the Cloud Identity ID of the customer.
string customer_cloud_identity_id = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe customerCloudIdentityId to set. |
| Returns | |
|---|---|
| Type | Description |
CloudIdentityCustomerAccount.Builder |
This builder for chaining. |
setCustomerCloudIdentityIdBytes(ByteString value)
public CloudIdentityCustomerAccount.Builder setCustomerCloudIdentityIdBytes(ByteString value)If existing = true, the Cloud Identity ID of the customer.
string customer_cloud_identity_id = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for customerCloudIdentityId to set. |
| Returns | |
|---|---|
| Type | Description |
CloudIdentityCustomerAccount.Builder |
This builder for chaining. |
setCustomerName(String value)
public CloudIdentityCustomerAccount.Builder setCustomerName(String value)If owned = true, the name of the customer that owns the Cloud Identity account. Customer_name uses the format: accounts/{account_id}/customers/{customer_id}
string customer_name = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe customerName to set. |
| Returns | |
|---|---|
| Type | Description |
CloudIdentityCustomerAccount.Builder |
This builder for chaining. |
setCustomerNameBytes(ByteString value)
public CloudIdentityCustomerAccount.Builder setCustomerNameBytes(ByteString value)If owned = true, the name of the customer that owns the Cloud Identity account. Customer_name uses the format: accounts/{account_id}/customers/{customer_id}
string customer_name = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for customerName to set. |
| Returns | |
|---|---|
| Type | Description |
CloudIdentityCustomerAccount.Builder |
This builder for chaining. |
setCustomerType(CloudIdentityInfo.CustomerType value)
public CloudIdentityCustomerAccount.Builder setCustomerType(CloudIdentityInfo.CustomerType value)If existing = true, the type of the customer.
.google.cloud.channel.v1.CloudIdentityInfo.CustomerType customer_type = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
CloudIdentityInfo.CustomerTypeThe customerType to set. |
| Returns | |
|---|---|
| Type | Description |
CloudIdentityCustomerAccount.Builder |
This builder for chaining. |
setCustomerTypeValue(int value)
public CloudIdentityCustomerAccount.Builder setCustomerTypeValue(int value)If existing = true, the type of the customer.
.google.cloud.channel.v1.CloudIdentityInfo.CustomerType customer_type = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for customerType to set. |
| Returns | |
|---|---|
| Type | Description |
CloudIdentityCustomerAccount.Builder |
This builder for chaining. |
setExisting(boolean value)
public CloudIdentityCustomerAccount.Builder setExisting(boolean value)Returns true if a Cloud Identity account exists for a specific domain.
bool existing = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe existing to set. |
| Returns | |
|---|---|
| Type | Description |
CloudIdentityCustomerAccount.Builder |
This builder for chaining. |
setOwned(boolean value)
public CloudIdentityCustomerAccount.Builder setOwned(boolean value)Returns true if the Cloud Identity account is associated with a customer of the Channel Services partner (with active subscriptions or purchase consents).
bool owned = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe owned to set. |
| Returns | |
|---|---|
| Type | Description |
CloudIdentityCustomerAccount.Builder |
This builder for chaining. |