Class HumanAgentHandoffConfig.Builder (4.10.0)

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.v2beta1.HumanAgentHandoffConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public HumanAgentHandoffConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
HumanAgentHandoffConfig.Builder
Overrides

build()

public HumanAgentHandoffConfig build()
Returns
Type Description
HumanAgentHandoffConfig

buildPartial()

public HumanAgentHandoffConfig buildPartial()
Returns
Type Description
HumanAgentHandoffConfig

clear()

public HumanAgentHandoffConfig.Builder clear()
Returns
Type Description
HumanAgentHandoffConfig.Builder
Overrides

clearAgentService()

public HumanAgentHandoffConfig.Builder clearAgentService()
Returns
Type Description
HumanAgentHandoffConfig.Builder

clearField(Descriptors.FieldDescriptor field)

public HumanAgentHandoffConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
HumanAgentHandoffConfig.Builder
Overrides

clearLivePersonConfig()

public HumanAgentHandoffConfig.Builder clearLivePersonConfig()

Uses LivePerson (https://www.liveperson.com).

.google.cloud.dialogflow.v2beta1.HumanAgentHandoffConfig.LivePersonConfig live_person_config = 1;

Returns
Type Description
HumanAgentHandoffConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public HumanAgentHandoffConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
HumanAgentHandoffConfig.Builder
Overrides

clearSalesforceLiveAgentConfig()

public HumanAgentHandoffConfig.Builder clearSalesforceLiveAgentConfig()

Uses Salesforce Live Agent.

.google.cloud.dialogflow.v2beta1.HumanAgentHandoffConfig.SalesforceLiveAgentConfig salesforce_live_agent_config = 2;

Returns
Type Description
HumanAgentHandoffConfig.Builder

clone()

public HumanAgentHandoffConfig.Builder clone()
Returns
Type Description
HumanAgentHandoffConfig.Builder
Overrides

getAgentServiceCase()

public HumanAgentHandoffConfig.AgentServiceCase getAgentServiceCase()
Returns
Type Description
HumanAgentHandoffConfig.AgentServiceCase

getDefaultInstanceForType()

public HumanAgentHandoffConfig getDefaultInstanceForType()
Returns
Type Description
HumanAgentHandoffConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getLivePersonConfig()

public HumanAgentHandoffConfig.LivePersonConfig getLivePersonConfig()

Uses LivePerson (https://www.liveperson.com).

.google.cloud.dialogflow.v2beta1.HumanAgentHandoffConfig.LivePersonConfig live_person_config = 1;

Returns
Type Description
HumanAgentHandoffConfig.LivePersonConfig

The livePersonConfig.

getLivePersonConfigBuilder()

public HumanAgentHandoffConfig.LivePersonConfig.Builder getLivePersonConfigBuilder()

Uses LivePerson (https://www.liveperson.com).

.google.cloud.dialogflow.v2beta1.HumanAgentHandoffConfig.LivePersonConfig live_person_config = 1;

Returns
Type Description
HumanAgentHandoffConfig.LivePersonConfig.Builder

getLivePersonConfigOrBuilder()

public HumanAgentHandoffConfig.LivePersonConfigOrBuilder getLivePersonConfigOrBuilder()

Uses LivePerson (https://www.liveperson.com).

.google.cloud.dialogflow.v2beta1.HumanAgentHandoffConfig.LivePersonConfig live_person_config = 1;

Returns
Type Description
HumanAgentHandoffConfig.LivePersonConfigOrBuilder

getSalesforceLiveAgentConfig()

public HumanAgentHandoffConfig.SalesforceLiveAgentConfig getSalesforceLiveAgentConfig()

Uses Salesforce Live Agent.

.google.cloud.dialogflow.v2beta1.HumanAgentHandoffConfig.SalesforceLiveAgentConfig salesforce_live_agent_config = 2;

Returns
Type Description
HumanAgentHandoffConfig.SalesforceLiveAgentConfig

The salesforceLiveAgentConfig.

getSalesforceLiveAgentConfigBuilder()

public HumanAgentHandoffConfig.SalesforceLiveAgentConfig.Builder getSalesforceLiveAgentConfigBuilder()

Uses Salesforce Live Agent.

.google.cloud.dialogflow.v2beta1.HumanAgentHandoffConfig.SalesforceLiveAgentConfig salesforce_live_agent_config = 2;

Returns
Type Description
HumanAgentHandoffConfig.SalesforceLiveAgentConfig.Builder

getSalesforceLiveAgentConfigOrBuilder()

public HumanAgentHandoffConfig.SalesforceLiveAgentConfigOrBuilder getSalesforceLiveAgentConfigOrBuilder()

Uses Salesforce Live Agent.

.google.cloud.dialogflow.v2beta1.HumanAgentHandoffConfig.SalesforceLiveAgentConfig salesforce_live_agent_config = 2;

Returns
Type Description
HumanAgentHandoffConfig.SalesforceLiveAgentConfigOrBuilder

hasLivePersonConfig()

public boolean hasLivePersonConfig()

Uses LivePerson (https://www.liveperson.com).

.google.cloud.dialogflow.v2beta1.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.v2beta1.HumanAgentHandoffConfig.SalesforceLiveAgentConfig salesforce_live_agent_config = 2;

Returns
Type Description
boolean

Whether the salesforceLiveAgentConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(HumanAgentHandoffConfig other)

public HumanAgentHandoffConfig.Builder mergeFrom(HumanAgentHandoffConfig other)
Parameter
Name Description
other HumanAgentHandoffConfig
Returns
Type Description
HumanAgentHandoffConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public HumanAgentHandoffConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HumanAgentHandoffConfig.Builder
Overrides Exceptions
Type Description
IOException

mergeFrom(Message other)

public HumanAgentHandoffConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
HumanAgentHandoffConfig.Builder
Overrides

mergeLivePersonConfig(HumanAgentHandoffConfig.LivePersonConfig value)

public HumanAgentHandoffConfig.Builder mergeLivePersonConfig(HumanAgentHandoffConfig.LivePersonConfig value)

Uses LivePerson (https://www.liveperson.com).

.google.cloud.dialogflow.v2beta1.HumanAgentHandoffConfig.LivePersonConfig live_person_config = 1;

Parameter
Name Description
value HumanAgentHandoffConfig.LivePersonConfig
Returns
Type Description
HumanAgentHandoffConfig.Builder

mergeSalesforceLiveAgentConfig(HumanAgentHandoffConfig.SalesforceLiveAgentConfig value)

public HumanAgentHandoffConfig.Builder mergeSalesforceLiveAgentConfig(HumanAgentHandoffConfig.SalesforceLiveAgentConfig value)

Uses Salesforce Live Agent.

.google.cloud.dialogflow.v2beta1.HumanAgentHandoffConfig.SalesforceLiveAgentConfig salesforce_live_agent_config = 2;

Parameter
Name Description
value HumanAgentHandoffConfig.SalesforceLiveAgentConfig
Returns
Type Description
HumanAgentHandoffConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final HumanAgentHandoffConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
HumanAgentHandoffConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public HumanAgentHandoffConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
HumanAgentHandoffConfig.Builder
Overrides

setLivePersonConfig(HumanAgentHandoffConfig.LivePersonConfig value)

public HumanAgentHandoffConfig.Builder setLivePersonConfig(HumanAgentHandoffConfig.LivePersonConfig value)

Uses LivePerson (https://www.liveperson.com).

.google.cloud.dialogflow.v2beta1.HumanAgentHandoffConfig.LivePersonConfig live_person_config = 1;

Parameter
Name Description
value HumanAgentHandoffConfig.LivePersonConfig
Returns
Type Description
HumanAgentHandoffConfig.Builder

setLivePersonConfig(HumanAgentHandoffConfig.LivePersonConfig.Builder builderForValue)

public HumanAgentHandoffConfig.Builder setLivePersonConfig(HumanAgentHandoffConfig.LivePersonConfig.Builder builderForValue)

Uses LivePerson (https://www.liveperson.com).

.google.cloud.dialogflow.v2beta1.HumanAgentHandoffConfig.LivePersonConfig live_person_config = 1;

Parameter
Name Description
builderForValue HumanAgentHandoffConfig.LivePersonConfig.Builder
Returns
Type Description
HumanAgentHandoffConfig.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public HumanAgentHandoffConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
HumanAgentHandoffConfig.Builder
Overrides

setSalesforceLiveAgentConfig(HumanAgentHandoffConfig.SalesforceLiveAgentConfig value)

public HumanAgentHandoffConfig.Builder setSalesforceLiveAgentConfig(HumanAgentHandoffConfig.SalesforceLiveAgentConfig value)

Uses Salesforce Live Agent.

.google.cloud.dialogflow.v2beta1.HumanAgentHandoffConfig.SalesforceLiveAgentConfig salesforce_live_agent_config = 2;

Parameter
Name Description
value HumanAgentHandoffConfig.SalesforceLiveAgentConfig
Returns
Type Description
HumanAgentHandoffConfig.Builder

setSalesforceLiveAgentConfig(HumanAgentHandoffConfig.SalesforceLiveAgentConfig.Builder builderForValue)

public HumanAgentHandoffConfig.Builder setSalesforceLiveAgentConfig(HumanAgentHandoffConfig.SalesforceLiveAgentConfig.Builder builderForValue)

Uses Salesforce Live Agent.

.google.cloud.dialogflow.v2beta1.HumanAgentHandoffConfig.SalesforceLiveAgentConfig salesforce_live_agent_config = 2;

Parameter
Name Description
builderForValue HumanAgentHandoffConfig.SalesforceLiveAgentConfig.Builder
Returns
Type Description
HumanAgentHandoffConfig.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final HumanAgentHandoffConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
HumanAgentHandoffConfig.Builder
Overrides