Class CloudIdentityCustomerAccount.Builder (3.50.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

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.

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

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.

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

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.

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