Class ImportCustomerRequest (3.9.0) 
  
      
     
  
  
  
   
  
    
  
  
    
    
    
  Version 3.9.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   final   class  ImportCustomerRequest   extends   GeneratedMessageV3   implements   ImportCustomerRequestOrBuilder  
   
   Request message for CloudChannelService.ImportCustomer 
 Protobuf type google.cloud.channel.v1.ImportCustomerRequest
 
  
  
  
  Static Fields
   
  AUTH_TOKEN_FIELD_NUMBER 
  
    
public   static   final   int   AUTH_TOKEN_FIELD_NUMBER  
   
  Field Value 
  
  CHANNEL_PARTNER_ID_FIELD_NUMBER 
  
    
public   static   final   int   CHANNEL_PARTNER_ID_FIELD_NUMBER  
   
  Field Value 
  
  CLOUD_IDENTITY_ID_FIELD_NUMBER 
  
    
public   static   final   int   CLOUD_IDENTITY_ID_FIELD_NUMBER  
   
  Field Value 
  
  CUSTOMER_FIELD_NUMBER 
  
    
public   static   final   int   CUSTOMER_FIELD_NUMBER  
   
  Field Value 
  
  DOMAIN_FIELD_NUMBER 
  
    
public   static   final   int   DOMAIN_FIELD_NUMBER  
   
  Field Value 
  
  OVERWRITE_IF_EXISTS_FIELD_NUMBER 
  
    
public   static   final   int   OVERWRITE_IF_EXISTS_FIELD_NUMBER  
   
  Field Value 
  
  PARENT_FIELD_NUMBER 
  
    
public   static   final   int   PARENT_FIELD_NUMBER  
   
  Field Value 
  
  Static Methods
   
   
  getDefaultInstance() 
  
    
public   static   ImportCustomerRequest   getDefaultInstance ()  
   
  Returns 
  
   
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
   
  Returns 
  
   
  newBuilder() 
  
    
public   static   ImportCustomerRequest . Builder   newBuilder ()  
   
  Returns 
  
   
  newBuilder(ImportCustomerRequest prototype) 
  
    
public   static   ImportCustomerRequest . Builder   newBuilder ( ImportCustomerRequest   prototype )  
   
  Parameter 
  
  Returns 
  
   
  
  
    
public   static   ImportCustomerRequest   parseDelimitedFrom ( InputStream   input )  
   
  Parameter 
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   ImportCustomerRequest   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  Parameters 
  
  Returns 
  
  Exceptions 
  
   
  parseFrom(byte[] data) 
  
    
public   static   ImportCustomerRequest   parseFrom ( byte []   data )  
   
  Parameter 
  
    
      
        Name  
        Description  
       
      
        data  
        byte [] 
       
     
  
  Returns 
  
  Exceptions 
  
   
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   ImportCustomerRequest   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  Parameters 
  
  Returns 
  
  Exceptions 
  
   
  parseFrom(ByteString data) 
  
    
public   static   ImportCustomerRequest   parseFrom ( ByteString   data )  
   
  Parameter 
  
  Returns 
  
  Exceptions 
  
   
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   ImportCustomerRequest   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  Parameters 
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   ImportCustomerRequest   parseFrom ( CodedInputStream   input )  
   
  Parameter 
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   ImportCustomerRequest   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  Parameters 
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   ImportCustomerRequest   parseFrom ( InputStream   input )  
   
  Parameter 
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   ImportCustomerRequest   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  Parameters 
  
  Returns 
  
  Exceptions 
  
   
  parseFrom(ByteBuffer data) 
  
    
public   static   ImportCustomerRequest   parseFrom ( ByteBuffer   data )  
   
  Parameter 
  
  Returns 
  
  Exceptions 
  
   
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   ImportCustomerRequest   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  Parameters 
  
  Returns 
  
  Exceptions 
  
   
  parser() 
  
    
public   static   Parser<ImportCustomerRequest>   parser ()  
   
  Returns 
  
  Methods
   
   
  equals(Object obj) 
  
    
