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:
  • 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:
      internalGetFieldAccessorTable in class com.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:
      getFeatureConfigsList in interface HumanAgentAssistantConfig.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:
      getFeatureConfigsOrBuilderList in interface HumanAgentAssistantConfig.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:
      getFeatureConfigsCount in interface HumanAgentAssistantConfig.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:
      getFeatureConfigs in interface HumanAgentAssistantConfig.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:
      getFeatureConfigsOrBuilder in interface HumanAgentAssistantConfig.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:
      getGroupSuggestionResponses in interface HumanAgentAssistantConfig.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:
      getGeneratorsList in interface HumanAgentAssistantConfig.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:
      getGeneratorsCount in interface HumanAgentAssistantConfig.SuggestionConfigOrBuilder
      Returns:
      The count of generators.
    • getGenerators

      public String getGenerators(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:
      getGenerators in interface HumanAgentAssistantConfig.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:
      getGeneratorsBytes in interface HumanAgentAssistantConfig.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:
      getDisableHighLatencyFeaturesSyncDelivery in interface HumanAgentAssistantConfig.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:
      getSkipEmptyEventBasedSuggestion in interface HumanAgentAssistantConfig.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:
      getUseUnredactedConversationData in interface HumanAgentAssistantConfig.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:
      getEnableAsyncToolCall in interface HumanAgentAssistantConfig.SuggestionConfigOrBuilder
      Returns:
      The enableAsyncToolCall.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected HumanAgentAssistantConfig.SuggestionConfig.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static HumanAgentAssistantConfig.SuggestionConfig getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<HumanAgentAssistantConfig.SuggestionConfig> parser()
    • getParserForType

      public com.google.protobuf.Parser<HumanAgentAssistantConfig.SuggestionConfig> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public HumanAgentAssistantConfig.SuggestionConfig getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder