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.v2beta1.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.v2beta1.HumanAgentAssistantConfig.SuggestionFeatureConfig feature_configs = 2;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionFeatureConfig>
Returns

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.v2beta1.HumanAgentAssistantConfig.SuggestionFeatureConfig feature_configs = 2;

Parameter Returns

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.v2beta1.HumanAgentAssistantConfig.SuggestionFeatureConfig feature_configs = 2;

Parameter Returns

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.v2beta1.HumanAgentAssistantConfig.SuggestionFeatureConfig feature_configs = 2;

Parameters Returns

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.v2beta1.HumanAgentAssistantConfig.SuggestionFeatureConfig feature_configs = 2;

Parameters Returns

addFeatureConfigsBuilder()

public HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder addFeatureConfigsBuilder()

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

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

Returns

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.v2beta1.HumanAgentAssistantConfig.SuggestionFeatureConfig feature_configs = 2;

Parameter
NameDescription
indexint
Returns

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public HumanAgentAssistantConfig.SuggestionConfig build()
Returns

buildPartial()

public HumanAgentAssistantConfig.SuggestionConfig buildPartial()
Returns

clear()

public HumanAgentAssistantConfig.SuggestionConfig.Builder clear()
Returns Overrides

clearFeatureConfigs()

public HumanAgentAssistantConfig.SuggestionConfig.Builder clearFeatureConfigs()

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

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

Returns

clearField(Descriptors.FieldDescriptor field)

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

clone()

public HumanAgentAssistantConfig.SuggestionConfig.Builder clone()
Returns Overrides

getDefaultInstanceForType()

public HumanAgentAssistantConfig.SuggestionConfig getDefaultInstanceForType()
Returns

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.v2beta1.HumanAgentAssistantConfig.SuggestionFeatureConfig feature_configs = 2;

Parameter
NameDescription
indexint
Returns

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.v2beta1.HumanAgentAssistantConfig.SuggestionFeatureConfig feature_configs = 2;

Parameter
NameDescription
indexint
Returns

getFeatureConfigsBuilderList()

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

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

repeated .google.cloud.dialogflow.v2beta1.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.v2beta1.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.v2beta1.HumanAgentAssistantConfig.SuggestionFeatureConfig feature_configs = 2;

Returns

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.v2beta1.HumanAgentAssistantConfig.SuggestionFeatureConfig feature_configs = 2;

Parameter
NameDescription
indexint
Returns

getFeatureConfigsOrBuilderList()

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

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

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

Returns
TypeDescription
List<? extends com.google.cloud.dialogflow.v2beta1.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 Returns

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final HumanAgentAssistantConfig.SuggestionConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns 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.v2beta1.HumanAgentAssistantConfig.SuggestionFeatureConfig feature_configs = 2;

Parameter
NameDescription
indexint
Returns

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.v2beta1.HumanAgentAssistantConfig.SuggestionFeatureConfig feature_configs = 2;

Parameters Returns

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.v2beta1.HumanAgentAssistantConfig.SuggestionFeatureConfig feature_configs = 2;

Parameters Returns

setField(Descriptors.FieldDescriptor field, Object value)

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

setUnknownFields(UnknownFieldSet unknownFields)

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