Class HumanAgentAssistantConfig.SuggestionFeatureConfig (4.49.0)

public static final class HumanAgentAssistantConfig.SuggestionFeatureConfig extends GeneratedMessageV3 implements HumanAgentAssistantConfig.SuggestionFeatureConfigOrBuilder

Config for suggestion features.

Protobuf type google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionFeatureConfig

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > HumanAgentAssistantConfig.SuggestionFeatureConfig

Static Fields

CONVERSATION_MODEL_CONFIG_FIELD_NUMBER

public static final int CONVERSATION_MODEL_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

CONVERSATION_PROCESS_CONFIG_FIELD_NUMBER

public static final int CONVERSATION_PROCESS_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

DISABLE_AGENT_QUERY_LOGGING_FIELD_NUMBER

public static final int DISABLE_AGENT_QUERY_LOGGING_FIELD_NUMBER
Field Value
Type Description
int

ENABLE_CONVERSATION_AUGMENTED_QUERY_FIELD_NUMBER

public static final int ENABLE_CONVERSATION_AUGMENTED_QUERY_FIELD_NUMBER
Field Value
Type Description
int

ENABLE_EVENT_BASED_SUGGESTION_FIELD_NUMBER

public static final int ENABLE_EVENT_BASED_SUGGESTION_FIELD_NUMBER
Field Value
Type Description
int

QUERY_CONFIG_FIELD_NUMBER

public static final int QUERY_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

SUGGESTION_FEATURE_FIELD_NUMBER

public static final int SUGGESTION_FEATURE_FIELD_NUMBER
Field Value
Type Description
int

SUGGESTION_TRIGGER_SETTINGS_FIELD_NUMBER

public static final int SUGGESTION_TRIGGER_SETTINGS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static HumanAgentAssistantConfig.SuggestionFeatureConfig getDefaultInstance()
Returns
Type Description
HumanAgentAssistantConfig.SuggestionFeatureConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder newBuilder()
Returns
Type Description
HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder

newBuilder(HumanAgentAssistantConfig.SuggestionFeatureConfig prototype)

public static HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder newBuilder(HumanAgentAssistantConfig.SuggestionFeatureConfig prototype)
Parameter
Name Description
prototype HumanAgentAssistantConfig.SuggestionFeatureConfig
Returns
Type Description
HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder

parseDelimitedFrom(InputStream input)

public static HumanAgentAssistantConfig.SuggestionFeatureConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
HumanAgentAssistantConfig.SuggestionFeatureConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static HumanAgentAssistantConfig.SuggestionFeatureConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HumanAgentAssistantConfig.SuggestionFeatureConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static HumanAgentAssistantConfig.SuggestionFeatureConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
HumanAgentAssistantConfig.SuggestionFeatureConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static HumanAgentAssistantConfig.SuggestionFeatureConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HumanAgentAssistantConfig.SuggestionFeatureConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static HumanAgentAssistantConfig.SuggestionFeatureConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
HumanAgentAssistantConfig.SuggestionFeatureConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static HumanAgentAssistantConfig.SuggestionFeatureConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HumanAgentAssistantConfig.SuggestionFeatureConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static HumanAgentAssistantConfig.SuggestionFeatureConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
HumanAgentAssistantConfig.SuggestionFeatureConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static HumanAgentAssistantConfig.SuggestionFeatureConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HumanAgentAssistantConfig.SuggestionFeatureConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static HumanAgentAssistantConfig.SuggestionFeatureConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
HumanAgentAssistantConfig.SuggestionFeatureConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static HumanAgentAssistantConfig.SuggestionFeatureConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HumanAgentAssistantConfig.SuggestionFeatureConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static HumanAgentAssistantConfig.SuggestionFeatureConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
HumanAgentAssistantConfig.SuggestionFeatureConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static HumanAgentAssistantConfig.SuggestionFeatureConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HumanAgentAssistantConfig.SuggestionFeatureConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<HumanAgentAssistantConfig.SuggestionFeatureConfig> parser()
Returns
Type Description
Parser<SuggestionFeatureConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getConversationModelConfig()

public HumanAgentAssistantConfig.ConversationModelConfig getConversationModelConfig()

Configs of custom conversation model.

.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.ConversationModelConfig conversation_model_config = 7;

Returns
Type Description
HumanAgentAssistantConfig.ConversationModelConfig

The conversationModelConfig.

getConversationModelConfigOrBuilder()

public HumanAgentAssistantConfig.ConversationModelConfigOrBuilder getConversationModelConfigOrBuilder()

Configs of custom conversation model.

.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.ConversationModelConfig conversation_model_config = 7;

Returns
Type Description
HumanAgentAssistantConfig.ConversationModelConfigOrBuilder

getConversationProcessConfig()

public HumanAgentAssistantConfig.ConversationProcessConfig getConversationProcessConfig()

Configs for processing conversation.

.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.ConversationProcessConfig conversation_process_config = 8;

Returns
Type Description
HumanAgentAssistantConfig.ConversationProcessConfig

The conversationProcessConfig.

getConversationProcessConfigOrBuilder()

