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
SALESFORCE_LIVE_AGENT_CONFIG_FIELD_NUMBER
public static final int SALESFORCE_LIVE_AGENT_CONFIG_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static HumanAgentHandoffConfig getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static HumanAgentHandoffConfig.Builder newBuilder()
Returns
newBuilder(HumanAgentHandoffConfig prototype)
public static HumanAgentHandoffConfig.Builder newBuilder(HumanAgentHandoffConfig prototype)
Parameter
Returns
public static HumanAgentHandoffConfig parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static HumanAgentHandoffConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static HumanAgentHandoffConfig parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static HumanAgentHandoffConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static HumanAgentHandoffConfig parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static HumanAgentHandoffConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static HumanAgentHandoffConfig parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static HumanAgentHandoffConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static HumanAgentHandoffConfig parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static HumanAgentHandoffConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static HumanAgentHandoffConfig parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static HumanAgentHandoffConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<HumanAgentHandoffConfig> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getAgentServiceCase()
public HumanAgentHandoffConfig.AgentServiceCase getAgentServiceCase()
Returns
getDefaultInstanceForType()
public HumanAgentHandoffConfig getDefaultInstanceForType()
Returns
getLivePersonConfig()
public HumanAgentHandoffConfig.LivePersonConfig getLivePersonConfig()
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
getParserForType()
public Parser<HumanAgentHandoffConfig> getParserForType()
Returns
Overrides
getSalesforceLiveAgentConfig()
public HumanAgentHandoffConfig.SalesforceLiveAgentConfig getSalesforceLiveAgentConfig()
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
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasLivePersonConfig()
public boolean hasLivePersonConfig()
Uses LivePerson (https://www.liveperson.com).
.google.cloud.dialogflow.v2.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.v2.HumanAgentHandoffConfig.SalesforceLiveAgentConfig salesforce_live_agent_config = 2;
Returns
Type |
Description |
boolean |
Whether the salesforceLiveAgentConfig field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public HumanAgentHandoffConfig.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected HumanAgentHandoffConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public HumanAgentHandoffConfig.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions