Class HumanAgentHandoffConfig (4.19.0)

public final class HumanAgentHandoffConfig extends GeneratedMessageV3 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 Fields

LIVE_PERSON_CONFIG_FIELD_NUMBER

public static final int LIVE_PERSON_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

SALESFORCE_LIVE_AGENT_CONFIG_FIELD_NUMBER

public static final int SALESFORCE_LIVE_AGENT_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static HumanAgentHandoffConfig getDefaultInstance()
Returns
Type Description
HumanAgentHandoffConfig

getDescriptor()

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

newBuilder()

public static HumanAgentHandoffConfig.Builder newBuilder()
Returns
Type Description
HumanAgentHandoffConfig.Builder

newBuilder(HumanAgentHandoffConfig prototype)

public static HumanAgentHandoffConfig.Builder newBuilder(HumanAgentHandoffConfig prototype)
Parameter
Name Description
prototype HumanAgentHandoffConfig
Returns
Type Description
HumanAgentHandoffConfig.Builder

parseDelimitedFrom(InputStream input)

public static HumanAgentHandoffConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
HumanAgentHandoffConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static HumanAgentHandoffConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HumanAgentHandoffConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static HumanAgentHandoffConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
HumanAgentHandoffConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static HumanAgentHandoffConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HumanAgentHandoffConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static HumanAgentHandoffConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
HumanAgentHandoffConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static HumanAgentHandoffConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HumanAgentHandoffConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static HumanAgentHandoffConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
HumanAgentHandoffConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static HumanAgentHandoffConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HumanAgentHandoffConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static HumanAgentHandoffConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
HumanAgentHandoffConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static HumanAgentHandoffConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HumanAgentHandoffConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static HumanAgentHandoffConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
HumanAgentHandoffConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static HumanAgentHandoffConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HumanAgentHandoffConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<HumanAgentHandoffConfig> parser()
Returns
Type Description
Parser<HumanAgentHandoffConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAgentServiceCase()

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

getDefaultInstanceForType()

public HumanAgentHandoffConfig getDefaultInstanceForType()
Returns
Type Description
HumanAgentHandoffConfig

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.

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

getParserForType()

public Parser<HumanAgentHandoffConfig> getParserForType()
Returns
Type Description
Parser<HumanAgentHandoffConfig>
Overrides

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.

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
Type Description
UnknownFieldSet
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected HumanAgentHandoffConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
HumanAgentHandoffConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException