Class HumanAgentHandoffConfig (4.6.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.v2.HumanAgentHandoffConfig

Static Fields

LIVE_PERSON_CONFIG_FIELD_NUMBER

public static final int LIVE_PERSON_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

SALESFORCE_LIVE_AGENT_CONFIG_FIELD_NUMBER

public static final int SALESFORCE_LIVE_AGENT_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static HumanAgentHandoffConfig getDefaultInstance()
Returns
TypeDescription
HumanAgentHandoffConfig

getDescriptor()

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

newBuilder()

public static HumanAgentHandoffConfig.Builder newBuilder()
Returns
TypeDescription
HumanAgentHandoffConfig.Builder

newBuilder(HumanAgentHandoffConfig prototype)

public static HumanAgentHandoffConfig.Builder newBuilder(HumanAgentHandoffConfig prototype)
Parameter
NameDescription
prototypeHumanAgentHandoffConfig
Returns
TypeDescription
HumanAgentHandoffConfig.Builder

parseDelimitedFrom(InputStream input)

public static HumanAgentHandoffConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
HumanAgentHandoffConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static HumanAgentHandoffConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HumanAgentHandoffConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static HumanAgentHandoffConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
HumanAgentHandoffConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static HumanAgentHandoffConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HumanAgentHandoffConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static HumanAgentHandoffConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
HumanAgentHandoffConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static HumanAgentHandoffConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HumanAgentHandoffConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static HumanAgentHandoffConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
HumanAgentHandoffConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static HumanAgentHandoffConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HumanAgentHandoffConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static HumanAgentHandoffConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
HumanAgentHandoffConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static HumanAgentHandoffConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HumanAgentHandoffConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static HumanAgentHandoffConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
HumanAgentHandoffConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static HumanAgentHandoffConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HumanAgentHandoffConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<HumanAgentHandoffConfig> parser()
Returns
TypeDescription
Parser<HumanAgentHandoffConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getAgentServiceCase()

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

getDefaultInstanceForType()

public HumanAgentHandoffConfig getDefaultInstanceForType()
Returns
TypeDescription
HumanAgentHandoffConfig

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.

getLivePersonConfigOrBuilder()

public HumanAgentHandoffConfig.LivePersonConfigOrBuilder getLivePersonConfigOrBuilder()

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

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

Returns
TypeDescription
HumanAgentHandoffConfig.LivePersonConfigOrBuilder

getParserForType()

public Parser<HumanAgentHandoffConfig> getParserForType()
Returns
TypeDescription
Parser<HumanAgentHandoffConfig>
Overrides

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.

getSalesforceLiveAgentConfigOrBuilder()

public HumanAgentHandoffConfig.SalesforceLiveAgentConfigOrBuilder getSalesforceLiveAgentConfigOrBuilder()

Uses Salesforce Live Agent.

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

Returns
TypeDescription
HumanAgentHandoffConfig.SalesforceLiveAgentConfigOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected HumanAgentHandoffConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
HumanAgentHandoffConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException