Package com.google.cloud.dialogflow.v2
Class HumanAgentAssistantConfig.SuggestionFeatureConfig
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionFeatureConfig
-
- All Implemented Interfaces:
HumanAgentAssistantConfig.SuggestionFeatureConfigOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- HumanAgentAssistantConfig
public static final class HumanAgentAssistantConfig.SuggestionFeatureConfig extends com.google.protobuf.GeneratedMessageV3 implements HumanAgentAssistantConfig.SuggestionFeatureConfigOrBuilder
Config for suggestion features.
Protobuf typegoogle.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionFeatureConfig- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHumanAgentAssistantConfig.SuggestionFeatureConfig.BuilderConfig for suggestion features.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.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
-
-
Field Summary
Fields Modifier and Type Field Description static intCONVERSATION_MODEL_CONFIG_FIELD_NUMBERstatic intCONVERSATION_PROCESS_CONFIG_FIELD_NUMBERstatic intDISABLE_AGENT_QUERY_LOGGING_FIELD_NUMBERstatic intENABLE_EVENT_BASED_SUGGESTION_FIELD_NUMBERstatic intQUERY_CONFIG_FIELD_NUMBERstatic intSUGGESTION_FEATURE_FIELD_NUMBERstatic intSUGGESTION_TRIGGER_SETTINGS_FIELD_NUMBER
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
SUGGESTION_FEATURE_FIELD_NUMBER
public static final int SUGGESTION_FEATURE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENABLE_EVENT_BASED_SUGGESTION_FIELD_NUMBER
public static final int ENABLE_EVENT_BASED_SUGGESTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DISABLE_AGENT_QUERY_LOGGING_FIELD_NUMBER
public static final int DISABLE_AGENT_QUERY_LOGGING_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SUGGESTION_TRIGGER_SETTINGS_FIELD_NUMBER
public static final int SUGGESTION_TRIGGER_SETTINGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
QUERY_CONFIG_FIELD_NUMBER
public static final int QUERY_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONVERSATION_MODEL_CONFIG_FIELD_NUMBER
public static final int CONVERSATION_MODEL_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONVERSATION_PROCESS_CONFIG_FIELD_NUMBER
public static final int CONVERSATION_PROCESS_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasSuggestionFeature
public boolean hasSuggestionFeature()
The suggestion feature.
.google.cloud.dialogflow.v2.SuggestionFeature suggestion_feature = 5;- Specified by:
hasSuggestionFeaturein interfaceHumanAgentAssistantConfig.SuggestionFeatureConfigOrBuilder- Returns:
- Whether the suggestionFeature field is set.
-
getSuggestionFeature
public SuggestionFeature getSuggestionFeature()
The suggestion feature.
.google.cloud.dialogflow.v2.SuggestionFeature suggestion_feature = 5;- Specified by:
getSuggestionFeaturein interfaceHumanAgentAssistantConfig.SuggestionFeatureConfigOrBuilder- Returns:
- The suggestionFeature.
-
getSuggestionFeatureOrBuilder
public SuggestionFeatureOrBuilder getSuggestionFeatureOrBuilder()
The suggestion feature.
.google.cloud.dialogflow.v2.SuggestionFeature suggestion_feature = 5;- Specified by:
getSuggestionFeatureOrBuilderin interfaceHumanAgentAssistantConfig.SuggestionFeatureConfigOrBuilder
-
getEnableEventBasedSuggestion
public boolean getEnableEventBasedSuggestion()
Automatically iterates all participants and tries to compile suggestions. Supported features: ARTICLE_SUGGESTION, FAQ, DIALOGFLOW_ASSIST, KNOWLEDGE_ASSIST.
bool enable_event_based_suggestion = 3;- Specified by:
getEnableEventBasedSuggestionin interfaceHumanAgentAssistantConfig.SuggestionFeatureConfigOrBuilder- Returns:
- The enableEventBasedSuggestion.
-
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];- Specified by:
getDisableAgentQueryLoggingin interfaceHumanAgentAssistantConfig.SuggestionFeatureConfigOrBuilder- Returns:
- The disableAgentQueryLogging.
-
hasSuggestionTriggerSettings
public boolean hasSuggestionTriggerSettings()
Settings of suggestion trigger. Currently, only ARTICLE_SUGGESTION and FAQ will use this field.
.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionTriggerSettings suggestion_trigger_settings = 10;- Specified by:
hasSuggestionTriggerSettingsin interfaceHumanAgentAssistantConfig.SuggestionFeatureConfigOrBuilder- Returns:
- Whether the suggestionTriggerSettings field is set.
-
getSuggestionTriggerSettings
public HumanAgentAssistantConfig.SuggestionTriggerSettings getSuggestionTriggerSettings()
Settings of suggestion trigger. Currently, only ARTICLE_SUGGESTION and FAQ will use this field.
.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionTriggerSettings suggestion_trigger_settings = 10;- Specified by:
getSuggestionTriggerSettingsin interfaceHumanAgentAssistantConfig.SuggestionFeatureConfigOrBuilder- Returns:
- The suggestionTriggerSettings.
-
getSuggestionTriggerSettingsOrBuilder
public HumanAgentAssistantConfig.SuggestionTriggerSettingsOrBuilder getSuggestionTriggerSettingsOrBuilder()
Settings of suggestion trigger. Currently, only ARTICLE_SUGGESTION and FAQ will use this field.
.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionTriggerSettings suggestion_trigger_settings = 10;- Specified by:
getSuggestionTriggerSettingsOrBuilderin interfaceHumanAgentAssistantConfig.SuggestionFeatureConfigOrBuilder
-
hasQueryConfig
public boolean hasQueryConfig()
Configs of query.
.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig query_config = 6;- Specified by:
hasQueryConfigin interfaceHumanAgentAssistantConfig.SuggestionFeatureConfigOrBuilder- Returns:
- Whether the queryConfig field is set.
-
getQueryConfig
public HumanAgentAssistantConfig.SuggestionQueryConfig getQueryConfig()
Configs of query.
.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig query_config = 6;- Specified by:
getQueryConfigin interfaceHumanAgentAssistantConfig.SuggestionFeatureConfigOrBuilder- Returns:
- The queryConfig.
-
getQueryConfigOrBuilder
public HumanAgentAssistantConfig.SuggestionQueryConfigOrBuilder getQueryConfigOrBuilder()
Configs of query.
.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig query_config = 6;- Specified by:
getQueryConfigOrBuilderin interfaceHumanAgentAssistantConfig.SuggestionFeatureConfigOrBuilder
-
hasConversationModelConfig
public boolean hasConversationModelConfig()
Configs of custom conversation model.
.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.ConversationModelConfig conversation_model_config = 7;- Specified by:
hasConversationModelConfigin interfaceHumanAgentAssistantConfig.SuggestionFeatureConfigOrBuilder- Returns:
- Whether the conversationModelConfig field is set.
-
getConversationModelConfig
public HumanAgentAssistantConfig.ConversationModelConfig getConversationModelConfig()
Configs of custom conversation model.
.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.ConversationModelConfig conversation_model_config = 7;- Specified by:
getConversationModelConfigin interfaceHumanAgentAssistantConfig.SuggestionFeatureConfigOrBuilder- Returns:
- The conversationModelConfig.
-
getConversationModelConfigOrBuilder
public HumanAgentAssistantConfig.ConversationModelConfigOrBuilder getConversationModelConfigOrBuilder()
Configs of custom conversation model.
.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.ConversationModelConfig conversation_model_config = 7;- Specified by:
getConversationModelConfigOrBuilderin interfaceHumanAgentAssistantConfig.SuggestionFeatureConfigOrBuilder
-
hasConversationProcessConfig
public boolean hasConversationProcessConfig()
Configs for processing conversation.
.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.ConversationProcessConfig conversation_process_config = 8;- Specified by:
hasConversationProcessConfigin interfaceHumanAgentAssistantConfig.SuggestionFeatureConfigOrBuilder- Returns:
- Whether the conversationProcessConfig field is set.
-
getConversationProcessConfig
public HumanAgentAssistantConfig.ConversationProcessConfig getConversationProcessConfig()
Configs for processing conversation.
.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.ConversationProcessConfig conversation_process_config = 8;- Specified by:
getConversationProcessConfigin interfaceHumanAgentAssistantConfig.SuggestionFeatureConfigOrBuilder- Returns:
- The conversationProcessConfig.
-
getConversationProcessConfigOrBuilder
public HumanAgentAssistantConfig.ConversationProcessConfigOrBuilder getConversationProcessConfigOrBuilder()
Configs for processing conversation.
.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.ConversationProcessConfig conversation_process_config = 8;- Specified by:
getConversationProcessConfigOrBuilderin interfaceHumanAgentAssistantConfig.SuggestionFeatureConfigOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static HumanAgentAssistantConfig.SuggestionFeatureConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HumanAgentAssistantConfig.SuggestionFeatureConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HumanAgentAssistantConfig.SuggestionFeatureConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HumanAgentAssistantConfig.SuggestionFeatureConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HumanAgentAssistantConfig.SuggestionFeatureConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HumanAgentAssistantConfig.SuggestionFeatureConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HumanAgentAssistantConfig.SuggestionFeatureConfig parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static HumanAgentAssistantConfig.SuggestionFeatureConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static HumanAgentAssistantConfig.SuggestionFeatureConfig parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static HumanAgentAssistantConfig.SuggestionFeatureConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static HumanAgentAssistantConfig.SuggestionFeatureConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static HumanAgentAssistantConfig.SuggestionFeatureConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder newBuilder()
-
newBuilder
public static HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder newBuilder(HumanAgentAssistantConfig.SuggestionFeatureConfig prototype)
-
toBuilder
public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static HumanAgentAssistantConfig.SuggestionFeatureConfig getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<HumanAgentAssistantConfig.SuggestionFeatureConfig> parser()
-
getParserForType
public com.google.protobuf.Parser<HumanAgentAssistantConfig.SuggestionFeatureConfig> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public HumanAgentAssistantConfig.SuggestionFeatureConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-