- 4.60.0 (latest)
- 4.59.0
- 4.58.0
- 4.57.0
- 4.55.0
- 4.54.0
- 4.53.0
- 4.52.0
- 4.51.0
- 4.50.0
- 4.49.0
- 4.48.0
- 4.47.0
- 4.46.0
- 4.45.0
- 4.43.0
- 4.42.0
- 4.41.0
- 4.40.0
- 4.39.0
- 4.38.0
- 4.37.0
- 4.36.0
- 4.35.0
- 4.34.0
- 4.33.0
- 4.30.0
- 4.29.0
- 4.28.0
- 4.27.0
- 4.26.0
- 4.25.0
- 4.24.0
- 4.23.0
- 4.22.0
- 4.21.0
- 4.20.0
- 4.19.0
- 4.18.0
- 4.17.0
- 4.15.0
- 4.14.0
- 4.13.0
- 4.12.0
- 4.11.0
- 4.10.0
- 4.9.1
- 4.8.6
- 4.7.5
- 4.6.0
- 4.5.11
- 4.4.0
- 4.3.1
public static final class HumanAgentAssistantConfig.SuggestionQueryConfig.Builder extends GeneratedMessageV3.Builder<HumanAgentAssistantConfig.SuggestionQueryConfig.Builder> implements HumanAgentAssistantConfig.SuggestionQueryConfigOrBuilder
Config for suggestion query.
Protobuf type
google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > HumanAgentAssistantConfig.SuggestionQueryConfig.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public HumanAgentAssistantConfig.SuggestionQueryConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
HumanAgentAssistantConfig.SuggestionQueryConfig.Builder |
build()
public HumanAgentAssistantConfig.SuggestionQueryConfig build()
Type | Description |
HumanAgentAssistantConfig.SuggestionQueryConfig |
buildPartial()
public HumanAgentAssistantConfig.SuggestionQueryConfig buildPartial()
Type | Description |
HumanAgentAssistantConfig.SuggestionQueryConfig |
clear()
public HumanAgentAssistantConfig.SuggestionQueryConfig.Builder clear()
Type | Description |
HumanAgentAssistantConfig.SuggestionQueryConfig.Builder |
clearConfidenceThreshold()
public HumanAgentAssistantConfig.SuggestionQueryConfig.Builder 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.
float confidence_threshold = 5;
Type | Description |
HumanAgentAssistantConfig.SuggestionQueryConfig.Builder | This builder for chaining. |
clearContextFilterSettings()
public HumanAgentAssistantConfig.SuggestionQueryConfig.Builder 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;
Type | Description |
HumanAgentAssistantConfig.SuggestionQueryConfig.Builder |
clearDialogflowQuerySource()
public HumanAgentAssistantConfig.SuggestionQueryConfig.Builder clearDialogflowQuerySource()
Query from Dialogflow agent. It is used by DIALOGFLOW_ASSIST.
.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource dialogflow_query_source = 3;
Type | Description |
HumanAgentAssistantConfig.SuggestionQueryConfig.Builder |
clearDocumentQuerySource()
public HumanAgentAssistantConfig.SuggestionQueryConfig.Builder 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;
Type | Description |
HumanAgentAssistantConfig.SuggestionQueryConfig.Builder |
clearField(Descriptors.FieldDescriptor field)
public HumanAgentAssistantConfig.SuggestionQueryConfig.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
HumanAgentAssistantConfig.SuggestionQueryConfig.Builder |
clearKnowledgeBaseQuerySource()
public HumanAgentAssistantConfig.SuggestionQueryConfig.Builder clearKnowledgeBaseQuerySource()
Query from knowledgebase. It is used by: ARTICLE_SUGGESTION, FAQ.
.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig.KnowledgeBaseQuerySource knowledge_base_query_source = 1;
Type | Description |
HumanAgentAssistantConfig.SuggestionQueryConfig.Builder |
clearMaxResults()
public HumanAgentAssistantConfig.SuggestionQueryConfig.Builder clearMaxResults()
Maximum number of results to return. Currently, if unset, defaults to 10. And the max number is 20.
int32 max_results = 4;
Type | Description |
HumanAgentAssistantConfig.SuggestionQueryConfig.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public HumanAgentAssistantConfig.SuggestionQueryConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
HumanAgentAssistantConfig.SuggestionQueryConfig.Builder |
clearQuerySource()
public HumanAgentAssistantConfig.SuggestionQueryConfig.Builder clearQuerySource()
Type | Description |
HumanAgentAssistantConfig.SuggestionQueryConfig.Builder |
clone()
public HumanAgentAssistantConfig.SuggestionQueryConfig.Builder clone()
Type | Description |
HumanAgentAssistantConfig.SuggestionQueryConfig.Builder |
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.
float confidence_threshold = 5;
Type | Description |
float | The confidenceThreshold. |
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;
Type | Description |
HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings | The contextFilterSettings. |
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;
Type | Description |
HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.Builder |
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;
Type | Description |
HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettingsOrBuilder |
getDefaultInstanceForType()
public HumanAgentAssistantConfig.SuggestionQueryConfig getDefaultInstanceForType()
Type | Description |
HumanAgentAssistantConfig.SuggestionQueryConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
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;
Type | Description |
HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource | The dialogflowQuerySource. |
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;
Type | Description |
HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource.Builder |
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;
Type | Description |
HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySourceOrBuilder |
getDocumentQuerySource()
public HumanAgentAssistantConfig.SuggestionQueryConfig.DocumentQuerySource 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;
Type | Description |
HumanAgentAssistantConfig.SuggestionQueryConfig.DocumentQuerySource | The documentQuerySource. |
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;
Type | Description |
HumanAgentAssistantConfig.SuggestionQueryConfig.DocumentQuerySource.Builder |
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;
Type | Description |
HumanAgentAssistantConfig.SuggestionQueryConfig.DocumentQuerySourceOrBuilder |
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;
Type | Description |
HumanAgentAssistantConfig.SuggestionQueryConfig.KnowledgeBaseQuerySource | The knowledgeBaseQuerySource. |
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;
Type | Description |
HumanAgentAssistantConfig.SuggestionQueryConfig.KnowledgeBaseQuerySource.Builder |
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;
Type | Description |
HumanAgentAssistantConfig.SuggestionQueryConfig.KnowledgeBaseQuerySourceOrBuilder |
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;
Type | Description |
int | The maxResults. |
getQuerySourceCase()
public HumanAgentAssistantConfig.SuggestionQueryConfig.QuerySourceCase getQuerySourceCase()
Type | Description |
HumanAgentAssistantConfig.SuggestionQueryConfig.QuerySourceCase |
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;
Type | Description |
boolean | Whether the contextFilterSettings field is set. |
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;
Type | Description |
boolean | Whether the dialogflowQuerySource field is set. |
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;
Type | Description |
boolean | Whether the documentQuerySource field is set. |
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;
Type | Description |
boolean | Whether the knowledgeBaseQuerySource field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeContextFilterSettings(HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings value)
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;
Name | Description |
value | HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings |
Type | Description |
HumanAgentAssistantConfig.SuggestionQueryConfig.Builder |
mergeDialogflowQuerySource(HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource value)
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;
Name | Description |
value | HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource |
Type | Description |
HumanAgentAssistantConfig.SuggestionQueryConfig.Builder |
mergeDocumentQuerySource(HumanAgentAssistantConfig.SuggestionQueryConfig.DocumentQuerySource value)
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;
Name | Description |
value | HumanAgentAssistantConfig.SuggestionQueryConfig.DocumentQuerySource |
Type | Description |
HumanAgentAssistantConfig.SuggestionQueryConfig.Builder |
mergeFrom(HumanAgentAssistantConfig.SuggestionQueryConfig other)
public HumanAgentAssistantConfig.SuggestionQueryConfig.Builder mergeFrom(HumanAgentAssistantConfig.SuggestionQueryConfig other)
Name | Description |
other | HumanAgentAssistantConfig.SuggestionQueryConfig |
Type | Description |
HumanAgentAssistantConfig.SuggestionQueryConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public HumanAgentAssistantConfig.SuggestionQueryConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
HumanAgentAssistantConfig.SuggestionQueryConfig.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public HumanAgentAssistantConfig.SuggestionQueryConfig.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
HumanAgentAssistantConfig.SuggestionQueryConfig.Builder |
mergeKnowledgeBaseQuerySource(HumanAgentAssistantConfig.SuggestionQueryConfig.KnowledgeBaseQuerySource value)
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;
Name | Description |
value | HumanAgentAssistantConfig.SuggestionQueryConfig.KnowledgeBaseQuerySource |
Type | Description |
HumanAgentAssistantConfig.SuggestionQueryConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final HumanAgentAssistantConfig.SuggestionQueryConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
HumanAgentAssistantConfig.SuggestionQueryConfig.Builder |
setConfidenceThreshold(float value)
public HumanAgentAssistantConfig.SuggestionQueryConfig.Builder setConfidenceThreshold(float value)
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.
float confidence_threshold = 5;
Name | Description |
value | float The confidenceThreshold to set. |
Type | Description |
HumanAgentAssistantConfig.SuggestionQueryConfig.Builder | This builder for chaining. |
setContextFilterSettings(HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings value)
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;
Name | Description |
value | HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings |
Type | Description |
HumanAgentAssistantConfig.SuggestionQueryConfig.Builder |
setContextFilterSettings(HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.Builder builderForValue)
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;
Name | Description |
builderForValue | HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.Builder |
Type | Description |
HumanAgentAssistantConfig.SuggestionQueryConfig.Builder |
setDialogflowQuerySource(HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource value)
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;
Name | Description |
value | HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource |
Type | Description |
HumanAgentAssistantConfig.SuggestionQueryConfig.Builder |
setDialogflowQuerySource(HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource.Builder builderForValue)
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;
Name | Description |
builderForValue | HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource.Builder |
Type | Description |
HumanAgentAssistantConfig.SuggestionQueryConfig.Builder |
setDocumentQuerySource(HumanAgentAssistantConfig.SuggestionQueryConfig.DocumentQuerySource value)
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;
Name | Description |
value | HumanAgentAssistantConfig.SuggestionQueryConfig.DocumentQuerySource |
Type | Description |
HumanAgentAssistantConfig.SuggestionQueryConfig.Builder |
setDocumentQuerySource(HumanAgentAssistantConfig.SuggestionQueryConfig.DocumentQuerySource.Builder builderForValue)
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;
Name | Description |
builderForValue | HumanAgentAssistantConfig.SuggestionQueryConfig.DocumentQuerySource.Builder |
Type | Description |
HumanAgentAssistantConfig.SuggestionQueryConfig.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public HumanAgentAssistantConfig.SuggestionQueryConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
HumanAgentAssistantConfig.SuggestionQueryConfig.Builder |
setKnowledgeBaseQuerySource(HumanAgentAssistantConfig.SuggestionQueryConfig.KnowledgeBaseQuerySource value)
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;
Name | Description |
value | HumanAgentAssistantConfig.SuggestionQueryConfig.KnowledgeBaseQuerySource |
Type | Description |
HumanAgentAssistantConfig.SuggestionQueryConfig.Builder |
setKnowledgeBaseQuerySource(HumanAgentAssistantConfig.SuggestionQueryConfig.KnowledgeBaseQuerySource.Builder builderForValue)
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;
Name | Description |
builderForValue | HumanAgentAssistantConfig.SuggestionQueryConfig.KnowledgeBaseQuerySource.Builder |
Type | Description |
HumanAgentAssistantConfig.SuggestionQueryConfig.Builder |
setMaxResults(int value)
public HumanAgentAssistantConfig.SuggestionQueryConfig.Builder setMaxResults(int value)
Maximum number of results to return. Currently, if unset, defaults to 10. And the max number is 20.
int32 max_results = 4;
Name | Description |
value | int The maxResults to set. |
Type | Description |
HumanAgentAssistantConfig.SuggestionQueryConfig.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public HumanAgentAssistantConfig.SuggestionQueryConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
HumanAgentAssistantConfig.SuggestionQueryConfig.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final HumanAgentAssistantConfig.SuggestionQueryConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
HumanAgentAssistantConfig.SuggestionQueryConfig.Builder |