Enum 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,java.io.Serializable,java.lang.Comparable<FailureDetails.StarlarkLoading.Code>
- Enclosing class:
- FailureDetails.StarlarkLoading
public static enum FailureDetails.StarlarkLoading.Code extends java.lang.Enum<FailureDetails.StarlarkLoading.Code> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumfailure_details.StarlarkLoading.Code
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BUILTINS_ERRORBUILTINS_ERROR = 9 [(.failure_details.metadata) = { ...COMPILE_ERRORCOMPILE_ERROR = 2 [(.failure_details.metadata) = { ...CONTAINING_PACKAGE_NOT_FOUNDCONTAINING_PACKAGE_NOT_FOUND = 5 [(.failure_details.metadata) = { ...CYCLECYCLE = 1 [(.failure_details.metadata) = { ...EVAL_ERROREVAL_ERROR = 4 [(.failure_details.metadata) = { ...IO_ERRORIO_ERROR = 7 [(.failure_details.metadata) = { ...LABEL_CROSSES_PACKAGE_BOUNDARYLABEL_CROSSES_PACKAGE_BOUNDARY = 8 [(.failure_details.metadata) = { ...PACKAGE_NOT_FOUNDPACKAGE_NOT_FOUND = 6 [(.failure_details.metadata) = { ...PARSE_ERRORPARSE_ERROR = 3 [(.failure_details.metadata) = { ...STARLARK_LOADING_UNKNOWNSTARLARK_LOADING_UNKNOWN = 0 [(.failure_details.metadata) = { ...UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intBUILTINS_ERROR_VALUEBUILTINS_ERROR = 9 [(.failure_details.metadata) = { ...static intCOMPILE_ERROR_VALUECOMPILE_ERROR = 2 [(.failure_details.metadata) = { ...static intCONTAINING_PACKAGE_NOT_FOUND_VALUECONTAINING_PACKAGE_NOT_FOUND = 5 [(.failure_details.metadata) = { ...static intCYCLE_VALUECYCLE = 1 [(.failure_details.metadata) = { ...static intEVAL_ERROR_VALUEEVAL_ERROR = 4 [(.failure_details.metadata) = { ...static intIO_ERROR_VALUEIO_ERROR = 7 [(.failure_details.metadata) = { ...static intLABEL_CROSSES_PACKAGE_BOUNDARY_VALUELABEL_CROSSES_PACKAGE_BOUNDARY = 8 [(.failure_details.metadata) = { ...static intPACKAGE_NOT_FOUND_VALUEPACKAGE_NOT_FOUND = 6 [(.failure_details.metadata) = { ...static intPARSE_ERROR_VALUEPARSE_ERROR = 3 [(.failure_details.metadata) = { ...static intSTARLARK_LOADING_UNKNOWN_VALUESTARLARK_LOADING_UNKNOWN = 0 [(.failure_details.metadata) = { ...
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static FailureDetails.StarlarkLoading.CodeforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<FailureDetails.StarlarkLoading.Code>internalGetValueMap()static FailureDetails.StarlarkLoading.CodevalueOf(int value)Deprecated.static FailureDetails.StarlarkLoading.CodevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static FailureDetails.StarlarkLoading.CodevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static FailureDetails.StarlarkLoading.Code[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STARLARK_LOADING_UNKNOWN
public static final FailureDetails.StarlarkLoading.Code STARLARK_LOADING_UNKNOWN
STARLARK_LOADING_UNKNOWN = 0 [(.failure_details.metadata) = { ... }
-
CYCLE
public static final FailureDetails.StarlarkLoading.Code CYCLE
CYCLE = 1 [(.failure_details.metadata) = { ... }
-
COMPILE_ERROR
public static final FailureDetails.StarlarkLoading.Code COMPILE_ERROR
COMPILE_ERROR = 2 [(.failure_details.metadata) = { ... }
-
PARSE_ERROR
public static final FailureDetails.StarlarkLoading.Code PARSE_ERROR
PARSE_ERROR = 3 [(.failure_details.metadata) = { ... }
-
EVAL_ERROR
public static final FailureDetails.StarlarkLoading.Code EVAL_ERROR
EVAL_ERROR = 4 [(.failure_details.metadata) = { ... }
-
CONTAINING_PACKAGE_NOT_FOUND
public static final FailureDetails.StarlarkLoading.Code CONTAINING_PACKAGE_NOT_FOUND
CONTAINING_PACKAGE_NOT_FOUND = 5 [(.failure_details.metadata) = { ... }
-
PACKAGE_NOT_FOUND
public static final FailureDetails.StarlarkLoading.Code PACKAGE_NOT_FOUND
PACKAGE_NOT_FOUND = 6 [(.failure_details.metadata) = { ... }
-
IO_ERROR
public static final FailureDetails.StarlarkLoading.Code IO_ERROR
IO_ERROR = 7 [(.failure_details.metadata) = { ... }
-
LABEL_CROSSES_PACKAGE_BOUNDARY
public static final FailureDetails.StarlarkLoading.Code LABEL_CROSSES_PACKAGE_BOUNDARY
LABEL_CROSSES_PACKAGE_BOUNDARY = 8 [(.failure_details.metadata) = { ... }
-
BUILTINS_ERROR
public static final FailureDetails.StarlarkLoading.Code BUILTINS_ERROR
BUILTINS_ERROR = 9 [(.failure_details.metadata) = { ... }
-
UNRECOGNIZED
public static final FailureDetails.StarlarkLoading.Code UNRECOGNIZED
-
-
Field Detail
-
STARLARK_LOADING_UNKNOWN_VALUE
public static final int STARLARK_LOADING_UNKNOWN_VALUE
STARLARK_LOADING_UNKNOWN = 0 [(.failure_details.metadata) = { ... }- See Also:
- Constant Field Values
-
CYCLE_VALUE
public static final int CYCLE_VALUE
CYCLE = 1 [(.failure_details.metadata) = { ... }- See Also:
- Constant Field Values
-
COMPILE_ERROR_VALUE
public static final int COMPILE_ERROR_VALUE
COMPILE_ERROR = 2 [(.failure_details.metadata) = { ... }- See Also:
- Constant Field Values
-
PARSE_ERROR_VALUE
public static final int PARSE_ERROR_VALUE
PARSE_ERROR = 3 [(.failure_details.metadata) = { ... }- See Also:
- Constant Field Values
-
EVAL_ERROR_VALUE
public static final int EVAL_ERROR_VALUE
EVAL_ERROR = 4 [(.failure_details.metadata) = { ... }- See Also:
- Constant Field Values
-
CONTAINING_PACKAGE_NOT_FOUND_VALUE
public static final int CONTAINING_PACKAGE_NOT_FOUND_VALUE
CONTAINING_PACKAGE_NOT_FOUND = 5 [(.failure_details.metadata) = { ... }- See Also:
- Constant Field Values
-
PACKAGE_NOT_FOUND_VALUE
public static final int PACKAGE_NOT_FOUND_VALUE
PACKAGE_NOT_FOUND = 6 [(.failure_details.metadata) = { ... }- See Also:
- Constant Field Values
-
IO_ERROR_VALUE
public static final int IO_ERROR_VALUE
IO_ERROR = 7 [(.failure_details.metadata) = { ... }- See Also:
- Constant Field Values
-
LABEL_CROSSES_PACKAGE_BOUNDARY_VALUE
public static final int LABEL_CROSSES_PACKAGE_BOUNDARY_VALUE
LABEL_CROSSES_PACKAGE_BOUNDARY = 8 [(.failure_details.metadata) = { ... }- See Also:
- Constant Field Values
-
BUILTINS_ERROR_VALUE
public static final int BUILTINS_ERROR_VALUE
BUILTINS_ERROR = 9 [(.failure_details.metadata) = { ... }- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static FailureDetails.StarlarkLoading.Code[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (FailureDetails.StarlarkLoading.Code c : FailureDetails.StarlarkLoading.Code.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FailureDetails.StarlarkLoading.Code valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- 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 public static FailureDetails.StarlarkLoading.Code 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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
forNumber
public static FailureDetails.StarlarkLoading.Code 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<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 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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-