Enum Class FailureDetails.StarlarkLoading.Code
java.lang.Object
java.lang.Enum<FailureDetails.StarlarkLoading.Code>
com.google.devtools.build.lib.server.FailureDetails.StarlarkLoading.Code
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<FailureDetails.StarlarkLoading.Code>,Constable
- Enclosing class:
- FailureDetails.StarlarkLoading
public static enum FailureDetails.StarlarkLoading.Code
extends Enum<FailureDetails.StarlarkLoading.Code>
implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum
failure_details.StarlarkLoading.Code-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionBUILTINS_ERROR = 9 [(.failure_details.metadata) = { ...COMPILE_ERROR = 2 [(.failure_details.metadata) = { ...CONTAINING_PACKAGE_NOT_FOUND = 5 [(.failure_details.metadata) = { ...CYCLE = 1 [(.failure_details.metadata) = { ...EVAL_ERROR = 4 [(.failure_details.metadata) = { ...IO_ERROR = 7 [(.failure_details.metadata) = { ...LABEL_CROSSES_PACKAGE_BOUNDARY = 8 [(.failure_details.metadata) = { ...PACKAGE_NOT_FOUND = 6 [(.failure_details.metadata) = { ...PARSE_ERROR = 3 [(.failure_details.metadata) = { ...STARLARK_LOADING_UNKNOWN = 0 [(.failure_details.metadata) = { ...VISIBILITY_ERROR = 10 [(.failure_details.metadata) = { ... -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intBUILTINS_ERROR = 9 [(.failure_details.metadata) = { ...static final intCOMPILE_ERROR = 2 [(.failure_details.metadata) = { ...static final intCONTAINING_PACKAGE_NOT_FOUND = 5 [(.failure_details.metadata) = { ...static final intCYCLE = 1 [(.failure_details.metadata) = { ...static final intEVAL_ERROR = 4 [(.failure_details.metadata) = { ...static final intIO_ERROR = 7 [(.failure_details.metadata) = { ...static final intLABEL_CROSSES_PACKAGE_BOUNDARY = 8 [(.failure_details.metadata) = { ...static final intPACKAGE_NOT_FOUND = 6 [(.failure_details.metadata) = { ...static final intPARSE_ERROR = 3 [(.failure_details.metadata) = { ...static final intSTARLARK_LOADING_UNKNOWN = 0 [(.failure_details.metadata) = { ...static final intVISIBILITY_ERROR = 10 [(.failure_details.metadata) = { ... -
Method Summary
Modifier and TypeMethodDescriptionforNumber(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<FailureDetails.StarlarkLoading.Code>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.static FailureDetails.StarlarkLoading.Code[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
STARLARK_LOADING_UNKNOWN
STARLARK_LOADING_UNKNOWN = 0 [(.failure_details.metadata) = { ... } -
CYCLE
CYCLE = 1 [(.failure_details.metadata) = { ... } -
COMPILE_ERROR
COMPILE_ERROR = 2 [(.failure_details.metadata) = { ... } -
PARSE_ERROR
PARSE_ERROR = 3 [(.failure_details.metadata) = { ... } -
EVAL_ERROR
EVAL_ERROR = 4 [(.failure_details.metadata) = { ... } -
CONTAINING_PACKAGE_NOT_FOUND
CONTAINING_PACKAGE_NOT_FOUND = 5 [(.failure_details.metadata) = { ... } -
PACKAGE_NOT_FOUND
PACKAGE_NOT_FOUND = 6 [(.failure_details.metadata) = { ... } -
IO_ERROR
IO_ERROR = 7 [(.failure_details.metadata) = { ... } -
LABEL_CROSSES_PACKAGE_BOUNDARY
LABEL_CROSSES_PACKAGE_BOUNDARY = 8 [(.failure_details.metadata) = { ... } -
BUILTINS_ERROR
BUILTINS_ERROR = 9 [(.failure_details.metadata) = { ... } -
VISIBILITY_ERROR
VISIBILITY_ERROR = 10 [(.failure_details.metadata) = { ... } -
UNRECOGNIZED
-
-
Field Details
-
STARLARK_LOADING_UNKNOWN_VALUE
public static final int STARLARK_LOADING_UNKNOWN_VALUESTARLARK_LOADING_UNKNOWN = 0 [(.failure_details.metadata) = { ... }- See Also:
-
CYCLE_VALUE
public static final int CYCLE_VALUECYCLE = 1 [(.failure_details.metadata) = { ... }- See Also:
-
COMPILE_ERROR_VALUE
public static final int COMPILE_ERROR_VALUECOMPILE_ERROR = 2 [(.failure_details.metadata) = { ... }- See Also:
-
PARSE_ERROR_VALUE
public static final int PARSE_ERROR_VALUEPARSE_ERROR = 3 [(.failure_details.metadata) = { ... }- See Also:
-
EVAL_ERROR_VALUE
public static final int EVAL_ERROR_VALUEEVAL_ERROR = 4 [(.failure_details.metadata) = { ... }- See Also:
-
CONTAINING_PACKAGE_NOT_FOUND_VALUE
public static final int CONTAINING_PACKAGE_NOT_FOUND_VALUECONTAINING_PACKAGE_NOT_FOUND = 5 [(.failure_details.metadata) = { ... }- See Also:
-
PACKAGE_NOT_FOUND_VALUE
public static final int PACKAGE_NOT_FOUND_VALUEPACKAGE_NOT_FOUND = 6 [(.failure_details.metadata) = { ... }- See Also:
-
IO_ERROR_VALUE
public static final int IO_ERROR_VALUEIO_ERROR = 7 [(.failure_details.metadata) = { ... }- See Also:
-
LABEL_CROSSES_PACKAGE_BOUNDARY_VALUE
public static final int LABEL_CROSSES_PACKAGE_BOUNDARY_VALUELABEL_CROSSES_PACKAGE_BOUNDARY = 8 [(.failure_details.metadata) = { ... }- See Also:
-
BUILTINS_ERROR_VALUE
public static final int BUILTINS_ERROR_VALUEBUILTINS_ERROR = 9 [(.failure_details.metadata) = { ... }- See Also:
-
VISIBILITY_ERROR_VALUE
public static final int VISIBILITY_ERROR_VALUEVISIBILITY_ERROR = 10 [(.failure_details.metadata) = { ... }- 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
public static com.google.protobuf.Internal.EnumLiteMap<FailureDetails.StarlarkLoading.Code> 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
public static FailureDetails.StarlarkLoading.Code 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 nameNullPointerException- if the argument is null
-