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
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
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
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.v2.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.v2.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.v2.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.v2.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.v2.HumanAgentAssistantConfig.SuggestionFeatureConfig feature_configs = 2;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public HumanAgentAssistantConfig.SuggestionConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
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.v2.HumanAgentAssistantConfig.SuggestionFeatureConfig feature_configs = 2;
Returns
clearField(Descriptors.FieldDescriptor field)
public HumanAgentAssistantConfig.SuggestionConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
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
clearOneof(Descriptors.OneofDescriptor oneof)
public HumanAgentAssistantConfig.SuggestionConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public HumanAgentAssistantConfig.SuggestionConfig.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public HumanAgentAssistantConfig.SuggestionConfig getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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.v2.HumanAgentAssistantConfig.SuggestionFeatureConfig feature_configs = 2;
Parameter
Returns
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
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
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
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
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(HumanAgentAssistantConfig.SuggestionConfig other)
public HumanAgentAssistantConfig.SuggestionConfig.Builder mergeFrom(HumanAgentAssistantConfig.SuggestionConfig other)
Parameter
Returns
public HumanAgentAssistantConfig.SuggestionConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public HumanAgentAssistantConfig.SuggestionConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final HumanAgentAssistantConfig.SuggestionConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
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.v2.HumanAgentAssistantConfig.SuggestionFeatureConfig feature_configs = 2;
Parameter
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.v2.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.v2.HumanAgentAssistantConfig.SuggestionFeatureConfig feature_configs = 2;
Parameters
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public HumanAgentAssistantConfig.SuggestionConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
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
Name | Description |
value | boolean
The groupSuggestionResponses to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public HumanAgentAssistantConfig.SuggestionConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final HumanAgentAssistantConfig.SuggestionConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides