Class HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder (4.60.0)

public static final class HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder extends GeneratedMessageV3.Builder<HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder> implements HumanAgentAssistantConfig.SuggestionFeatureConfigOrBuilder

Config for suggestion features.

Protobuf type google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionFeatureConfig

Inheritance

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public HumanAgentAssistantConfig.SuggestionFeatureConfig build()
Returns
Type Description
HumanAgentAssistantConfig.SuggestionFeatureConfig

buildPartial()

public HumanAgentAssistantConfig.SuggestionFeatureConfig buildPartial()
Returns
Type Description
HumanAgentAssistantConfig.SuggestionFeatureConfig

clear()

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder clear()
Returns
Type Description
HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder
Overrides

clearConversationModelConfig()

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder clearConversationModelConfig()

Configs of custom conversation model.

.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.ConversationModelConfig conversation_model_config = 7;

Returns
Type Description
HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder

clearConversationProcessConfig()

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder clearConversationProcessConfig()

Configs for processing conversation.

.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.ConversationProcessConfig conversation_process_config = 8;

Returns
Type Description
HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder

clearDisableAgentQueryLogging()

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder clearDisableAgentQueryLogging()

Optional. Disable the logging of search queries sent by human agents. It can prevent those queries from being stored at answer records.

Supported features: KNOWLEDGE_SEARCH.

bool disable_agent_query_logging = 14 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder

This builder for chaining.

clearEnableConversationAugmentedQuery()

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder clearEnableConversationAugmentedQuery()

Optional. Enable including conversation context during query answer generation. Supported features: KNOWLEDGE_SEARCH.

bool enable_conversation_augmented_query = 16 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder

This builder for chaining.

clearEnableEventBasedSuggestion()

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder clearEnableEventBasedSuggestion()

Automatically iterates all participants and tries to compile suggestions.

Supported features: ARTICLE_SUGGESTION, FAQ, DIALOGFLOW_ASSIST, ENTITY_EXTRACTION, KNOWLEDGE_ASSIST.

bool enable_event_based_suggestion = 3;

Returns
Type Description
HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder

This builder for chaining.

clearEnableQuerySuggestionOnly()

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder clearEnableQuerySuggestionOnly()

Optional. Enable query suggestion only. Supported features: KNOWLEDGE_ASSIST

bool enable_query_suggestion_only = 17 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder

This builder for chaining.

clearEnableQuerySuggestionWhenNoAnswer()

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder clearEnableQuerySuggestionWhenNoAnswer()

Optional. Enable query suggestion even if we can't find its answer. By default, queries are suggested only if we find its answer. Supported features: KNOWLEDGE_ASSIST

bool enable_query_suggestion_when_no_answer = 15 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearQueryConfig()

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder clearQueryConfig()

Configs of query.

.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionQueryConfig query_config = 6;

Returns
Type Description
HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder

clearSuggestionFeature()

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder clearSuggestionFeature()

The suggestion feature.

.google.cloud.dialogflow.v2beta1.SuggestionFeature suggestion_feature = 5;

Returns
Type Description
HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder

clearSuggestionTriggerSettings()

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder clearSuggestionTriggerSettings()

Settings of suggestion trigger.

Currently, only ARTICLE_SUGGESTION, FAQ, and DIALOGFLOW_ASSIST will use this field.

.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionTriggerSettings suggestion_trigger_settings = 10;

Returns
Type Description
HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder

clone()

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder clone()
Returns
Type Description
HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder
Overrides

getConversationModelConfig()

public HumanAgentAssistantConfig.ConversationModelConfig getConversationModelConfig()

Configs of custom conversation model.

.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.ConversationModelConfig conversation_model_config = 7;

Returns
Type Description
HumanAgentAssistantConfig.ConversationModelConfig

The conversationModelConfig.

getConversationModelConfigBuilder()

public HumanAgentAssistantConfig.ConversationModelConfig.Builder getConversationModelConfigBuilder()

Configs of custom conversation model.

.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.ConversationModelConfig conversation_model_config = 7;

Returns
Type Description
HumanAgentAssistantConfig.ConversationModelConfig.Builder

getConversationModelConfigOrBuilder()

