Class CloudIdentityInfo.Builder (3.51.0)

public static final class CloudIdentityInfo.Builder extends GeneratedMessageV3.Builder<CloudIdentityInfo.Builder> implements CloudIdentityInfoOrBuilder

Cloud Identity information for the Cloud Channel Customer.

Protobuf type google.cloud.channel.v1.CloudIdentityInfo

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CloudIdentityInfo build()
Returns
Type Description
CloudIdentityInfo

buildPartial()

public CloudIdentityInfo buildPartial()
Returns
Type Description
CloudIdentityInfo

clear()

public CloudIdentityInfo.Builder clear()
Returns
Type Description
CloudIdentityInfo.Builder
Overrides

clearAdminConsoleUri()

public CloudIdentityInfo.Builder clearAdminConsoleUri()

Output only. URI of Customer's Admin console dashboard.

string admin_console_uri = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CloudIdentityInfo.Builder

This builder for chaining.

clearAlternateEmail()

public CloudIdentityInfo.Builder clearAlternateEmail()

The alternate email.

string alternate_email = 6;

Returns
Type Description
CloudIdentityInfo.Builder

This builder for chaining.

clearCustomerType()

public CloudIdentityInfo.Builder clearCustomerType()

CustomerType indicates verification type needed for using services.

.google.cloud.channel.v1.CloudIdentityInfo.CustomerType customer_type = 1;

Returns
Type Description
CloudIdentityInfo.Builder

This builder for chaining.

clearEduData()

public CloudIdentityInfo.Builder clearEduData()

Edu information about the customer.

.google.cloud.channel.v1.EduData edu_data = 22;

Returns
Type Description
CloudIdentityInfo.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearIsDomainVerified()

public CloudIdentityInfo.Builder clearIsDomainVerified()

Output only. Whether the domain is verified. This field is not returned for a Customer's cloud_identity_info resource. Partners can use the domains.get() method of the Workspace SDK's Directory API, or listen to the PRIMARY_DOMAIN_VERIFIED Pub/Sub event in to track domain verification of their resolve Workspace customers.

bool is_domain_verified = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CloudIdentityInfo.Builder

This builder for chaining.

clearLanguageCode()

public CloudIdentityInfo.Builder clearLanguageCode()

Language code.

string language_code = 8;

Returns
Type Description
CloudIdentityInfo.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPhoneNumber()

public CloudIdentityInfo.Builder clearPhoneNumber()

Phone number associated with the Cloud Identity.

string phone_number = 7;

Returns
Type Description
CloudIdentityInfo.Builder

This builder for chaining.

clearPrimaryDomain()

public CloudIdentityInfo.Builder clearPrimaryDomain()

Output only. The primary domain name.

string primary_domain = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CloudIdentityInfo.Builder

This builder for chaining.

clone()

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

getAdminConsoleUri()

public String getAdminConsoleUri()

Output only. URI of Customer's Admin console dashboard.

string admin_console_uri = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The adminConsoleUri.

getAdminConsoleUriBytes()

public ByteString getAdminConsoleUriBytes()

Output only. URI of Customer's Admin console dashboard.

string admin_console_uri = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for adminConsoleUri.

getAlternateEmail()

public String getAlternateEmail()

The alternate email.

string alternate_email = 6;

Returns
Type Description
String

The alternateEmail.

getAlternateEmailBytes()

public ByteString getAlternateEmailBytes()

The alternate email.

string alternate_email = 6;

Returns
Type Description
ByteString

The bytes for alternateEmail.

getCustomerType()

public CloudIdentityInfo.CustomerType getCustomerType()

CustomerType indicates verification type needed for using services.

.google.cloud.channel.v1.CloudIdentityInfo.CustomerType customer_type = 1;

Returns
Type Description
CloudIdentityInfo.CustomerType

The customerType.

getCustomerTypeValue()

public int getCustomerTypeValue()

CustomerType indicates verification type needed for using services.

.google.cloud.channel.v1.CloudIdentityInfo.CustomerType customer_type = 1;

Returns
Type Description
int

