Class CloudIdentityCustomerAccount.Builder (3.3.1)

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CloudIdentityCustomerAccount.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CloudIdentityCustomerAccount.Builder
Overrides

build()

public CloudIdentityCustomerAccount build()
Returns
TypeDescription
CloudIdentityCustomerAccount

buildPartial()

public CloudIdentityCustomerAccount buildPartial()
Returns
TypeDescription
CloudIdentityCustomerAccount

clear()

public CloudIdentityCustomerAccount.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
CloudIdentityCustomerAccount.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public CloudIdentityCustomerAccount.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CloudIdentityCustomerAccount.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CloudIdentityCustomerAccount.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
CloudIdentityCustomerAccount.Builder

This builder for chaining.

clone()

public CloudIdentityCustomerAccount.Builder clone()
Returns
TypeDescription
CloudIdentityCustomerAccount.Builder
Overrides

getCustomerCloudIdentityId()

public String getCustomerCloudIdentityId()

If existing = true, the Cloud Identity ID of the customer.

string customer_cloud_identity_id = 4;

Returns
TypeDescription
String

The customerCloudIdentityId.

getCustomerCloudIdentityIdBytes()

public ByteString getCustomerCloudIdentityIdBytes()

If existing = true, the Cloud Identity ID of the customer.

string customer_cloud_identity_id = 4;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for customerName.

getDefaultInstanceForType()

public CloudIdentityCustomerAccount getDefaultInstanceForType()
Returns
TypeDescription
CloudIdentityCustomerAccount

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getExisting()

public boolean getExisting()

Returns true if a Cloud Identity account exists for a specific domain.

bool existing = 1;

Returns
TypeDescription
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
TypeDescription
boolean

The owned.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CloudIdentityCustomerAccount other)

public CloudIdentityCustomerAccount.Builder mergeFrom(CloudIdentityCustomerAccount other)
Parameter
NameDescription
otherCloudIdentityCustomerAccount
Returns
TypeDescription
CloudIdentityCustomerAccount.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CloudIdentityCustomerAccount.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CloudIdentityCustomerAccount.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CloudIdentityCustomerAccount.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CloudIdentityCustomerAccount.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CloudIdentityCustomerAccount.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The customerCloudIdentityId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for customerCloudIdentityId to set.

Returns
TypeDescription
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
NameDescription
valueString

The customerName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for customerName to set.

Returns
TypeDescription
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
NameDescription
valueboolean

The existing to set.

Returns
TypeDescription
CloudIdentityCustomerAccount.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public CloudIdentityCustomerAccount.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueboolean

The owned to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CloudIdentityCustomerAccount.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CloudIdentityCustomerAccount.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CloudIdentityCustomerAccount.Builder
Overrides