public HumanAgentAssistantConfig.ConversationModelConfigOrBuilder getConversationModelConfigOrBuilder()

Configs of custom conversation model.

.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.ConversationModelConfig conversation_model_config = 7;

Returns
Type Description
HumanAgentAssistantConfig.ConversationModelConfigOrBuilder

getConversationProcessConfig()

public HumanAgentAssistantConfig.ConversationProcessConfig getConversationProcessConfig()

Configs for processing conversation.

.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.ConversationProcessConfig conversation_process_config = 8;

Returns
Type Description
HumanAgentAssistantConfig.ConversationProcessConfig

The conversationProcessConfig.

getConversationProcessConfigBuilder()

public HumanAgentAssistantConfig.ConversationProcessConfig.Builder getConversationProcessConfigBuilder()

Configs for processing conversation.

.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.ConversationProcessConfig conversation_process_config = 8;

Returns
Type Description
HumanAgentAssistantConfig.ConversationProcessConfig.Builder

getConversationProcessConfigOrBuilder()

public HumanAgentAssistantConfig.ConversationProcessConfigOrBuilder getConversationProcessConfigOrBuilder()

Configs for processing conversation.

.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.ConversationProcessConfig conversation_process_config = 8;

Returns
Type Description
HumanAgentAssistantConfig.ConversationProcessConfigOrBuilder

getDefaultInstanceForType()

public HumanAgentAssistantConfig.SuggestionFeatureConfig getDefaultInstanceForType()
Returns
Type Description
HumanAgentAssistantConfig.SuggestionFeatureConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDisableAgentQueryLogging()

public boolean getDisableAgentQueryLogging()

Optional. Disable the logging of search queries sent by human agents. It can prevent those queries from being stored at answer records.

Supported features: KNOWLEDGE_SEARCH.

bool disable_agent_query_logging = 14 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The disableAgentQueryLogging.

getEnableConversationAugmentedQuery()

public boolean getEnableConversationAugmentedQuery()

Optional. Enable including conversation context during query answer generation. Supported features: KNOWLEDGE_SEARCH.

bool enable_conversation_augmented_query = 16 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The enableConversationAugmentedQuery.

getEnableEventBasedSuggestion()

public boolean getEnableEventBasedSuggestion()

Automatically iterates all participants and tries to compile suggestions.

Supported features: ARTICLE_SUGGESTION, FAQ, DIALOGFLOW_ASSIST, ENTITY_EXTRACTION, KNOWLEDGE_ASSIST.

bool enable_event_based_suggestion = 3;

Returns
Type Description
boolean

The enableEventBasedSuggestion.

getEnableQuerySuggestionOnly()

public boolean getEnableQuerySuggestionOnly()

Optional. Enable query suggestion only. Supported features: KNOWLEDGE_ASSIST

bool enable_query_suggestion_only = 17 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The enableQuerySuggestionOnly.

getEnableQuerySuggestionWhenNoAnswer()

public boolean getEnableQuerySuggestionWhenNoAnswer()

Optional. Enable query suggestion even if we can't find its answer. By default, queries are suggested only if we find its answer. Supported features: KNOWLEDGE_ASSIST

bool enable_query_suggestion_when_no_answer = 15 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The enableQuerySuggestionWhenNoAnswer.

getQueryConfig()

public HumanAgentAssistantConfig.SuggestionQueryConfig getQueryConfig()

Configs of query.

.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionQueryConfig query_config = 6;

Returns
Type Description
HumanAgentAssistantConfig.SuggestionQueryConfig

The queryConfig.

getQueryConfigBuilder()

public HumanAgentAssistantConfig.SuggestionQueryConfig.Builder getQueryConfigBuilder()

Configs of query.

.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionQueryConfig query_config = 6;

Returns
Type Description
HumanAgentAssistantConfig.SuggestionQueryConfig.Builder

getQueryConfigOrBuilder()

public HumanAgentAssistantConfig.SuggestionQueryConfigOrBuilder getQueryConfigOrBuilder()

Configs of query.

.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionQueryConfig query_config = 6;

Returns
Type Description
HumanAgentAssistantConfig.SuggestionQueryConfigOrBuilder

