Class HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.Builder (4.57.0)

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

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.Builder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.Builder
Overrides

build()

public HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings build()
Returns
Type Description
HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings

buildPartial()

public HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings buildPartial()
Returns
Type Description
HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings

clear()

public HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.Builder clear()
Returns
Type Description
HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.Builder
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
Type Description
HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.Builder

This builder for chaining.

clearDropIvrMessages()

public HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.Builder clearDropIvrMessages()

If set to true, all messages from ivr stage are dropped.

bool drop_ivr_messages = 3;

Returns
Type Description
HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.Builder

This builder for chaining.

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
Type Description
HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.Builder
Overrides

clone()

public HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.Builder clone()
Returns
Type Description
HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.Builder
Overrides

getDefaultInstanceForType()

public HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings getDefaultInstanceForType()
Returns
Type Description
HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings other)

public HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.Builder mergeFrom(HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings other)
Parameter
Name Description
other HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings
Returns
Type Description
HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.Builder
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
Type Description
HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.Builder

This builder for chaining.

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
Type Description
HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.Builder

This builder for chaining.

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
Type Description
HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.Builder
Overrides