Enum DatastoreResponseReason

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

@Generated public enum DatastoreResponseReason extends Enum<DatastoreResponseReason> implements com.google.protobuf.ProtocolMessageEnum
 Response reason from datastore which indicates data serving status or
 answer quality degradation.
 
Protobuf enum google.cloud.dialogflow.v2.DatastoreResponseReason
  • Enum Constant Details

    • DATASTORE_RESPONSE_REASON_UNSPECIFIED

      public static final DatastoreResponseReason DATASTORE_RESPONSE_REASON_UNSPECIFIED
       Default value.
       
      DATASTORE_RESPONSE_REASON_UNSPECIFIED = 0;
    • NONE

      public static final DatastoreResponseReason NONE
       No specific response reason from datastore.
       
      NONE = 1;
    • SEARCH_OUT_OF_QUOTA

      public static final DatastoreResponseReason SEARCH_OUT_OF_QUOTA
       Search is blocked due to out of quota.
       
      SEARCH_OUT_OF_QUOTA = 2;
    • SEARCH_EMPTY_RESULTS

      public static final DatastoreResponseReason SEARCH_EMPTY_RESULTS
       Search returns empty results.
       
      SEARCH_EMPTY_RESULTS = 3;
    • ANSWER_GENERATION_GEN_AI_DISABLED

      public static final DatastoreResponseReason ANSWER_GENERATION_GEN_AI_DISABLED
       Generative AI is disabled.
       
      ANSWER_GENERATION_GEN_AI_DISABLED = 4;
    • ANSWER_GENERATION_OUT_OF_QUOTA

      public static final DatastoreResponseReason ANSWER_GENERATION_OUT_OF_QUOTA
       Answer generation is blocked due to out of quota.
       
      ANSWER_GENERATION_OUT_OF_QUOTA = 5;
    • ANSWER_GENERATION_ERROR

      public static final DatastoreResponseReason ANSWER_GENERATION_ERROR
       Answer generation encounters an error.
       
      ANSWER_GENERATION_ERROR = 6;
    • ANSWER_GENERATION_NOT_ENOUGH_INFO

      public static final DatastoreResponseReason ANSWER_GENERATION_NOT_ENOUGH_INFO
       Answer generation does not have enough information to generate answer.
       
      ANSWER_GENERATION_NOT_ENOUGH_INFO = 7;
    • ANSWER_GENERATION_RAI_FAILED

      public static final DatastoreResponseReason ANSWER_GENERATION_RAI_FAILED
       Answer generation is blocked by RAI (Responsible AI) failure.
       
      ANSWER_GENERATION_RAI_FAILED = 8;
    • ANSWER_GENERATION_NOT_GROUNDED

      public static final DatastoreResponseReason ANSWER_GENERATION_NOT_GROUNDED
       Answer generation is not grounded on reliable sources.
       
      ANSWER_GENERATION_NOT_GROUNDED = 9;
    • UNRECOGNIZED

      public static final DatastoreResponseReason UNRECOGNIZED
  • Field Details

    • DATASTORE_RESPONSE_REASON_UNSPECIFIED_VALUE

      public static final int DATASTORE_RESPONSE_REASON_UNSPECIFIED_VALUE
       Default value.
       
      DATASTORE_RESPONSE_REASON_UNSPECIFIED = 0;
      See Also:
    • NONE_VALUE

      public static final int NONE_VALUE
       No specific response reason from datastore.
       
      NONE = 1;
      See Also:
    • SEARCH_OUT_OF_QUOTA_VALUE

      public static final int SEARCH_OUT_OF_QUOTA_VALUE
       Search is blocked due to out of quota.
       
      SEARCH_OUT_OF_QUOTA = 2;
      See Also:
    • SEARCH_EMPTY_RESULTS_VALUE

      public static final int SEARCH_EMPTY_RESULTS_VALUE
       Search returns empty results.
       
      SEARCH_EMPTY_RESULTS = 3;
      See Also:
    • ANSWER_GENERATION_GEN_AI_DISABLED_VALUE

      public static final int ANSWER_GENERATION_GEN_AI_DISABLED_VALUE
       Generative AI is disabled.
       
      ANSWER_GENERATION_GEN_AI_DISABLED = 4;
      See Also:
    • ANSWER_GENERATION_OUT_OF_QUOTA_VALUE

      public static final int ANSWER_GENERATION_OUT_OF_QUOTA_VALUE
       Answer generation is blocked due to out of quota.
       
      ANSWER_GENERATION_OUT_OF_QUOTA = 5;
      See Also:
    • ANSWER_GENERATION_ERROR_VALUE

      public static final int ANSWER_GENERATION_ERROR_VALUE
       Answer generation encounters an error.
       
      ANSWER_GENERATION_ERROR = 6;
      See Also:
    • ANSWER_GENERATION_NOT_ENOUGH_INFO_VALUE

      public static final int ANSWER_GENERATION_NOT_ENOUGH_INFO_VALUE
       Answer generation does not have enough information to generate answer.
       
      ANSWER_GENERATION_NOT_ENOUGH_INFO = 7;
      See Also:
    • ANSWER_GENERATION_RAI_FAILED_VALUE

      public static final int ANSWER_GENERATION_RAI_FAILED_VALUE
       Answer generation is blocked by RAI (Responsible AI) failure.
       
      ANSWER_GENERATION_RAI_FAILED = 8;
      See Also:
    • ANSWER_GENERATION_NOT_GROUNDED_VALUE

      public static final int ANSWER_GENERATION_NOT_GROUNDED_VALUE
       Answer generation is not grounded on reliable sources.
       
      ANSWER_GENERATION_NOT_GROUNDED = 9;
      See Also:
  • Method Details

    • values

      public static DatastoreResponseReason[] 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

      public static DatastoreResponseReason valueOf(String name)
      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 public static DatastoreResponseReason valueOf(int value)
      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 DatastoreResponseReason 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<DatastoreResponseReason> 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 DatastoreResponseReason 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