Class CloudIdentityInfo.Builder (3.35.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CloudIdentityInfo build()
Returns
TypeDescription
CloudIdentityInfo

buildPartial()

public CloudIdentityInfo buildPartial()
Returns
TypeDescription
CloudIdentityInfo

clear()

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

This builder for chaining.

clearAlternateEmail()

public CloudIdentityInfo.Builder clearAlternateEmail()

The alternate email.

string alternate_email = 6;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
CloudIdentityInfo.Builder

clearField(Descriptors.FieldDescriptor field)

public CloudIdentityInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
CloudIdentityInfo.Builder

This builder for chaining.

clearLanguageCode()

public CloudIdentityInfo.Builder clearLanguageCode()

Language code.

string language_code = 8;

Returns
TypeDescription
CloudIdentityInfo.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public CloudIdentityInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
CloudIdentityInfo.Builder
Overrides

clearPhoneNumber()

public CloudIdentityInfo.Builder clearPhoneNumber()

Phone number associated with the Cloud Identity.

string phone_number = 7;

Returns
TypeDescription
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
TypeDescription
CloudIdentityInfo.Builder

This builder for chaining.

clone()

public CloudIdentityInfo.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for adminConsoleUri.

getAlternateEmail()

public String getAlternateEmail()

The alternate email.

string alternate_email = 6;

Returns
TypeDescription
String

The alternateEmail.

getAlternateEmailBytes()

public ByteString getAlternateEmailBytes()

The alternate email.

string alternate_email = 6;

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

The enum numeric value on the wire for customerType.

getDefaultInstanceForType()

public CloudIdentityInfo getDefaultInstanceForType()
Returns
TypeDescription
CloudIdentityInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEduData()

public EduData getEduData()

Edu information about the customer.

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

Returns
TypeDescription
EduData

The eduData.

getEduDataBuilder()

public EduData.Builder getEduDataBuilder()

Edu information about the customer.

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

Returns
TypeDescription
EduData.Builder

getEduDataOrBuilder()

public EduDataOrBuilder getEduDataOrBuilder()

Edu information about the customer.

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

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

The isDomainVerified.

getLanguageCode()

public String getLanguageCode()

Language code.

string language_code = 8;

Returns
TypeDescription
String

The languageCode.

getLanguageCodeBytes()

public ByteString getLanguageCodeBytes()

Language code.

string language_code = 8;

Returns
TypeDescription
ByteString

The bytes for languageCode.

getPhoneNumber()

public String getPhoneNumber()

Phone number associated with the Cloud Identity.

string phone_number = 7;

Returns
TypeDescription
String

The phoneNumber.

getPhoneNumberBytes()

public ByteString getPhoneNumberBytes()

Phone number associated with the Cloud Identity.

string phone_number = 7;

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

The primaryDomain.

getPrimaryDomainBytes()

public ByteString getPrimaryDomainBytes()

Output only. The primary domain name.

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

Returns
TypeDescription
ByteString

The bytes for primaryDomain.

hasEduData()

public boolean hasEduData()

Edu information about the customer.

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

Returns
TypeDescription
boolean

Whether the eduData field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueEduData
Returns
TypeDescription
CloudIdentityInfo.Builder

mergeFrom(CloudIdentityInfo other)

public CloudIdentityInfo.Builder mergeFrom(CloudIdentityInfo other)
Parameter
NameDescription
otherCloudIdentityInfo
Returns
TypeDescription
CloudIdentityInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

The adminConsoleUri to set.

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

The bytes for adminConsoleUri to set.

Returns
TypeDescription
CloudIdentityInfo.Builder

This builder for chaining.

setAlternateEmail(String value)

public CloudIdentityInfo.Builder setAlternateEmail(String value)

The alternate email.

string alternate_email = 6;

Parameter
NameDescription
valueString

The alternateEmail to set.

Returns
TypeDescription
CloudIdentityInfo.Builder

This builder for chaining.

setAlternateEmailBytes(ByteString value)

public CloudIdentityInfo.Builder setAlternateEmailBytes(ByteString value)

The alternate email.

string alternate_email = 6;

Parameter
NameDescription
valueByteString

The bytes for alternateEmail to set.

Returns
TypeDescription
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
NameDescription
valueCloudIdentityInfo.CustomerType

The customerType to set.

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

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

Returns
TypeDescription
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
NameDescription
valueEduData
Returns
TypeDescription
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
NameDescription
builderForValueEduData.Builder
Returns
TypeDescription
CloudIdentityInfo.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

The isDomainVerified to set.

Returns
TypeDescription
CloudIdentityInfo.Builder

This builder for chaining.

setLanguageCode(String value)

public CloudIdentityInfo.Builder setLanguageCode(String value)

Language code.

string language_code = 8;

Parameter
NameDescription
valueString

The languageCode to set.

Returns
TypeDescription
CloudIdentityInfo.Builder

This builder for chaining.

setLanguageCodeBytes(ByteString value)

public CloudIdentityInfo.Builder setLanguageCodeBytes(ByteString value)

Language code.

string language_code = 8;

Parameter
NameDescription
valueByteString

The bytes for languageCode to set.

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

The phoneNumber to set.

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

The bytes for phoneNumber to set.

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

The primaryDomain to set.

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

The bytes for primaryDomain to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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