Package com.google.cloud.dialogflow.v2
Class HumanAgentAssistantConfig.SuggestionQueryConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<HumanAgentAssistantConfig.SuggestionQueryConfig.Builder>
com.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.Builder
- All Implemented Interfaces:
HumanAgentAssistantConfig.SuggestionQueryConfigOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- HumanAgentAssistantConfig.SuggestionQueryConfig
public static final class HumanAgentAssistantConfig.SuggestionQueryConfig.Builder
extends com.google.protobuf.GeneratedMessage.Builder<HumanAgentAssistantConfig.SuggestionQueryConfig.Builder>
implements HumanAgentAssistantConfig.SuggestionQueryConfigOrBuilder
Config for suggestion query.Protobuf type
google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Confidence threshold of query result.Determines how recent conversation context is filtered when generating suggestions.Optional.Query from Dialogflow agent.Query from knowledge base document.Query from knowledgebase.Maximum number of results to return.Optional.floatConfidence threshold of query result.Determines how recent conversation context is filtered when generating suggestions.Determines how recent conversation context is filtered when generating suggestions.Determines how recent conversation context is filtered when generating suggestions.intOptional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorQuery from Dialogflow agent.Query from Dialogflow agent.Query from Dialogflow agent.Query from knowledge base document.Query from knowledge base document.Query from knowledge base document.Query from knowledgebase.Query from knowledgebase.Query from knowledgebase.intMaximum number of results to return.Optional.Optional.Optional.booleanDetermines how recent conversation context is filtered when generating suggestions.booleanQuery from Dialogflow agent.booleanQuery from knowledge base document.booleanQuery from knowledgebase.booleanOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeContextFilterSettings(HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings value) Determines how recent conversation context is filtered when generating suggestions.mergeDialogflowQuerySource(HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource value) Query from Dialogflow agent.Query from knowledge base document.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeKnowledgeBaseQuerySource(HumanAgentAssistantConfig.SuggestionQueryConfig.KnowledgeBaseQuerySource value) Query from knowledgebase.Optional.setConfidenceThreshold(float value) Confidence threshold of query result.setContextFilterSettings(HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings value) Determines how recent conversation context is filtered when generating suggestions.setContextFilterSettings(HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.Builder builderForValue) Determines how recent conversation context is filtered when generating suggestions.setContextSize(int value) Optional.setDialogflowQuerySource(HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource value) Query from Dialogflow agent.setDialogflowQuerySource(HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource.Builder builderForValue) Query from Dialogflow agent.Query from knowledge base document.setDocumentQuerySource(HumanAgentAssistantConfig.SuggestionQueryConfig.DocumentQuerySource.Builder builderForValue) Query from knowledge base document.setKnowledgeBaseQuerySource(HumanAgentAssistantConfig.SuggestionQueryConfig.KnowledgeBaseQuerySource value) Query from knowledgebase.setKnowledgeBaseQuerySource(HumanAgentAssistantConfig.SuggestionQueryConfig.KnowledgeBaseQuerySource.Builder builderForValue) Query from knowledgebase.setMaxResults(int value) Maximum number of results to return.Optional.Optional.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<HumanAgentAssistantConfig.SuggestionQueryConfig.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<HumanAgentAssistantConfig.SuggestionQueryConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<HumanAgentAssistantConfig.SuggestionQueryConfig.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public HumanAgentAssistantConfig.SuggestionQueryConfig.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<HumanAgentAssistantConfig.SuggestionQueryConfig.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<HumanAgentAssistantConfig.SuggestionQueryConfig.Builder>
-
mergeFrom
public HumanAgentAssistantConfig.SuggestionQueryConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<HumanAgentAssistantConfig.SuggestionQueryConfig.Builder>- Throws:
IOException
-
getQuerySourceCase
- Specified by:
getQuerySourceCasein interfaceHumanAgentAssistantConfig.SuggestionQueryConfigOrBuilder
-
clearQuerySource
-
hasKnowledgeBaseQuerySource
public boolean hasKnowledgeBaseQuerySource()Query from knowledgebase. It is used by: ARTICLE_SUGGESTION, FAQ.
.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.KnowledgeBaseQuerySource knowledge_base_query_source = 1;- Specified by:
hasKnowledgeBaseQuerySourcein interfaceHumanAgentAssistantConfig.SuggestionQueryConfigOrBuilder- Returns:
- Whether the knowledgeBaseQuerySource field is set.
-
getKnowledgeBaseQuerySource
public HumanAgentAssistantConfig.SuggestionQueryConfig.KnowledgeBaseQuerySource getKnowledgeBaseQuerySource()Query from knowledgebase. It is used by: ARTICLE_SUGGESTION, FAQ.
.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.KnowledgeBaseQuerySource knowledge_base_query_source = 1;- Specified by:
getKnowledgeBaseQuerySourcein interfaceHumanAgentAssistantConfig.SuggestionQueryConfigOrBuilder- Returns:
- The knowledgeBaseQuerySource.
-
setKnowledgeBaseQuerySource
public HumanAgentAssistantConfig.SuggestionQueryConfig.Builder setKnowledgeBaseQuerySource(HumanAgentAssistantConfig.SuggestionQueryConfig.KnowledgeBaseQuerySource value) Query from knowledgebase. It is used by: ARTICLE_SUGGESTION, FAQ.
.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.KnowledgeBaseQuerySource knowledge_base_query_source = 1; -
setKnowledgeBaseQuerySource
public HumanAgentAssistantConfig.SuggestionQueryConfig.Builder setKnowledgeBaseQuerySource(HumanAgentAssistantConfig.SuggestionQueryConfig.KnowledgeBaseQuerySource.Builder builderForValue) Query from knowledgebase. It is used by: ARTICLE_SUGGESTION, FAQ.
.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.KnowledgeBaseQuerySource knowledge_base_query_source = 1; -
mergeKnowledgeBaseQuerySource
public HumanAgentAssistantConfig.SuggestionQueryConfig.Builder mergeKnowledgeBaseQuerySource(HumanAgentAssistantConfig.SuggestionQueryConfig.KnowledgeBaseQuerySource value) Query from knowledgebase. It is used by: ARTICLE_SUGGESTION, FAQ.
.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.KnowledgeBaseQuerySource knowledge_base_query_source = 1; -
clearKnowledgeBaseQuerySource
Query from knowledgebase. It is used by: ARTICLE_SUGGESTION, FAQ.
.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.KnowledgeBaseQuerySource knowledge_base_query_source = 1; -
getKnowledgeBaseQuerySourceBuilder
public HumanAgentAssistantConfig.SuggestionQueryConfig.KnowledgeBaseQuerySource.Builder getKnowledgeBaseQuerySourceBuilder()Query from knowledgebase. It is used by: ARTICLE_SUGGESTION, FAQ.
.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.KnowledgeBaseQuerySource knowledge_base_query_source = 1; -
getKnowledgeBaseQuerySourceOrBuilder
public HumanAgentAssistantConfig.SuggestionQueryConfig.KnowledgeBaseQuerySourceOrBuilder getKnowledgeBaseQuerySourceOrBuilder()Query from knowledgebase. It is used by: ARTICLE_SUGGESTION, FAQ.
.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.KnowledgeBaseQuerySource knowledge_base_query_source = 1;- Specified by:
getKnowledgeBaseQuerySourceOrBuilderin interfaceHumanAgentAssistantConfig.SuggestionQueryConfigOrBuilder
-
hasDocumentQuerySource
public boolean hasDocumentQuerySource()Query from knowledge base document. It is used by: SMART_REPLY, SMART_COMPOSE.
.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.DocumentQuerySource document_query_source = 2;- Specified by:
hasDocumentQuerySourcein interfaceHumanAgentAssistantConfig.SuggestionQueryConfigOrBuilder- Returns:
- Whether the documentQuerySource field is set.
-
getDocumentQuerySource
Query from knowledge base document. It is used by: SMART_REPLY, SMART_COMPOSE.
.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.DocumentQuerySource document_query_source = 2;- Specified by:
getDocumentQuerySourcein interfaceHumanAgentAssistantConfig.SuggestionQueryConfigOrBuilder- Returns:
- The documentQuerySource.
-
setDocumentQuerySource
public HumanAgentAssistantConfig.SuggestionQueryConfig.Builder setDocumentQuerySource(HumanAgentAssistantConfig.SuggestionQueryConfig.DocumentQuerySource value) Query from knowledge base document. It is used by: SMART_REPLY, SMART_COMPOSE.
.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.DocumentQuerySource document_query_source = 2; -
setDocumentQuerySource
public HumanAgentAssistantConfig.SuggestionQueryConfig.Builder setDocumentQuerySource(HumanAgentAssistantConfig.SuggestionQueryConfig.DocumentQuerySource.Builder builderForValue) Query from knowledge base document. It is used by: SMART_REPLY, SMART_COMPOSE.
.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.DocumentQuerySource document_query_source = 2; -
mergeDocumentQuerySource
public HumanAgentAssistantConfig.SuggestionQueryConfig.Builder mergeDocumentQuerySource(HumanAgentAssistantConfig.SuggestionQueryConfig.DocumentQuerySource value) Query from knowledge base document. It is used by: SMART_REPLY, SMART_COMPOSE.
.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.DocumentQuerySource document_query_source = 2; -
clearDocumentQuerySource
Query from knowledge base document. It is used by: SMART_REPLY, SMART_COMPOSE.
.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.DocumentQuerySource document_query_source = 2; -
getDocumentQuerySourceBuilder
public HumanAgentAssistantConfig.SuggestionQueryConfig.DocumentQuerySource.Builder getDocumentQuerySourceBuilder()Query from knowledge base document. It is used by: SMART_REPLY, SMART_COMPOSE.
.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.DocumentQuerySource document_query_source = 2; -
getDocumentQuerySourceOrBuilder
public HumanAgentAssistantConfig.SuggestionQueryConfig.DocumentQuerySourceOrBuilder getDocumentQuerySourceOrBuilder()Query from knowledge base document. It is used by: SMART_REPLY, SMART_COMPOSE.
.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.DocumentQuerySource document_query_source = 2;- Specified by:
getDocumentQuerySourceOrBuilderin interfaceHumanAgentAssistantConfig.SuggestionQueryConfigOrBuilder
-
hasDialogflowQuerySource
public boolean hasDialogflowQuerySource()Query from Dialogflow agent. It is used by DIALOGFLOW_ASSIST.
.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource dialogflow_query_source = 3;- Specified by:
hasDialogflowQuerySourcein interfaceHumanAgentAssistantConfig.SuggestionQueryConfigOrBuilder- Returns:
- Whether the dialogflowQuerySource field is set.
-
getDialogflowQuerySource
public HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource getDialogflowQuerySource()Query from Dialogflow agent. It is used by DIALOGFLOW_ASSIST.
.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource dialogflow_query_source = 3;- Specified by:
getDialogflowQuerySourcein interfaceHumanAgentAssistantConfig.SuggestionQueryConfigOrBuilder- Returns:
- The dialogflowQuerySource.
-
setDialogflowQuerySource
public HumanAgentAssistantConfig.SuggestionQueryConfig.Builder setDialogflowQuerySource(HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource value) Query from Dialogflow agent. It is used by DIALOGFLOW_ASSIST.
.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource dialogflow_query_source = 3; -
setDialogflowQuerySource
public HumanAgentAssistantConfig.SuggestionQueryConfig.Builder setDialogflowQuerySource(HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource.Builder builderForValue) Query from Dialogflow agent. It is used by DIALOGFLOW_ASSIST.
.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource dialogflow_query_source = 3; -
mergeDialogflowQuerySource
public HumanAgentAssistantConfig.SuggestionQueryConfig.Builder mergeDialogflowQuerySource(HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource value) Query from Dialogflow agent. It is used by DIALOGFLOW_ASSIST.
.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource dialogflow_query_source = 3; -
clearDialogflowQuerySource
Query from Dialogflow agent. It is used by DIALOGFLOW_ASSIST.
.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource dialogflow_query_source = 3; -
getDialogflowQuerySourceBuilder
public HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource.Builder getDialogflowQuerySourceBuilder()Query from Dialogflow agent. It is used by DIALOGFLOW_ASSIST.
.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource dialogflow_query_source = 3; -
getDialogflowQuerySourceOrBuilder
public HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySourceOrBuilder getDialogflowQuerySourceOrBuilder()Query from Dialogflow agent. It is used by DIALOGFLOW_ASSIST.
.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource dialogflow_query_source = 3;- Specified by:
getDialogflowQuerySourceOrBuilderin interfaceHumanAgentAssistantConfig.SuggestionQueryConfigOrBuilder
-
getMaxResults
public int getMaxResults()Maximum number of results to return. Currently, if unset, defaults to 10. And the max number is 20.
int32 max_results = 4;- Specified by:
getMaxResultsin interfaceHumanAgentAssistantConfig.SuggestionQueryConfigOrBuilder- Returns:
- The maxResults.
-
setMaxResults
Maximum number of results to return. Currently, if unset, defaults to 10. And the max number is 20.
int32 max_results = 4;- Parameters:
value- The maxResults to set.- Returns:
- This builder for chaining.
-
clearMaxResults
Maximum number of results to return. Currently, if unset, defaults to 10. And the max number is 20.
int32 max_results = 4;- Returns:
- This builder for chaining.
-
getConfidenceThreshold
public float getConfidenceThreshold()Confidence threshold of query result. Agent Assist gives each suggestion a score in the range [0.0, 1.0], based on the relevance between the suggestion and the current conversation context. A score of 0.0 has no relevance, while a score of 1.0 has high relevance. Only suggestions with a score greater than or equal to the value of this field are included in the results. For a baseline model (the default), the recommended value is in the range [0.05, 0.1]. For a custom model, there is no recommended value. Tune this value by starting from a very low value and slowly increasing until you have desired results. If this field is not set, it defaults to 0.0, which means that all suggestions are returned. Supported features: ARTICLE_SUGGESTION, FAQ, SMART_REPLY, SMART_COMPOSE, KNOWLEDGE_SEARCH, KNOWLEDGE_ASSIST, ENTITY_EXTRACTION.
float confidence_threshold = 5;- Specified by:
getConfidenceThresholdin interfaceHumanAgentAssistantConfig.SuggestionQueryConfigOrBuilder- Returns:
- The confidenceThreshold.
-
setConfidenceThreshold
Confidence threshold of query result. Agent Assist gives each suggestion a score in the range [0.0, 1.0], based on the relevance between the suggestion and the current conversation context. A score of 0.0 has no relevance, while a score of 1.0 has high relevance. Only suggestions with a score greater than or equal to the value of this field are included in the results. For a baseline model (the default), the recommended value is in the range [0.05, 0.1]. For a custom model, there is no recommended value. Tune this value by starting from a very low value and slowly increasing until you have desired results. If this field is not set, it defaults to 0.0, which means that all suggestions are returned. Supported features: ARTICLE_SUGGESTION, FAQ, SMART_REPLY, SMART_COMPOSE, KNOWLEDGE_SEARCH, KNOWLEDGE_ASSIST, ENTITY_EXTRACTION.
float confidence_threshold = 5;- Parameters:
value- The confidenceThreshold to set.- Returns:
- This builder for chaining.
-
clearConfidenceThreshold
Confidence threshold of query result. Agent Assist gives each suggestion a score in the range [0.0, 1.0], based on the relevance between the suggestion and the current conversation context. A score of 0.0 has no relevance, while a score of 1.0 has high relevance. Only suggestions with a score greater than or equal to the value of this field are included in the results. For a baseline model (the default), the recommended value is in the range [0.05, 0.1]. For a custom model, there is no recommended value. Tune this value by starting from a very low value and slowly increasing until you have desired results. If this field is not set, it defaults to 0.0, which means that all suggestions are returned. Supported features: ARTICLE_SUGGESTION, FAQ, SMART_REPLY, SMART_COMPOSE, KNOWLEDGE_SEARCH, KNOWLEDGE_ASSIST, ENTITY_EXTRACTION.
float confidence_threshold = 5;- Returns:
- This builder for chaining.
-
hasContextFilterSettings
public boolean hasContextFilterSettings()Determines how recent conversation context is filtered when generating suggestions. If unspecified, no messages will be dropped.
.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings context_filter_settings = 7;- Specified by:
hasContextFilterSettingsin interfaceHumanAgentAssistantConfig.SuggestionQueryConfigOrBuilder- Returns:
- Whether the contextFilterSettings field is set.
-
getContextFilterSettings
public HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings getContextFilterSettings()Determines how recent conversation context is filtered when generating suggestions. If unspecified, no messages will be dropped.
.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings context_filter_settings = 7;- Specified by:
getContextFilterSettingsin interfaceHumanAgentAssistantConfig.SuggestionQueryConfigOrBuilder- Returns:
- The contextFilterSettings.
-
setContextFilterSettings
public HumanAgentAssistantConfig.SuggestionQueryConfig.Builder setContextFilterSettings(HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings value) Determines how recent conversation context is filtered when generating suggestions. If unspecified, no messages will be dropped.
.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings context_filter_settings = 7; -
setContextFilterSettings
public HumanAgentAssistantConfig.SuggestionQueryConfig.Builder setContextFilterSettings(HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.Builder builderForValue) Determines how recent conversation context is filtered when generating suggestions. If unspecified, no messages will be dropped.
.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings context_filter_settings = 7; -
mergeContextFilterSettings
public HumanAgentAssistantConfig.SuggestionQueryConfig.Builder mergeContextFilterSettings(HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings value) Determines how recent conversation context is filtered when generating suggestions. If unspecified, no messages will be dropped.
.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings context_filter_settings = 7; -
clearContextFilterSettings
Determines how recent conversation context is filtered when generating suggestions. If unspecified, no messages will be dropped.
.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings context_filter_settings = 7; -
getContextFilterSettingsBuilder
public HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.Builder getContextFilterSettingsBuilder()Determines how recent conversation context is filtered when generating suggestions. If unspecified, no messages will be dropped.
.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings context_filter_settings = 7; -
getContextFilterSettingsOrBuilder
public HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettingsOrBuilder getContextFilterSettingsOrBuilder()Determines how recent conversation context is filtered when generating suggestions. If unspecified, no messages will be dropped.
.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings context_filter_settings = 7;- Specified by:
getContextFilterSettingsOrBuilderin interfaceHumanAgentAssistantConfig.SuggestionQueryConfigOrBuilder
-
hasSections
public boolean hasSections()Optional. The customized sections chosen to return when requesting a summary of a conversation.
.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.Sections sections = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasSectionsin interfaceHumanAgentAssistantConfig.SuggestionQueryConfigOrBuilder- Returns:
- Whether the sections field is set.
-
getSections
Optional. The customized sections chosen to return when requesting a summary of a conversation.
.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.Sections sections = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSectionsin interfaceHumanAgentAssistantConfig.SuggestionQueryConfigOrBuilder- Returns:
- The sections.
-
setSections
public HumanAgentAssistantConfig.SuggestionQueryConfig.Builder setSections(HumanAgentAssistantConfig.SuggestionQueryConfig.Sections value) Optional. The customized sections chosen to return when requesting a summary of a conversation.
.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.Sections sections = 8 [(.google.api.field_behavior) = OPTIONAL]; -
setSections
public HumanAgentAssistantConfig.SuggestionQueryConfig.Builder setSections(HumanAgentAssistantConfig.SuggestionQueryConfig.Sections.Builder builderForValue) Optional. The customized sections chosen to return when requesting a summary of a conversation.
.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.Sections sections = 8 [(.google.api.field_behavior) = OPTIONAL]; -
mergeSections
public HumanAgentAssistantConfig.SuggestionQueryConfig.Builder mergeSections(HumanAgentAssistantConfig.SuggestionQueryConfig.Sections value) Optional. The customized sections chosen to return when requesting a summary of a conversation.
.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.Sections sections = 8 [(.google.api.field_behavior) = OPTIONAL]; -
clearSections
Optional. The customized sections chosen to return when requesting a summary of a conversation.
.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.Sections sections = 8 [(.google.api.field_behavior) = OPTIONAL]; -
getSectionsBuilder
Optional. The customized sections chosen to return when requesting a summary of a conversation.
.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.Sections sections = 8 [(.google.api.field_behavior) = OPTIONAL]; -
getSectionsOrBuilder
Optional. The customized sections chosen to return when requesting a summary of a conversation.
.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.Sections sections = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSectionsOrBuilderin interfaceHumanAgentAssistantConfig.SuggestionQueryConfigOrBuilder
-
getContextSize
public int getContextSize()Optional. The number of recent messages to include in the context. Supported features: KNOWLEDGE_ASSIST.
int32 context_size = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getContextSizein interfaceHumanAgentAssistantConfig.SuggestionQueryConfigOrBuilder- Returns:
- The contextSize.
-
setContextSize
Optional. The number of recent messages to include in the context. Supported features: KNOWLEDGE_ASSIST.
int32 context_size = 9 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The contextSize to set.- Returns:
- This builder for chaining.
-
clearContextSize
Optional. The number of recent messages to include in the context. Supported features: KNOWLEDGE_ASSIST.
int32 context_size = 9 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-