Package com.google.cloud.dialogflow.v2
Class HumanAgentAssistantConfig.SuggestionConfig
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig
- All Implemented Interfaces:
HumanAgentAssistantConfig.SuggestionConfigOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- HumanAgentAssistantConfig
public static final class HumanAgentAssistantConfig.SuggestionConfig
extends com.google.protobuf.GeneratedMessage
implements HumanAgentAssistantConfig.SuggestionConfigOrBuilder
Detail human agent assistant config.Protobuf type
google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDetail human agent assistant config.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic final com.google.protobuf.Descriptors.DescriptorbooleanOptional.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.com.google.protobuf.ProtocolStringListOptional.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.com.google.protobuf.Parser<HumanAgentAssistantConfig.SuggestionConfig>intbooleanOptional.booleanOptional.inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<HumanAgentAssistantConfig.SuggestionConfig>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
FEATURE_CONFIGS_FIELD_NUMBER
public static final int FEATURE_CONFIGS_FIELD_NUMBER- See Also:
-
GROUP_SUGGESTION_RESPONSES_FIELD_NUMBER
public static final int GROUP_SUGGESTION_RESPONSES_FIELD_NUMBER- See Also:
-
GENERATORS_FIELD_NUMBER
public static final int GENERATORS_FIELD_NUMBER- See Also:
-
DISABLE_HIGH_LATENCY_FEATURES_SYNC_DELIVERY_FIELD_NUMBER
public static final int DISABLE_HIGH_LATENCY_FEATURES_SYNC_DELIVERY_FIELD_NUMBER- See Also:
-
SKIP_EMPTY_EVENT_BASED_SUGGESTION_FIELD_NUMBER
public static final int SKIP_EMPTY_EVENT_BASED_SUGGESTION_FIELD_NUMBER- See Also:
-
USE_UNREDACTED_CONVERSATION_DATA_FIELD_NUMBER
public static final int USE_UNREDACTED_CONVERSATION_DATA_FIELD_NUMBER- See Also:
-
ENABLE_ASYNC_TOOL_CALL_FIELD_NUMBER
public static final int ENABLE_ASYNC_TOOL_CALL_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
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
-
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
-
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
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
-
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
-
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.
-
getGeneratorsList
public com.google.protobuf.ProtocolStringList 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) = { ... }- Specified by:
getGeneratorsListin interfaceHumanAgentAssistantConfig.SuggestionConfigOrBuilder- Returns:
- A list containing the generators.
-
getGeneratorsCount
public 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) = { ... }- Specified by:
getGeneratorsCountin interfaceHumanAgentAssistantConfig.SuggestionConfigOrBuilder- 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) = { ... }- Specified by:
getGeneratorsin interfaceHumanAgentAssistantConfig.SuggestionConfigOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The generators at the given index.
-
getGeneratorsBytes
public 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) = { ... }- Specified by:
getGeneratorsBytesin interfaceHumanAgentAssistantConfig.SuggestionConfigOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the generators at the given index.
-
getDisableHighLatencyFeaturesSyncDelivery
public 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];- Specified by:
getDisableHighLatencyFeaturesSyncDeliveryin interfaceHumanAgentAssistantConfig.SuggestionConfigOrBuilder- Returns:
- The disableHighLatencyFeaturesSyncDelivery.
-
getSkipEmptyEventBasedSuggestion
public 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];- Specified by:
getSkipEmptyEventBasedSuggestionin interfaceHumanAgentAssistantConfig.SuggestionConfigOrBuilder- Returns:
- The skipEmptyEventBasedSuggestion.
-
getUseUnredactedConversationData
public 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];- Specified by:
getUseUnredactedConversationDatain interfaceHumanAgentAssistantConfig.SuggestionConfigOrBuilder- Returns:
- The useUnredactedConversationData.
-
getEnableAsyncToolCall
public boolean getEnableAsyncToolCall()Optional. If true, enable asynchronous execution of tools.
bool enable_async_tool_call = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEnableAsyncToolCallin interfaceHumanAgentAssistantConfig.SuggestionConfigOrBuilder- Returns:
- The enableAsyncToolCall.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static HumanAgentAssistantConfig.SuggestionConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HumanAgentAssistantConfig.SuggestionConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HumanAgentAssistantConfig.SuggestionConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HumanAgentAssistantConfig.SuggestionConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HumanAgentAssistantConfig.SuggestionConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HumanAgentAssistantConfig.SuggestionConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HumanAgentAssistantConfig.SuggestionConfig parseFrom(InputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static HumanAgentAssistantConfig.SuggestionConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static HumanAgentAssistantConfig.SuggestionConfig parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static HumanAgentAssistantConfig.SuggestionConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static HumanAgentAssistantConfig.SuggestionConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static HumanAgentAssistantConfig.SuggestionConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static HumanAgentAssistantConfig.SuggestionConfig.Builder newBuilder(HumanAgentAssistantConfig.SuggestionConfig prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected HumanAgentAssistantConfig.SuggestionConfig.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-