Enum 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,java.io.Serializable,java.lang.Comparable<BuildEventStreamProtos.Aborted.AbortReason>
- Enclosing class:
- BuildEventStreamProtos.Aborted
public static enum BuildEventStreamProtos.Aborted.AbortReason extends java.lang.Enum<BuildEventStreamProtos.Aborted.AbortReason> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumbuild_event_stream.Aborted.AbortReason
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANALYSIS_FAILUREA Failure occurred in the analysis phase of a target.INCOMPLETEBuild incomplete due to an earlier build failure (e.g.INTERNALFailure due to reasons entirely internal to the build tool, i.e.LOADING_FAILUREA Failure occurred in the loading phase of a target.NO_ANALYZEThe user requested that no analysis be performed.NO_BUILDThe user requested that no build be carried out.OUT_OF_MEMORYThe build tool ran out of memory and crashed.REMOTE_ENVIRONMENT_FAILUREThe build or target was aborted as some remote environment (e.g., for remote execution of actions) was not available in the expected way.SKIPPEDTarget build was skipped (e.g.TIME_OUTThe build or target was aborted as a timeout was exceeded.UNKNOWNUNKNOWN = 0;UNRECOGNIZEDUSER_INTERRUPTEDThe user requested the build to be aborted (e.g., by hitting Ctl-C).
-
Field Summary
Fields Modifier and Type Field Description static intANALYSIS_FAILURE_VALUEA Failure occurred in the analysis phase of a target.static intINCOMPLETE_VALUEBuild incomplete due to an earlier build failure (e.g.static intINTERNAL_VALUEFailure due to reasons entirely internal to the build tool, i.e.static intLOADING_FAILURE_VALUEA Failure occurred in the loading phase of a target.static intNO_ANALYZE_VALUEThe user requested that no analysis be performed.static intNO_BUILD_VALUEThe user requested that no build be carried out.static intOUT_OF_MEMORY_VALUEThe build tool ran out of memory and crashed.static intREMOTE_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.static intSKIPPED_VALUETarget build was skipped (e.g.static intTIME_OUT_VALUEThe build or target was aborted as a timeout was exceeded.static intUNKNOWN_VALUEUNKNOWN = 0;static intUSER_INTERRUPTED_VALUEThe user requested the build to be aborted (e.g., by hitting Ctl-C).
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static BuildEventStreamProtos.Aborted.AbortReasonforNumber(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<BuildEventStreamProtos.Aborted.AbortReason>internalGetValueMap()static BuildEventStreamProtos.Aborted.AbortReasonvalueOf(int value)Deprecated.static BuildEventStreamProtos.Aborted.AbortReasonvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static BuildEventStreamProtos.Aborted.AbortReasonvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static BuildEventStreamProtos.Aborted.AbortReason[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final BuildEventStreamProtos.Aborted.AbortReason UNKNOWN
UNKNOWN = 0;
-
USER_INTERRUPTED
public static final BuildEventStreamProtos.Aborted.AbortReason USER_INTERRUPTED
The user requested the build to be aborted (e.g., by hitting Ctl-C).
USER_INTERRUPTED = 1;
-
NO_ANALYZE
public static final BuildEventStreamProtos.Aborted.AbortReason NO_ANALYZE
The user requested that no analysis be performed.
NO_ANALYZE = 8;
-
NO_BUILD
public static final BuildEventStreamProtos.Aborted.AbortReason NO_BUILD
The user requested that no build be carried out.
NO_BUILD = 9;
-
TIME_OUT
public static final BuildEventStreamProtos.Aborted.AbortReason TIME_OUT
The build or target was aborted as a timeout was exceeded.
TIME_OUT = 2;
-
REMOTE_ENVIRONMENT_FAILURE
public static final BuildEventStreamProtos.Aborted.AbortReason 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
public static final BuildEventStreamProtos.Aborted.AbortReason INTERNAL
Failure due to reasons entirely internal to the build tool, i.e. an unexpected crash due to programmer error.
INTERNAL = 4;
-
LOADING_FAILURE
public static final BuildEventStreamProtos.Aborted.AbortReason LOADING_FAILURE
A Failure occurred in the loading phase of a target.
LOADING_FAILURE = 5;
-
ANALYSIS_FAILURE
public static final BuildEventStreamProtos.Aborted.AbortReason ANALYSIS_FAILURE
A Failure occurred in the analysis phase of a target.
ANALYSIS_FAILURE = 6;
-
SKIPPED
public static final BuildEventStreamProtos.Aborted.AbortReason SKIPPED
Target build was skipped (e.g. due to incompatible CPU constraints).
SKIPPED = 7;
-
INCOMPLETE
public static final BuildEventStreamProtos.Aborted.AbortReason 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
public static final BuildEventStreamProtos.Aborted.AbortReason OUT_OF_MEMORY
The build tool ran out of memory and crashed.
OUT_OF_MEMORY = 11;
-
UNRECOGNIZED
public static final BuildEventStreamProtos.Aborted.AbortReason UNRECOGNIZED
-
-
Field Detail
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUE
UNKNOWN = 0;- See Also:
- Constant Field Values
-
USER_INTERRUPTED_VALUE
public static final int USER_INTERRUPTED_VALUE
The user requested the build to be aborted (e.g., by hitting Ctl-C).
USER_INTERRUPTED = 1;- See Also:
- Constant Field Values
-
NO_ANALYZE_VALUE
public static final int NO_ANALYZE_VALUE
The user requested that no analysis be performed.
NO_ANALYZE = 8;- See Also:
- Constant Field Values
-
NO_BUILD_VALUE
public static final int NO_BUILD_VALUE
The user requested that no build be carried out.
NO_BUILD = 9;- See Also:
- Constant Field Values
-
TIME_OUT_VALUE
public static final int TIME_OUT_VALUE
The build or target was aborted as a timeout was exceeded.
TIME_OUT = 2;- See Also:
- Constant Field Values
-
REMOTE_ENVIRONMENT_FAILURE_VALUE
public static final int REMOTE_ENVIRONMENT_FAILURE_VALUE
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;- See Also:
- Constant Field Values
-
INTERNAL_VALUE
public static final int INTERNAL_VALUE
Failure due to reasons entirely internal to the build tool, i.e. an unexpected crash due to programmer error.
INTERNAL = 4;- See Also:
- Constant Field Values
-
LOADING_FAILURE_VALUE
public static final int LOADING_FAILURE_VALUE
A Failure occurred in the loading phase of a target.
LOADING_FAILURE = 5;- See Also:
- Constant Field Values
-
ANALYSIS_FAILURE_VALUE
public static final int ANALYSIS_FAILURE_VALUE
A Failure occurred in the analysis phase of a target.
ANALYSIS_FAILURE = 6;- See Also:
- Constant Field Values
-
SKIPPED_VALUE
public static final int SKIPPED_VALUE
Target build was skipped (e.g. due to incompatible CPU constraints).
SKIPPED = 7;- See Also:
- Constant Field Values
-
INCOMPLETE_VALUE
public static final int INCOMPLETE_VALUE
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;- See Also:
- Constant Field Values
-
OUT_OF_MEMORY_VALUE
public static final int OUT_OF_MEMORY_VALUE
The build tool ran out of memory and crashed.
OUT_OF_MEMORY = 11;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static BuildEventStreamProtos.Aborted.AbortReason[] 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 (BuildEventStreamProtos.Aborted.AbortReason c : BuildEventStreamProtos.Aborted.AbortReason.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BuildEventStreamProtos.Aborted.AbortReason 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 BuildEventStreamProtos.Aborted.AbortReason 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 BuildEventStreamProtos.Aborted.AbortReason 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<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 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
-
-