Class HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder (4.27.0)

public static final class HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder extends GeneratedMessageV3.Builder<HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder> implements HumanAgentAssistantConfig.SuggestionFeatureConfigOrBuilder

Config for suggestion features.

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

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Overrides

build()

public HumanAgentAssistantConfig.SuggestionFeatureConfig build()

buildPartial()

public HumanAgentAssistantConfig.SuggestionFeatureConfig buildPartial()

clear()

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder clear()
Overrides

clearConversationModelConfig()

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder clearConversationModelConfig()

Configs of custom conversation model.

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

clearConversationProcessConfig()

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder clearConversationProcessConfig()

Configs for processing conversation.

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

clearEnableEventBasedSuggestion()

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder clearEnableEventBasedSuggestion()

Automatically iterates all participants and tries to compile suggestions.

Supported features: ARTICLE_SUGGESTION, FAQ, DIALOGFLOW_ASSIST.

bool enable_event_based_suggestion = 3;

Returns
Type Description
HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Overrides

clearQueryConfig()

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder clearQueryConfig()

Configs of query.

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

clearSuggestionFeature()

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder clearSuggestionFeature()

The suggestion feature.

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

clearSuggestionTriggerSettings()

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder clearSuggestionTriggerSettings()

Settings of suggestion trigger.

Currently, only ARTICLE_SUGGESTION and FAQ will use this field.

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

clone()

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder clone()
Overrides

getConversationModelConfig()

public HumanAgentAssistantConfig.ConversationModelConfig getConversationModelConfig()

Configs of custom conversation model.

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

Returns
Type Description
HumanAgentAssistantConfig.ConversationModelConfig

The conversationModelConfig.

getConversationModelConfigBuilder()

public HumanAgentAssistantConfig.ConversationModelConfig.Builder getConversationModelConfigBuilder()

Configs of custom conversation model.

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

getConversationModelConfigOrBuilder()

public HumanAgentAssistantConfig.ConversationModelConfigOrBuilder getConversationModelConfigOrBuilder()

Configs of custom conversation model.

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

getConversationProcessConfig()

public HumanAgentAssistantConfig.ConversationProcessConfig getConversationProcessConfig()

Configs for processing conversation.

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

Returns
Type Description
HumanAgentAssistantConfig.ConversationProcessConfig

The conversationProcessConfig.

getConversationProcessConfigBuilder()

public HumanAgentAssistantConfig.ConversationProcessConfig.Builder getConversationProcessConfigBuilder()

Configs for processing conversation.

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

getConversationProcessConfigOrBuilder()

public HumanAgentAssistantConfig.ConversationProcessConfigOrBuilder getConversationProcessConfigOrBuilder()

Configs for processing conversation.

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

getDefaultInstanceForType()

public HumanAgentAssistantConfig.SuggestionFeatureConfig getDefaultInstanceForType()

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEnableEventBasedSuggestion()

public boolean getEnableEventBasedSuggestion()

Automatically iterates all participants and tries to compile suggestions.

Supported features: ARTICLE_SUGGESTION, FAQ, DIALOGFLOW_ASSIST.

bool enable_event_based_suggestion = 3;

Returns
Type Description
boolean

The enableEventBasedSuggestion.

getQueryConfig()

public HumanAgentAssistantConfig.SuggestionQueryConfig getQueryConfig()

Configs of query.

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

Returns
Type Description
HumanAgentAssistantConfig.SuggestionQueryConfig

The queryConfig.

getQueryConfigBuilder()

public HumanAgentAssistantConfig.SuggestionQueryConfig.Builder getQueryConfigBuilder()

Configs of query.

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

getQueryConfigOrBuilder()

public HumanAgentAssistantConfig.SuggestionQueryConfigOrBuilder getQueryConfigOrBuilder()

Configs of query.

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

getSuggestionFeature()

public SuggestionFeature getSuggestionFeature()

The suggestion feature.

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

Returns
Type Description
SuggestionFeature

The suggestionFeature.

getSuggestionFeatureBuilder()

public SuggestionFeature.Builder getSuggestionFeatureBuilder()

The suggestion feature.

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

Returns
Type Description
SuggestionFeature.Builder

getSuggestionFeatureOrBuilder()

public SuggestionFeatureOrBuilder getSuggestionFeatureOrBuilder()

The suggestion feature.

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

Returns
Type Description
SuggestionFeatureOrBuilder

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;

Returns
Type Description
HumanAgentAssistantConfig.SuggestionTriggerSettings

The suggestionTriggerSettings.

getSuggestionTriggerSettingsBuilder()

public HumanAgentAssistantConfig.SuggestionTriggerSettings.Builder getSuggestionTriggerSettingsBuilder()

Settings of suggestion trigger.

Currently, only ARTICLE_SUGGESTION and FAQ will use this field.

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

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;

hasConversationModelConfig()

public boolean hasConversationModelConfig()

Configs of custom conversation model.

.google.cloud.dialogflow.v2.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.v2.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.v2.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.v2.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 and FAQ will use this field.

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

Returns
Type Description
boolean

Whether the suggestionTriggerSettings field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeConversationModelConfig(HumanAgentAssistantConfig.ConversationModelConfig value)

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder mergeConversationModelConfig(HumanAgentAssistantConfig.ConversationModelConfig value)

Configs of custom conversation model.

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

Parameter
Name Description
value HumanAgentAssistantConfig.ConversationModelConfig