getSuggestionFeature()

public SuggestionFeature getSuggestionFeature()

The suggestion feature.

.google.cloud.dialogflow.v2beta1.SuggestionFeature suggestion_feature = 5;

Returns
Type Description
SuggestionFeature

The suggestionFeature.

getSuggestionFeatureBuilder()

public SuggestionFeature.Builder getSuggestionFeatureBuilder()

The suggestion feature.

.google.cloud.dialogflow.v2beta1.SuggestionFeature suggestion_feature = 5;

Returns
Type Description
SuggestionFeature.Builder

getSuggestionFeatureOrBuilder()

public SuggestionFeatureOrBuilder getSuggestionFeatureOrBuilder()

The suggestion feature.

.google.cloud.dialogflow.v2beta1.SuggestionFeature suggestion_feature = 5;

Returns
Type Description
SuggestionFeatureOrBuilder

getSuggestionTriggerSettings()

public HumanAgentAssistantConfig.SuggestionTriggerSettings getSuggestionTriggerSettings()

Settings of suggestion trigger.

Currently, only ARTICLE_SUGGESTION, FAQ, and DIALOGFLOW_ASSIST will use this field.

.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionTriggerSettings suggestion_trigger_settings = 10;

Returns
Type Description
HumanAgentAssistantConfig.SuggestionTriggerSettings

The suggestionTriggerSettings.

getSuggestionTriggerSettingsBuilder()

public HumanAgentAssistantConfig.SuggestionTriggerSettings.Builder getSuggestionTriggerSettingsBuilder()

Settings of suggestion trigger.

Currently, only ARTICLE_SUGGESTION, FAQ, and DIALOGFLOW_ASSIST will use this field.

.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionTriggerSettings suggestion_trigger_settings = 10;

Returns
Type Description
HumanAgentAssistantConfig.SuggestionTriggerSettings.Builder

getSuggestionTriggerSettingsOrBuilder()

public HumanAgentAssistantConfig.SuggestionTriggerSettingsOrBuilder getSuggestionTriggerSettingsOrBuilder()

Settings of suggestion trigger.

Currently, only ARTICLE_SUGGESTION, FAQ, and DIALOGFLOW_ASSIST will use this field.

.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionTriggerSettings suggestion_trigger_settings = 10;

Returns
Type Description
HumanAgentAssistantConfig.SuggestionTriggerSettingsOrBuilder

hasConversationModelConfig()

public boolean hasConversationModelConfig()

Configs of custom conversation model.

.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.ConversationModelConfig conversation_model_config = 7;

Returns
Type Description
boolean

Whether the conversationModelConfig field is set.

hasConversationProcessConfig()

public boolean hasConversationProcessConfig()

Configs for processing conversation.

.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.ConversationProcessConfig conversation_process_config = 8;

Returns
Type Description
boolean

Whether the conversationProcessConfig field is set.

hasQueryConfig()

public boolean hasQueryConfig()

Configs of query.

.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionQueryConfig query_config = 6;

Returns
Type Description
boolean

Whether the queryConfig field is set.

hasSuggestionFeature()

public boolean hasSuggestionFeature()

The suggestion feature.

.google.cloud.dialogflow.v2beta1.SuggestionFeature suggestion_feature = 5;

Returns
Type Description
boolean

Whether the suggestionFeature field is set.

hasSuggestionTriggerSettings()

public boolean hasSuggestionTriggerSettings()

Settings of suggestion trigger.

Currently, only ARTICLE_SUGGESTION, FAQ, and DIALOGFLOW_ASSIST will use this field.

.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionTriggerSettings suggestion_trigger_settings = 10;

Returns
Type Description
boolean

Whether the suggestionTriggerSettings field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeConversationModelConfig(HumanAgentAssistantConfig.ConversationModelConfig value)

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder mergeConversationModelConfig(HumanAgentAssistantConfig.ConversationModelConfig value)

Configs of custom conversation model.

.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.ConversationModelConfig conversation_model_config = 7;

Parameter
Name Description
value HumanAgentAssistantConfig.ConversationModelConfig
Returns
Type Description
HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder

