Enum Class QueryStatus

java.lang.Object
java.lang.Enum<QueryStatus>
ai.chalk.protos.chalk.common.v1.QueryStatus
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<QueryStatus>, Constable

public enum QueryStatus extends Enum<QueryStatus> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum chalk.common.v1.QueryStatus
  • Enum Constant Details

    • QUERY_STATUS_UNSPECIFIED

      public static final QueryStatus QUERY_STATUS_UNSPECIFIED
       Default value, should not be used
       
      QUERY_STATUS_UNSPECIFIED = 0;
    • QUERY_STATUS_PENDING_SUBMISSION

      public static final QueryStatus QUERY_STATUS_PENDING_SUBMISSION
       Pending submission to the database.
       
      QUERY_STATUS_PENDING_SUBMISSION = 1;
    • QUERY_STATUS_SUBMITTED

      public static final QueryStatus QUERY_STATUS_SUBMITTED
       Submitted to the database, but not yet running
       
      QUERY_STATUS_SUBMITTED = 2;
    • QUERY_STATUS_RUNNING

      public static final QueryStatus QUERY_STATUS_RUNNING
       Running in the database.
       
      QUERY_STATUS_RUNNING = 3;
    • QUERY_STATUS_ERROR

      public static final QueryStatus QUERY_STATUS_ERROR
       Error with either submitting or running the job.
       
      QUERY_STATUS_ERROR = 4;
    • QUERY_STATUS_EXPIRED

      public static final QueryStatus QUERY_STATUS_EXPIRED
       The job did not complete before an expiration deadline, so there are no results.
       
      QUERY_STATUS_EXPIRED = 5;
    • QUERY_STATUS_CANCELLED

      public static final QueryStatus QUERY_STATUS_CANCELLED
       Manually cancelled before it errored or finished successfully.
       
      QUERY_STATUS_CANCELLED = 6;
    • QUERY_STATUS_SUCCESSFUL

      public static final QueryStatus QUERY_STATUS_SUCCESSFUL
       Successfully ran the job.
       
      QUERY_STATUS_SUCCESSFUL = 7;
    • QUERY_STATUS_SUCCESSFUL_WITH_NONFATAL_ERRORS

      public static final QueryStatus QUERY_STATUS_SUCCESSFUL_WITH_NONFATAL_ERRORS
       Succesfully ran the job, but encountered nonfatal errors (e.g. failed to run resolver on some rows)
       
      QUERY_STATUS_SUCCESSFUL_WITH_NONFATAL_ERRORS = 8;
    • UNRECOGNIZED

      public static final QueryStatus UNRECOGNIZED
  • Field Details

    • QUERY_STATUS_UNSPECIFIED_VALUE

      public static final int QUERY_STATUS_UNSPECIFIED_VALUE
       Default value, should not be used
       
      QUERY_STATUS_UNSPECIFIED = 0;
      See Also:
    • QUERY_STATUS_PENDING_SUBMISSION_VALUE

      public static final int QUERY_STATUS_PENDING_SUBMISSION_VALUE
       Pending submission to the database.
       
      QUERY_STATUS_PENDING_SUBMISSION = 1;
      See Also:
    • QUERY_STATUS_SUBMITTED_VALUE

      public static final int QUERY_STATUS_SUBMITTED_VALUE
       Submitted to the database, but not yet running
       
      QUERY_STATUS_SUBMITTED = 2;
      See Also:
    • QUERY_STATUS_RUNNING_VALUE

      public static final int QUERY_STATUS_RUNNING_VALUE
       Running in the database.
       
      QUERY_STATUS_RUNNING = 3;
      See Also:
    • QUERY_STATUS_ERROR_VALUE

      public static final int QUERY_STATUS_ERROR_VALUE
       Error with either submitting or running the job.
       
      QUERY_STATUS_ERROR = 4;
      See Also:
    • QUERY_STATUS_EXPIRED_VALUE

      public static final int QUERY_STATUS_EXPIRED_VALUE
       The job did not complete before an expiration deadline, so there are no results.
       
      QUERY_STATUS_EXPIRED = 5;
      See Also:
    • QUERY_STATUS_CANCELLED_VALUE

      public static final int QUERY_STATUS_CANCELLED_VALUE
       Manually cancelled before it errored or finished successfully.
       
      QUERY_STATUS_CANCELLED = 6;
      See Also:
    • QUERY_STATUS_SUCCESSFUL_VALUE

      public static final int QUERY_STATUS_SUCCESSFUL_VALUE
       Successfully ran the job.
       
      QUERY_STATUS_SUCCESSFUL = 7;
      See Also:
    • QUERY_STATUS_SUCCESSFUL_WITH_NONFATAL_ERRORS_VALUE

      public static final int QUERY_STATUS_SUCCESSFUL_WITH_NONFATAL_ERRORS_VALUE
       Succesfully ran the job, but encountered nonfatal errors (e.g. failed to run resolver on some rows)
       
      QUERY_STATUS_SUCCESSFUL_WITH_NONFATAL_ERRORS = 8;
      See Also:
  • Method Details

    • values

      public static QueryStatus[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static QueryStatus valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class 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 QueryStatus valueOf(int value)
      Deprecated.
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • forNumber

      public static QueryStatus 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<QueryStatus> 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 final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static QueryStatus valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null