Class HumanAgentAssistantConfig.SuggestionConfig.Builder (4.48.0)

public static final class HumanAgentAssistantConfig.SuggestionConfig.Builder extends GeneratedMessageV3.Builder<HumanAgentAssistantConfig.SuggestionConfig.Builder> implements HumanAgentAssistantConfig.SuggestionConfigOrBuilder

Detail human agent assistant config.

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

Static Methods

getDescriptor()

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

Methods

addAllFeatureConfigs(Iterable<? extends HumanAgentAssistantConfig.SuggestionFeatureConfig> values)

public HumanAgentAssistantConfig.SuggestionConfig.Builder addAllFeatureConfigs(Iterable<? extends HumanAgentAssistantConfig.SuggestionFeatureConfig> values)

Configuration of different suggestion features. One feature can have only one config.

repeated .google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionFeatureConfig feature_configs = 2;

Parameter
Name Description
values Iterable<? extends com.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionFeatureConfig>
Returns
Type Description
HumanAgentAssistantConfig.SuggestionConfig.Builder

addFeatureConfigs(HumanAgentAssistantConfig.SuggestionFeatureConfig value)

public HumanAgentAssistantConfig.SuggestionConfig.Builder addFeatureConfigs(HumanAgentAssistantConfig.SuggestionFeatureConfig value)

Configuration of different suggestion features. One feature can have only one config.

repeated .google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionFeatureConfig feature_configs = 2;

Parameter
Name Description
value HumanAgentAssistantConfig.SuggestionFeatureConfig
Returns
Type Description
HumanAgentAssistantConfig.SuggestionConfig.Builder

addFeatureConfigs(HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder builderForValue)

public HumanAgentAssistantConfig.SuggestionConfig.Builder addFeatureConfigs(HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder builderForValue)

Configuration of different suggestion features. One feature can have only one config.

repeated .google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionFeatureConfig feature_configs = 2;

Parameter
Name Description
builderForValue HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder
Returns
Type Description
HumanAgentAssistantConfig.SuggestionConfig.Builder

addFeatureConfigs(int index, HumanAgentAssistantConfig.SuggestionFeatureConfig value)

public HumanAgentAssistantConfig.SuggestionConfig.Builder addFeatureConfigs(int index, HumanAgentAssistantConfig.SuggestionFeatureConfig value)

Configuration of different suggestion features. One feature can have only one config.

repeated .google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionFeatureConfig feature_configs = 2;

Parameters
Name Description
index int
value HumanAgentAssistantConfig.SuggestionFeatureConfig
Returns
Type Description
HumanAgentAssistantConfig.SuggestionConfig.Builder

addFeatureConfigs(int index, HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder builderForValue)

public HumanAgentAssistantConfig.SuggestionConfig.Builder addFeatureConfigs(int index, HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder builderForValue)

Configuration of different suggestion features. One feature can have only one config.

repeated .google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionFeatureConfig feature_configs = 2;

Parameters
Name Description
index int
builderForValue HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder
Returns
Type Description
HumanAgentAssistantConfig.SuggestionConfig.Builder

addFeatureConfigsBuilder()

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder addFeatureConfigsBuilder()

Configuration of different suggestion features. One feature can have only one config.

repeated .google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionFeatureConfig feature_configs = 2;

Returns
Type Description
HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder

addFeatureConfigsBuilder(int index)

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder addFeatureConfigsBuilder(int index)

Configuration of different suggestion features. One feature can have only one config.

repeated .google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionFeatureConfig feature_configs = 2;

Parameter
Name Description
index int
Returns
Type Description
HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public HumanAgentAssistantConfig.SuggestionConfig build()
Returns
Type Description
HumanAgentAssistantConfig.SuggestionConfig

buildPartial()

public HumanAgentAssistantConfig.SuggestionConfig buildPartial()
Returns
Type Description
HumanAgentAssistantConfig.SuggestionConfig

clear()

public HumanAgentAssistantConfig.SuggestionConfig.Builder clear()
Returns
Type Description
HumanAgentAssistantConfig.SuggestionConfig.Builder
Overrides

clearFeatureConfigs()

public HumanAgentAssistantConfig.SuggestionConfig.Builder clearFeatureConfigs()

Configuration of different suggestion features. One feature can have only one config.

repeated .google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionFeatureConfig feature_configs = 2;

Returns
Type Description
HumanAgentAssistantConfig.SuggestionConfig.Builder

clearField(Descriptors.FieldDescriptor field)

public HumanAgentAssistantConfig.SuggestionConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
HumanAgentAssistantConfig.SuggestionConfig.Builder
Overrides

clearGroupSuggestionResponses()

public HumanAgentAssistantConfig.SuggestionConfig.Builder clearGroupSuggestionResponses()

If group_suggestion_responses is false, and there are multiple feature_configs in event based suggestion or StreamingAnalyzeContent, we will try to deliver suggestions to customers as soon as we get new suggestion. Different type of suggestions based on the same context will be in separate Pub/Sub event or StreamingAnalyzeContentResponse.

If group_suggestion_responses set to true. All the suggestions to the same participant based on the same context will be grouped into a single Pub/Sub event or StreamingAnalyzeContentResponse.

bool group_suggestion_responses = 3;

Returns
Type Description
HumanAgentAssistantConfig.SuggestionConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public HumanAgentAssistantConfig.SuggestionConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
HumanAgentAssistantConfig.SuggestionConfig.Builder
Overrides

clone()

public HumanAgentAssistantConfig.SuggestionConfig.Builder clone()
Returns
Type Description
HumanAgentAssistantConfig.SuggestionConfig.Builder
Overrides

getDefaultInstanceForType()

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

getDescriptorForType()

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

getFeatureConfigs(int index)

