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