Enum KnowledgeAssistDebugInfo.QueryGenerationFailureReason

java.lang.Object
java.lang.Enum<KnowledgeAssistDebugInfo.QueryGenerationFailureReason>
com.google.cloud.dialogflow.v2.KnowledgeAssistDebugInfo.QueryGenerationFailureReason
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<KnowledgeAssistDebugInfo.QueryGenerationFailureReason>
Enclosing class:
KnowledgeAssistDebugInfo

public static enum KnowledgeAssistDebugInfo.QueryGenerationFailureReason extends Enum<KnowledgeAssistDebugInfo.QueryGenerationFailureReason> implements com.google.protobuf.ProtocolMessageEnum
 Reason for query generation failure.
 
Protobuf enum google.cloud.dialogflow.v2.KnowledgeAssistDebugInfo.QueryGenerationFailureReason
  • Enum Constant Details

  • Field Details

    • QUERY_GENERATION_FAILURE_REASON_UNSPECIFIED_VALUE

      public static final int QUERY_GENERATION_FAILURE_REASON_UNSPECIFIED_VALUE
       Default value.
       
      QUERY_GENERATION_FAILURE_REASON_UNSPECIFIED = 0;
      See Also:
    • QUERY_GENERATION_OUT_OF_QUOTA_VALUE

      public static final int QUERY_GENERATION_OUT_OF_QUOTA_VALUE
       Query generation is blocked due to out of quota.
       
      QUERY_GENERATION_OUT_OF_QUOTA = 1;
      See Also:
    • QUERY_GENERATION_FAILED_VALUE

      public static final int QUERY_GENERATION_FAILED_VALUE
       Call to Knowedge Assist query generation model fails.
       
      QUERY_GENERATION_FAILED = 2;
      See Also:
    • QUERY_GENERATION_NO_QUERY_GENERATED_VALUE

      public static final int QUERY_GENERATION_NO_QUERY_GENERATED_VALUE
       Query generation model decides that there is no new topic change or
       there has been similar queries generated in the previous turns.
       
      QUERY_GENERATION_NO_QUERY_GENERATED = 3;
      See Also:
    • QUERY_GENERATION_RAI_FAILED_VALUE

      public static final int QUERY_GENERATION_RAI_FAILED_VALUE
       Knowedge Assist generated query is blocked by RAI (Responsible AI).
       
      QUERY_GENERATION_RAI_FAILED = 4;
      See Also:
    • NOT_IN_ALLOWLIST_VALUE

      public static final int NOT_IN_ALLOWLIST_VALUE
       Query generation is blocked by Knowledge Assist conversation profile
       level / agent id level filtering.
       
      NOT_IN_ALLOWLIST = 5;
      See Also:
    • QUERY_GENERATION_QUERY_REDACTED_VALUE

      public static final int QUERY_GENERATION_QUERY_REDACTED_VALUE
       The generated query is blocked due to redaction.
       
      QUERY_GENERATION_QUERY_REDACTED = 6;
      See Also:
    • QUERY_GENERATION_LLM_RESPONSE_PARSE_FAILED_VALUE

      public static final int QUERY_GENERATION_LLM_RESPONSE_PARSE_FAILED_VALUE
       Query generation failed due to LLM response parse failure.
       
      QUERY_GENERATION_LLM_RESPONSE_PARSE_FAILED = 10;
      See Also:
    • QUERY_GENERATION_EMPTY_CONVERSATION_VALUE

      public static final int QUERY_GENERATION_EMPTY_CONVERSATION_VALUE
       The conversation has no messages.
       
      QUERY_GENERATION_EMPTY_CONVERSATION = 11;
      See Also:
    • QUERY_GENERATION_EMPTY_LAST_MESSAGE_VALUE

      public static final int QUERY_GENERATION_EMPTY_LAST_MESSAGE_VALUE
       The last message in the conversation is empty.
       
      QUERY_GENERATION_EMPTY_LAST_MESSAGE = 12;
      See Also:
    • QUERY_GENERATION_TRIGGERING_EVENT_CONDITION_NOT_MET_VALUE

      public static final int QUERY_GENERATION_TRIGGERING_EVENT_CONDITION_NOT_MET_VALUE
       The trigger event condition is not met.
       This occurs in the following scenarios:
       1. The trigger_event is CUSTOMER_MESSAGE or UNSPECIFIED, but the last
       message is not from the customer.
       2. The trigger_event is AGENT_MESSAGE, but the last message is not from
       the agent.
       
      QUERY_GENERATION_TRIGGERING_EVENT_CONDITION_NOT_MET = 13;
      See Also:
  • Method Details

    • values

      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      Deprecated.
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      value - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • forNumber

      public static KnowledgeAssistDebugInfo.QueryGenerationFailureReason forNumber(int value)
      Parameters:
      value - The numeric wire value of the corresponding enum entry.
      Returns:
      The enum associated with the given numeric wire value.
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<KnowledgeAssistDebugInfo.QueryGenerationFailureReason> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptor

      public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static KnowledgeAssistDebugInfo.QueryGenerationFailureReason valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      desc - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null