Class HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.Builder (4.4.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.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings

Inheritance

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.Builder
Overrides

build()

public HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings build()
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings

buildPartial()

public HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings buildPartial()
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings

clear()

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.Builder
Overrides

clone()

public HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.Builder clone()
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.Builder
Overrides

getDefaultInstanceForType()

public HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings getDefaultInstanceForType()
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings

getDescriptor()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
boolean

The dropHandoffMessages.

getDropIvrMessages()

public boolean getDropIvrMessages()

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

bool drop_ivr_messages = 3;

Returns
TypeDescription
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
TypeDescription
boolean

The dropVirtualAgentMessages.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings other)

public HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.Builder mergeFrom(HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings other)
Parameter
NameDescription
otherHumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueboolean

The dropHandoffMessages to set.

Returns
TypeDescription
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
NameDescription
valueboolean

The dropIvrMessages to set.

Returns
TypeDescription
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
NameDescription
valueboolean

The dropVirtualAgentMessages to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.Builder
Overrides