public HumanAgentAssistantConfig.ConversationProcessConfigOrBuilder getConversationProcessConfigOrBuilder()

Configs for processing conversation.

.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.ConversationProcessConfig conversation_process_config = 8;

Returns
Type Description
HumanAgentAssistantConfig.ConversationProcessConfigOrBuilder

getDefaultInstanceForType()

public HumanAgentAssistantConfig.SuggestionFeatureConfig getDefaultInstanceForType()
Returns
Type Description
HumanAgentAssistantConfig.SuggestionFeatureConfig

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];

Returns
Type Description
boolean

The disableAgentQueryLogging.

getEnableConversationAugmentedQuery()

public boolean getEnableConversationAugmentedQuery()

Optional. Enable including conversation context during query answer generation. Supported features: KNOWLEDGE_SEARCH.

bool enable_conversation_augmented_query = 16 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The enableConversationAugmentedQuery.

getEnableEventBasedSuggestion()

public boolean getEnableEventBasedSuggestion()

Automatically iterates all participants and tries to compile suggestions.

Supported features: ARTICLE_SUGGESTION, FAQ, DIALOGFLOW_ASSIST, ENTITY_EXTRACTION, KNOWLEDGE_ASSIST.

bool enable_event_based_suggestion = 3;

Returns
Type Description
boolean

The enableEventBasedSuggestion.

getParserForType()

public Parser<HumanAgentAssistantConfig.SuggestionFeatureConfig> getParserForType()
Returns
Type Description
Parser<SuggestionFeatureConfig>
Overrides

getQueryConfig()

public HumanAgentAssistantConfig.SuggestionQueryConfig getQueryConfig()

Configs of query.

.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionQueryConfig query_config = 6;

Returns
Type Description
HumanAgentAssistantConfig.SuggestionQueryConfig

The queryConfig.

getQueryConfigOrBuilder()

public HumanAgentAssistantConfig.SuggestionQueryConfigOrBuilder getQueryConfigOrBuilder()

Configs of query.

.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionQueryConfig query_config = 6;

Returns
Type Description
HumanAgentAssistantConfig.SuggestionQueryConfigOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSuggestionFeature()

public SuggestionFeature getSuggestionFeature()

The suggestion feature.

.google.cloud.dialogflow.v2beta1.SuggestionFeature suggestion_feature = 5;

Returns
Type Description
SuggestionFeature

The suggestionFeature.

getSuggestionFeatureOrBuilder()

public SuggestionFeatureOrBuilder getSuggestionFeatureOrBuilder()

The suggestion feature.

.google.cloud.dialogflow.v2beta1.SuggestionFeature suggestion_feature = 5;

Returns
Type Description
SuggestionFeatureOrBuilder

getSuggestionTriggerSettings()

public HumanAgentAssistantConfig.SuggestionTriggerSettings getSuggestionTriggerSettings()

Settings of suggestion trigger.

Currently, only ARTICLE_SUGGESTION, FAQ, and DIALOGFLOW_ASSIST will use this field.

.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionTriggerSettings suggestion_trigger_settings = 10;

Returns
Type Description
HumanAgentAssistantConfig.SuggestionTriggerSettings

The suggestionTriggerSettings.

getSuggestionTriggerSettingsOrBuilder()

public HumanAgentAssistantConfig.SuggestionTriggerSettingsOrBuilder getSuggestionTriggerSettingsOrBuilder()

Settings of suggestion trigger.

Currently, only ARTICLE_SUGGESTION, FAQ, and DIALOGFLOW_ASSIST will use this field.

.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionTriggerSettings suggestion_trigger_settings = 10;

Returns
Type Description
HumanAgentAssistantConfig.SuggestionTriggerSettingsOrBuilder

hasConversationModelConfig()

public boolean hasConversationModelConfig()

Configs of custom conversation model.

.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.ConversationModelConfig conversation_model_config = 7;

Returns
Type Description
boolean

Whether the conversationModelConfig field is set.

hasConversationProcessConfig()

public boolean hasConversationProcessConfig()

Configs for processing conversation.

.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.ConversationProcessConfig conversation_process_config = 8;

Returns
Type Description
boolean

Whether the conversationProcessConfig field is set.

hasQueryConfig()

public boolean hasQueryConfig()

Configs of query.

.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionQueryConfig query_config = 6;

Returns
Type Description
boolean

Whether the queryConfig field is set.

hasSuggestionFeature()

public boolean hasSuggestionFeature()

The suggestion feature.

.google.cloud.dialogflow.v2beta1.SuggestionFeature suggestion_feature = 5;

Returns
Type Description
boolean

Whether the suggestionFeature field is set.

hasSuggestionTriggerSettings()

public boolean hasSuggestionTriggerSettings()

Settings of suggestion trigger.

Currently, only ARTICLE_SUGGESTION, FAQ, and DIALOGFLOW_ASSIST will use this field.

.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionTriggerSettings suggestion_trigger_settings = 10;

Returns
Type Description
boolean

Whether the suggestionTriggerSettings field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder newBuilderForType()
Returns
Type Description
HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder toBuilder()
Returns
Type Description
HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException