Class CloudIdentityCustomerAccount.Builder (3.57.0)

public static final class CloudIdentityCustomerAccount.Builder extends GeneratedMessageV3.Builder<CloudIdentityCustomerAccount.Builder> implements CloudIdentityCustomerAccountOrBuilder

Entity representing a Cloud Identity account that may be associated with a Channel Services API partner.

Protobuf type google.cloud.channel.v1.CloudIdentityCustomerAccount

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CloudIdentityCustomerAccount.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CloudIdentityCustomerAccount.Builder
Overrides

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
Overrides

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.

clearField(Descriptors.FieldDescriptor field)

public CloudIdentityCustomerAccount.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CloudIdentityCustomerAccount.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CloudIdentityCustomerAccount.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CloudIdentityCustomerAccount.Builder
Overrides

clearOwned()

public CloudIdentityCustomerAccount.Builder clearOwned()

Returns true if the Cloud Identity account is associated with a customer of the Channel Services partner.

bool owned = 2;

Returns
Type Description
CloudIdentityCustomerAccount.Builder

This builder for chaining.

clone()

public CloudIdentityCustomerAccount.Builder clone()
Returns
Type Description
CloudIdentityCustomerAccount.Builder
Overrides

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
Overrides

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.

bool owned = 2;

Returns
Type Description
boolean

The owned.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CloudIdentityCustomerAccount.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CloudIdentityCustomerAccount.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CloudIdentityCustomerAccount.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CloudIdentityCustomerAccount.Builder
Overrides

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 String

The 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 ByteString

The 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 String

The 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 ByteString

The 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 String

The 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 ByteString

The 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.CustomerType

The 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 int

The 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 boolean

The existing to set.

Returns
Type Description
CloudIdentityCustomerAccount.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public CloudIdentityCustomerAccount.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CloudIdentityCustomerAccount.Builder
Overrides

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.

bool owned = 2;

Parameter
Name Description
value boolean

The owned to set.

Returns
Type Description
CloudIdentityCustomerAccount.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CloudIdentityCustomerAccount.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CloudIdentityCustomerAccount.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CloudIdentityCustomerAccount.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CloudIdentityCustomerAccount.Builder
Overrides