public static final class HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.Builder extends GeneratedMessageV3.Builder<HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.Builder> implements HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettingsOrBuilder
Settings that determine how to filter recent conversation context when
generating suggestions.
Protobuf type
google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings build()
Returns
buildPartial()
public HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings buildPartial()
Returns
clear()
public HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.Builder clear()
Returns
Overrides
clearDropHandoffMessages()
public HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.Builder clearDropHandoffMessages()
If set to true, the last message from virtual agent (hand off message)
and the message before it (trigger message of hand off) are dropped.
bool drop_handoff_messages = 1;
Returns
clearDropIvrMessages()
public HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.Builder clearDropIvrMessages()
If set to true, all messages from ivr stage are dropped.
bool drop_ivr_messages = 3;
Returns
clearDropVirtualAgentMessages()
public HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.Builder clearDropVirtualAgentMessages()
If set to true, all messages from virtual agent are dropped.
bool drop_virtual_agent_messages = 2;
Returns
clearField(Descriptors.FieldDescriptor field)
public HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getDropHandoffMessages()
public boolean getDropHandoffMessages()
If set to true, the last message from virtual agent (hand off message)
and the message before it (trigger message of hand off) are dropped.
bool drop_handoff_messages = 1;
Returns
Type | Description |
boolean | The dropHandoffMessages.
|
getDropIvrMessages()
public boolean getDropIvrMessages()
If set to true, all messages from ivr stage are dropped.
bool drop_ivr_messages = 3;
Returns
Type | Description |
boolean | The dropIvrMessages.
|
getDropVirtualAgentMessages()
public boolean getDropVirtualAgentMessages()
If set to true, all messages from virtual agent are dropped.
bool drop_virtual_agent_messages = 2;
Returns
Type | Description |
boolean | The dropVirtualAgentMessages.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings other)
public HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.Builder mergeFrom(HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings other)
Parameter
Returns
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setDropHandoffMessages(boolean value)
public HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.Builder setDropHandoffMessages(boolean value)
If set to true, the last message from virtual agent (hand off message)
and the message before it (trigger message of hand off) are dropped.
bool drop_handoff_messages = 1;
Parameter
Name | Description |
value | boolean
The dropHandoffMessages to set.
|
Returns
setDropIvrMessages(boolean value)
public HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.Builder setDropIvrMessages(boolean value)
If set to true, all messages from ivr stage are dropped.
bool drop_ivr_messages = 3;
Parameter
Name | Description |
value | boolean
The dropIvrMessages to set.
|
Returns
setDropVirtualAgentMessages(boolean value)
public HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.Builder setDropVirtualAgentMessages(boolean value)
If set to true, all messages from virtual agent are dropped.
bool drop_virtual_agent_messages = 2;
Parameter
Name | Description |
value | boolean
The dropVirtualAgentMessages to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides