Class ImportCustomerRequest (3.41.0) 
  
      
     
  
  
  
   
  
    
  
  
    
    
    
  Version 3.41.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   final   class  ImportCustomerRequest   extends   GeneratedMessageV3   implements   ImportCustomerRequestOrBuilder  
   
   Request message for
 CloudChannelService.ImportCustomer 
 Protobuf type google.cloud.channel.v1.ImportCustomerRequest
 
  
  
  
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT) 
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int) 
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Fields
   
  AUTH_TOKEN_FIELD_NUMBER 
  
    
public   static   final   int   AUTH_TOKEN_FIELD_NUMBER  
   
  
    
      
        Field Value  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  CHANNEL_PARTNER_ID_FIELD_NUMBER 
  
    
public   static   final   int   CHANNEL_PARTNER_ID_FIELD_NUMBER  
   
  
    
      
        Field Value  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  CLOUD_IDENTITY_ID_FIELD_NUMBER 
  
    
public   static   final   int   CLOUD_IDENTITY_ID_FIELD_NUMBER  
   
  
    
      
        Field Value  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  CUSTOMER_FIELD_NUMBER 
  
    
public   static   final   int   CUSTOMER_FIELD_NUMBER  
   
  
    
      
        Field Value  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  DOMAIN_FIELD_NUMBER 
  
    
public   static   final   int   DOMAIN_FIELD_NUMBER  
   
  
    
      
        Field Value  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  OVERWRITE_IF_EXISTS_FIELD_NUMBER 
  
    
public   static   final   int   OVERWRITE_IF_EXISTS_FIELD_NUMBER  
   
  
    
      
        Field Value  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  PARENT_FIELD_NUMBER 
  
    
public   static   final   int   PARENT_FIELD_NUMBER  
   
  
    
      
        Field Value  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  Static Methods
   
   
  getDefaultInstance() 
  
    
public   static   ImportCustomerRequest   getDefaultInstance ()  
   
  
   
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
   
  
   
  newBuilder() 
  
    
public   static   ImportCustomerRequest . Builder   newBuilder ()  
   
  
   
  newBuilder(ImportCustomerRequest prototype) 
  
    
public   static   ImportCustomerRequest . Builder   newBuilder ( ImportCustomerRequest   prototype )  
   
  
  
   
  
  
    
public   static   ImportCustomerRequest   parseDelimitedFrom ( InputStream   input )  
   
  
  
  
   
  
  
    
public   static   ImportCustomerRequest   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  parseFrom(byte[] data) 
  
    
public   static   ImportCustomerRequest   parseFrom ( byte []   data )  
   
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        data 
        byte [] 
       
     
  
  
  
   
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   ImportCustomerRequest   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  parseFrom(ByteString data) 
  
    
public   static   ImportCustomerRequest   parseFrom ( ByteString   data )  
   
  
  
  
   
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   ImportCustomerRequest   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  
  
    
public   static   ImportCustomerRequest   parseFrom ( CodedInputStream   input )  
   
  
  
  
   
  
  
    
public   static   ImportCustomerRequest   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  
  
    
public   static   ImportCustomerRequest   parseFrom ( InputStream   input )  
   
  
  
  
   
  
  
    
public   static   ImportCustomerRequest   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  parseFrom(ByteBuffer data) 
  
    
public   static   ImportCustomerRequest   parseFrom ( ByteBuffer   data )  
   
  
  
  
   
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   ImportCustomerRequest   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  parser() 
  
    
public   static   Parser<ImportCustomerRequest>   parser ()  
   
  
  Methods
   
   
  equals(Object obj) 
  
    
public   boolean   equals ( Object   obj )  
   
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        obj 
        Object  
       
     
  
  
  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 ()  
   
  
   
  getDefaultInstanceForType() 
  
    
public   ImportCustomerRequest   getDefaultInstanceForType ()  
   
  
   
  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  
       
      
        Type  
        Description  
       
      
        ByteString  
        The bytes for domain.
 
       
     
  
   
  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  
       
      
        Type  
        Description  
       
      
        ByteString  
        The bytes for parent.
 
       
     
  
   
  getParserForType() 
  
    
public   Parser<ImportCustomerRequest>   getParserForType ()  
   
  
  Overrides 
  
   
  getSerializedSize() 
  
    
public   int   getSerializedSize ()  
   
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  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  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  Overrides 
  
   
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
   
  
  Overrides 
  
   
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
   
  
  Overrides 
  
   
  newBuilderForType() 
  
    
public   ImportCustomerRequest . Builder   newBuilderForType ()  
   
  
   
  newBuilderForType(GeneratedMessageV3.BuilderParent parent) 
  
    
protected   ImportCustomerRequest . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
   
  
  
  Overrides 
  
   
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) 
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
   
  
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        Object  
         
       
     
  
  Overrides 
  
   
  toBuilder() 
  
    
public   ImportCustomerRequest . Builder   toBuilder ()  
   
  
   
  writeTo(CodedOutputStream output) 
  
    
public   void   writeTo ( CodedOutputStream   output )  
   
  
  Overrides 
  
  
 
     
    
  
  
  
     
  
 
  
    
    
      
       
    
    
  
  
 
  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."],[],[]]