Class HumanAgentHandoffConfig.Builder (4.5.11) 
  
      
     
  
  
  
   
  
    
  
  
    
    
    
  Version 4.5.11keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   static   final   class  HumanAgentHandoffConfig . Builder   extends   GeneratedMessageV3 . Builder<HumanAgentHandoffConfig . Builder >  implements   HumanAgentHandoffConfigOrBuilder  
   
   Defines the hand off to a live agent, typically on which external agent
 service provider to connect to a conversation.
 Currently, this feature is not general available, please contact Google
 to get access.
 Protobuf type google.cloud.dialogflow.v2.HumanAgentHandoffConfig
 
  
  
  
  Static Methods
   
   
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
   
  Returns 
  
  Methods
   
   
  addRepeatedField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   HumanAgentHandoffConfig . Builder   addRepeatedField ( Descriptors . FieldDescriptor   field ,   Object   value )  
   
  Parameters 
  
  Returns 
  
  Overrides 
  
   
  build() 
  
    
public   HumanAgentHandoffConfig   build ()  
   
  Returns 
  
   
  buildPartial() 
  
    
public   HumanAgentHandoffConfig   buildPartial ()  
   
  Returns 
  
   
  clear() 
  
    
public   HumanAgentHandoffConfig . Builder   clear ()  
   
  Returns 
  
  Overrides 
  
   
  clearAgentService() 
  
    
public   HumanAgentHandoffConfig . Builder   clearAgentService ()  
   
  Returns 
  
   
  clearField(Descriptors.FieldDescriptor field) 
  
    
public   HumanAgentHandoffConfig . Builder   clearField ( Descriptors . FieldDescriptor   field )  
   
  Parameter 
  
  Returns 
  
  Overrides 
  
   
  clearLivePersonConfig() 
  
    
