Package com.google.cloud.dialogflow.v2
Class HumanAgentAssistantConfig.SuggestionConfig.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<HumanAgentAssistantConfig.SuggestionConfig.Builder>
-
- com.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.Builder
-
- All Implemented Interfaces:
HumanAgentAssistantConfig.SuggestionConfigOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- HumanAgentAssistantConfig.SuggestionConfig
public static final class HumanAgentAssistantConfig.SuggestionConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<HumanAgentAssistantConfig.SuggestionConfig.Builder> implements HumanAgentAssistantConfig.SuggestionConfigOrBuilder
Detail human agent assistant config.
Protobuf typegoogle.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<HumanAgentAssistantConfig.SuggestionConfig.Builder>
-
clear
public HumanAgentAssistantConfig.SuggestionConfig.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<HumanAgentAssistantConfig.SuggestionConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<HumanAgentAssistantConfig.SuggestionConfig.Builder>
-
getDefaultInstanceForType
public HumanAgentAssistantConfig.SuggestionConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public HumanAgentAssistantConfig.SuggestionConfig build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public HumanAgentAssistantConfig.SuggestionConfig buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public HumanAgentAssistantConfig.SuggestionConfig.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<HumanAgentAssistantConfig.SuggestionConfig.Builder>
-
setField
public HumanAgentAssistantConfig.SuggestionConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HumanAgentAssistantConfig.SuggestionConfig.Builder>
-
clearField
public HumanAgentAssistantConfig.SuggestionConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HumanAgentAssistantConfig.SuggestionConfig.Builder>
-
clearOneof
public HumanAgentAssistantConfig.SuggestionConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<HumanAgentAssistantConfig.SuggestionConfig.Builder>
-
setRepeatedField
public HumanAgentAssistantConfig.SuggestionConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HumanAgentAssistantConfig.SuggestionConfig.Builder>
-
addRepeatedField
public HumanAgentAssistantConfig.SuggestionConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HumanAgentAssistantConfig.SuggestionConfig.Builder>
-
mergeFrom
public HumanAgentAssistantConfig.SuggestionConfig.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<HumanAgentAssistantConfig.SuggestionConfig.Builder>
-
mergeFrom
public HumanAgentAssistantConfig.SuggestionConfig.Builder mergeFrom(HumanAgentAssistantConfig.SuggestionConfig other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<HumanAgentAssistantConfig.SuggestionConfig.Builder>
-
mergeFrom
public HumanAgentAssistantConfig.SuggestionConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<HumanAgentAssistantConfig.SuggestionConfig.Builder>- Throws:
IOException
-
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;- Specified by:
getFeatureConfigsListin interfaceHumanAgentAssistantConfig.SuggestionConfigOrBuilder
-
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;- Specified by:
getFeatureConfigsCountin interfaceHumanAgentAssistantConfig.SuggestionConfigOrBuilder
-
getFeatureConfigs
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;- Specified by:
getFeatureConfigsin interfaceHumanAgentAssistantConfig.SuggestionConfigOrBuilder
-
setFeatureConfigs
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;
-
setFeatureConfigs
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;
-
addFeatureConfigs
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;
-
addFeatureConfigs
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;
-
addFeatureConfigs
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;
-
addFeatureConfigs
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;
-
addAllFeatureConfigs
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;
-
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;
-
removeFeatureConfigs
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;
-
getFeatureConfigsBuilder
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;
-
getFeatureConfigsOrBuilder
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;- Specified by:
getFeatureConfigsOrBuilderin interfaceHumanAgentAssistantConfig.SuggestionConfigOrBuilder
-
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;- Specified by:
getFeatureConfigsOrBuilderListin interfaceHumanAgentAssistantConfig.SuggestionConfigOrBuilder
-
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;
-
addFeatureConfigsBuilder
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;
-
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;
-
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;- Specified by:
getGroupSuggestionResponsesin interfaceHumanAgentAssistantConfig.SuggestionConfigOrBuilder- Returns:
- The groupSuggestionResponses.
-
setGroupSuggestionResponses
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;- Parameters:
value- The groupSuggestionResponses to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setUnknownFields
public final HumanAgentAssistantConfig.SuggestionConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<HumanAgentAssistantConfig.SuggestionConfig.Builder>
-
mergeUnknownFields
public final HumanAgentAssistantConfig.SuggestionConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<HumanAgentAssistantConfig.SuggestionConfig.Builder>
-
-