Package com.google.cloud.dialogflow.v2
Interface HumanAgentAssistantConfig.SuggestionConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
HumanAgentAssistantConfig.SuggestionConfig,HumanAgentAssistantConfig.SuggestionConfig.Builder
- Enclosing class:
- HumanAgentAssistantConfig
public static interface HumanAgentAssistantConfig.SuggestionConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanOptional.booleanOptional.getFeatureConfigs(int index) Configuration of different suggestion features.intConfiguration of different suggestion features.Configuration of different suggestion features.getFeatureConfigsOrBuilder(int index) Configuration of different suggestion features.Configuration of different suggestion features.getGenerators(int index) Optional.com.google.protobuf.ByteStringgetGeneratorsBytes(int index) Optional.intOptional.Optional.booleanIf `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.booleanOptional.booleanOptional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getFeatureConfigsList
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; -
getFeatureConfigs
Configuration of different suggestion features. One feature can have only one config.
repeated .google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionFeatureConfig feature_configs = 2; -
getFeatureConfigsCount
int getFeatureConfigsCount()Configuration of different suggestion features. One feature can have only one config.
repeated .google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionFeatureConfig feature_configs = 2; -
getFeatureConfigsOrBuilderList
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; -
getFeatureConfigsOrBuilder
Configuration of different suggestion features. One feature can have only one config.
repeated .google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionFeatureConfig feature_configs = 2; -
getGroupSuggestionResponses
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:
- The groupSuggestionResponses.
-
getGeneratorsList
Optional. List of various generator resource names used in the conversation profile.
repeated string generators = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Returns:
- A list containing the generators.
-
getGeneratorsCount
int getGeneratorsCount()Optional. List of various generator resource names used in the conversation profile.
repeated string generators = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Returns:
- The count of generators.
-
getGenerators
Optional. List of various generator resource names used in the conversation profile.
repeated string generators = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Parameters:
index- The index of the element to return.- Returns:
- The generators at the given index.
-
getGeneratorsBytes
com.google.protobuf.ByteString getGeneratorsBytes(int index) Optional. List of various generator resource names used in the conversation profile.
repeated string generators = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the generators at the given index.
-
getDisableHighLatencyFeaturesSyncDelivery
boolean getDisableHighLatencyFeaturesSyncDelivery()Optional. When disable_high_latency_features_sync_delivery is true and using the AnalyzeContent API, we will not deliver the responses from high latency features in the API response. The human_agent_assistant_config.notification_config must be configured and enable_event_based_suggestion must be set to true to receive the responses from high latency features in Pub/Sub. High latency feature(s): KNOWLEDGE_ASSIST
bool disable_high_latency_features_sync_delivery = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The disableHighLatencyFeaturesSyncDelivery.
-
getSkipEmptyEventBasedSuggestion
boolean getSkipEmptyEventBasedSuggestion()Optional. Enable skipping event based suggestion if the suggestion is empty. For example, with this field disabled, Knowledge Assist feature sends a Pub/Sub message when there are no suggestions. Enabling this field will change the behavior to skip the Pub/Sub message in this situation.
bool skip_empty_event_based_suggestion = 6 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The skipEmptyEventBasedSuggestion.
-
getUseUnredactedConversationData
boolean getUseUnredactedConversationData()Optional. If true, use unredacted transcript data (Supported features: AI_COACH) and use unredacted ingested context (Supported features: All Agent Assist features)
bool use_unredacted_conversation_data = 8 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The useUnredactedConversationData.
-
getEnableAsyncToolCall
boolean getEnableAsyncToolCall()Optional. If true, enable asynchronous execution of tools.
bool enable_async_tool_call = 9 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The enableAsyncToolCall.
-