The enum numeric value on the wire for customerType.

getDefaultInstanceForType()

public CloudIdentityInfo getDefaultInstanceForType()
Returns
Type Description
CloudIdentityInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEduData()

public EduData getEduData()

Edu information about the customer.

.google.cloud.channel.v1.EduData edu_data = 22;

Returns
Type Description
EduData

The eduData.

getEduDataBuilder()

public EduData.Builder getEduDataBuilder()

Edu information about the customer.

.google.cloud.channel.v1.EduData edu_data = 22;

Returns
Type Description
EduData.Builder

getEduDataOrBuilder()

public EduDataOrBuilder getEduDataOrBuilder()

Edu information about the customer.

.google.cloud.channel.v1.EduData edu_data = 22;

Returns
Type Description
EduDataOrBuilder

getIsDomainVerified()

public boolean getIsDomainVerified()

Output only. Whether the domain is verified. This field is not returned for a Customer's cloud_identity_info resource. Partners can use the domains.get() method of the Workspace SDK's Directory API, or listen to the PRIMARY_DOMAIN_VERIFIED Pub/Sub event in to track domain verification of their resolve Workspace customers.

bool is_domain_verified = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The isDomainVerified.

getLanguageCode()

public String getLanguageCode()

Language code.

string language_code = 8;

Returns
Type Description
String

The languageCode.

getLanguageCodeBytes()

public ByteString getLanguageCodeBytes()

Language code.

string language_code = 8;

Returns
Type Description
ByteString

The bytes for languageCode.

getPhoneNumber()

public String getPhoneNumber()

Phone number associated with the Cloud Identity.

string phone_number = 7;

Returns
Type Description
String

The phoneNumber.

getPhoneNumberBytes()

public ByteString getPhoneNumberBytes()

Phone number associated with the Cloud Identity.

string phone_number = 7;

Returns
Type Description
ByteString

The bytes for phoneNumber.

getPrimaryDomain()

public String getPrimaryDomain()

Output only. The primary domain name.

string primary_domain = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The primaryDomain.

getPrimaryDomainBytes()

public ByteString getPrimaryDomainBytes()

Output only. The primary domain name.

string primary_domain = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for primaryDomain.

hasEduData()

public boolean hasEduData()

Edu information about the customer.

.google.cloud.channel.v1.EduData edu_data = 22;

Returns
Type Description
boolean

Whether the eduData field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeEduData(EduData value)

public CloudIdentityInfo.Builder mergeEduData(EduData value)

Edu information about the customer.

.google.cloud.channel.v1.EduData edu_data = 22;

Parameter
Name Description
value EduData
Returns
Type Description
CloudIdentityInfo.Builder

mergeFrom(CloudIdentityInfo other)

public CloudIdentityInfo.Builder mergeFrom(CloudIdentityInfo other)
Parameter
Name Description
other CloudIdentityInfo
Returns
Type Description
CloudIdentityInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CloudIdentityInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CloudIdentityInfo.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAdminConsoleUri(String value)

public CloudIdentityInfo.Builder setAdminConsoleUri(String value)

Output only. URI of Customer's Admin console dashboard.

string admin_console_uri = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The adminConsoleUri to set.

Returns
Type Description
CloudIdentityInfo.Builder

This builder for chaining.

setAdminConsoleUriBytes(ByteString value)

public CloudIdentityInfo.Builder setAdminConsoleUriBytes(ByteString value)

Output only. URI of Customer's Admin console dashboard.

string admin_console_uri = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for adminConsoleUri to set.

Returns
Type Description
CloudIdentityInfo.Builder

This builder for chaining.

setAlternateEmail(String value)

public CloudIdentityInfo.Builder setAlternateEmail(String value)

The alternate email.

string alternate_email = 6;

Parameter
Name Description
value String

The alternateEmail to set.

Returns
Type Description
CloudIdentityInfo.Builder

This builder for chaining.

setAlternateEmailBytes(ByteString value)

public CloudIdentityInfo.Builder setAlternateEmailBytes(ByteString value)

The alternate email.

string alternate_email = 6;

