Class HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder (4.3.1)

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder
Overrides

build()

public HumanAgentAssistantConfig.SuggestionFeatureConfig build()
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionFeatureConfig

buildPartial()

public HumanAgentAssistantConfig.SuggestionFeatureConfig buildPartial()
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionFeatureConfig

clear()

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder clear()
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder
Overrides

clearConversationModelConfig()

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder clearConversationModelConfig()

Configs of custom conversation model.

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

Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder

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
TypeDescription
HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder
Overrides

clearQueryConfig()

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder clearQueryConfig()

Configs of query.

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

Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder

clearSuggestionFeature()

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder clearSuggestionFeature()

The suggestion feature.

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

Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder

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;

Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder

clone()

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder clone()
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder
Overrides

getConversationModelConfig()

public HumanAgentAssistantConfig.ConversationModelConfig getConversationModelConfig()

Configs of custom conversation model.

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

Returns
TypeDescription
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;

Returns
TypeDescription
HumanAgentAssistantConfig.ConversationModelConfig.Builder

getConversationModelConfigOrBuilder()

public HumanAgentAssistantConfig.ConversationModelConfigOrBuilder getConversationModelConfigOrBuilder()

Configs of custom conversation model.

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

Returns
TypeDescription
HumanAgentAssistantConfig.ConversationModelConfigOrBuilder

getDefaultInstanceForType()

public HumanAgentAssistantConfig.SuggestionFeatureConfig getDefaultInstanceForType()
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionFeatureConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
boolean

The enableEventBasedSuggestion.

getQueryConfig()

public HumanAgentAssistantConfig.SuggestionQueryConfig getQueryConfig()

Configs of query.

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

Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionQueryConfig

The queryConfig.

getQueryConfigBuilder()

public HumanAgentAssistantConfig.SuggestionQueryConfig.Builder getQueryConfigBuilder()

Configs of query.

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

Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionQueryConfig.Builder

getQueryConfigOrBuilder()

public HumanAgentAssistantConfig.SuggestionQueryConfigOrBuilder getQueryConfigOrBuilder()

Configs of query.

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

Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionQueryConfigOrBuilder

getSuggestionFeature()

public SuggestionFeature getSuggestionFeature()

The suggestion feature.

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

Returns
TypeDescription
SuggestionFeature

The suggestionFeature.

getSuggestionFeatureBuilder()

public SuggestionFeature.Builder getSuggestionFeatureBuilder()

The suggestion feature.

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

Returns
TypeDescription
SuggestionFeature.Builder

getSuggestionFeatureOrBuilder()

public SuggestionFeatureOrBuilder getSuggestionFeatureOrBuilder()

The suggestion feature.

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

Returns
TypeDescription
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
TypeDescription
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;

Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionTriggerSettings.Builder

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;

Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionTriggerSettingsOrBuilder

hasConversationModelConfig()

public boolean hasConversationModelConfig()

Configs of custom conversation model.

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

Returns
TypeDescription
boolean

Whether the conversationModelConfig field is set.

hasQueryConfig()

public boolean hasQueryConfig()

Configs of query.

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

Returns
TypeDescription
boolean

Whether the queryConfig field is set.

hasSuggestionFeature()

public boolean hasSuggestionFeature()

The suggestion feature.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the suggestionTriggerSettings field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueHumanAgentAssistantConfig.ConversationModelConfig
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder

mergeFrom(HumanAgentAssistantConfig.SuggestionFeatureConfig other)

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder mergeFrom(HumanAgentAssistantConfig.SuggestionFeatureConfig other)
Parameter
NameDescription
otherHumanAgentAssistantConfig.SuggestionFeatureConfig
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder
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
NameDescription
valueHumanAgentAssistantConfig.SuggestionQueryConfig
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder

mergeSuggestionFeature(SuggestionFeature value)

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder mergeSuggestionFeature(SuggestionFeature value)

The suggestion feature.

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

Parameter
NameDescription
valueSuggestionFeature
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder

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
NameDescription
valueHumanAgentAssistantConfig.SuggestionTriggerSettings
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder
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
NameDescription
valueHumanAgentAssistantConfig.ConversationModelConfig
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder

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
NameDescription
builderForValueHumanAgentAssistantConfig.ConversationModelConfig.Builder
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionFeatureConfig.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
NameDescription
valueboolean

The enableEventBasedSuggestion to set.

Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder
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
NameDescription
valueHumanAgentAssistantConfig.SuggestionQueryConfig
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder

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
NameDescription
builderForValueHumanAgentAssistantConfig.SuggestionQueryConfig.Builder
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder

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

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder
Overrides

setSuggestionFeature(SuggestionFeature value)

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder setSuggestionFeature(SuggestionFeature value)

The suggestion feature.

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

Parameter
NameDescription
valueSuggestionFeature
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder

setSuggestionFeature(SuggestionFeature.Builder builderForValue)

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

The suggestion feature.

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

Parameter
NameDescription
builderForValueSuggestionFeature.Builder
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionFeatureConfig.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
NameDescription
valueHumanAgentAssistantConfig.SuggestionTriggerSettings
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder

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
NameDescription
builderForValueHumanAgentAssistantConfig.SuggestionTriggerSettings.Builder
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder
Overrides