public   HumanAgentHandoffConfig . Builder   clearLivePersonConfig ()  
   
   Uses LivePerson (https://www.liveperson.com ).
 
 .google.cloud.dialogflow.v2.HumanAgentHandoffConfig.LivePersonConfig live_person_config = 1;
 
 
  Returns 
  
   
  clearOneof(Descriptors.OneofDescriptor oneof) 
  
    
public   HumanAgentHandoffConfig . Builder   clearOneof ( Descriptors . OneofDescriptor   oneof )  
   
  Parameter 
  
  Returns 
  
  Overrides 
  
   
  clearSalesforceLiveAgentConfig() 
  
    
public   HumanAgentHandoffConfig . Builder   clearSalesforceLiveAgentConfig ()  
   
   Uses Salesforce Live Agent.
 
 .google.cloud.dialogflow.v2.HumanAgentHandoffConfig.SalesforceLiveAgentConfig salesforce_live_agent_config = 2;
 
 
  Returns 
  
   
  clone() 
  
    
public   HumanAgentHandoffConfig . Builder   clone ()  
   
  Returns 
  
  Overrides 
  
   
  getAgentServiceCase() 
  
    
public   HumanAgentHandoffConfig . AgentServiceCase   getAgentServiceCase ()  
   
  Returns 
  
   
  getDefaultInstanceForType() 
  
    
public   HumanAgentHandoffConfig   getDefaultInstanceForType ()  
   
  Returns 
  
   
  getDescriptorForType() 
  
    
public   Descriptors . Descriptor   getDescriptorForType ()  
   
  Returns 
  
  Overrides 
  
   
  getLivePersonConfig() 
  
    
public   HumanAgentHandoffConfig . LivePersonConfig   getLivePersonConfig ()  
   
   Uses LivePerson (https://www.liveperson.com ).
 
 .google.cloud.dialogflow.v2.HumanAgentHandoffConfig.LivePersonConfig live_person_config = 1;
 
 
  Returns 
  
   
  getLivePersonConfigBuilder() 
  
    
public   HumanAgentHandoffConfig . LivePersonConfig . Builder   getLivePersonConfigBuilder ()  
   
   Uses LivePerson (https://www.liveperson.com ).
 
 .google.cloud.dialogflow.v2.HumanAgentHandoffConfig.LivePersonConfig live_person_config = 1;
 
 
  Returns 
  
   
  getLivePersonConfigOrBuilder() 
  
    
public   HumanAgentHandoffConfig . LivePersonConfigOrBuilder   getLivePersonConfigOrBuilder ()  
   
   Uses LivePerson (https://www.liveperson.com ).
 
 .google.cloud.dialogflow.v2.HumanAgentHandoffConfig.LivePersonConfig live_person_config = 1;
 
 
  Returns 
  
   
  getSalesforceLiveAgentConfig() 
  
    
public   HumanAgentHandoffConfig . SalesforceLiveAgentConfig   getSalesforceLiveAgentConfig ()  
   
   Uses Salesforce Live Agent.
 
 .google.cloud.dialogflow.v2.HumanAgentHandoffConfig.SalesforceLiveAgentConfig salesforce_live_agent_config = 2;
 
 
  Returns 
  
   
  getSalesforceLiveAgentConfigBuilder() 
  
    
public   HumanAgentHandoffConfig . SalesforceLiveAgentConfig . Builder   getSalesforceLiveAgentConfigBuilder ()  
   
   Uses Salesforce Live Agent.
 
 .google.cloud.dialogflow.v2.HumanAgentHandoffConfig.SalesforceLiveAgentConfig salesforce_live_agent_config = 2;
 
 
  Returns 
  
   
  getSalesforceLiveAgentConfigOrBuilder() 
  
    
public   HumanAgentHandoffConfig . SalesforceLiveAgentConfigOrBuilder   getSalesforceLiveAgentConfigOrBuilder ()  
   
   Uses Salesforce Live Agent.
 
 .google.cloud.dialogflow.v2.HumanAgentHandoffConfig.SalesforceLiveAgentConfig salesforce_live_agent_config = 2;
 
 
  Returns 
  
   
  hasLivePersonConfig() 
  
    
public   boolean   hasLivePersonConfig ()  
   
   Uses LivePerson (https://www.liveperson.com ).
 
 .google.cloud.dialogflow.v2.HumanAgentHandoffConfig.LivePersonConfig live_person_config = 1;
 
 
  Returns 
  
    
      
        Type  
        Description  
       
      
        boolean  
        Whether the livePersonConfig field is set.
 
       
     
  
   
  hasSalesforceLiveAgentConfig() 
  
    
public   boolean   hasSalesforceLiveAgentConfig ()  
   
   Uses Salesforce Live Agent.
 
 .google.cloud.dialogflow.v2.HumanAgentHandoffConfig.SalesforceLiveAgentConfig salesforce_live_agent_config = 2;
 
 
  Returns 
  
    
      
        Type  
        Description  
       
      
        boolean  
        Whether the salesforceLiveAgentConfig field is set.
 
       
     
  
   
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
   
  Returns 
  
  Overrides 
  
   
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
   
  Returns 
  
  Overrides 
  
   
  mergeFrom(HumanAgentHandoffConfig other) 
  
    
public   HumanAgentHandoffConfig . Builder   mergeFrom ( HumanAgentHandoffConfig   other )  
   
  Parameter 
  
  Returns 
  
   
  
  
    
public   HumanAgentHandoffConfig . Builder   mergeFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  Parameters 
  
  Returns 
  
  Overrides 
  
  Exceptions 
  
   
  mergeFrom(Message other) 
  
    
public   HumanAgentHandoffConfig . Builder   mergeFrom ( Message   other )  
   
  Parameter 
  
  Returns 
  
  Overrides 
  
   
  mergeLivePersonConfig(HumanAgentHandoffConfig.LivePersonConfig value) 
  
    
public   HumanAgentHandoffConfig . Builder   mergeLivePersonConfig ( HumanAgentHandoffConfig . LivePersonConfig   value )  
   
   Uses LivePerson (https://www.liveperson.com ).
 
 .google.cloud.dialogflow.v2.HumanAgentHandoffConfig.LivePersonConfig live_person_config = 1;
 
 
  Parameter 
  
  Returns 
  
   
  mergeSalesforceLiveAgentConfig(HumanAgentHandoffConfig.SalesforceLiveAgentConfig value) 
  
    
public   HumanAgentHandoffConfig . Builder   mergeSalesforceLiveAgentConfig ( HumanAgentHandoffConfig . SalesforceLiveAgentConfig   value )  
   
   Uses Salesforce Live Agent.
 
 .google.cloud.dialogflow.v2.HumanAgentHandoffConfig.SalesforceLiveAgentConfig salesforce_live_agent_config = 2;
 
 
  Parameter 
  
  Returns 
  
   
  mergeUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   HumanAgentHandoffConfig . Builder   mergeUnknownFields ( UnknownFieldSet   unknownFields )  
   
  Parameter 
  
  Returns 
  
  Overrides 
  
   
  setField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   HumanAgentHandoffConfig . Builder   setField ( Descriptors . FieldDescriptor   field ,   Object   value )  
   
  Parameters 
  
  Returns 
  
  Overrides 
  
   
  setLivePersonConfig(HumanAgentHandoffConfig.LivePersonConfig value) 
  
    
public   HumanAgentHandoffConfig . Builder   setLivePersonConfig ( HumanAgentHandoffConfig . LivePersonConfig   value )  
   
   Uses LivePerson (https://www.liveperson.com ).
 
 .google.cloud.dialogflow.v2.HumanAgentHandoffConfig.LivePersonConfig live_person_config = 1;
 
 
  Parameter 
  
  Returns 
  
   
  setLivePersonConfig(HumanAgentHandoffConfig.LivePersonConfig.Builder builderForValue) 
  
    
public   HumanAgentHandoffConfig . Builder   setLivePersonConfig ( HumanAgentHandoffConfig . LivePersonConfig . Builder   builderForValue )  
   
   Uses LivePerson (https://www.liveperson.com ).
 
 .google.cloud.dialogflow.v2.HumanAgentHandoffConfig.LivePersonConfig live_person_config = 1;
 
 
  Parameter 
  
  Returns 
  
   
  setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) 
  
    
public   HumanAgentHandoffConfig . Builder   setRepeatedField ( Descriptors . FieldDescriptor   field ,   int   index ,   Object   value )  
   
  Parameters 
  
  Returns 
  
  Overrides 
  
   
  setSalesforceLiveAgentConfig(HumanAgentHandoffConfig.SalesforceLiveAgentConfig value) 
  
    
public   HumanAgentHandoffConfig . Builder   setSalesforceLiveAgentConfig ( HumanAgentHandoffConfig . SalesforceLiveAgentConfig   value )  
   
   Uses Salesforce Live Agent.
 
 .google.cloud.dialogflow.v2.HumanAgentHandoffConfig.SalesforceLiveAgentConfig salesforce_live_agent_config = 2;
 
 
  Parameter 
  
  Returns 
  
   
  setSalesforceLiveAgentConfig(HumanAgentHandoffConfig.SalesforceLiveAgentConfig.Builder builderForValue) 
  
    
public   HumanAgentHandoffConfig . Builder   setSalesforceLiveAgentConfig ( HumanAgentHandoffConfig . SalesforceLiveAgentConfig . Builder   builderForValue )  
   
   Uses Salesforce Live Agent.
 
 .google.cloud.dialogflow.v2.HumanAgentHandoffConfig.SalesforceLiveAgentConfig salesforce_live_agent_config = 2;
 
 
  Parameter 
  
  Returns 
  
   
  setUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   HumanAgentHandoffConfig . Builder   setUnknownFields ( UnknownFieldSet   unknownFields )  
   
  Parameter 
  
  Returns 
  
  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."],[],[]]