Package ai.chalk.protos.chalk.common.v1
Enum Class 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-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionManually cancelled before it errored or finished successfully.Error with either submitting or running the job.The job did not complete before an expiration deadline, so there are no results.Pending submission to the database.Running in the database.Submitted to the database, but not yet runningSuccessfully ran the job.Succesfully ran the job, but encountered nonfatal errors (e.g.Default value, should not be used -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intManually cancelled before it errored or finished successfully.static final intError with either submitting or running the job.static final intThe job did not complete before an expiration deadline, so there are no results.static final intPending submission to the database.static final intRunning in the database.static final intSubmitted to the database, but not yet runningstatic final intSuccessfully ran the job.static final intSuccesfully ran the job, but encountered nonfatal errors (e.g.static final intDefault value, should not be used -
Method Summary
Modifier and TypeMethodDescriptionstatic QueryStatusforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<QueryStatus>static QueryStatusvalueOf(int value) Deprecated.static QueryStatusvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static QueryStatusReturns the enum constant of this class with the specified name.static QueryStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
QUERY_STATUS_UNSPECIFIED
Default value, should not be used
QUERY_STATUS_UNSPECIFIED = 0; -
QUERY_STATUS_PENDING_SUBMISSION
Pending submission to the database.
QUERY_STATUS_PENDING_SUBMISSION = 1; -
QUERY_STATUS_SUBMITTED
Submitted to the database, but not yet running
QUERY_STATUS_SUBMITTED = 2; -
QUERY_STATUS_RUNNING
Running in the database.
QUERY_STATUS_RUNNING = 3; -
QUERY_STATUS_ERROR
Error with either submitting or running the job.
QUERY_STATUS_ERROR = 4; -
QUERY_STATUS_EXPIRED
The job did not complete before an expiration deadline, so there are no results.
QUERY_STATUS_EXPIRED = 5; -
QUERY_STATUS_CANCELLED
Manually cancelled before it errored or finished successfully.
QUERY_STATUS_CANCELLED = 6; -
QUERY_STATUS_SUCCESSFUL
Successfully ran the job.
QUERY_STATUS_SUCCESSFUL = 7; -
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
-
-
Field Details
-
QUERY_STATUS_UNSPECIFIED_VALUE
public static final int QUERY_STATUS_UNSPECIFIED_VALUEDefault value, should not be used
QUERY_STATUS_UNSPECIFIED = 0;- See Also:
-
QUERY_STATUS_PENDING_SUBMISSION_VALUE
public static final int QUERY_STATUS_PENDING_SUBMISSION_VALUEPending submission to the database.
QUERY_STATUS_PENDING_SUBMISSION = 1;- See Also:
-
QUERY_STATUS_SUBMITTED_VALUE
public static final int QUERY_STATUS_SUBMITTED_VALUESubmitted to the database, but not yet running
QUERY_STATUS_SUBMITTED = 2;- See Also:
-
QUERY_STATUS_RUNNING_VALUE
public static final int QUERY_STATUS_RUNNING_VALUERunning in the database.
QUERY_STATUS_RUNNING = 3;- See Also:
-
QUERY_STATUS_ERROR_VALUE
public static final int QUERY_STATUS_ERROR_VALUEError with either submitting or running the job.
QUERY_STATUS_ERROR = 4;- See Also:
-
QUERY_STATUS_EXPIRED_VALUE
public static final int QUERY_STATUS_EXPIRED_VALUEThe 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_VALUEManually cancelled before it errored or finished successfully.
QUERY_STATUS_CANCELLED = 6;- See Also:
-
QUERY_STATUS_SUCCESSFUL_VALUE
public static final int QUERY_STATUS_SUCCESSFUL_VALUESuccessfully 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_VALUESuccesfully 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
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
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 nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
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 nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
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 nameNullPointerException- if the argument is null
-