Class Customer.Builder

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

public static final class Customer.Builder extends com.google.protobuf.GeneratedMessage.Builder<Customer.Builder> implements CustomerOrBuilder
 Contains metadata around a Cloud Controls Partner Customer
 
Protobuf type google.cloud.cloudcontrolspartner.v1.Customer
  • 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<Customer.Builder>
    • clear

      public Customer.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<Customer.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<Customer.Builder>
    • getDefaultInstanceForType

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

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

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

      public Customer.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<Customer.Builder>
    • mergeFrom

      public Customer.Builder mergeFrom(Customer other)
    • isInitialized

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

      public Customer.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<Customer.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       Identifier. Format:
       `organizations/{organization}/locations/{location}/customers/{customer}`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getName in interface CustomerOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Identifier. Format:
       `organizations/{organization}/locations/{location}/customers/{customer}`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getNameBytes in interface CustomerOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Customer.Builder setName(String value)
       Identifier. Format:
       `organizations/{organization}/locations/{location}/customers/{customer}`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public Customer.Builder clearName()
       Identifier. Format:
       `organizations/{organization}/locations/{location}/customers/{customer}`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      This builder for chaining.
    • setNameBytes

      public Customer.Builder setNameBytes(com.google.protobuf.ByteString value)
       Identifier. Format:
       `organizations/{organization}/locations/{location}/customers/{customer}`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getDisplayName

      public String getDisplayName()
       Required. Display name for the customer
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDisplayName in interface CustomerOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public com.google.protobuf.ByteString getDisplayNameBytes()
       Required. Display name for the customer
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDisplayNameBytes in interface CustomerOrBuilder
      Returns:
      The bytes for displayName.
    • setDisplayName

      public Customer.Builder setDisplayName(String value)
       Required. Display name for the customer
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The displayName to set.
      Returns:
      This builder for chaining.
    • clearDisplayName

      public Customer.Builder clearDisplayName()
       Required. Display name for the customer
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setDisplayNameBytes

      public Customer.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
       Required. Display name for the customer
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for displayName to set.
      Returns:
      This builder for chaining.
    • hasCustomerOnboardingState

      public boolean hasCustomerOnboardingState()
       Output only. Container for customer onboarding steps
       
      .google.cloud.cloudcontrolspartner.v1.CustomerOnboardingState customer_onboarding_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCustomerOnboardingState in interface CustomerOrBuilder
      Returns:
      Whether the customerOnboardingState field is set.
    • getCustomerOnboardingState

      public CustomerOnboardingState getCustomerOnboardingState()
       Output only. Container for customer onboarding steps
       
      .google.cloud.cloudcontrolspartner.v1.CustomerOnboardingState customer_onboarding_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCustomerOnboardingState in interface CustomerOrBuilder
      Returns:
      The customerOnboardingState.
    • setCustomerOnboardingState

      public Customer.Builder setCustomerOnboardingState(CustomerOnboardingState value)
       Output only. Container for customer onboarding steps
       
      .google.cloud.cloudcontrolspartner.v1.CustomerOnboardingState customer_onboarding_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setCustomerOnboardingState

      public Customer.Builder setCustomerOnboardingState(CustomerOnboardingState.Builder builderForValue)
       Output only. Container for customer onboarding steps
       
      .google.cloud.cloudcontrolspartner.v1.CustomerOnboardingState customer_onboarding_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeCustomerOnboardingState

      public Customer.Builder mergeCustomerOnboardingState(CustomerOnboardingState value)
       Output only. Container for customer onboarding steps
       
      .google.cloud.cloudcontrolspartner.v1.CustomerOnboardingState customer_onboarding_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearCustomerOnboardingState

      public Customer.Builder clearCustomerOnboardingState()
       Output only. Container for customer onboarding steps
       
      .google.cloud.cloudcontrolspartner.v1.CustomerOnboardingState customer_onboarding_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCustomerOnboardingStateBuilder

      public CustomerOnboardingState.Builder getCustomerOnboardingStateBuilder()
       Output only. Container for customer onboarding steps
       
      .google.cloud.cloudcontrolspartner.v1.CustomerOnboardingState customer_onboarding_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCustomerOnboardingStateOrBuilder

      public CustomerOnboardingStateOrBuilder getCustomerOnboardingStateOrBuilder()
       Output only. Container for customer onboarding steps
       
      .google.cloud.cloudcontrolspartner.v1.CustomerOnboardingState customer_onboarding_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCustomerOnboardingStateOrBuilder in interface CustomerOrBuilder
    • getIsOnboarded

      public boolean getIsOnboarded()
       Output only. Indicates whether a customer is fully onboarded
       
      bool is_onboarded = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getIsOnboarded in interface CustomerOrBuilder
      Returns:
      The isOnboarded.
    • setIsOnboarded

      public Customer.Builder setIsOnboarded(boolean value)
       Output only. Indicates whether a customer is fully onboarded
       
      bool is_onboarded = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The isOnboarded to set.
      Returns:
      This builder for chaining.
    • clearIsOnboarded

      public Customer.Builder clearIsOnboarded()
       Output only. Indicates whether a customer is fully onboarded
       
      bool is_onboarded = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getOrganizationDomain

      public String getOrganizationDomain()
       Output only. The customer organization domain, extracted from
       CRM Organization’s display_name field. e.g. "google.com"
       
      string organization_domain = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getOrganizationDomain in interface CustomerOrBuilder
      Returns:
      The organizationDomain.
    • getOrganizationDomainBytes

      public com.google.protobuf.ByteString getOrganizationDomainBytes()
       Output only. The customer organization domain, extracted from
       CRM Organization’s display_name field. e.g. "google.com"
       
      string organization_domain = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getOrganizationDomainBytes in interface CustomerOrBuilder
      Returns:
      The bytes for organizationDomain.
    • setOrganizationDomain

      public Customer.Builder setOrganizationDomain(String value)
       Output only. The customer organization domain, extracted from
       CRM Organization’s display_name field. e.g. "google.com"
       
      string organization_domain = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The organizationDomain to set.
      Returns:
      This builder for chaining.
    • clearOrganizationDomain

      public Customer.Builder clearOrganizationDomain()
       Output only. The customer organization domain, extracted from
       CRM Organization’s display_name field. e.g. "google.com"
       
      string organization_domain = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setOrganizationDomainBytes

      public Customer.Builder setOrganizationDomainBytes(com.google.protobuf.ByteString value)
       Output only. The customer organization domain, extracted from
       CRM Organization’s display_name field. e.g. "google.com"
       
      string organization_domain = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for organizationDomain to set.
      Returns:
      This builder for chaining.