Enum Class FailureDetails.BuildConfiguration.Code
java.lang.Object
java.lang.Enum<FailureDetails.BuildConfiguration.Code>
com.google.devtools.build.lib.server.FailureDetails.BuildConfiguration.Code
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<FailureDetails.BuildConfiguration.Code>,Constable
- Enclosing class:
- FailureDetails.BuildConfiguration
public static enum FailureDetails.BuildConfiguration.Code
extends Enum<FailureDetails.BuildConfiguration.Code>
implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum
failure_details.BuildConfiguration.Code-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionBUILD_CONFIGURATION_UNKNOWN = 0 [(.failure_details.metadata) = { ...CONFIGURATION_DISCARDED_ANALYSIS_CACHE = 12 [(.failure_details.metadata) = { ...CONFLICTING_CONFIGURATIONS = 10 [(.failure_details.metadata) = { ...CYCLE = 9 [(.failure_details.metadata) = { ...HEURISTIC_INSTRUMENTATION_FILTER_INVALID = 8 [(.failure_details.metadata) = { ...INVALID_BUILD_OPTIONS = 6 [(.failure_details.metadata) = { ...INVALID_CONFIGURATION = 5 [(.failure_details.metadata) = { ...This can come from either an invalid user-specified option or a configuration transition.Failure modes specific to PROJECT.scl files.MULTI_CPU_PREREQ_UNMET = 7 [(.failure_details.metadata) = { ...PLATFORM_MAPPING_EVALUATION_FAILURE = 1 [(.failure_details.metadata) = { ...PLATFORM_MAPPINGS_FILE_IS_DIRECTORY = 2 [(.failure_details.metadata) = { ...PLATFORM_MAPPINGS_FILE_NOT_FOUND = 3 [(.failure_details.metadata) = { ...TOP_LEVEL_CONFIGURATION_CREATION_FAILURE = 4 [(.failure_details.metadata) = { ... -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intBUILD_CONFIGURATION_UNKNOWN = 0 [(.failure_details.metadata) = { ...static final intCONFIGURATION_DISCARDED_ANALYSIS_CACHE = 12 [(.failure_details.metadata) = { ...static final intCONFLICTING_CONFIGURATIONS = 10 [(.failure_details.metadata) = { ...static final intCYCLE = 9 [(.failure_details.metadata) = { ...static final intHEURISTIC_INSTRUMENTATION_FILTER_INVALID = 8 [(.failure_details.metadata) = { ...static final intINVALID_BUILD_OPTIONS = 6 [(.failure_details.metadata) = { ...static final intINVALID_CONFIGURATION = 5 [(.failure_details.metadata) = { ...static final intThis can come from either an invalid user-specified option or a configuration transition.static final intFailure modes specific to PROJECT.scl files.static final intMULTI_CPU_PREREQ_UNMET = 7 [(.failure_details.metadata) = { ...static final intPLATFORM_MAPPING_EVALUATION_FAILURE = 1 [(.failure_details.metadata) = { ...static final intPLATFORM_MAPPINGS_FILE_IS_DIRECTORY = 2 [(.failure_details.metadata) = { ...static final intPLATFORM_MAPPINGS_FILE_NOT_FOUND = 3 [(.failure_details.metadata) = { ...static final intTOP_LEVEL_CONFIGURATION_CREATION_FAILURE = 4 [(.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.BuildConfiguration.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.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BUILD_CONFIGURATION_UNKNOWN
BUILD_CONFIGURATION_UNKNOWN = 0 [(.failure_details.metadata) = { ... } -
PLATFORM_MAPPING_EVALUATION_FAILURE
PLATFORM_MAPPING_EVALUATION_FAILURE = 1 [(.failure_details.metadata) = { ... } -
PLATFORM_MAPPINGS_FILE_IS_DIRECTORY
PLATFORM_MAPPINGS_FILE_IS_DIRECTORY = 2 [(.failure_details.metadata) = { ... } -
PLATFORM_MAPPINGS_FILE_NOT_FOUND
PLATFORM_MAPPINGS_FILE_NOT_FOUND = 3 [(.failure_details.metadata) = { ... } -
TOP_LEVEL_CONFIGURATION_CREATION_FAILURE
TOP_LEVEL_CONFIGURATION_CREATION_FAILURE = 4 [(.failure_details.metadata) = { ... } -
INVALID_CONFIGURATION
INVALID_CONFIGURATION = 5 [(.failure_details.metadata) = { ... } -
INVALID_BUILD_OPTIONS
INVALID_BUILD_OPTIONS = 6 [(.failure_details.metadata) = { ... } -
MULTI_CPU_PREREQ_UNMET
MULTI_CPU_PREREQ_UNMET = 7 [(.failure_details.metadata) = { ... } -
HEURISTIC_INSTRUMENTATION_FILTER_INVALID
HEURISTIC_INSTRUMENTATION_FILTER_INVALID = 8 [(.failure_details.metadata) = { ... } -
CYCLE
CYCLE = 9 [(.failure_details.metadata) = { ... } -
CONFLICTING_CONFIGURATIONS
CONFLICTING_CONFIGURATIONS = 10 [(.failure_details.metadata) = { ... } -
INVALID_OUTPUT_DIRECTORY_MNEMONIC
This can come from either an invalid user-specified option or a configuration transition. There's no sure-fire way to distinguish the two possibilities in Bazel, so we go with the more straightforward command-line error exit code 2.
INVALID_OUTPUT_DIRECTORY_MNEMONIC = 11 [(.failure_details.metadata) = { ... } -
CONFIGURATION_DISCARDED_ANALYSIS_CACHE
CONFIGURATION_DISCARDED_ANALYSIS_CACHE = 12 [(.failure_details.metadata) = { ... } -
INVALID_PROJECT
Failure modes specific to PROJECT.scl files.
INVALID_PROJECT = 13 [(.failure_details.metadata) = { ... } -
UNRECOGNIZED
-
-
Field Details
-
BUILD_CONFIGURATION_UNKNOWN_VALUE
public static final int BUILD_CONFIGURATION_UNKNOWN_VALUEBUILD_CONFIGURATION_UNKNOWN = 0 [(.failure_details.metadata) = { ... }- See Also:
-
PLATFORM_MAPPING_EVALUATION_FAILURE_VALUE
public static final int PLATFORM_MAPPING_EVALUATION_FAILURE_VALUEPLATFORM_MAPPING_EVALUATION_FAILURE = 1 [(.failure_details.metadata) = { ... }- See Also:
-
PLATFORM_MAPPINGS_FILE_IS_DIRECTORY_VALUE
public static final int PLATFORM_MAPPINGS_FILE_IS_DIRECTORY_VALUEPLATFORM_MAPPINGS_FILE_IS_DIRECTORY = 2 [(.failure_details.metadata) = { ... }- See Also:
-
PLATFORM_MAPPINGS_FILE_NOT_FOUND_VALUE
public static final int PLATFORM_MAPPINGS_FILE_NOT_FOUND_VALUEPLATFORM_MAPPINGS_FILE_NOT_FOUND = 3 [(.failure_details.metadata) = { ... }- See Also:
-
TOP_LEVEL_CONFIGURATION_CREATION_FAILURE_VALUE
public static final int TOP_LEVEL_CONFIGURATION_CREATION_FAILURE_VALUETOP_LEVEL_CONFIGURATION_CREATION_FAILURE = 4 [(.failure_details.metadata) = { ... }- See Also:
-
INVALID_CONFIGURATION_VALUE
public static final int INVALID_CONFIGURATION_VALUEINVALID_CONFIGURATION = 5 [(.failure_details.metadata) = { ... }- See Also:
-
INVALID_BUILD_OPTIONS_VALUE
public static final int INVALID_BUILD_OPTIONS_VALUEINVALID_BUILD_OPTIONS = 6 [(.failure_details.metadata) = { ... }- See Also:
-
MULTI_CPU_PREREQ_UNMET_VALUE
public static final int MULTI_CPU_PREREQ_UNMET_VALUEMULTI_CPU_PREREQ_UNMET = 7 [(.failure_details.metadata) = { ... }- See Also:
-
HEURISTIC_INSTRUMENTATION_FILTER_INVALID_VALUE
public static final int HEURISTIC_INSTRUMENTATION_FILTER_INVALID_VALUEHEURISTIC_INSTRUMENTATION_FILTER_INVALID = 8 [(.failure_details.metadata) = { ... }- See Also:
-
CYCLE_VALUE
public static final int CYCLE_VALUECYCLE = 9 [(.failure_details.metadata) = { ... }- See Also:
-
CONFLICTING_CONFIGURATIONS_VALUE
public static final int CONFLICTING_CONFIGURATIONS_VALUECONFLICTING_CONFIGURATIONS = 10 [(.failure_details.metadata) = { ... }- See Also:
-
INVALID_OUTPUT_DIRECTORY_MNEMONIC_VALUE
public static final int INVALID_OUTPUT_DIRECTORY_MNEMONIC_VALUEThis can come from either an invalid user-specified option or a configuration transition. There's no sure-fire way to distinguish the two possibilities in Bazel, so we go with the more straightforward command-line error exit code 2.
INVALID_OUTPUT_DIRECTORY_MNEMONIC = 11 [(.failure_details.metadata) = { ... }- See Also:
-
CONFIGURATION_DISCARDED_ANALYSIS_CACHE_VALUE
public static final int CONFIGURATION_DISCARDED_ANALYSIS_CACHE_VALUECONFIGURATION_DISCARDED_ANALYSIS_CACHE = 12 [(.failure_details.metadata) = { ... }- See Also:
-
INVALID_PROJECT_VALUE
public static final int INVALID_PROJECT_VALUEFailure modes specific to PROJECT.scl files.
INVALID_PROJECT = 13 [(.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.BuildConfiguration.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.BuildConfiguration.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
-