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
  • Enum Constant Details

  • Field Details

    • UNKNOWN_VALUE

      public static final int UNKNOWN_VALUE
      UNKNOWN = 0;
      See Also:
    • 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:
    • NO_ANALYZE_VALUE

      public static final int NO_ANALYZE_VALUE
       The user requested that no analysis be performed.
       
      NO_ANALYZE = 8;
      See Also:
    • NO_BUILD_VALUE

      public static final int NO_BUILD_VALUE
       The user requested that no build be carried out.
       
      NO_BUILD = 9;
      See Also:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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:
    • SKIPPED_VALUE

      public static final int SKIPPED_VALUE
       Target build was skipped (e.g. due to incompatible CPU constraints).
       
      SKIPPED = 7;
      See Also:
    • 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:
    • 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:
  • 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

      public static BuildEventStreamProtos.Aborted.AbortReason valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static BuildEventStreamProtos.Aborted.AbortReason valueOf(int value)
      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 name
      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:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.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 name
      NullPointerException - if the argument is null