Class CloudIdentityInfo.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<CloudIdentityInfo.Builder>
com.google.cloud.channel.v1.CloudIdentityInfo.Builder
All Implemented Interfaces:
CloudIdentityInfoOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
CloudIdentityInfo

public static final class CloudIdentityInfo.Builder extends com.google.protobuf.GeneratedMessage.Builder<CloudIdentityInfo.Builder> implements CloudIdentityInfoOrBuilder
 Cloud Identity information for the Cloud Channel Customer.
 
Protobuf type google.cloud.channel.v1.CloudIdentityInfo
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<CloudIdentityInfo.Builder>
    • clear

      public CloudIdentityInfo.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<CloudIdentityInfo.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<CloudIdentityInfo.Builder>
    • getDefaultInstanceForType

      public CloudIdentityInfo getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public CloudIdentityInfo build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public CloudIdentityInfo buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public CloudIdentityInfo.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<CloudIdentityInfo.Builder>
    • mergeFrom

      public CloudIdentityInfo.Builder mergeFrom(CloudIdentityInfo other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<CloudIdentityInfo.Builder>
    • mergeFrom

      public CloudIdentityInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<CloudIdentityInfo.Builder>
      Throws:
      IOException
    • getCustomerTypeValue

      public int getCustomerTypeValue()
       CustomerType indicates verification type needed for using services.
       
      .google.cloud.channel.v1.CloudIdentityInfo.CustomerType customer_type = 1;
      Specified by:
      getCustomerTypeValue in interface CloudIdentityInfoOrBuilder
      Returns:
      The enum numeric value on the wire for customerType.
    • setCustomerTypeValue

      public CloudIdentityInfo.Builder setCustomerTypeValue(int value)
       CustomerType indicates verification type needed for using services.
       
      .google.cloud.channel.v1.CloudIdentityInfo.CustomerType customer_type = 1;
      Parameters:
      value - The enum numeric value on the wire for customerType to set.
      Returns:
      This builder for chaining.
    • getCustomerType

      public CloudIdentityInfo.CustomerType getCustomerType()
       CustomerType indicates verification type needed for using services.
       
      .google.cloud.channel.v1.CloudIdentityInfo.CustomerType customer_type = 1;
      Specified by:
      getCustomerType in interface CloudIdentityInfoOrBuilder
      Returns:
      The customerType.
    • setCustomerType

       CustomerType indicates verification type needed for using services.
       
      .google.cloud.channel.v1.CloudIdentityInfo.CustomerType customer_type = 1;
      Parameters:
      value - The customerType to set.
      Returns:
      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:
      This builder for chaining.
    • getPrimaryDomain

      public String getPrimaryDomain()
       Output only. The primary domain name.
       
      string primary_domain = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPrimaryDomain in interface CloudIdentityInfoOrBuilder
      Returns:
      The primaryDomain.
    • getPrimaryDomainBytes

      public com.google.protobuf.ByteString getPrimaryDomainBytes()
       Output only. The primary domain name.
       
      string primary_domain = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPrimaryDomainBytes in interface CloudIdentityInfoOrBuilder
      Returns:
      The bytes for primaryDomain.
    • setPrimaryDomain

      public CloudIdentityInfo.Builder setPrimaryDomain(String value)
       Output only. The primary domain name.
       
      string primary_domain = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The primaryDomain to set.
      Returns:
      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:
      This builder for chaining.
    • setPrimaryDomainBytes

      public CloudIdentityInfo.Builder setPrimaryDomainBytes(com.google.protobuf.ByteString value)
       Output only. The primary domain name.
       
      string primary_domain = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for primaryDomain to set.
      Returns:
      This builder for chaining.
    • 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];
      Specified by:
      getIsDomainVerified in interface CloudIdentityInfoOrBuilder
      Returns:
      The isDomainVerified.
    • setIsDomainVerified

      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];
      Parameters:
      value - The isDomainVerified to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • getAlternateEmail

      public String getAlternateEmail()
       The alternate email.
       
      string alternate_email = 6;
      Specified by:
      getAlternateEmail in interface CloudIdentityInfoOrBuilder
      Returns:
      The alternateEmail.
    • getAlternateEmailBytes

      public com.google.protobuf.ByteString getAlternateEmailBytes()
       The alternate email.
       
      string alternate_email = 6;
      Specified by:
      getAlternateEmailBytes in interface CloudIdentityInfoOrBuilder
      Returns:
      The bytes for alternateEmail.
    • setAlternateEmail

      public CloudIdentityInfo.Builder setAlternateEmail(String value)
       The alternate email.
       
      string alternate_email = 6;
      Parameters:
      value - The alternateEmail to set.
      Returns:
      This builder for chaining.
    • clearAlternateEmail

      public CloudIdentityInfo.Builder clearAlternateEmail()
       The alternate email.
       
      string alternate_email = 6;
      Returns:
      This builder for chaining.
    • setAlternateEmailBytes

      public CloudIdentityInfo.Builder setAlternateEmailBytes(com.google.protobuf.ByteString value)
       The alternate email.
       
      string alternate_email = 6;
      Parameters:
      value - The bytes for alternateEmail to set.
      Returns:
      This builder for chaining.
    • getPhoneNumber

      public String getPhoneNumber()
       Phone number associated with the Cloud Identity.
       
      string phone_number = 7;
      Specified by:
      getPhoneNumber in interface CloudIdentityInfoOrBuilder
      Returns:
      The phoneNumber.
    • getPhoneNumberBytes

      public com.google.protobuf.ByteString getPhoneNumberBytes()
       Phone number associated with the Cloud Identity.
       
      string phone_number = 7;
      Specified by:
      getPhoneNumberBytes in interface CloudIdentityInfoOrBuilder
      Returns:
      The bytes for phoneNumber.
    • setPhoneNumber

      public CloudIdentityInfo.Builder setPhoneNumber(String value)
       Phone number associated with the Cloud Identity.
       
      string phone_number = 7;
      Parameters:
      value - The phoneNumber to set.
      Returns:
      This builder for chaining.
    • clearPhoneNumber

      public CloudIdentityInfo.Builder clearPhoneNumber()
       Phone number associated with the Cloud Identity.
       
      string phone_number = 7;
      Returns:
      This builder for chaining.
    • setPhoneNumberBytes

      public CloudIdentityInfo.Builder setPhoneNumberBytes(com.google.protobuf.ByteString value)
       Phone number associated with the Cloud Identity.
       
      string phone_number = 7;
      Parameters:
      value - The bytes for phoneNumber to set.
      Returns:
      This builder for chaining.
    • getLanguageCode

      public String getLanguageCode()
       Language code.
       
      string language_code = 8;
      Specified by:
      getLanguageCode in interface CloudIdentityInfoOrBuilder
      Returns:
      The languageCode.
    • getLanguageCodeBytes

      public com.google.protobuf.ByteString getLanguageCodeBytes()
       Language code.
       
      string language_code = 8;
      Specified by:
      getLanguageCodeBytes in interface CloudIdentityInfoOrBuilder
      Returns:
      The bytes for languageCode.
    • setLanguageCode

      public CloudIdentityInfo.Builder setLanguageCode(String value)
       Language code.
       
      string language_code = 8;
      Parameters:
      value - The languageCode to set.
      Returns:
      This builder for chaining.
    • clearLanguageCode

      public CloudIdentityInfo.Builder clearLanguageCode()
       Language code.
       
      string language_code = 8;
      Returns:
      This builder for chaining.
    • setLanguageCodeBytes

      public CloudIdentityInfo.Builder setLanguageCodeBytes(com.google.protobuf.ByteString value)
       Language code.
       
      string language_code = 8;
      Parameters:
      value - The bytes for languageCode to set.
      Returns:
      This builder for chaining.
    • getAdminConsoleUri

      public String getAdminConsoleUri()
       Output only. URI of Customer's Admin console dashboard.
       
      string admin_console_uri = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAdminConsoleUri in interface CloudIdentityInfoOrBuilder
      Returns:
      The adminConsoleUri.
    • getAdminConsoleUriBytes

      public com.google.protobuf.ByteString getAdminConsoleUriBytes()
       Output only. URI of Customer's Admin console dashboard.
       
      string admin_console_uri = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAdminConsoleUriBytes in interface CloudIdentityInfoOrBuilder
      Returns:
      The bytes for adminConsoleUri.
    • setAdminConsoleUri

      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];
      Parameters:
      value - The adminConsoleUri to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • setAdminConsoleUriBytes

      public CloudIdentityInfo.Builder setAdminConsoleUriBytes(com.google.protobuf.ByteString value)
       Output only. URI of Customer's Admin console dashboard.
       
      string admin_console_uri = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for adminConsoleUri to set.
      Returns:
      This builder for chaining.
    • hasEduData

      public boolean hasEduData()
       Edu information about the customer.
       
      .google.cloud.channel.v1.EduData edu_data = 22;
      Specified by:
      hasEduData in interface CloudIdentityInfoOrBuilder
      Returns:
      Whether the eduData field is set.
    • getEduData

      public EduData getEduData()
       Edu information about the customer.
       
      .google.cloud.channel.v1.EduData edu_data = 22;
      Specified by:
      getEduData in interface CloudIdentityInfoOrBuilder
      Returns:
      The eduData.
    • setEduData

      public CloudIdentityInfo.Builder setEduData(EduData value)
       Edu information about the customer.
       
      .google.cloud.channel.v1.EduData edu_data = 22;
    • setEduData

      public CloudIdentityInfo.Builder setEduData(EduData.Builder builderForValue)
       Edu information about the customer.
       
      .google.cloud.channel.v1.EduData edu_data = 22;
    • mergeEduData

      public CloudIdentityInfo.Builder mergeEduData(EduData value)
       Edu information about the customer.
       
      .google.cloud.channel.v1.EduData edu_data = 22;
    • clearEduData

      public CloudIdentityInfo.Builder clearEduData()
       Edu information about the customer.
       
      .google.cloud.channel.v1.EduData edu_data = 22;
    • getEduDataBuilder

      public EduData.Builder getEduDataBuilder()
       Edu information about the customer.
       
      .google.cloud.channel.v1.EduData edu_data = 22;
    • getEduDataOrBuilder

      public EduDataOrBuilder getEduDataOrBuilder()
       Edu information about the customer.
       
      .google.cloud.channel.v1.EduData edu_data = 22;
      Specified by:
      getEduDataOrBuilder in interface CloudIdentityInfoOrBuilder