Class HumanAgentHandoffConfig.Builder (4.7.5)

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public HumanAgentHandoffConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
HumanAgentHandoffConfig.Builder
Overrides

build()

public HumanAgentHandoffConfig build()
Returns
TypeDescription
HumanAgentHandoffConfig

buildPartial()

public HumanAgentHandoffConfig buildPartial()
Returns
TypeDescription
HumanAgentHandoffConfig

clear()

public HumanAgentHandoffConfig.Builder clear()
Returns
TypeDescription
HumanAgentHandoffConfig.Builder
Overrides

clearAgentService()

public HumanAgentHandoffConfig.Builder clearAgentService()
Returns
TypeDescription
HumanAgentHandoffConfig.Builder

clearField(Descriptors.FieldDescriptor field)

public HumanAgentHandoffConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
HumanAgentHandoffConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public HumanAgentHandoffConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
HumanAgentHandoffConfig.Builder
Overrides

clearSalesforceLiveAgentConfig()

public HumanAgentHandoffConfig.Builder clearSalesforceLiveAgentConfig()

Uses Salesforce Live Agent.

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

Returns
TypeDescription
HumanAgentHandoffConfig.Builder

clone()

public HumanAgentHandoffConfig.Builder clone()
Returns
TypeDescription
HumanAgentHandoffConfig.Builder
Overrides

getAgentServiceCase()

public HumanAgentHandoffConfig.AgentServiceCase getAgentServiceCase()
Returns
TypeDescription
HumanAgentHandoffConfig.AgentServiceCase

getDefaultInstanceForType()

public HumanAgentHandoffConfig getDefaultInstanceForType()
Returns
TypeDescription
HumanAgentHandoffConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getLivePersonConfig()

public HumanAgentHandoffConfig.LivePersonConfig getLivePersonConfig()

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

.google.cloud.dialogflow.v2beta1.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.v2beta1.HumanAgentHandoffConfig.LivePersonConfig live_person_config = 1;

Returns
TypeDescription
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
TypeDescription
HumanAgentHandoffConfig.LivePersonConfigOrBuilder

getSalesforceLiveAgentConfig()

public HumanAgentHandoffConfig.SalesforceLiveAgentConfig getSalesforceLiveAgentConfig()

Uses Salesforce Live Agent.

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

Returns
TypeDescription
HumanAgentHandoffConfig.SalesforceLiveAgentConfig.Builder

getSalesforceLiveAgentConfigOrBuilder()

public HumanAgentHandoffConfig.SalesforceLiveAgentConfigOrBuilder getSalesforceLiveAgentConfigOrBuilder()

Uses Salesforce Live Agent.

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

Returns
TypeDescription
HumanAgentHandoffConfig.SalesforceLiveAgentConfigOrBuilder

hasLivePersonConfig()

public boolean hasLivePersonConfig()

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

.google.cloud.dialogflow.v2beta1.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.v2beta1.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
TypeDescription
HumanAgentHandoffConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public HumanAgentHandoffConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueHumanAgentHandoffConfig.LivePersonConfig
Returns
TypeDescription
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
NameDescription
valueHumanAgentHandoffConfig.SalesforceLiveAgentConfig
Returns
TypeDescription
HumanAgentHandoffConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final HumanAgentHandoffConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
HumanAgentHandoffConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public HumanAgentHandoffConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueHumanAgentHandoffConfig.LivePersonConfig
Returns
TypeDescription
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
NameDescription
builderForValueHumanAgentHandoffConfig.LivePersonConfig.Builder
Returns
TypeDescription
HumanAgentHandoffConfig.Builder

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
TypeDescription
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
NameDescription
valueHumanAgentHandoffConfig.SalesforceLiveAgentConfig
Returns
TypeDescription
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
NameDescription
builderForValueHumanAgentHandoffConfig.SalesforceLiveAgentConfig.Builder
Returns
TypeDescription
HumanAgentHandoffConfig.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final HumanAgentHandoffConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
HumanAgentHandoffConfig.Builder
Overrides