Interface HumanAgentAssistantConfig.SuggestionFeatureConfigOrBuilder (4.100.0)

public static interface HumanAgentAssistantConfig.SuggestionFeatureConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getConversationProcessConfig()

public abstract HumanAgentAssistantConfig.ConversationProcessConfig getConversationProcessConfig()

Configs for processing conversation.

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

Returns
Type Description
HumanAgentAssistantConfig.ConversationProcessConfig

The conversationProcessConfig.

getConversationProcessConfigOrBuilder()

public abstract HumanAgentAssistantConfig.ConversationProcessConfigOrBuilder getConversationProcessConfigOrBuilder()

Configs for processing conversation.

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

Returns
Type Description
HumanAgentAssistantConfig.ConversationProcessConfigOrBuilder

getDisableAgentQueryLogging()

public abstract 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.

getDisableQuerySearchContext()

public abstract boolean getDisableQuerySearchContext()

Optional. If true, disable appending available search context to the search query. Supported features: KNOWLEDGE_ASSIST

bool disable_query_search_context = 21 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The disableQuerySearchContext.

getEnableConversationAugmentedQuery()

public abstract 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 abstract 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 abstract 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 abstract 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.

getEnableResponseDebugInfo()

public abstract boolean getEnableResponseDebugInfo()

Optional. Enable returning detailed reasons for suggestion results.

For example, with this field disabled, Knowledge Search feature returns NotFound error when no answer is found for the input query. Enabling this field will change the behavior to return an OK response with detailed information indicating the lack of results.

Supported features: KNOWLEDGE_SEARCH, KNOWLEDGE_ASSIST

bool enable_response_debug_info = 18 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The enableResponseDebugInfo.

getQueryConfig()

public abstract HumanAgentAssistantConfig.SuggestionQueryConfig getQueryConfig()

Configs of query.

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

Returns
Type Description
HumanAgentAssistantConfig.SuggestionQueryConfig

The queryConfig.

getQueryConfigOrBuilder()

public abstract HumanAgentAssistantConfig.SuggestionQueryConfigOrBuilder getQueryConfigOrBuilder()

Configs of query.

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

Returns
Type Description
HumanAgentAssistantConfig.SuggestionQueryConfigOrBuilder

getRaiSettings()

public abstract RaiSettings getRaiSettings()

Optional. Settings for Responsible AI checks. Supported features: KNOWLEDGE_ASSIST

.google.cloud.dialogflow.v2beta1.RaiSettings rai_settings = 19 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
RaiSettings

The raiSettings.

getRaiSettingsOrBuilder()

public abstract RaiSettingsOrBuilder getRaiSettingsOrBuilder()

Optional. Settings for Responsible AI checks. Supported features: KNOWLEDGE_ASSIST

.google.cloud.dialogflow.v2beta1.RaiSettings rai_settings = 19 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
RaiSettingsOrBuilder

getSuggestionFeature()

public abstract SuggestionFeature getSuggestionFeature()

The suggestion feature.

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

Returns
Type Description
SuggestionFeature

The suggestionFeature.

getSuggestionFeatureOrBuilder()

public abstract SuggestionFeatureOrBuilder getSuggestionFeatureOrBuilder()

The suggestion feature.

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

Returns
Type Description
SuggestionFeatureOrBuilder

getSuggestionTriggerEvent()

public abstract TriggerEvent getSuggestionTriggerEvent()

Optional. The trigger event for suggestion. If unspecified, it will be CUSTOMER_MESSAGE. Supported features: KNOWLEDGE_ASSIST For KNOWLEDGE_ASSIST, these four trigger events are supported:

  1. TRIGGER_EVENT_UNSPECIFIED
  2. END_OF_UTTERANCE
  3. CUSTOMER_MESSAGE
  4. AGENT_MESSAGE

.google.cloud.dialogflow.v2beta1.TriggerEvent suggestion_trigger_event = 20 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TriggerEvent

The suggestionTriggerEvent.

getSuggestionTriggerEventValue()

public abstract int getSuggestionTriggerEventValue()

Optional. The trigger event for suggestion. If unspecified, it will be CUSTOMER_MESSAGE. Supported features: KNOWLEDGE_ASSIST For KNOWLEDGE_ASSIST, these four trigger events are supported:

  1. TRIGGER_EVENT_UNSPECIFIED
  2. END_OF_UTTERANCE
  3. CUSTOMER_MESSAGE
  4. AGENT_MESSAGE

.google.cloud.dialogflow.v2beta1.TriggerEvent suggestion_trigger_event = 20 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for suggestionTriggerEvent.

getSuggestionTriggerSettings()

public abstract 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.

getSuggestionTriggerSettingsOrBuilder()

public abstract 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

hasConversationProcessConfig()

public abstract 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 abstract boolean hasQueryConfig()

Configs of query.

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

Returns
Type Description
boolean

Whether the queryConfig field is set.

hasRaiSettings()

public abstract boolean hasRaiSettings()

Optional. Settings for Responsible AI checks. Supported features: KNOWLEDGE_ASSIST

.google.cloud.dialogflow.v2beta1.RaiSettings rai_settings = 19 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the raiSettings field is set.

hasSuggestionFeature()

public abstract 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 abstract 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.