public   boolean   equals ( Object   obj )  
   
  Parameter 
  
  Returns 
  
  Overrides 
  
   
  getAuthToken() 
  
    
public   String   getAuthToken ()  
   
   Optional. The super admin of the resold customer generates this token to
 authorize a reseller to access their Cloud Identity and purchase
 entitlements on their behalf. You can omit this token after authorization.
 See https://support.google.com/a/answer/7643790  for more details.
 string auth_token = 4 [(.google.api.field_behavior) = OPTIONAL];
 
  Returns 
  
    
      
        Type  
        Description  
       
      
        String  
        The authToken.
 
       
     
  
   
  getAuthTokenBytes() 
  
    
public   ByteString   getAuthTokenBytes ()  
   
   Optional. The super admin of the resold customer generates this token to
 authorize a reseller to access their Cloud Identity and purchase
 entitlements on their behalf. You can omit this token after authorization.
 See https://support.google.com/a/answer/7643790  for more details.
 string auth_token = 4 [(.google.api.field_behavior) = OPTIONAL];
 
  Returns 
  
    
      
        Type  
        Description  
       
      
        ByteString  
        The bytes for authToken.
 
       
     
  
   
  getChannelPartnerId() 
  
    
public   String   getChannelPartnerId ()  
   
   Optional. Cloud Identity ID of a channel partner who will be the direct reseller for
 the customer's order. This field is required for 2-tier transfer scenarios
 and can be provided via the request Parent binding as well.
 string channel_partner_id = 6 [(.google.api.field_behavior) = OPTIONAL];
 
  Returns 
  
    
      
        Type  
        Description  
       
      
        String  
        The channelPartnerId.
 
       
     
  
   
  getChannelPartnerIdBytes() 
  
    
public   ByteString   getChannelPartnerIdBytes ()  
   
   Optional. Cloud Identity ID of a channel partner who will be the direct reseller for
 the customer's order. This field is required for 2-tier transfer scenarios
 and can be provided via the request Parent binding as well.
 string channel_partner_id = 6 [(.google.api.field_behavior) = OPTIONAL];
 
  Returns 
  
    
      
        Type  
        Description  
       
      
        ByteString  
        The bytes for channelPartnerId.
 
       
     
  
   
  getCloudIdentityId() 
  
    
public   String   getCloudIdentityId ()  
   
   Required. Customer's Cloud Identity ID
 string cloud_identity_id = 3 [(.google.api.field_behavior) = REQUIRED];
 
  Returns 
  
    
      
        Type  
        Description  
       
      
        String  
        The cloudIdentityId.
 
       
     
  
   
  getCloudIdentityIdBytes() 
  
    
public   ByteString   getCloudIdentityIdBytes ()  
   
   Required. Customer's Cloud Identity ID
 string cloud_identity_id = 3 [(.google.api.field_behavior) = REQUIRED];
 
  Returns 
  
    
      
        Type  
        Description  
       
      
        ByteString  
        The bytes for cloudIdentityId.
 
       
     
  
   
  getCustomer() 
  
    
public   String   getCustomer ()  
   
   Optional. Specifies the customer that will receive imported Cloud Identity
 information.
 Format: accounts/{account_id}/customers/{customer_id}
 
 string customer = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
 
 
  Returns 
  
    
      
        Type  
        Description  
       
      
        String  
        The customer.
 
       
     
  
   
  getCustomerBytes() 
  
    
public   ByteString   getCustomerBytes ()  
   
   Optional. Specifies the customer that will receive imported Cloud Identity
 information.
 Format: accounts/{account_id}/customers/{customer_id}
 
 string customer = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
 
 
  Returns 
  
    
      
        Type  
        Description  
       
      
        ByteString  
        The bytes for customer.
 
       
     
  
   
  getCustomerIdentityCase() 
  
    
public   ImportCustomerRequest . CustomerIdentityCase   getCustomerIdentityCase ()  
   
  Returns 
  
   
  getDefaultInstanceForType() 
  
    