mergeConversationProcessConfig(HumanAgentAssistantConfig.ConversationProcessConfig value)

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder mergeConversationProcessConfig(HumanAgentAssistantConfig.ConversationProcessConfig value)

Configs for processing conversation.

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

Parameter
Name Description
value HumanAgentAssistantConfig.ConversationProcessConfig

mergeFrom(HumanAgentAssistantConfig.SuggestionFeatureConfig other)

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder mergeFrom(HumanAgentAssistantConfig.SuggestionFeatureConfig other)
Parameter
Name Description
other HumanAgentAssistantConfig.SuggestionFeatureConfig

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Overrides

mergeQueryConfig(HumanAgentAssistantConfig.SuggestionQueryConfig value)

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder mergeQueryConfig(HumanAgentAssistantConfig.SuggestionQueryConfig value)

Configs of query.

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

Parameter
Name Description
value HumanAgentAssistantConfig.SuggestionQueryConfig

mergeSuggestionFeature(SuggestionFeature value)

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder mergeSuggestionFeature(SuggestionFeature value)

The suggestion feature.

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

Parameter
Name Description
value SuggestionFeature

mergeSuggestionTriggerSettings(HumanAgentAssistantConfig.SuggestionTriggerSettings value)

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder mergeSuggestionTriggerSettings(HumanAgentAssistantConfig.SuggestionTriggerSettings value)

Settings of suggestion trigger.

Currently, only ARTICLE_SUGGESTION and FAQ will use this field.

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

Parameter
Name Description
value HumanAgentAssistantConfig.SuggestionTriggerSettings

mergeUnknownFields(UnknownFieldSet unknownFields)

public final HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Overrides

setConversationModelConfig(HumanAgentAssistantConfig.ConversationModelConfig value)

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder setConversationModelConfig(HumanAgentAssistantConfig.ConversationModelConfig value)

Configs of custom conversation model.

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

Parameter
Name Description
value HumanAgentAssistantConfig.ConversationModelConfig

setConversationModelConfig(HumanAgentAssistantConfig.ConversationModelConfig.Builder builderForValue)

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder setConversationModelConfig(HumanAgentAssistantConfig.ConversationModelConfig.Builder builderForValue)

Configs of custom conversation model.

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

Parameter
Name Description
builderForValue HumanAgentAssistantConfig.ConversationModelConfig.Builder

setConversationProcessConfig(HumanAgentAssistantConfig.ConversationProcessConfig value)

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder setConversationProcessConfig(HumanAgentAssistantConfig.ConversationProcessConfig value)

Configs for processing conversation.

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

Parameter
Name Description
value HumanAgentAssistantConfig.ConversationProcessConfig

setConversationProcessConfig(HumanAgentAssistantConfig.ConversationProcessConfig.Builder builderForValue)

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder setConversationProcessConfig(HumanAgentAssistantConfig.ConversationProcessConfig.Builder builderForValue)

Configs for processing conversation.

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

Parameter
Name Description
builderForValue HumanAgentAssistantConfig.ConversationProcessConfig.Builder

setEnableEventBasedSuggestion(boolean value)

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder setEnableEventBasedSuggestion(boolean value)

Automatically iterates all participants and tries to compile suggestions.

Supported features: ARTICLE_SUGGESTION, FAQ, DIALOGFLOW_ASSIST.

bool enable_event_based_suggestion = 3;

Parameter
Name Description
value boolean

The enableEventBasedSuggestion to set.

Returns
Type Description
HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Overrides

setQueryConfig(HumanAgentAssistantConfig.SuggestionQueryConfig value)

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder setQueryConfig(HumanAgentAssistantConfig.SuggestionQueryConfig value)

Configs of query.

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

Parameter
Name Description
value HumanAgentAssistantConfig.SuggestionQueryConfig

setQueryConfig(HumanAgentAssistantConfig.SuggestionQueryConfig.Builder builderForValue)

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder setQueryConfig(HumanAgentAssistantConfig.SuggestionQueryConfig.Builder builderForValue)

Configs of query.

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

Parameter
Name Description
builderForValue HumanAgentAssistantConfig.SuggestionQueryConfig.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Overrides

setSuggestionFeature(SuggestionFeature value)

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder setSuggestionFeature(SuggestionFeature value)

The suggestion feature.

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

Parameter
Name Description
value SuggestionFeature

setSuggestionFeature(SuggestionFeature.Builder builderForValue)

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder setSuggestionFeature(SuggestionFeature.Builder builderForValue)

The suggestion feature.

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

Parameter
Name Description
builderForValue SuggestionFeature.Builder

setSuggestionTriggerSettings(HumanAgentAssistantConfig.SuggestionTriggerSettings value)

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder setSuggestionTriggerSettings(HumanAgentAssistantConfig.SuggestionTriggerSettings value)

Settings of suggestion trigger.

Currently, only ARTICLE_SUGGESTION and FAQ will use this field.

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

Parameter
Name Description
value HumanAgentAssistantConfig.SuggestionTriggerSettings

setSuggestionTriggerSettings(HumanAgentAssistantConfig.SuggestionTriggerSettings.Builder builderForValue)

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder setSuggestionTriggerSettings(HumanAgentAssistantConfig.SuggestionTriggerSettings.Builder builderForValue)

Settings of suggestion trigger.

Currently, only ARTICLE_SUGGESTION and FAQ will use this field.

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

Parameter
Name Description
builderForValue HumanAgentAssistantConfig.SuggestionTriggerSettings.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Overrides