public HumanAgentAssistantConfig.SuggestionFeatureConfig getFeatureConfigs(int index)

Configuration of different suggestion features. One feature can have only one config.

repeated .google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionFeatureConfig feature_configs = 2;

Parameter
Name Description
index int
Returns
Type Description
HumanAgentAssistantConfig.SuggestionFeatureConfig

getFeatureConfigsBuilder(int index)

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder getFeatureConfigsBuilder(int index)

Configuration of different suggestion features. One feature can have only one config.

repeated .google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionFeatureConfig feature_configs = 2;

Parameter
Name Description
index int
Returns
Type Description
HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder

getFeatureConfigsBuilderList()

public List<HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder> getFeatureConfigsBuilderList()

Configuration of different suggestion features. One feature can have only one config.

repeated .google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionFeatureConfig feature_configs = 2;

Returns
Type Description
List<Builder>

getFeatureConfigsCount()

public int getFeatureConfigsCount()

Configuration of different suggestion features. One feature can have only one config.

repeated .google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionFeatureConfig feature_configs = 2;

Returns
Type Description
int

getFeatureConfigsList()

public List<HumanAgentAssistantConfig.SuggestionFeatureConfig> getFeatureConfigsList()

Configuration of different suggestion features. One feature can have only one config.

repeated .google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionFeatureConfig feature_configs = 2;

Returns
Type Description
List<SuggestionFeatureConfig>

getFeatureConfigsOrBuilder(int index)

public HumanAgentAssistantConfig.SuggestionFeatureConfigOrBuilder getFeatureConfigsOrBuilder(int index)

Configuration of different suggestion features. One feature can have only one config.

repeated .google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionFeatureConfig feature_configs = 2;

Parameter
Name Description
index int
Returns
Type Description
HumanAgentAssistantConfig.SuggestionFeatureConfigOrBuilder

getFeatureConfigsOrBuilderList()

public List<? extends HumanAgentAssistantConfig.SuggestionFeatureConfigOrBuilder> getFeatureConfigsOrBuilderList()

Configuration of different suggestion features. One feature can have only one config.

repeated .google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionFeatureConfig feature_configs = 2;

Returns
Type Description
List<? extends com.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionFeatureConfigOrBuilder>

getGroupSuggestionResponses()

public boolean getGroupSuggestionResponses()

If group_suggestion_responses is false, and there are multiple feature_configs in event based suggestion or StreamingAnalyzeContent, we will try to deliver suggestions to customers as soon as we get new suggestion. Different type of suggestions based on the same context will be in separate Pub/Sub event or StreamingAnalyzeContentResponse.

If group_suggestion_responses set to true. All the suggestions to the same participant based on the same context will be grouped into a single Pub/Sub event or StreamingAnalyzeContentResponse.

bool group_suggestion_responses = 3;

Returns
Type Description
boolean

The groupSuggestionResponses.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(HumanAgentAssistantConfig.SuggestionConfig other)

public HumanAgentAssistantConfig.SuggestionConfig.Builder mergeFrom(HumanAgentAssistantConfig.SuggestionConfig other)
Parameter
Name Description
other HumanAgentAssistantConfig.SuggestionConfig
Returns
Type Description
HumanAgentAssistantConfig.SuggestionConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public HumanAgentAssistantConfig.SuggestionConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
HumanAgentAssistantConfig.SuggestionConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final HumanAgentAssistantConfig.SuggestionConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
HumanAgentAssistantConfig.SuggestionConfig.Builder
Overrides

removeFeatureConfigs(int index)

public HumanAgentAssistantConfig.SuggestionConfig.Builder removeFeatureConfigs(int index)

Configuration of different suggestion features. One feature can have only one config.

repeated .google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionFeatureConfig feature_configs = 2;

Parameter
Name Description
index int
Returns
Type Description
HumanAgentAssistantConfig.SuggestionConfig.Builder

setFeatureConfigs(int index, HumanAgentAssistantConfig.SuggestionFeatureConfig value)

public HumanAgentAssistantConfig.SuggestionConfig.Builder setFeatureConfigs(int index, HumanAgentAssistantConfig.SuggestionFeatureConfig value)

Configuration of different suggestion features. One feature can have only one config.

repeated .google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionFeatureConfig feature_configs = 2;

Parameters
Name Description
index int
value HumanAgentAssistantConfig.SuggestionFeatureConfig
Returns
Type Description
HumanAgentAssistantConfig.SuggestionConfig.Builder

setFeatureConfigs(int index, HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder builderForValue)

public HumanAgentAssistantConfig.SuggestionConfig.Builder setFeatureConfigs(int index, HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder builderForValue)

Configuration of different suggestion features. One feature can have only one config.

repeated .google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionFeatureConfig feature_configs = 2;

Parameters
Name Description
index int
builderForValue HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder
Returns
Type Description
HumanAgentAssistantConfig.SuggestionConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setGroupSuggestionResponses(boolean value)

public HumanAgentAssistantConfig.SuggestionConfig.Builder setGroupSuggestionResponses(boolean value)

If group_suggestion_responses is false, and there are multiple feature_configs in event based suggestion or StreamingAnalyzeContent, we will try to deliver suggestions to customers as soon as we get new suggestion. Different type of suggestions based on the same context will be in separate Pub/Sub event or StreamingAnalyzeContentResponse.

If group_suggestion_responses set to true. All the suggestions to the same participant based on the same context will be grouped into a single Pub/Sub event or StreamingAnalyzeContentResponse.

bool group_suggestion_responses = 3;

Parameter
Name Description
value boolean

The groupSuggestionResponses to set.

Returns
Type Description
HumanAgentAssistantConfig.SuggestionConfig.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final HumanAgentAssistantConfig.SuggestionConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
HumanAgentAssistantConfig.SuggestionConfig.Builder
Overrides