public   ImportCustomerRequest   getDefaultInstanceForType ()  
   
  Returns 
  
   
  getDomain() 
  
    
public   String   getDomain ()  
   
   Required. Customer domain.
 string domain = 2 [(.google.api.field_behavior) = REQUIRED];
 
  Returns 
  
    
      
        Type  
        Description  
       
      
        String  
        The domain.
 
       
     
  
   
  getDomainBytes() 
  
    
public   ByteString   getDomainBytes ()  
   
   Required. Customer domain.
 string domain = 2 [(.google.api.field_behavior) = REQUIRED];
 
  Returns 
  
   
  getOverwriteIfExists() 
  
    
public   boolean   getOverwriteIfExists ()  
   
   Required. Choose to overwrite an existing customer if found.
 This must be set to true if there is an existing customer with a
 conflicting region code or domain.
 bool overwrite_if_exists = 5 [(.google.api.field_behavior) = REQUIRED];
 
  Returns 
  
    
      
        Type  
        Description  
       
      
        boolean  
        The overwriteIfExists.
 
       
     
  
   
  getParent() 
  
    
public   String   getParent ()  
   
   Required. The resource name of the reseller's account.
 Parent takes the format: accounts/{account_id} or
 accounts/{account_id}/channelPartnerLinks/{channel_partner_id}
 string parent = 1 [(.google.api.field_behavior) = REQUIRED];
 
  Returns 
  
    
      
        Type  
        Description  
       
      
        String  
        The parent.
 
       
     
  
   
  getParentBytes() 
  
    
public   ByteString   getParentBytes ()  
   
   Required. The resource name of the reseller's account.
 Parent takes the format: accounts/{account_id} or
 accounts/{account_id}/channelPartnerLinks/{channel_partner_id}
 string parent = 1 [(.google.api.field_behavior) = REQUIRED];
 
  Returns 
  
   
  getParserForType() 
  
    
public   Parser<ImportCustomerRequest>   getParserForType ()  
   
  Returns 
  
  Overrides 
  
   
  getSerializedSize() 
  
    
public   int   getSerializedSize ()  
   
  Returns 
  
  Overrides 
  
   
  getUnknownFields() 
  
    
public   final   UnknownFieldSet   getUnknownFields ()  
   
  Returns 
  
  Overrides 
  
   
  hasCloudIdentityId() 
  
    
public   boolean   hasCloudIdentityId ()  
   
   Required. Customer's Cloud Identity ID
 string cloud_identity_id = 3 [(.google.api.field_behavior) = REQUIRED];
 
  Returns 
  
    
      
        Type  
        Description  
       
      
        boolean  
        Whether the cloudIdentityId field is set.
 
       
     
  
   
  hasDomain() 
  
    
public   boolean   hasDomain ()  
   
   Required. Customer domain.
 string domain = 2 [(.google.api.field_behavior) = REQUIRED];
 
  Returns 
  
    
      
        Type  
        Description  
       
      
        boolean  
        Whether the domain field is set.
 
       
     
  
   
  hashCode() 
  
  Returns 
  
  Overrides 
  
   
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
   
  Returns 
  
  Overrides 
  
   
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
   
  Returns 
  
  Overrides 
  
   
  newBuilderForType() 
  
    
public   ImportCustomerRequest . Builder   newBuilderForType ()  
   
  Returns 
  
   
  newBuilderForType(GeneratedMessageV3.BuilderParent parent) 
  
    
protected   ImportCustomerRequest . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
   
  Parameter 
  
  Returns 
  
  Overrides 
  
   
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) 
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
   
  Parameter 
  
  Returns 
  
  Overrides 
  
   
  toBuilder() 
  
    
public   ImportCustomerRequest . Builder   toBuilder ()  
   
  Returns 
  
   
  writeTo(CodedOutputStream output) 
  
    
public   void   writeTo ( CodedOutputStream   output )  
   
  Parameter 
  
  Overrides 
  
  Exceptions 
  
 
     
    
  
  
  
     
  
 
  
    
    
      
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-30 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-30 UTC."],[],[]]