Parameter
Name Description
value ByteString

The bytes for alternateEmail to set.

Returns
Type Description
CloudIdentityInfo.Builder

This builder for chaining.

setCustomerType(CloudIdentityInfo.CustomerType value)

public CloudIdentityInfo.Builder setCustomerType(CloudIdentityInfo.CustomerType value)

CustomerType indicates verification type needed for using services.

.google.cloud.channel.v1.CloudIdentityInfo.CustomerType customer_type = 1;

Parameter
Name Description
value CloudIdentityInfo.CustomerType

The customerType to set.

Returns
Type Description
CloudIdentityInfo.Builder

This builder for chaining.

setCustomerTypeValue(int value)

public CloudIdentityInfo.Builder setCustomerTypeValue(int value)

CustomerType indicates verification type needed for using services.

.google.cloud.channel.v1.CloudIdentityInfo.CustomerType customer_type = 1;

Parameter
Name Description
value int

The enum numeric value on the wire for customerType to set.

Returns
Type Description
CloudIdentityInfo.Builder

This builder for chaining.

setEduData(EduData value)

public CloudIdentityInfo.Builder setEduData(EduData value)

Edu information about the customer.

.google.cloud.channel.v1.EduData edu_data = 22;

Parameter
Name Description
value EduData
Returns
Type Description
CloudIdentityInfo.Builder

setEduData(EduData.Builder builderForValue)

public CloudIdentityInfo.Builder setEduData(EduData.Builder builderForValue)

Edu information about the customer.

.google.cloud.channel.v1.EduData edu_data = 22;

Parameter
Name Description
builderForValue EduData.Builder
Returns
Type Description
CloudIdentityInfo.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setIsDomainVerified(boolean value)

public CloudIdentityInfo.Builder setIsDomainVerified(boolean value)

Output only. Whether the domain is verified. This field is not returned for a Customer's cloud_identity_info resource. Partners can use the domains.get() method of the Workspace SDK's Directory API, or listen to the PRIMARY_DOMAIN_VERIFIED Pub/Sub event in to track domain verification of their resolve Workspace customers.

bool is_domain_verified = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value boolean

The isDomainVerified to set.

Returns
Type Description
CloudIdentityInfo.Builder

This builder for chaining.

setLanguageCode(String value)

public CloudIdentityInfo.Builder setLanguageCode(String value)

Language code.

string language_code = 8;

Parameter
Name Description
value String

The languageCode to set.

Returns
Type Description
CloudIdentityInfo.Builder

This builder for chaining.

setLanguageCodeBytes(ByteString value)

public CloudIdentityInfo.Builder setLanguageCodeBytes(ByteString value)

Language code.

string language_code = 8;

Parameter
Name Description
value ByteString

The bytes for languageCode to set.

Returns
Type Description
CloudIdentityInfo.Builder

This builder for chaining.

setPhoneNumber(String value)

public CloudIdentityInfo.Builder setPhoneNumber(String value)

Phone number associated with the Cloud Identity.

string phone_number = 7;

Parameter
Name Description
value String

The phoneNumber to set.

Returns
Type Description
CloudIdentityInfo.Builder

This builder for chaining.

setPhoneNumberBytes(ByteString value)

public CloudIdentityInfo.Builder setPhoneNumberBytes(ByteString value)

Phone number associated with the Cloud Identity.

string phone_number = 7;

Parameter
Name Description
value ByteString

The bytes for phoneNumber to set.

Returns
Type Description
CloudIdentityInfo.Builder

This builder for chaining.

setPrimaryDomain(String value)

public CloudIdentityInfo.Builder setPrimaryDomain(String value)

Output only. The primary domain name.

string primary_domain = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The primaryDomain to set.

Returns
Type Description
CloudIdentityInfo.Builder

This builder for chaining.

setPrimaryDomainBytes(ByteString value)

public CloudIdentityInfo.Builder setPrimaryDomainBytes(ByteString value)

Output only. The primary domain name.

string primary_domain = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for primaryDomain to set.

Returns
Type Description
CloudIdentityInfo.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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