mergeConversationProcessConfig(HumanAgentAssistantConfig.ConversationProcessConfig value)

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder mergeConversationProcessConfig(HumanAgentAssistantConfig.ConversationProcessConfig value)

Configs for processing conversation.

.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.ConversationProcessConfig conversation_process_config = 8;

Parameter
Name Description
value HumanAgentAssistantConfig.ConversationProcessConfig
Returns
Type Description
HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder

mergeFrom(HumanAgentAssistantConfig.SuggestionFeatureConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeQueryConfig(HumanAgentAssistantConfig.SuggestionQueryConfig value)

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder mergeQueryConfig(HumanAgentAssistantConfig.SuggestionQueryConfig value)

Configs of query.

.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionQueryConfig query_config = 6;

Parameter
Name Description
value HumanAgentAssistantConfig.SuggestionQueryConfig
Returns
Type Description
HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder

mergeSuggestionFeature(SuggestionFeature value)

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder mergeSuggestionFeature(SuggestionFeature value)

The suggestion feature.

.google.cloud.dialogflow.v2beta1.SuggestionFeature suggestion_feature = 5;

Parameter
Name Description
value SuggestionFeature
Returns
Type Description
HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder

mergeSuggestionTriggerSettings(HumanAgentAssistantConfig.SuggestionTriggerSettings value)

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder mergeSuggestionTriggerSettings(HumanAgentAssistantConfig.SuggestionTriggerSettings value)

Settings of suggestion trigger.

Currently, only ARTICLE_SUGGESTION, FAQ, and DIALOGFLOW_ASSIST will use this field.

.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionTriggerSettings suggestion_trigger_settings = 10;

Parameter
Name Description
value HumanAgentAssistantConfig.SuggestionTriggerSettings
Returns
Type Description
HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder
Overrides

setConversationModelConfig(HumanAgentAssistantConfig.ConversationModelConfig value)

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder setConversationModelConfig(HumanAgentAssistantConfig.ConversationModelConfig value)

Configs of custom conversation model.

.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.ConversationModelConfig conversation_model_config = 7;

Parameter
Name Description
value HumanAgentAssistantConfig.ConversationModelConfig
Returns
Type Description
HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder

setConversationModelConfig(HumanAgentAssistantConfig.ConversationModelConfig.Builder builderForValue)

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder setConversationModelConfig(HumanAgentAssistantConfig.ConversationModelConfig.Builder builderForValue)

Configs of custom conversation model.

.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.ConversationModelConfig conversation_model_config = 7;

Parameter
Name Description
builderForValue HumanAgentAssistantConfig.ConversationModelConfig.Builder
Returns
Type Description
HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder

setConversationProcessConfig(HumanAgentAssistantConfig.ConversationProcessConfig value)

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder setConversationProcessConfig(HumanAgentAssistantConfig.ConversationProcessConfig value)

Configs for processing conversation.

.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.ConversationProcessConfig conversation_process_config = 8;

Parameter
Name Description
value HumanAgentAssistantConfig.ConversationProcessConfig
Returns
Type Description
HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder

setConversationProcessConfig(HumanAgentAssistantConfig.ConversationProcessConfig.Builder builderForValue)

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder setConversationProcessConfig(HumanAgentAssistantConfig.ConversationProcessConfig.Builder builderForValue)

Configs for processing conversation.

.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.ConversationProcessConfig conversation_process_config = 8;

Parameter
Name Description
builderForValue HumanAgentAssistantConfig.ConversationProcessConfig.Builder
Returns
Type Description
HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder

setDisableAgentQueryLogging(boolean value)

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder setDisableAgentQueryLogging(boolean value)

Optional. Disable the logging of search queries sent by human agents. It can prevent those queries from being stored at answer records.

Supported features: KNOWLEDGE_SEARCH.

bool disable_agent_query_logging = 14 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The disableAgentQueryLogging to set.

Returns
Type Description
HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder

This builder for chaining.

setEnableConversationAugmentedQuery(boolean value)

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder setEnableConversationAugmentedQuery(boolean value)

Optional. Enable including conversation context during query answer generation. Supported features: KNOWLEDGE_SEARCH.

bool enable_conversation_augmented_query = 16 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The enableConversationAugmentedQuery to set.

Returns
Type Description
HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder

This builder for chaining.

setEnableEventBasedSuggestion(boolean value)

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder setEnableEventBasedSuggestion(boolean value)

Automatically iterates all participants and tries to compile suggestions.

Supported features: ARTICLE_SUGGESTION, FAQ, DIALOGFLOW_ASSIST, ENTITY_EXTRACTION, KNOWLEDGE_ASSIST.

bool enable_event_based_suggestion = 3;

Parameter
Name Description
value boolean

The enableEventBasedSuggestion to set.

Returns
Type Description
HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder

This builder for chaining.

setEnableQuerySuggestionOnly(boolean value)

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder setEnableQuerySuggestionOnly(boolean value)

Optional. Enable query suggestion only. Supported features: KNOWLEDGE_ASSIST

bool enable_query_suggestion_only = 17 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The enableQuerySuggestionOnly to set.

Returns
Type Description
HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder

This builder for chaining.

setEnableQuerySuggestionWhenNoAnswer(boolean value)

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder setEnableQuerySuggestionWhenNoAnswer(boolean value)

Optional. Enable query suggestion even if we can't find its answer. By default, queries are suggested only if we find its answer. Supported features: KNOWLEDGE_ASSIST

bool enable_query_suggestion_when_no_answer = 15 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The enableQuerySuggestionWhenNoAnswer to set.

Returns
Type Description
HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setQueryConfig(HumanAgentAssistantConfig.SuggestionQueryConfig value)

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder setQueryConfig(HumanAgentAssistantConfig.SuggestionQueryConfig value)

Configs of query.

.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionQueryConfig query_config = 6;

Parameter
Name Description
value HumanAgentAssistantConfig.SuggestionQueryConfig
Returns
Type Description
HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder

setQueryConfig(HumanAgentAssistantConfig.SuggestionQueryConfig.Builder builderForValue)

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder setQueryConfig(HumanAgentAssistantConfig.SuggestionQueryConfig.Builder builderForValue)

Configs of query.

.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionQueryConfig query_config = 6;

Parameter
Name Description
builderForValue HumanAgentAssistantConfig.SuggestionQueryConfig.Builder
Returns
Type Description
HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder

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

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

setSuggestionFeature(SuggestionFeature value)

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder setSuggestionFeature(SuggestionFeature value)

The suggestion feature.

.google.cloud.dialogflow.v2beta1.SuggestionFeature suggestion_feature = 5;

Parameter
Name Description
value SuggestionFeature
Returns
Type Description
HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder

setSuggestionFeature(SuggestionFeature.Builder builderForValue)

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder setSuggestionFeature(SuggestionFeature.Builder builderForValue)

The suggestion feature.

.google.cloud.dialogflow.v2beta1.SuggestionFeature suggestion_feature = 5;

Parameter
Name Description
builderForValue SuggestionFeature.Builder
Returns
Type Description
HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder

setSuggestionTriggerSettings(HumanAgentAssistantConfig.SuggestionTriggerSettings value)

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder setSuggestionTriggerSettings(HumanAgentAssistantConfig.SuggestionTriggerSettings value)

Settings of suggestion trigger.

Currently, only ARTICLE_SUGGESTION, FAQ, and DIALOGFLOW_ASSIST will use this field.

.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionTriggerSettings suggestion_trigger_settings = 10;

Parameter
Name Description
value HumanAgentAssistantConfig.SuggestionTriggerSettings
Returns
Type Description
HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder

setSuggestionTriggerSettings(HumanAgentAssistantConfig.SuggestionTriggerSettings.Builder builderForValue)

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder setSuggestionTriggerSettings(HumanAgentAssistantConfig.SuggestionTriggerSettings.Builder builderForValue)

Settings of suggestion trigger.

Currently, only ARTICLE_SUGGESTION, FAQ, and DIALOGFLOW_ASSIST will use this field.

.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionTriggerSettings suggestion_trigger_settings = 10;

Parameter
Name Description
builderForValue HumanAgentAssistantConfig.SuggestionTriggerSettings.Builder
Returns
Type Description
HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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