Enum FailureDetails.WorkspaceStatus.Code
- java.lang.Object
-
- java.lang.Enum<FailureDetails.WorkspaceStatus.Code>
-
- com.google.devtools.build.lib.server.FailureDetails.WorkspaceStatus.Code
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,java.io.Serializable,java.lang.Comparable<FailureDetails.WorkspaceStatus.Code>
- Enclosing class:
- FailureDetails.WorkspaceStatus
public static enum FailureDetails.WorkspaceStatus.Code extends java.lang.Enum<FailureDetails.WorkspaceStatus.Code> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumfailure_details.WorkspaceStatus.Code
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ABNORMAL_TERMINATIONABNORMAL_TERMINATION = 2 [(.failure_details.metadata) = { ...CONTENT_UPDATE_IO_EXCEPTIONCONTENT_UPDATE_IO_EXCEPTION = 6 [(.failure_details.metadata) = { ...EXEC_FAILEDEXEC_FAILED = 3 [(.failure_details.metadata) = { ...NON_ZERO_EXITNON_ZERO_EXIT = 1 [(.failure_details.metadata) = { ...PARSE_FAILUREPARSE_FAILURE = 4 [(.failure_details.metadata) = { ...STDERR_IO_EXCEPTIONSTDERR_IO_EXCEPTION = 7 [(.failure_details.metadata) = { ...UNRECOGNIZEDVALIDATION_FAILUREVALIDATION_FAILURE = 5 [(.failure_details.metadata) = { ...WORKSPACE_STATUS_UNKNOWNWORKSPACE_STATUS_UNKNOWN = 0 [(.failure_details.metadata) = { ...
-
Field Summary
Fields Modifier and Type Field Description static intABNORMAL_TERMINATION_VALUEABNORMAL_TERMINATION = 2 [(.failure_details.metadata) = { ...static intCONTENT_UPDATE_IO_EXCEPTION_VALUECONTENT_UPDATE_IO_EXCEPTION = 6 [(.failure_details.metadata) = { ...static intEXEC_FAILED_VALUEEXEC_FAILED = 3 [(.failure_details.metadata) = { ...static intNON_ZERO_EXIT_VALUENON_ZERO_EXIT = 1 [(.failure_details.metadata) = { ...static intPARSE_FAILURE_VALUEPARSE_FAILURE = 4 [(.failure_details.metadata) = { ...static intSTDERR_IO_EXCEPTION_VALUESTDERR_IO_EXCEPTION = 7 [(.failure_details.metadata) = { ...static intVALIDATION_FAILURE_VALUEVALIDATION_FAILURE = 5 [(.failure_details.metadata) = { ...static intWORKSPACE_STATUS_UNKNOWN_VALUEWORKSPACE_STATUS_UNKNOWN = 0 [(.failure_details.metadata) = { ...
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static FailureDetails.WorkspaceStatus.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.WorkspaceStatus.Code>internalGetValueMap()static FailureDetails.WorkspaceStatus.CodevalueOf(int value)Deprecated.static FailureDetails.WorkspaceStatus.CodevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static FailureDetails.WorkspaceStatus.CodevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static FailureDetails.WorkspaceStatus.Code[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
WORKSPACE_STATUS_UNKNOWN
public static final FailureDetails.WorkspaceStatus.Code WORKSPACE_STATUS_UNKNOWN
WORKSPACE_STATUS_UNKNOWN = 0 [(.failure_details.metadata) = { ... }
-
NON_ZERO_EXIT
public static final FailureDetails.WorkspaceStatus.Code NON_ZERO_EXIT
NON_ZERO_EXIT = 1 [(.failure_details.metadata) = { ... }
-
ABNORMAL_TERMINATION
public static final FailureDetails.WorkspaceStatus.Code ABNORMAL_TERMINATION
ABNORMAL_TERMINATION = 2 [(.failure_details.metadata) = { ... }
-
EXEC_FAILED
public static final FailureDetails.WorkspaceStatus.Code EXEC_FAILED
EXEC_FAILED = 3 [(.failure_details.metadata) = { ... }
-
PARSE_FAILURE
public static final FailureDetails.WorkspaceStatus.Code PARSE_FAILURE
PARSE_FAILURE = 4 [(.failure_details.metadata) = { ... }
-
VALIDATION_FAILURE
public static final FailureDetails.WorkspaceStatus.Code VALIDATION_FAILURE
VALIDATION_FAILURE = 5 [(.failure_details.metadata) = { ... }
-
CONTENT_UPDATE_IO_EXCEPTION
public static final FailureDetails.WorkspaceStatus.Code CONTENT_UPDATE_IO_EXCEPTION
CONTENT_UPDATE_IO_EXCEPTION = 6 [(.failure_details.metadata) = { ... }
-
STDERR_IO_EXCEPTION
public static final FailureDetails.WorkspaceStatus.Code STDERR_IO_EXCEPTION
STDERR_IO_EXCEPTION = 7 [(.failure_details.metadata) = { ... }
-
UNRECOGNIZED
public static final FailureDetails.WorkspaceStatus.Code UNRECOGNIZED
-
-
Field Detail
-
WORKSPACE_STATUS_UNKNOWN_VALUE
public static final int WORKSPACE_STATUS_UNKNOWN_VALUE
WORKSPACE_STATUS_UNKNOWN = 0 [(.failure_details.metadata) = { ... }- See Also:
- Constant Field Values
-
NON_ZERO_EXIT_VALUE
public static final int NON_ZERO_EXIT_VALUE
NON_ZERO_EXIT = 1 [(.failure_details.metadata) = { ... }- See Also:
- Constant Field Values
-
ABNORMAL_TERMINATION_VALUE
public static final int ABNORMAL_TERMINATION_VALUE
ABNORMAL_TERMINATION = 2 [(.failure_details.metadata) = { ... }- See Also:
- Constant Field Values
-
EXEC_FAILED_VALUE
public static final int EXEC_FAILED_VALUE
EXEC_FAILED = 3 [(.failure_details.metadata) = { ... }- See Also:
- Constant Field Values
-
PARSE_FAILURE_VALUE
public static final int PARSE_FAILURE_VALUE
PARSE_FAILURE = 4 [(.failure_details.metadata) = { ... }- See Also:
- Constant Field Values
-
VALIDATION_FAILURE_VALUE
public static final int VALIDATION_FAILURE_VALUE
VALIDATION_FAILURE = 5 [(.failure_details.metadata) = { ... }- See Also:
- Constant Field Values
-
CONTENT_UPDATE_IO_EXCEPTION_VALUE
public static final int CONTENT_UPDATE_IO_EXCEPTION_VALUE
CONTENT_UPDATE_IO_EXCEPTION = 6 [(.failure_details.metadata) = { ... }- See Also:
- Constant Field Values
-
STDERR_IO_EXCEPTION_VALUE
public static final int STDERR_IO_EXCEPTION_VALUE
STDERR_IO_EXCEPTION = 7 [(.failure_details.metadata) = { ... }- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static FailureDetails.WorkspaceStatus.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.WorkspaceStatus.Code c : FailureDetails.WorkspaceStatus.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.WorkspaceStatus.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.WorkspaceStatus.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.WorkspaceStatus.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.WorkspaceStatus.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.WorkspaceStatus.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
-
-