Enum FailureDetails.ActionQuery.Code

  • All Implemented Interfaces:
    com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, java.io.Serializable, java.lang.Comparable<FailureDetails.ActionQuery.Code>
    Enclosing class:
    FailureDetails.ActionQuery

    public static enum FailureDetails.ActionQuery.Code
    extends java.lang.Enum<FailureDetails.ActionQuery.Code>
    implements com.google.protobuf.ProtocolMessageEnum
     All numerical exit code associations correspond to pre-existing Bazel
     behavior. These associations are suspicious:
     - COMMAND_LINE_EXPANSION_FAILURE: this is associated with 2, the numerical
         exit code for "bad Bazel command line", but is generated when an
         action's command line fails to expand, which sounds similar but is
         completely different.
     - OUTPUT_FAILURE: this is associated with 6, an undocumented exit code.
     - INVALID_AQUERY_EXPRESSION: this is associate with 1, which is not
        documented for (a)query.
     TODO(b/138456686): Revise these after the (intentionally non-breaking)
      initial rollout of FailureDetail-based encoding.
     
    Protobuf enum failure_details.ActionQuery.Code
    • Enum Constant Detail

      • ACTION_QUERY_UNKNOWN

        public static final FailureDetails.ActionQuery.Code ACTION_QUERY_UNKNOWN
        ACTION_QUERY_UNKNOWN = 0 [(.failure_details.metadata) = { ... }
      • COMMAND_LINE_EXPANSION_FAILURE

        public static final FailureDetails.ActionQuery.Code COMMAND_LINE_EXPANSION_FAILURE
        COMMAND_LINE_EXPANSION_FAILURE = 1 [(.failure_details.metadata) = { ... }
      • COMMAND_LINE_EXPRESSION_MISSING

        public static final FailureDetails.ActionQuery.Code COMMAND_LINE_EXPRESSION_MISSING
        COMMAND_LINE_EXPRESSION_MISSING = 3 [(.failure_details.metadata) = { ... }
      • EXPRESSION_PARSE_FAILURE

        public static final FailureDetails.ActionQuery.Code EXPRESSION_PARSE_FAILURE
        EXPRESSION_PARSE_FAILURE = 4 [(.failure_details.metadata) = { ... }
      • SKYFRAME_STATE_WITH_COMMAND_LINE_EXPRESSION

        public static final FailureDetails.ActionQuery.Code SKYFRAME_STATE_WITH_COMMAND_LINE_EXPRESSION
        SKYFRAME_STATE_WITH_COMMAND_LINE_EXPRESSION = 5 [(.failure_details.metadata) = { ... }
      • INVALID_AQUERY_EXPRESSION

        public static final FailureDetails.ActionQuery.Code INVALID_AQUERY_EXPRESSION
        INVALID_AQUERY_EXPRESSION = 6 [(.failure_details.metadata) = { ... }
      • SKYFRAME_STATE_PREREQ_UNMET

        public static final FailureDetails.ActionQuery.Code SKYFRAME_STATE_PREREQ_UNMET
        SKYFRAME_STATE_PREREQ_UNMET = 7 [(.failure_details.metadata) = { ... }
      • AQUERY_OUTPUT_TOO_BIG

        public static final FailureDetails.ActionQuery.Code AQUERY_OUTPUT_TOO_BIG
        AQUERY_OUTPUT_TOO_BIG = 8 [(.failure_details.metadata) = { ... }
      • ILLEGAL_PATTERN_SYNTAX

        public static final FailureDetails.ActionQuery.Code ILLEGAL_PATTERN_SYNTAX
        ILLEGAL_PATTERN_SYNTAX = 9 [(.failure_details.metadata) = { ... }
      • INCORRECT_ARGUMENTS

        public static final FailureDetails.ActionQuery.Code INCORRECT_ARGUMENTS
        INCORRECT_ARGUMENTS = 10 [(.failure_details.metadata) = { ... }
      • TOP_LEVEL_TARGETS_WITH_SKYFRAME_STATE_NOT_SUPPORTED

        public static final FailureDetails.ActionQuery.Code TOP_LEVEL_TARGETS_WITH_SKYFRAME_STATE_NOT_SUPPORTED
        TOP_LEVEL_TARGETS_WITH_SKYFRAME_STATE_NOT_SUPPORTED = 11 [(.failure_details.metadata) = { ... }
      • SKYFRAME_STATE_AFTER_EXECUTION

        public static final FailureDetails.ActionQuery.Code SKYFRAME_STATE_AFTER_EXECUTION
        SKYFRAME_STATE_AFTER_EXECUTION = 12 [(.failure_details.metadata) = { ... }
      • LABELS_FUNCTION_NOT_SUPPORTED

        public static final FailureDetails.ActionQuery.Code LABELS_FUNCTION_NOT_SUPPORTED
        LABELS_FUNCTION_NOT_SUPPORTED = 13 [(.failure_details.metadata) = { ... }
    • Field Detail

      • ACTION_QUERY_UNKNOWN_VALUE

        public static final int ACTION_QUERY_UNKNOWN_VALUE
        ACTION_QUERY_UNKNOWN = 0 [(.failure_details.metadata) = { ... }
        See Also:
        Constant Field Values
      • COMMAND_LINE_EXPANSION_FAILURE_VALUE

        public static final int COMMAND_LINE_EXPANSION_FAILURE_VALUE
        COMMAND_LINE_EXPANSION_FAILURE = 1 [(.failure_details.metadata) = { ... }
        See Also:
        Constant Field Values
      • OUTPUT_FAILURE_VALUE

        public static final int OUTPUT_FAILURE_VALUE
        OUTPUT_FAILURE = 2 [(.failure_details.metadata) = { ... }
        See Also:
        Constant Field Values
      • COMMAND_LINE_EXPRESSION_MISSING_VALUE

        public static final int COMMAND_LINE_EXPRESSION_MISSING_VALUE
        COMMAND_LINE_EXPRESSION_MISSING = 3 [(.failure_details.metadata) = { ... }
        See Also:
        Constant Field Values
      • EXPRESSION_PARSE_FAILURE_VALUE

        public static final int EXPRESSION_PARSE_FAILURE_VALUE
        EXPRESSION_PARSE_FAILURE = 4 [(.failure_details.metadata) = { ... }
        See Also:
        Constant Field Values
      • SKYFRAME_STATE_WITH_COMMAND_LINE_EXPRESSION_VALUE

        public static final int SKYFRAME_STATE_WITH_COMMAND_LINE_EXPRESSION_VALUE
        SKYFRAME_STATE_WITH_COMMAND_LINE_EXPRESSION = 5 [(.failure_details.metadata) = { ... }
        See Also:
        Constant Field Values
      • INVALID_AQUERY_EXPRESSION_VALUE

        public static final int INVALID_AQUERY_EXPRESSION_VALUE
        INVALID_AQUERY_EXPRESSION = 6 [(.failure_details.metadata) = { ... }
        See Also:
        Constant Field Values
      • SKYFRAME_STATE_PREREQ_UNMET_VALUE

        public static final int SKYFRAME_STATE_PREREQ_UNMET_VALUE
        SKYFRAME_STATE_PREREQ_UNMET = 7 [(.failure_details.metadata) = { ... }
        See Also:
        Constant Field Values
      • AQUERY_OUTPUT_TOO_BIG_VALUE

        public static final int AQUERY_OUTPUT_TOO_BIG_VALUE
        AQUERY_OUTPUT_TOO_BIG = 8 [(.failure_details.metadata) = { ... }
        See Also:
        Constant Field Values
      • ILLEGAL_PATTERN_SYNTAX_VALUE

        public static final int ILLEGAL_PATTERN_SYNTAX_VALUE
        ILLEGAL_PATTERN_SYNTAX = 9 [(.failure_details.metadata) = { ... }
        See Also:
        Constant Field Values
      • INCORRECT_ARGUMENTS_VALUE

        public static final int INCORRECT_ARGUMENTS_VALUE
        INCORRECT_ARGUMENTS = 10 [(.failure_details.metadata) = { ... }
        See Also:
        Constant Field Values
      • TOP_LEVEL_TARGETS_WITH_SKYFRAME_STATE_NOT_SUPPORTED_VALUE

        public static final int TOP_LEVEL_TARGETS_WITH_SKYFRAME_STATE_NOT_SUPPORTED_VALUE
        TOP_LEVEL_TARGETS_WITH_SKYFRAME_STATE_NOT_SUPPORTED = 11 [(.failure_details.metadata) = { ... }
        See Also:
        Constant Field Values
      • SKYFRAME_STATE_AFTER_EXECUTION_VALUE

        public static final int SKYFRAME_STATE_AFTER_EXECUTION_VALUE
        SKYFRAME_STATE_AFTER_EXECUTION = 12 [(.failure_details.metadata) = { ... }
        See Also:
        Constant Field Values
      • LABELS_FUNCTION_NOT_SUPPORTED_VALUE

        public static final int LABELS_FUNCTION_NOT_SUPPORTED_VALUE
        LABELS_FUNCTION_NOT_SUPPORTED = 13 [(.failure_details.metadata) = { ... }
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static FailureDetails.ActionQuery.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.ActionQuery.Code c : FailureDetails.ActionQuery.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.ActionQuery.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 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 FailureDetails.ActionQuery.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 name
        java.lang.NullPointerException - if the argument is null
      • forNumber

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