Package ai.chalk.protos.chalk.common.v1
Enum Class ErrorCode
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<ErrorCode>,Constable
Protobuf enum
chalk.common.v1.ErrorCode-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe operation was cancelled, typically by the caller.The deadline expired before the operation could complete.An unspecified error occurred.The query is invalid.The query contained features that do not existThe resolver for a feature errored.A resolver was required as part of running the dependency graph that could not be found.The resolver for a feature timed out.The request was submitted with an invalid authentication header.The supplied credentials do not provide the right authorization to execute the request.A crash in a resolver that was to produce an input for the resolver crashed, and so the resolver could not run crashed, and so the resolver could not run.A feature value did not match the expected schema (e.g. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe operation was cancelled, typically by the caller.static final intThe deadline expired before the operation could complete.static final intAn unspecified error occurred.static final intThe query is invalid.static final intThe query contained features that do not existstatic final intThe resolver for a feature errored.static final intA resolver was required as part of running the dependency graph that could not be found.static final intThe resolver for a feature timed out.static final intThe request was submitted with an invalid authentication header.static final intThe supplied credentials do not provide the right authorization to execute the request.static final intA crash in a resolver that was to produce an input for the resolver crashed, and so the resolver could not run crashed, and so the resolver could not run.static final intA feature value did not match the expected schema (e.g. -
Method Summary
Modifier and TypeMethodDescriptionstatic ErrorCodeforNumber(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<ErrorCode>static ErrorCodevalueOf(int value) Deprecated.static ErrorCodevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static ErrorCodeReturns the enum constant of this class with the specified name.static ErrorCode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ERROR_CODE_INTERNAL_SERVER_ERROR_UNSPECIFIED
An unspecified error occurred.
ERROR_CODE_INTERNAL_SERVER_ERROR_UNSPECIFIED = 0; -
ERROR_CODE_PARSE_FAILED
The query contained features that do not exist
ERROR_CODE_PARSE_FAILED = 1; -
ERROR_CODE_RESOLVER_NOT_FOUND
A resolver was required as part of running the dependency graph that could not be found.
ERROR_CODE_RESOLVER_NOT_FOUND = 2; -
ERROR_CODE_INVALID_QUERY
The query is invalid. All supplied features need to be rooted in the same top-level entity.
ERROR_CODE_INVALID_QUERY = 3; -
ERROR_CODE_VALIDATION_FAILED
A feature value did not match the expected schema (e.g. `incompatible type "int"; expected "str"`)
ERROR_CODE_VALIDATION_FAILED = 4; -
ERROR_CODE_RESOLVER_FAILED
The resolver for a feature errored.
ERROR_CODE_RESOLVER_FAILED = 5; -
ERROR_CODE_RESOLVER_TIMED_OUT
The resolver for a feature timed out.
ERROR_CODE_RESOLVER_TIMED_OUT = 6; -
ERROR_CODE_UPSTREAM_FAILED
A crash in a resolver that was to produce an input for the resolver crashed, and so the resolver could not run crashed, and so the resolver could not run.
ERROR_CODE_UPSTREAM_FAILED = 7; -
ERROR_CODE_UNAUTHENTICATED
The request was submitted with an invalid authentication header.
ERROR_CODE_UNAUTHENTICATED = 8; -
ERROR_CODE_UNAUTHORIZED
The supplied credentials do not provide the right authorization to execute the request.
ERROR_CODE_UNAUTHORIZED = 9; -
ERROR_CODE_CANCELLED
The operation was cancelled, typically by the caller.
ERROR_CODE_CANCELLED = 10; -
ERROR_CODE_DEADLINE_EXCEEDED
The deadline expired before the operation could complete.
ERROR_CODE_DEADLINE_EXCEEDED = 11; -
UNRECOGNIZED
-
-
Field Details
-
ERROR_CODE_INTERNAL_SERVER_ERROR_UNSPECIFIED_VALUE
public static final int ERROR_CODE_INTERNAL_SERVER_ERROR_UNSPECIFIED_VALUEAn unspecified error occurred.
ERROR_CODE_INTERNAL_SERVER_ERROR_UNSPECIFIED = 0;- See Also:
-
ERROR_CODE_PARSE_FAILED_VALUE
public static final int ERROR_CODE_PARSE_FAILED_VALUEThe query contained features that do not exist
ERROR_CODE_PARSE_FAILED = 1;- See Also:
-
ERROR_CODE_RESOLVER_NOT_FOUND_VALUE
public static final int ERROR_CODE_RESOLVER_NOT_FOUND_VALUEA resolver was required as part of running the dependency graph that could not be found.
ERROR_CODE_RESOLVER_NOT_FOUND = 2;- See Also:
-
ERROR_CODE_INVALID_QUERY_VALUE
public static final int ERROR_CODE_INVALID_QUERY_VALUEThe query is invalid. All supplied features need to be rooted in the same top-level entity.
ERROR_CODE_INVALID_QUERY = 3;- See Also:
-
ERROR_CODE_VALIDATION_FAILED_VALUE
public static final int ERROR_CODE_VALIDATION_FAILED_VALUEA feature value did not match the expected schema (e.g. `incompatible type "int"; expected "str"`)
ERROR_CODE_VALIDATION_FAILED = 4;- See Also:
-
ERROR_CODE_RESOLVER_FAILED_VALUE
public static final int ERROR_CODE_RESOLVER_FAILED_VALUEThe resolver for a feature errored.
ERROR_CODE_RESOLVER_FAILED = 5;- See Also:
-
ERROR_CODE_RESOLVER_TIMED_OUT_VALUE
public static final int ERROR_CODE_RESOLVER_TIMED_OUT_VALUEThe resolver for a feature timed out.
ERROR_CODE_RESOLVER_TIMED_OUT = 6;- See Also:
-
ERROR_CODE_UPSTREAM_FAILED_VALUE
public static final int ERROR_CODE_UPSTREAM_FAILED_VALUEA crash in a resolver that was to produce an input for the resolver crashed, and so the resolver could not run crashed, and so the resolver could not run.
ERROR_CODE_UPSTREAM_FAILED = 7;- See Also:
-
ERROR_CODE_UNAUTHENTICATED_VALUE
public static final int ERROR_CODE_UNAUTHENTICATED_VALUEThe request was submitted with an invalid authentication header.
ERROR_CODE_UNAUTHENTICATED = 8;- See Also:
-
ERROR_CODE_UNAUTHORIZED_VALUE
public static final int ERROR_CODE_UNAUTHORIZED_VALUEThe supplied credentials do not provide the right authorization to execute the request.
ERROR_CODE_UNAUTHORIZED = 9;- See Also:
-
ERROR_CODE_CANCELLED_VALUE
public static final int ERROR_CODE_CANCELLED_VALUEThe operation was cancelled, typically by the caller.
ERROR_CODE_CANCELLED = 10;- See Also:
-
ERROR_CODE_DEADLINE_EXCEEDED_VALUE
public static final int ERROR_CODE_DEADLINE_EXCEEDED_VALUEThe deadline expired before the operation could complete.
ERROR_CODE_DEADLINE_EXCEEDED = 11;- 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
-