Enum FailureDetails.RemoteExecution.Code
- java.lang.Object
-
- java.lang.Enum<FailureDetails.RemoteExecution.Code>
-
- com.google.devtools.build.lib.server.FailureDetails.RemoteExecution.Code
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,java.io.Serializable,java.lang.Comparable<FailureDetails.RemoteExecution.Code>
- Enclosing class:
- FailureDetails.RemoteExecution
public static enum FailureDetails.RemoteExecution.Code extends java.lang.Enum<FailureDetails.RemoteExecution.Code> implements com.google.protobuf.ProtocolMessageEnum
The association of some of these options with exit code 2, "command line error", seems sketchy. Especially worth reconsidering are the channel init failure modes, which can correspond to failures occurring in gRPC setup. These all correspond with current Bazel behavior.
Protobuf enumfailure_details.RemoteExecution.Code
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CACHE_CHANNEL_INIT_FAILURECACHE_CHANNEL_INIT_FAILURE = 6 [(.failure_details.metadata) = { ...CACHE_INIT_FAILURECACHE_INIT_FAILURE = 3 [(.failure_details.metadata) = { ...CAPABILITIES_QUERY_FAILURECAPABILITIES_QUERY_FAILURE = 1 [(.failure_details.metadata) = { ...CLIENT_SERVER_INCOMPATIBLECLIENT_SERVER_INCOMPATIBLE = 9 [(.failure_details.metadata) = { ...CREDENTIALS_INIT_FAILURECREDENTIALS_INIT_FAILURE = 2 [(.failure_details.metadata) = { ...DOWNLOADED_INPUTS_DELETION_FAILUREDOWNLOADED_INPUTS_DELETION_FAILURE = 10 [(.failure_details.metadata) = { ...DOWNLOADER_CHANNEL_INIT_FAILUREDOWNLOADER_CHANNEL_INIT_FAILURE = 7 [(.failure_details.metadata) = { ...EXEC_CHANNEL_INIT_FAILUREEXEC_CHANNEL_INIT_FAILURE = 5 [(.failure_details.metadata) = { ...ILLEGAL_OUTPUTILLEGAL_OUTPUT = 15 [(.failure_details.metadata) = { ...INCOMPLETE_OUTPUT_DOWNLOAD_CLEANUP_FAILUREINCOMPLETE_OUTPUT_DOWNLOAD_CLEANUP_FAILURE = 13 [(.failure_details.metadata) = { ...INVALID_EXEC_AND_PLATFORM_PROPERTIESINVALID_EXEC_AND_PLATFORM_PROPERTIES = 16 [(.failure_details.metadata) = { ...LOG_DIR_CLEANUP_FAILURELOG_DIR_CLEANUP_FAILURE = 8 [(.failure_details.metadata) = { ...REMOTE_DEFAULT_PLATFORM_PROPERTIES_PARSE_FAILUREREMOTE_DEFAULT_PLATFORM_PROPERTIES_PARSE_FAILURE = 14 [(.failure_details.metadata) = { ...REMOTE_DOWNLOAD_OUTPUTS_MINIMAL_WITHOUT_INMEMORY_DOTDREMOTE_DOWNLOAD_OUTPUTS_MINIMAL_WITHOUT_INMEMORY_DOTD = 11 [(.failure_details.metadata) = { ...REMOTE_DOWNLOAD_OUTPUTS_MINIMAL_WITHOUT_INMEMORY_JDEPSREMOTE_DOWNLOAD_OUTPUTS_MINIMAL_WITHOUT_INMEMORY_JDEPS = 12 [(.failure_details.metadata) = { ...REMOTE_EXECUTION_UNKNOWNREMOTE_EXECUTION_UNKNOWN = 0 [(.failure_details.metadata) = { ...RPC_LOG_FAILURERPC_LOG_FAILURE = 4 [(.failure_details.metadata) = { ...UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intCACHE_CHANNEL_INIT_FAILURE_VALUECACHE_CHANNEL_INIT_FAILURE = 6 [(.failure_details.metadata) = { ...static intCACHE_INIT_FAILURE_VALUECACHE_INIT_FAILURE = 3 [(.failure_details.metadata) = { ...static intCAPABILITIES_QUERY_FAILURE_VALUECAPABILITIES_QUERY_FAILURE = 1 [(.failure_details.metadata) = { ...static intCLIENT_SERVER_INCOMPATIBLE_VALUECLIENT_SERVER_INCOMPATIBLE = 9 [(.failure_details.metadata) = { ...static intCREDENTIALS_INIT_FAILURE_VALUECREDENTIALS_INIT_FAILURE = 2 [(.failure_details.metadata) = { ...static intDOWNLOADED_INPUTS_DELETION_FAILURE_VALUEDOWNLOADED_INPUTS_DELETION_FAILURE = 10 [(.failure_details.metadata) = { ...static intDOWNLOADER_CHANNEL_INIT_FAILURE_VALUEDOWNLOADER_CHANNEL_INIT_FAILURE = 7 [(.failure_details.metadata) = { ...static intEXEC_CHANNEL_INIT_FAILURE_VALUEEXEC_CHANNEL_INIT_FAILURE = 5 [(.failure_details.metadata) = { ...static intILLEGAL_OUTPUT_VALUEILLEGAL_OUTPUT = 15 [(.failure_details.metadata) = { ...static intINCOMPLETE_OUTPUT_DOWNLOAD_CLEANUP_FAILURE_VALUEINCOMPLETE_OUTPUT_DOWNLOAD_CLEANUP_FAILURE = 13 [(.failure_details.metadata) = { ...static intINVALID_EXEC_AND_PLATFORM_PROPERTIES_VALUEINVALID_EXEC_AND_PLATFORM_PROPERTIES = 16 [(.failure_details.metadata) = { ...static intLOG_DIR_CLEANUP_FAILURE_VALUELOG_DIR_CLEANUP_FAILURE = 8 [(.failure_details.metadata) = { ...static intREMOTE_DEFAULT_PLATFORM_PROPERTIES_PARSE_FAILURE_VALUEREMOTE_DEFAULT_PLATFORM_PROPERTIES_PARSE_FAILURE = 14 [(.failure_details.metadata) = { ...static intREMOTE_DOWNLOAD_OUTPUTS_MINIMAL_WITHOUT_INMEMORY_DOTD_VALUEREMOTE_DOWNLOAD_OUTPUTS_MINIMAL_WITHOUT_INMEMORY_DOTD = 11 [(.failure_details.metadata) = { ...static intREMOTE_DOWNLOAD_OUTPUTS_MINIMAL_WITHOUT_INMEMORY_JDEPS_VALUEREMOTE_DOWNLOAD_OUTPUTS_MINIMAL_WITHOUT_INMEMORY_JDEPS = 12 [(.failure_details.metadata) = { ...static intREMOTE_EXECUTION_UNKNOWN_VALUEREMOTE_EXECUTION_UNKNOWN = 0 [(.failure_details.metadata) = { ...static intRPC_LOG_FAILURE_VALUERPC_LOG_FAILURE = 4 [(.failure_details.metadata) = { ...
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static FailureDetails.RemoteExecution.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.RemoteExecution.Code>internalGetValueMap()static FailureDetails.RemoteExecution.CodevalueOf(int value)Deprecated.static FailureDetails.RemoteExecution.CodevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static FailureDetails.RemoteExecution.CodevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static FailureDetails.RemoteExecution.Code[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REMOTE_EXECUTION_UNKNOWN
public static final FailureDetails.RemoteExecution.Code REMOTE_EXECUTION_UNKNOWN
REMOTE_EXECUTION_UNKNOWN = 0 [(.failure_details.metadata) = { ... }
-
CAPABILITIES_QUERY_FAILURE
public static final FailureDetails.RemoteExecution.Code CAPABILITIES_QUERY_FAILURE
CAPABILITIES_QUERY_FAILURE = 1 [(.failure_details.metadata) = { ... }
-
CREDENTIALS_INIT_FAILURE
public static final FailureDetails.RemoteExecution.Code CREDENTIALS_INIT_FAILURE
CREDENTIALS_INIT_FAILURE = 2 [(.failure_details.metadata) = { ... }
-
CACHE_INIT_FAILURE
public static final FailureDetails.RemoteExecution.Code CACHE_INIT_FAILURE
CACHE_INIT_FAILURE = 3 [(.failure_details.metadata) = { ... }
-
RPC_LOG_FAILURE
public static final FailureDetails.RemoteExecution.Code RPC_LOG_FAILURE
RPC_LOG_FAILURE = 4 [(.failure_details.metadata) = { ... }
-
EXEC_CHANNEL_INIT_FAILURE
public static final FailureDetails.RemoteExecution.Code EXEC_CHANNEL_INIT_FAILURE
EXEC_CHANNEL_INIT_FAILURE = 5 [(.failure_details.metadata) = { ... }
-
CACHE_CHANNEL_INIT_FAILURE
public static final FailureDetails.RemoteExecution.Code CACHE_CHANNEL_INIT_FAILURE
CACHE_CHANNEL_INIT_FAILURE = 6 [(.failure_details.metadata) = { ... }
-
DOWNLOADER_CHANNEL_INIT_FAILURE
public static final FailureDetails.RemoteExecution.Code DOWNLOADER_CHANNEL_INIT_FAILURE
DOWNLOADER_CHANNEL_INIT_FAILURE = 7 [(.failure_details.metadata) = { ... }
-
LOG_DIR_CLEANUP_FAILURE
public static final FailureDetails.RemoteExecution.Code LOG_DIR_CLEANUP_FAILURE
LOG_DIR_CLEANUP_FAILURE = 8 [(.failure_details.metadata) = { ... }
-
CLIENT_SERVER_INCOMPATIBLE
public static final FailureDetails.RemoteExecution.Code CLIENT_SERVER_INCOMPATIBLE
CLIENT_SERVER_INCOMPATIBLE = 9 [(.failure_details.metadata) = { ... }
-
DOWNLOADED_INPUTS_DELETION_FAILURE
public static final FailureDetails.RemoteExecution.Code DOWNLOADED_INPUTS_DELETION_FAILURE
DOWNLOADED_INPUTS_DELETION_FAILURE = 10 [(.failure_details.metadata) = { ... }
-
REMOTE_DOWNLOAD_OUTPUTS_MINIMAL_WITHOUT_INMEMORY_DOTD
public static final FailureDetails.RemoteExecution.Code REMOTE_DOWNLOAD_OUTPUTS_MINIMAL_WITHOUT_INMEMORY_DOTD
REMOTE_DOWNLOAD_OUTPUTS_MINIMAL_WITHOUT_INMEMORY_DOTD = 11 [(.failure_details.metadata) = { ... }
-
REMOTE_DOWNLOAD_OUTPUTS_MINIMAL_WITHOUT_INMEMORY_JDEPS
public static final FailureDetails.RemoteExecution.Code REMOTE_DOWNLOAD_OUTPUTS_MINIMAL_WITHOUT_INMEMORY_JDEPS
REMOTE_DOWNLOAD_OUTPUTS_MINIMAL_WITHOUT_INMEMORY_JDEPS = 12 [(.failure_details.metadata) = { ... }
-
INCOMPLETE_OUTPUT_DOWNLOAD_CLEANUP_FAILURE
public static final FailureDetails.RemoteExecution.Code INCOMPLETE_OUTPUT_DOWNLOAD_CLEANUP_FAILURE
INCOMPLETE_OUTPUT_DOWNLOAD_CLEANUP_FAILURE = 13 [(.failure_details.metadata) = { ... }
-
REMOTE_DEFAULT_PLATFORM_PROPERTIES_PARSE_FAILURE
public static final FailureDetails.RemoteExecution.Code REMOTE_DEFAULT_PLATFORM_PROPERTIES_PARSE_FAILURE
REMOTE_DEFAULT_PLATFORM_PROPERTIES_PARSE_FAILURE = 14 [(.failure_details.metadata) = { ... }
-
ILLEGAL_OUTPUT
public static final FailureDetails.RemoteExecution.Code ILLEGAL_OUTPUT
ILLEGAL_OUTPUT = 15 [(.failure_details.metadata) = { ... }
-
INVALID_EXEC_AND_PLATFORM_PROPERTIES
public static final FailureDetails.RemoteExecution.Code INVALID_EXEC_AND_PLATFORM_PROPERTIES
INVALID_EXEC_AND_PLATFORM_PROPERTIES = 16 [(.failure_details.metadata) = { ... }
-
UNRECOGNIZED
public static final FailureDetails.RemoteExecution.Code UNRECOGNIZED
-
-
Field Detail
-
REMOTE_EXECUTION_UNKNOWN_VALUE
public static final int REMOTE_EXECUTION_UNKNOWN_VALUE
REMOTE_EXECUTION_UNKNOWN = 0 [(.failure_details.metadata) = { ... }- See Also:
- Constant Field Values
-
CAPABILITIES_QUERY_FAILURE_VALUE
public static final int CAPABILITIES_QUERY_FAILURE_VALUE
CAPABILITIES_QUERY_FAILURE = 1 [(.failure_details.metadata) = { ... }- See Also:
- Constant Field Values
-
CREDENTIALS_INIT_FAILURE_VALUE
public static final int CREDENTIALS_INIT_FAILURE_VALUE
CREDENTIALS_INIT_FAILURE = 2 [(.failure_details.metadata) = { ... }- See Also:
- Constant Field Values
-
CACHE_INIT_FAILURE_VALUE
public static final int CACHE_INIT_FAILURE_VALUE
CACHE_INIT_FAILURE = 3 [(.failure_details.metadata) = { ... }- See Also:
- Constant Field Values
-
RPC_LOG_FAILURE_VALUE
public static final int RPC_LOG_FAILURE_VALUE
RPC_LOG_FAILURE = 4 [(.failure_details.metadata) = { ... }- See Also:
- Constant Field Values
-
EXEC_CHANNEL_INIT_FAILURE_VALUE
public static final int EXEC_CHANNEL_INIT_FAILURE_VALUE
EXEC_CHANNEL_INIT_FAILURE = 5 [(.failure_details.metadata) = { ... }- See Also:
- Constant Field Values
-
CACHE_CHANNEL_INIT_FAILURE_VALUE
public static final int CACHE_CHANNEL_INIT_FAILURE_VALUE
CACHE_CHANNEL_INIT_FAILURE = 6 [(.failure_details.metadata) = { ... }- See Also:
- Constant Field Values
-
DOWNLOADER_CHANNEL_INIT_FAILURE_VALUE
public static final int DOWNLOADER_CHANNEL_INIT_FAILURE_VALUE
DOWNLOADER_CHANNEL_INIT_FAILURE = 7 [(.failure_details.metadata) = { ... }- See Also:
- Constant Field Values
-
LOG_DIR_CLEANUP_FAILURE_VALUE
public static final int LOG_DIR_CLEANUP_FAILURE_VALUE
LOG_DIR_CLEANUP_FAILURE = 8 [(.failure_details.metadata) = { ... }- See Also:
- Constant Field Values
-
CLIENT_SERVER_INCOMPATIBLE_VALUE
public static final int CLIENT_SERVER_INCOMPATIBLE_VALUE
CLIENT_SERVER_INCOMPATIBLE = 9 [(.failure_details.metadata) = { ... }- See Also:
- Constant Field Values
-
DOWNLOADED_INPUTS_DELETION_FAILURE_VALUE
public static final int DOWNLOADED_INPUTS_DELETION_FAILURE_VALUE
DOWNLOADED_INPUTS_DELETION_FAILURE = 10 [(.failure_details.metadata) = { ... }- See Also:
- Constant Field Values
-
REMOTE_DOWNLOAD_OUTPUTS_MINIMAL_WITHOUT_INMEMORY_DOTD_VALUE
public static final int REMOTE_DOWNLOAD_OUTPUTS_MINIMAL_WITHOUT_INMEMORY_DOTD_VALUE
REMOTE_DOWNLOAD_OUTPUTS_MINIMAL_WITHOUT_INMEMORY_DOTD = 11 [(.failure_details.metadata) = { ... }- See Also:
- Constant Field Values
-
REMOTE_DOWNLOAD_OUTPUTS_MINIMAL_WITHOUT_INMEMORY_JDEPS_VALUE
public static final int REMOTE_DOWNLOAD_OUTPUTS_MINIMAL_WITHOUT_INMEMORY_JDEPS_VALUE
REMOTE_DOWNLOAD_OUTPUTS_MINIMAL_WITHOUT_INMEMORY_JDEPS = 12 [(.failure_details.metadata) = { ... }- See Also:
- Constant Field Values
-
INCOMPLETE_OUTPUT_DOWNLOAD_CLEANUP_FAILURE_VALUE
public static final int INCOMPLETE_OUTPUT_DOWNLOAD_CLEANUP_FAILURE_VALUE
INCOMPLETE_OUTPUT_DOWNLOAD_CLEANUP_FAILURE = 13 [(.failure_details.metadata) = { ... }- See Also:
- Constant Field Values
-
REMOTE_DEFAULT_PLATFORM_PROPERTIES_PARSE_FAILURE_VALUE
public static final int REMOTE_DEFAULT_PLATFORM_PROPERTIES_PARSE_FAILURE_VALUE
REMOTE_DEFAULT_PLATFORM_PROPERTIES_PARSE_FAILURE = 14 [(.failure_details.metadata) = { ... }- See Also:
- Constant Field Values
-
ILLEGAL_OUTPUT_VALUE
public static final int ILLEGAL_OUTPUT_VALUE
ILLEGAL_OUTPUT = 15 [(.failure_details.metadata) = { ... }- See Also:
- Constant Field Values
-
INVALID_EXEC_AND_PLATFORM_PROPERTIES_VALUE
public static final int INVALID_EXEC_AND_PLATFORM_PROPERTIES_VALUE
INVALID_EXEC_AND_PLATFORM_PROPERTIES = 16 [(.failure_details.metadata) = { ... }- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static FailureDetails.RemoteExecution.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.RemoteExecution.Code c : FailureDetails.RemoteExecution.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.RemoteExecution.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.RemoteExecution.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.RemoteExecution.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.RemoteExecution.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.RemoteExecution.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
-
-