public static final class HumanAgentAssistantConfig.SuggestionQueryConfig extends com.google.protobuf.GeneratedMessageV3 implements HumanAgentAssistantConfig.SuggestionQueryConfigOrBuilder
Config for suggestion query.Protobuf type
google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionQueryConfigcom.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CONFIDENCE_THRESHOLD_FIELD_NUMBER |
static int |
CONTEXT_FILTER_SETTINGS_FIELD_NUMBER |
static int |
DIALOGFLOW_QUERY_SOURCE_FIELD_NUMBER |
static int |
DOCUMENT_QUERY_SOURCE_FIELD_NUMBER |
static int |
KNOWLEDGE_BASE_QUERY_SOURCE_FIELD_NUMBER |
static int |
MAX_RESULTS_FIELD_NUMBER |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int KNOWLEDGE_BASE_QUERY_SOURCE_FIELD_NUMBER
public static final int DOCUMENT_QUERY_SOURCE_FIELD_NUMBER
public static final int DIALOGFLOW_QUERY_SOURCE_FIELD_NUMBER
public static final int MAX_RESULTS_FIELD_NUMBER
public static final int CONFIDENCE_THRESHOLD_FIELD_NUMBER
public static final int CONTEXT_FILTER_SETTINGS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public HumanAgentAssistantConfig.SuggestionQueryConfig.QuerySourceCase getQuerySourceCase()
getQuerySourceCase in interface HumanAgentAssistantConfig.SuggestionQueryConfigOrBuilderpublic boolean hasKnowledgeBaseQuerySource()
Query from knowledgebase. It is used by: ARTICLE_SUGGESTION, FAQ.
.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionQueryConfig.KnowledgeBaseQuerySource knowledge_base_query_source = 1;
hasKnowledgeBaseQuerySource in interface HumanAgentAssistantConfig.SuggestionQueryConfigOrBuilderpublic HumanAgentAssistantConfig.SuggestionQueryConfig.KnowledgeBaseQuerySource getKnowledgeBaseQuerySource()
Query from knowledgebase. It is used by: ARTICLE_SUGGESTION, FAQ.
.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionQueryConfig.KnowledgeBaseQuerySource knowledge_base_query_source = 1;
getKnowledgeBaseQuerySource in interface HumanAgentAssistantConfig.SuggestionQueryConfigOrBuilderpublic HumanAgentAssistantConfig.SuggestionQueryConfig.KnowledgeBaseQuerySourceOrBuilder getKnowledgeBaseQuerySourceOrBuilder()
Query from knowledgebase. It is used by: ARTICLE_SUGGESTION, FAQ.
.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionQueryConfig.KnowledgeBaseQuerySource knowledge_base_query_source = 1;
getKnowledgeBaseQuerySourceOrBuilder in interface HumanAgentAssistantConfig.SuggestionQueryConfigOrBuilderpublic boolean hasDocumentQuerySource()
Query from knowledge base document. It is used by: SMART_REPLY, SMART_COMPOSE.
.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionQueryConfig.DocumentQuerySource document_query_source = 2;
hasDocumentQuerySource in interface HumanAgentAssistantConfig.SuggestionQueryConfigOrBuilderpublic HumanAgentAssistantConfig.SuggestionQueryConfig.DocumentQuerySource getDocumentQuerySource()
Query from knowledge base document. It is used by: SMART_REPLY, SMART_COMPOSE.
.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionQueryConfig.DocumentQuerySource document_query_source = 2;
getDocumentQuerySource in interface HumanAgentAssistantConfig.SuggestionQueryConfigOrBuilderpublic HumanAgentAssistantConfig.SuggestionQueryConfig.DocumentQuerySourceOrBuilder getDocumentQuerySourceOrBuilder()
Query from knowledge base document. It is used by: SMART_REPLY, SMART_COMPOSE.
.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionQueryConfig.DocumentQuerySource document_query_source = 2;
getDocumentQuerySourceOrBuilder in interface HumanAgentAssistantConfig.SuggestionQueryConfigOrBuilderpublic boolean hasDialogflowQuerySource()
Query from Dialogflow agent. It is used by DIALOGFLOW_ASSIST.
.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource dialogflow_query_source = 3;
hasDialogflowQuerySource in interface HumanAgentAssistantConfig.SuggestionQueryConfigOrBuilderpublic HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource getDialogflowQuerySource()
Query from Dialogflow agent. It is used by DIALOGFLOW_ASSIST.
.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource dialogflow_query_source = 3;
getDialogflowQuerySource in interface HumanAgentAssistantConfig.SuggestionQueryConfigOrBuilderpublic HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySourceOrBuilder getDialogflowQuerySourceOrBuilder()
Query from Dialogflow agent. It is used by DIALOGFLOW_ASSIST.
.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource dialogflow_query_source = 3;
getDialogflowQuerySourceOrBuilder in interface HumanAgentAssistantConfig.SuggestionQueryConfigOrBuilderpublic int getMaxResults()
Maximum number of results to return. Currently, if unset, defaults to 10. And the max number is 20.
int32 max_results = 4;getMaxResults in interface HumanAgentAssistantConfig.SuggestionQueryConfigOrBuilderpublic 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 is default to 0.0, which means that all suggestions are returned. Supported features: ARTICLE_SUGGESTION, FAQ, SMART_REPLY, SMART_COMPOSE.
float confidence_threshold = 5;getConfidenceThreshold in interface HumanAgentAssistantConfig.SuggestionQueryConfigOrBuilderpublic boolean hasContextFilterSettings()
Determines how recent conversation context is filtered when generating suggestions. If unspecified, no messages will be dropped.
.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings context_filter_settings = 7;
hasContextFilterSettings in interface HumanAgentAssistantConfig.SuggestionQueryConfigOrBuilderpublic HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings getContextFilterSettings()
Determines how recent conversation context is filtered when generating suggestions. If unspecified, no messages will be dropped.
.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings context_filter_settings = 7;
getContextFilterSettings in interface HumanAgentAssistantConfig.SuggestionQueryConfigOrBuilderpublic HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettingsOrBuilder getContextFilterSettingsOrBuilder()
Determines how recent conversation context is filtered when generating suggestions. If unspecified, no messages will be dropped.
.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings context_filter_settings = 7;
getContextFilterSettingsOrBuilder in interface HumanAgentAssistantConfig.SuggestionQueryConfigOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static HumanAgentAssistantConfig.SuggestionQueryConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HumanAgentAssistantConfig.SuggestionQueryConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HumanAgentAssistantConfig.SuggestionQueryConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HumanAgentAssistantConfig.SuggestionQueryConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HumanAgentAssistantConfig.SuggestionQueryConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HumanAgentAssistantConfig.SuggestionQueryConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static HumanAgentAssistantConfig.SuggestionQueryConfig parseFrom(InputStream input) throws IOException
IOExceptionpublic static HumanAgentAssistantConfig.SuggestionQueryConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static HumanAgentAssistantConfig.SuggestionQueryConfig parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static HumanAgentAssistantConfig.SuggestionQueryConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static HumanAgentAssistantConfig.SuggestionQueryConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static HumanAgentAssistantConfig.SuggestionQueryConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic HumanAgentAssistantConfig.SuggestionQueryConfig.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static HumanAgentAssistantConfig.SuggestionQueryConfig.Builder newBuilder()
public static HumanAgentAssistantConfig.SuggestionQueryConfig.Builder newBuilder(HumanAgentAssistantConfig.SuggestionQueryConfig prototype)
public HumanAgentAssistantConfig.SuggestionQueryConfig.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected HumanAgentAssistantConfig.SuggestionQueryConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static HumanAgentAssistantConfig.SuggestionQueryConfig getDefaultInstance()
public static com.google.protobuf.Parser<HumanAgentAssistantConfig.SuggestionQueryConfig> parser()
public com.google.protobuf.Parser<HumanAgentAssistantConfig.SuggestionQueryConfig> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public HumanAgentAssistantConfig.SuggestionQueryConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.