Enum BuildEventStreamProtos.Aborted.AbortReason

    • Field Detail

      • 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 name
        java.lang.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 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 name
        java.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.
      • 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 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 name
        java.lang.NullPointerException - if the argument is null