Class HumanAgentAssistantConfig.SuggestionConfig.Builder (4.4.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

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
NameDescription
valuesIterable<? extends com.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionFeatureConfig>
Returns
TypeDescription
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
NameDescription
valueHumanAgentAssistantConfig.SuggestionFeatureConfig
Returns
TypeDescription
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
NameDescription
builderForValueHumanAgentAssistantConfig.SuggestionFeatureConfig.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueHumanAgentAssistantConfig.SuggestionFeatureConfig
Returns
TypeDescription
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
NameDescription
indexint
builderForValueHumanAgentAssistantConfig.SuggestionFeatureConfig.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

public HumanAgentAssistantConfig.SuggestionConfig.Builder clear()
Returns
TypeDescription
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
TypeDescription
HumanAgentAssistantConfig.SuggestionConfig.Builder

clearField(Descriptors.FieldDescriptor field)

public HumanAgentAssistantConfig.SuggestionConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
HumanAgentAssistantConfig.SuggestionConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

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

getDescriptor()

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

getDescriptorForType()

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

The groupSuggestionResponses.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(HumanAgentAssistantConfig.SuggestionConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public HumanAgentAssistantConfig.SuggestionConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The groupSuggestionResponses to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
HumanAgentAssistantConfig.SuggestionConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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