Enum Class FailureDetails.Spawn.Code
java.lang.Object
java.lang.Enum<FailureDetails.Spawn.Code>
com.google.devtools.build.lib.server.FailureDetails.Spawn.Code
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<FailureDetails.Spawn.Code>,Constable
- Enclosing class:
- FailureDetails.Spawn
public static enum FailureDetails.Spawn.Code
extends Enum<FailureDetails.Spawn.Code>
implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum
failure_details.Spawn.Code-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCOMMAND_LINE_EXPANSION_FAILURE = 7 [(.failure_details.metadata) = { ...EXEC_IO_EXCEPTION = 8 [(.failure_details.metadata) = { ...EXECUTION_DENIED = 5 [(.failure_details.metadata) = { ...EXECUTION_FAILED = 4 [(.failure_details.metadata) = { ...FORBIDDEN_INPUT = 13 [(.failure_details.metadata) = { ...INVALID_REMOTE_EXECUTION_PROPERTIES = 10 [(.failure_details.metadata) = { ...INVALID_TIMEOUT = 9 [(.failure_details.metadata) = { ...NO_USABLE_STRATEGY_FOUND = 11 [(.failure_details.metadata) = { ...See the SpawnResult.Status Java enum for definitions of the following Spawn failure codes.Note: Spawn OUT_OF_MEMORY leads to a BUILD_FAILURE exit_code because the build tool itself did not run out of memory.This also includes other remote cache errors, not just evictions, if --incompatible_remote_use_new_exit_code_for_lost_inputs is set.REMOTE_CACHE_FAILED = 6 [(.failure_details.metadata) = { ...SPAWN_LOG_IO_EXCEPTION = 15 [(.failure_details.metadata) = { ...SPAWN_UNKNOWN = 0 [(.failure_details.metadata) = { ...TIMEOUT = 2 [(.failure_details.metadata) = { ...TODO(b/138456686): this code should be deprecated when SpawnResult is refactored to prohibit undetailed failures -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intCOMMAND_LINE_EXPANSION_FAILURE = 7 [(.failure_details.metadata) = { ...static final intEXEC_IO_EXCEPTION = 8 [(.failure_details.metadata) = { ...static final intEXECUTION_DENIED = 5 [(.failure_details.metadata) = { ...static final intEXECUTION_FAILED = 4 [(.failure_details.metadata) = { ...static final intFORBIDDEN_INPUT = 13 [(.failure_details.metadata) = { ...static final intINVALID_REMOTE_EXECUTION_PROPERTIES = 10 [(.failure_details.metadata) = { ...static final intINVALID_TIMEOUT = 9 [(.failure_details.metadata) = { ...static final intNO_USABLE_STRATEGY_FOUND = 11 [(.failure_details.metadata) = { ...static final intSee the SpawnResult.Status Java enum for definitions of the following Spawn failure codes.static final intNote: Spawn OUT_OF_MEMORY leads to a BUILD_FAILURE exit_code because the build tool itself did not run out of memory.static final intThis also includes other remote cache errors, not just evictions, if --incompatible_remote_use_new_exit_code_for_lost_inputs is set.static final intREMOTE_CACHE_FAILED = 6 [(.failure_details.metadata) = { ...static final intSPAWN_LOG_IO_EXCEPTION = 15 [(.failure_details.metadata) = { ...static final intSPAWN_UNKNOWN = 0 [(.failure_details.metadata) = { ...static final intTIMEOUT = 2 [(.failure_details.metadata) = { ...static final intTODO(b/138456686): this code should be deprecated when SpawnResult is refactored to prohibit undetailed failures -
Method Summary
Modifier and TypeMethodDescriptionstatic FailureDetails.Spawn.CodeforNumber(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.Spawn.Code>static FailureDetails.Spawn.CodevalueOf(int value) Deprecated.static FailureDetails.Spawn.CodevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static FailureDetails.Spawn.CodeReturns the enum constant of this class with the specified name.static FailureDetails.Spawn.Code[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SPAWN_UNKNOWN
SPAWN_UNKNOWN = 0 [(.failure_details.metadata) = { ... } -
NON_ZERO_EXIT
See the SpawnResult.Status Java enum for definitions of the following Spawn failure codes.
NON_ZERO_EXIT = 1 [(.failure_details.metadata) = { ... } -
TIMEOUT
TIMEOUT = 2 [(.failure_details.metadata) = { ... } -
OUT_OF_MEMORY
Note: Spawn OUT_OF_MEMORY leads to a BUILD_FAILURE exit_code because the build tool itself did not run out of memory.
OUT_OF_MEMORY = 3 [(.failure_details.metadata) = { ... } -
EXECUTION_FAILED
EXECUTION_FAILED = 4 [(.failure_details.metadata) = { ... } -
EXECUTION_DENIED
EXECUTION_DENIED = 5 [(.failure_details.metadata) = { ... } -
REMOTE_CACHE_FAILED
REMOTE_CACHE_FAILED = 6 [(.failure_details.metadata) = { ... } -
COMMAND_LINE_EXPANSION_FAILURE
COMMAND_LINE_EXPANSION_FAILURE = 7 [(.failure_details.metadata) = { ... } -
EXEC_IO_EXCEPTION
EXEC_IO_EXCEPTION = 8 [(.failure_details.metadata) = { ... } -
INVALID_TIMEOUT
INVALID_TIMEOUT = 9 [(.failure_details.metadata) = { ... } -
INVALID_REMOTE_EXECUTION_PROPERTIES
INVALID_REMOTE_EXECUTION_PROPERTIES = 10 [(.failure_details.metadata) = { ... } -
NO_USABLE_STRATEGY_FOUND
NO_USABLE_STRATEGY_FOUND = 11 [(.failure_details.metadata) = { ... } -
UNSPECIFIED_EXECUTION_FAILURE
TODO(b/138456686): this code should be deprecated when SpawnResult is refactored to prohibit undetailed failures
UNSPECIFIED_EXECUTION_FAILURE = 12 [(.failure_details.metadata) = { ... } -
FORBIDDEN_INPUT
FORBIDDEN_INPUT = 13 [(.failure_details.metadata) = { ... } -
REMOTE_CACHE_EVICTED
This also includes other remote cache errors, not just evictions, if --incompatible_remote_use_new_exit_code_for_lost_inputs is set. TODO: Rename it to a more general name when --experimental_remote_cache_eviction_retries is moved to non-experimental.
REMOTE_CACHE_EVICTED = 14 [(.failure_details.metadata) = { ... } -
SPAWN_LOG_IO_EXCEPTION
SPAWN_LOG_IO_EXCEPTION = 15 [(.failure_details.metadata) = { ... } -
UNRECOGNIZED
-
-
Field Details
-
SPAWN_UNKNOWN_VALUE
public static final int SPAWN_UNKNOWN_VALUESPAWN_UNKNOWN = 0 [(.failure_details.metadata) = { ... }- See Also:
-
NON_ZERO_EXIT_VALUE
public static final int NON_ZERO_EXIT_VALUESee the SpawnResult.Status Java enum for definitions of the following Spawn failure codes.
NON_ZERO_EXIT = 1 [(.failure_details.metadata) = { ... }- See Also:
-
TIMEOUT_VALUE
public static final int TIMEOUT_VALUETIMEOUT = 2 [(.failure_details.metadata) = { ... }- See Also:
-
OUT_OF_MEMORY_VALUE
public static final int OUT_OF_MEMORY_VALUENote: Spawn OUT_OF_MEMORY leads to a BUILD_FAILURE exit_code because the build tool itself did not run out of memory.
OUT_OF_MEMORY = 3 [(.failure_details.metadata) = { ... }- See Also:
-
EXECUTION_FAILED_VALUE
public static final int EXECUTION_FAILED_VALUEEXECUTION_FAILED = 4 [(.failure_details.metadata) = { ... }- See Also:
-
EXECUTION_DENIED_VALUE
public static final int EXECUTION_DENIED_VALUEEXECUTION_DENIED = 5 [(.failure_details.metadata) = { ... }- See Also:
-
REMOTE_CACHE_FAILED_VALUE
public static final int REMOTE_CACHE_FAILED_VALUEREMOTE_CACHE_FAILED = 6 [(.failure_details.metadata) = { ... }- See Also:
-
COMMAND_LINE_EXPANSION_FAILURE_VALUE
public static final int COMMAND_LINE_EXPANSION_FAILURE_VALUECOMMAND_LINE_EXPANSION_FAILURE = 7 [(.failure_details.metadata) = { ... }- See Also:
-
EXEC_IO_EXCEPTION_VALUE
public static final int EXEC_IO_EXCEPTION_VALUEEXEC_IO_EXCEPTION = 8 [(.failure_details.metadata) = { ... }- See Also:
-
INVALID_TIMEOUT_VALUE
public static final int INVALID_TIMEOUT_VALUEINVALID_TIMEOUT = 9 [(.failure_details.metadata) = { ... }- See Also:
-
INVALID_REMOTE_EXECUTION_PROPERTIES_VALUE
public static final int INVALID_REMOTE_EXECUTION_PROPERTIES_VALUEINVALID_REMOTE_EXECUTION_PROPERTIES = 10 [(.failure_details.metadata) = { ... }- See Also:
-
NO_USABLE_STRATEGY_FOUND_VALUE
public static final int NO_USABLE_STRATEGY_FOUND_VALUENO_USABLE_STRATEGY_FOUND = 11 [(.failure_details.metadata) = { ... }- See Also:
-
UNSPECIFIED_EXECUTION_FAILURE_VALUE
public static final int UNSPECIFIED_EXECUTION_FAILURE_VALUETODO(b/138456686): this code should be deprecated when SpawnResult is refactored to prohibit undetailed failures
UNSPECIFIED_EXECUTION_FAILURE = 12 [(.failure_details.metadata) = { ... }- See Also:
-
FORBIDDEN_INPUT_VALUE
public static final int FORBIDDEN_INPUT_VALUEFORBIDDEN_INPUT = 13 [(.failure_details.metadata) = { ... }- See Also:
-
REMOTE_CACHE_EVICTED_VALUE
public static final int REMOTE_CACHE_EVICTED_VALUEThis also includes other remote cache errors, not just evictions, if --incompatible_remote_use_new_exit_code_for_lost_inputs is set. TODO: Rename it to a more general name when --experimental_remote_cache_eviction_retries is moved to non-experimental.
REMOTE_CACHE_EVICTED = 14 [(.failure_details.metadata) = { ... }- See Also:
-
SPAWN_LOG_IO_EXCEPTION_VALUE
public static final int SPAWN_LOG_IO_EXCEPTION_VALUESPAWN_LOG_IO_EXCEPTION = 15 [(.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.Spawn.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.Spawn.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
-