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 class
HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder
Config 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 int
CONVERSATION_MODEL_CONFIG_FIELD_NUMBER
static int
CONVERSATION_PROCESS_CONFIG_FIELD_NUMBER
static int
DISABLE_AGENT_QUERY_LOGGING_FIELD_NUMBER
static int
ENABLE_EVENT_BASED_SUGGESTION_FIELD_NUMBER
static int
QUERY_CONFIG_FIELD_NUMBER
static int
SUGGESTION_FEATURE_FIELD_NUMBER
static int
SUGGESTION_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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
hasSuggestionFeature
public boolean hasSuggestionFeature()
The suggestion feature.
.google.cloud.dialogflow.v2.SuggestionFeature suggestion_feature = 5;
- Specified by:
hasSuggestionFeature
in 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:
getSuggestionFeature
in interfaceHumanAgentAssistantConfig.SuggestionFeatureConfigOrBuilder
- Returns:
- The suggestionFeature.
-
getSuggestionFeatureOrBuilder
public SuggestionFeatureOrBuilder getSuggestionFeatureOrBuilder()
The suggestion feature.
.google.cloud.dialogflow.v2.SuggestionFeature suggestion_feature = 5;
- Specified by:
getSuggestionFeatureOrBuilder
in 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:
getEnableEventBasedSuggestion
in 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:
getDisableAgentQueryLogging
in 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:
hasSuggestionTriggerSettings
in 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:
getSuggestionTriggerSettings
in 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:
getSuggestionTriggerSettingsOrBuilder
in interfaceHumanAgentAssistantConfig.SuggestionFeatureConfigOrBuilder
-
hasQueryConfig
public boolean hasQueryConfig()
Configs of query.
.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig query_config = 6;
- Specified by:
hasQueryConfig
in 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:
getQueryConfig
in interfaceHumanAgentAssistantConfig.SuggestionFeatureConfigOrBuilder
- Returns:
- The queryConfig.
-
getQueryConfigOrBuilder
public HumanAgentAssistantConfig.SuggestionQueryConfigOrBuilder getQueryConfigOrBuilder()
Configs of query.
.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig query_config = 6;
- Specified by:
getQueryConfigOrBuilder
in interfaceHumanAgentAssistantConfig.SuggestionFeatureConfigOrBuilder
-
hasConversationModelConfig
public boolean hasConversationModelConfig()
Configs of custom conversation model.
.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.ConversationModelConfig conversation_model_config = 7;
- Specified by:
hasConversationModelConfig
in 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:
getConversationModelConfig
in 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:
getConversationModelConfigOrBuilder
in interfaceHumanAgentAssistantConfig.SuggestionFeatureConfigOrBuilder
-
hasConversationProcessConfig
public boolean hasConversationProcessConfig()
Configs for processing conversation.
.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.ConversationProcessConfig conversation_process_config = 8;
- Specified by:
hasConversationProcessConfig
in 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:
getConversationProcessConfig
in 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:
getConversationProcessConfigOrBuilder
in interfaceHumanAgentAssistantConfig.SuggestionFeatureConfigOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public HumanAgentAssistantConfig.SuggestionFeatureConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-