Class HumanAgentHandoffConfig.Builder (4.3.1)

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public HumanAgentHandoffConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
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
NameDescription
fieldFieldDescriptor
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
NameDescription
oneofOneofDescriptor
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

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getLivePersonConfig()

public HumanAgentHandoffConfig.LivePersonConfig getLivePersonConfig()

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

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

Returns
TypeDescription
HumanAgentHandoffConfig.LivePersonConfig

The livePersonConfig.

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
TypeDescription
HumanAgentHandoffConfig.SalesforceLiveAgentConfig

The salesforceLiveAgentConfig.

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
TypeDescription
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
TypeDescription
boolean

Whether the salesforceLiveAgentConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(HumanAgentHandoffConfig other)

public HumanAgentHandoffConfig.Builder mergeFrom(HumanAgentHandoffConfig other)
Parameter
NameDescription
otherHumanAgentHandoffConfig
Returns

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public HumanAgentHandoffConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public HumanAgentHandoffConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
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
NameDescription
unknownFieldsUnknownFieldSet
Returns Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public HumanAgentHandoffConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
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
NameDescription
unknownFieldsUnknownFieldSet
Returns Overrides