Enum Class BuildEventStreamProtos.Aborted.AbortReason
java.lang.Object
java.lang.Enum<BuildEventStreamProtos.Aborted.AbortReason>
com.google.devtools.build.lib.buildeventstream.BuildEventStreamProtos.Aborted.AbortReason
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<BuildEventStreamProtos.Aborted.AbortReason>,Constable
- Enclosing class:
- BuildEventStreamProtos.Aborted
public static enum BuildEventStreamProtos.Aborted.AbortReason
extends Enum<BuildEventStreamProtos.Aborted.AbortReason>
implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum
build_event_stream.Aborted.AbortReason-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA Failure occurred in the analysis phase of a target.Build incomplete due to an earlier build failure (e.g.Failure due to reasons entirely internal to the build tool, i.e.A Failure occurred in the loading phase of a target.The user requested that no analysis be performed.The user requested that no build be carried out.The build tool ran out of memory and crashed.The build or target was aborted as some remote environment (e.g., for remote execution of actions) was not available in the expected way.Target build was skipped (e.g.The build or target was aborted as a timeout was exceeded.UNKNOWN = 0;The user requested the build to be aborted (e.g., by hitting Ctl-C). -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intA Failure occurred in the analysis phase of a target.static final intBuild incomplete due to an earlier build failure (e.g.static final intFailure due to reasons entirely internal to the build tool, i.e.static final intA Failure occurred in the loading phase of a target.static final intThe user requested that no analysis be performed.static final intThe user requested that no build be carried out.static final intThe build tool ran out of memory and crashed.static final intThe build or target was aborted as some remote environment (e.g., for remote execution of actions) was not available in the expected way.static final intTarget build was skipped (e.g.static final intThe build or target was aborted as a timeout was exceeded.static final intUNKNOWN = 0;static final intThe user requested the build to be aborted (e.g., by hitting Ctl-C). -
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<BuildEventStreamProtos.Aborted.AbortReason>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
-
UNKNOWN
UNKNOWN = 0; -
USER_INTERRUPTED
The user requested the build to be aborted (e.g., by hitting Ctl-C).
USER_INTERRUPTED = 1; -
NO_ANALYZE
The user requested that no analysis be performed.
NO_ANALYZE = 8; -
NO_BUILD
The user requested that no build be carried out.
NO_BUILD = 9; -
TIME_OUT
The build or target was aborted as a timeout was exceeded.
TIME_OUT = 2; -
REMOTE_ENVIRONMENT_FAILURE
The build or target was aborted as some remote environment (e.g., for remote execution of actions) was not available in the expected way.
REMOTE_ENVIRONMENT_FAILURE = 3; -
INTERNAL
Failure due to reasons entirely internal to the build tool, i.e. an unexpected crash due to programmer error.
INTERNAL = 4; -
LOADING_FAILURE
A Failure occurred in the loading phase of a target.
LOADING_FAILURE = 5; -
ANALYSIS_FAILURE
A Failure occurred in the analysis phase of a target.
ANALYSIS_FAILURE = 6; -
SKIPPED
Target build was skipped (e.g. due to incompatible CPU constraints).
SKIPPED = 7; -
INCOMPLETE
Build incomplete due to an earlier build failure (e.g. --keep_going was set to false causing the build be ended upon failure).
INCOMPLETE = 10; -
OUT_OF_MEMORY
The build tool ran out of memory and crashed.
OUT_OF_MEMORY = 11; -
UNRECOGNIZED
-
-
Field Details
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUEUNKNOWN = 0;- See Also:
-
USER_INTERRUPTED_VALUE
public static final int USER_INTERRUPTED_VALUEThe user requested the build to be aborted (e.g., by hitting Ctl-C).
USER_INTERRUPTED = 1;- See Also:
-
NO_ANALYZE_VALUE
public static final int NO_ANALYZE_VALUEThe user requested that no analysis be performed.
NO_ANALYZE = 8;- See Also:
-
NO_BUILD_VALUE
public static final int NO_BUILD_VALUEThe user requested that no build be carried out.
NO_BUILD = 9;- See Also:
-
TIME_OUT_VALUE
public static final int TIME_OUT_VALUEThe build or target was aborted as a timeout was exceeded.
TIME_OUT = 2;- See Also:
-
REMOTE_ENVIRONMENT_FAILURE_VALUE
public static final int REMOTE_ENVIRONMENT_FAILURE_VALUEThe build or target was aborted as some remote environment (e.g., for remote execution of actions) was not available in the expected way.
REMOTE_ENVIRONMENT_FAILURE = 3;- See Also:
-
INTERNAL_VALUE
public static final int INTERNAL_VALUEFailure due to reasons entirely internal to the build tool, i.e. an unexpected crash due to programmer error.
INTERNAL = 4;- See Also:
-
LOADING_FAILURE_VALUE
public static final int LOADING_FAILURE_VALUEA Failure occurred in the loading phase of a target.
LOADING_FAILURE = 5;- See Also:
-
ANALYSIS_FAILURE_VALUE
public static final int ANALYSIS_FAILURE_VALUEA Failure occurred in the analysis phase of a target.
ANALYSIS_FAILURE = 6;- See Also:
-
SKIPPED_VALUE
public static final int SKIPPED_VALUETarget build was skipped (e.g. due to incompatible CPU constraints).
SKIPPED = 7;- See Also:
-
INCOMPLETE_VALUE
public static final int INCOMPLETE_VALUEBuild incomplete due to an earlier build failure (e.g. --keep_going was set to false causing the build be ended upon failure).
INCOMPLETE = 10;- See Also:
-
OUT_OF_MEMORY_VALUE
public static final int OUT_OF_MEMORY_VALUEThe build tool ran out of memory and crashed.
OUT_OF_MEMORY = 11;- 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<BuildEventStreamProtos.Aborted.AbortReason> 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 BuildEventStreamProtos.Aborted.AbortReason 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
-