Enum 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,java.io.Serializable,java.lang.Comparable<FailureDetails.BuildConfiguration.Code>
- Enclosing class:
- FailureDetails.BuildConfiguration
public static enum FailureDetails.BuildConfiguration.Code extends java.lang.Enum<FailureDetails.BuildConfiguration.Code> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumfailure_details.BuildConfiguration.Code
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BUILD_CONFIGURATION_UNKNOWNBUILD_CONFIGURATION_UNKNOWN = 0 [(.failure_details.metadata) = { ...CONFLICTING_CONFIGURATIONSCONFLICTING_CONFIGURATIONS = 10 [(.failure_details.metadata) = { ...CYCLECYCLE = 9 [(.failure_details.metadata) = { ...HEURISTIC_INSTRUMENTATION_FILTER_INVALIDHEURISTIC_INSTRUMENTATION_FILTER_INVALID = 8 [(.failure_details.metadata) = { ...INVALID_BUILD_OPTIONSINVALID_BUILD_OPTIONS = 6 [(.failure_details.metadata) = { ...INVALID_CONFIGURATIONINVALID_CONFIGURATION = 5 [(.failure_details.metadata) = { ...INVALID_OUTPUT_DIRECTORY_MNEMONICThis can come from either an invalid user-specified option or a configuration transition.MULTI_CPU_PREREQ_UNMETMULTI_CPU_PREREQ_UNMET = 7 [(.failure_details.metadata) = { ...PLATFORM_MAPPING_EVALUATION_FAILUREPLATFORM_MAPPING_EVALUATION_FAILURE = 1 [(.failure_details.metadata) = { ...PLATFORM_MAPPINGS_FILE_IS_DIRECTORYPLATFORM_MAPPINGS_FILE_IS_DIRECTORY = 2 [(.failure_details.metadata) = { ...PLATFORM_MAPPINGS_FILE_NOT_FOUNDPLATFORM_MAPPINGS_FILE_NOT_FOUND = 3 [(.failure_details.metadata) = { ...TOP_LEVEL_CONFIGURATION_CREATION_FAILURETOP_LEVEL_CONFIGURATION_CREATION_FAILURE = 4 [(.failure_details.metadata) = { ...UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intBUILD_CONFIGURATION_UNKNOWN_VALUEBUILD_CONFIGURATION_UNKNOWN = 0 [(.failure_details.metadata) = { ...static intCONFLICTING_CONFIGURATIONS_VALUECONFLICTING_CONFIGURATIONS = 10 [(.failure_details.metadata) = { ...static intCYCLE_VALUECYCLE = 9 [(.failure_details.metadata) = { ...static intHEURISTIC_INSTRUMENTATION_FILTER_INVALID_VALUEHEURISTIC_INSTRUMENTATION_FILTER_INVALID = 8 [(.failure_details.metadata) = { ...static intINVALID_BUILD_OPTIONS_VALUEINVALID_BUILD_OPTIONS = 6 [(.failure_details.metadata) = { ...static intINVALID_CONFIGURATION_VALUEINVALID_CONFIGURATION = 5 [(.failure_details.metadata) = { ...static intINVALID_OUTPUT_DIRECTORY_MNEMONIC_VALUEThis can come from either an invalid user-specified option or a configuration transition.static intMULTI_CPU_PREREQ_UNMET_VALUEMULTI_CPU_PREREQ_UNMET = 7 [(.failure_details.metadata) = { ...static intPLATFORM_MAPPING_EVALUATION_FAILURE_VALUEPLATFORM_MAPPING_EVALUATION_FAILURE = 1 [(.failure_details.metadata) = { ...static intPLATFORM_MAPPINGS_FILE_IS_DIRECTORY_VALUEPLATFORM_MAPPINGS_FILE_IS_DIRECTORY = 2 [(.failure_details.metadata) = { ...static intPLATFORM_MAPPINGS_FILE_NOT_FOUND_VALUEPLATFORM_MAPPINGS_FILE_NOT_FOUND = 3 [(.failure_details.metadata) = { ...static intTOP_LEVEL_CONFIGURATION_CREATION_FAILURE_VALUETOP_LEVEL_CONFIGURATION_CREATION_FAILURE = 4 [(.failure_details.metadata) = { ...
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static FailureDetails.BuildConfiguration.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.BuildConfiguration.Code>internalGetValueMap()static FailureDetails.BuildConfiguration.CodevalueOf(int value)Deprecated.static FailureDetails.BuildConfiguration.CodevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static FailureDetails.BuildConfiguration.CodevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static FailureDetails.BuildConfiguration.Code[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BUILD_CONFIGURATION_UNKNOWN
public static final FailureDetails.BuildConfiguration.Code BUILD_CONFIGURATION_UNKNOWN
BUILD_CONFIGURATION_UNKNOWN = 0 [(.failure_details.metadata) = { ... }
-
PLATFORM_MAPPING_EVALUATION_FAILURE
public static final FailureDetails.BuildConfiguration.Code PLATFORM_MAPPING_EVALUATION_FAILURE
PLATFORM_MAPPING_EVALUATION_FAILURE = 1 [(.failure_details.metadata) = { ... }
-
PLATFORM_MAPPINGS_FILE_IS_DIRECTORY
public static final FailureDetails.BuildConfiguration.Code PLATFORM_MAPPINGS_FILE_IS_DIRECTORY
PLATFORM_MAPPINGS_FILE_IS_DIRECTORY = 2 [(.failure_details.metadata) = { ... }
-
PLATFORM_MAPPINGS_FILE_NOT_FOUND
public static final FailureDetails.BuildConfiguration.Code PLATFORM_MAPPINGS_FILE_NOT_FOUND
PLATFORM_MAPPINGS_FILE_NOT_FOUND = 3 [(.failure_details.metadata) = { ... }
-
TOP_LEVEL_CONFIGURATION_CREATION_FAILURE
public static final FailureDetails.BuildConfiguration.Code TOP_LEVEL_CONFIGURATION_CREATION_FAILURE
TOP_LEVEL_CONFIGURATION_CREATION_FAILURE = 4 [(.failure_details.metadata) = { ... }
-
INVALID_CONFIGURATION
public static final FailureDetails.BuildConfiguration.Code INVALID_CONFIGURATION
INVALID_CONFIGURATION = 5 [(.failure_details.metadata) = { ... }
-
INVALID_BUILD_OPTIONS
public static final FailureDetails.BuildConfiguration.Code INVALID_BUILD_OPTIONS
INVALID_BUILD_OPTIONS = 6 [(.failure_details.metadata) = { ... }
-
MULTI_CPU_PREREQ_UNMET
public static final FailureDetails.BuildConfiguration.Code MULTI_CPU_PREREQ_UNMET
MULTI_CPU_PREREQ_UNMET = 7 [(.failure_details.metadata) = { ... }
-
HEURISTIC_INSTRUMENTATION_FILTER_INVALID
public static final FailureDetails.BuildConfiguration.Code HEURISTIC_INSTRUMENTATION_FILTER_INVALID
HEURISTIC_INSTRUMENTATION_FILTER_INVALID = 8 [(.failure_details.metadata) = { ... }
-
CYCLE
public static final FailureDetails.BuildConfiguration.Code CYCLE
CYCLE = 9 [(.failure_details.metadata) = { ... }
-
CONFLICTING_CONFIGURATIONS
public static final FailureDetails.BuildConfiguration.Code CONFLICTING_CONFIGURATIONS
CONFLICTING_CONFIGURATIONS = 10 [(.failure_details.metadata) = { ... }
-
INVALID_OUTPUT_DIRECTORY_MNEMONIC
public static final FailureDetails.BuildConfiguration.Code 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) = { ... }
-
UNRECOGNIZED
public static final FailureDetails.BuildConfiguration.Code UNRECOGNIZED
-
-
Field Detail
-
BUILD_CONFIGURATION_UNKNOWN_VALUE
public static final int BUILD_CONFIGURATION_UNKNOWN_VALUE
BUILD_CONFIGURATION_UNKNOWN = 0 [(.failure_details.metadata) = { ... }- See Also:
- Constant Field Values
-
PLATFORM_MAPPING_EVALUATION_FAILURE_VALUE
public static final int PLATFORM_MAPPING_EVALUATION_FAILURE_VALUE
PLATFORM_MAPPING_EVALUATION_FAILURE = 1 [(.failure_details.metadata) = { ... }- See Also:
- Constant Field Values
-
PLATFORM_MAPPINGS_FILE_IS_DIRECTORY_VALUE
public static final int PLATFORM_MAPPINGS_FILE_IS_DIRECTORY_VALUE
PLATFORM_MAPPINGS_FILE_IS_DIRECTORY = 2 [(.failure_details.metadata) = { ... }- See Also:
- Constant Field Values
-
PLATFORM_MAPPINGS_FILE_NOT_FOUND_VALUE
public static final int PLATFORM_MAPPINGS_FILE_NOT_FOUND_VALUE
PLATFORM_MAPPINGS_FILE_NOT_FOUND = 3 [(.failure_details.metadata) = { ... }- See Also:
- Constant Field Values
-
TOP_LEVEL_CONFIGURATION_CREATION_FAILURE_VALUE
public static final int TOP_LEVEL_CONFIGURATION_CREATION_FAILURE_VALUE
TOP_LEVEL_CONFIGURATION_CREATION_FAILURE = 4 [(.failure_details.metadata) = { ... }- See Also:
- Constant Field Values
-
INVALID_CONFIGURATION_VALUE
public static final int INVALID_CONFIGURATION_VALUE
INVALID_CONFIGURATION = 5 [(.failure_details.metadata) = { ... }- See Also:
- Constant Field Values
-
INVALID_BUILD_OPTIONS_VALUE
public static final int INVALID_BUILD_OPTIONS_VALUE
INVALID_BUILD_OPTIONS = 6 [(.failure_details.metadata) = { ... }- See Also:
- Constant Field Values
-
MULTI_CPU_PREREQ_UNMET_VALUE
public static final int MULTI_CPU_PREREQ_UNMET_VALUE
MULTI_CPU_PREREQ_UNMET = 7 [(.failure_details.metadata) = { ... }- See Also:
- Constant Field Values
-
HEURISTIC_INSTRUMENTATION_FILTER_INVALID_VALUE
public static final int HEURISTIC_INSTRUMENTATION_FILTER_INVALID_VALUE
HEURISTIC_INSTRUMENTATION_FILTER_INVALID = 8 [(.failure_details.metadata) = { ... }- See Also:
- Constant Field Values
-
CYCLE_VALUE
public static final int CYCLE_VALUE
CYCLE = 9 [(.failure_details.metadata) = { ... }- See Also:
- Constant Field Values
-
CONFLICTING_CONFIGURATIONS_VALUE
public static final int CONFLICTING_CONFIGURATIONS_VALUE
CONFLICTING_CONFIGURATIONS = 10 [(.failure_details.metadata) = { ... }- See Also:
- Constant Field Values
-
INVALID_OUTPUT_DIRECTORY_MNEMONIC_VALUE
public static final int INVALID_OUTPUT_DIRECTORY_MNEMONIC_VALUE
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) = { ... }- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static FailureDetails.BuildConfiguration.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.BuildConfiguration.Code c : FailureDetails.BuildConfiguration.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.BuildConfiguration.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.BuildConfiguration.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.BuildConfiguration.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.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 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
-
-