Enum FailureDetails.Spawn.Code

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

    public static enum FailureDetails.Spawn.Code
    extends java.lang.Enum<FailureDetails.Spawn.Code>
    implements com.google.protobuf.ProtocolMessageEnum
    Protobuf enum failure_details.Spawn.Code
    • Enum Constant Detail

      • SPAWN_UNKNOWN

        public static final FailureDetails.Spawn.Code SPAWN_UNKNOWN
        SPAWN_UNKNOWN = 0 [(.failure_details.metadata) = { ... }
      • NON_ZERO_EXIT

        public static final FailureDetails.Spawn.Code NON_ZERO_EXIT
         See the SpawnResult.Status Java enum for definitions of the following
         Spawn failure codes.
         
        NON_ZERO_EXIT = 1 [(.failure_details.metadata) = { ... }
      • OUT_OF_MEMORY

        public static final FailureDetails.Spawn.Code OUT_OF_MEMORY
         Note: Spawn OUT_OF_MEMORY leads to a BUILD_FAILURE exit_code because the
         build tool itself did not run out of memory.
         
        OUT_OF_MEMORY = 3 [(.failure_details.metadata) = { ... }
      • EXECUTION_FAILED

        public static final FailureDetails.Spawn.Code EXECUTION_FAILED
        EXECUTION_FAILED = 4 [(.failure_details.metadata) = { ... }
      • EXECUTION_DENIED

        public static final FailureDetails.Spawn.Code EXECUTION_DENIED
        EXECUTION_DENIED = 5 [(.failure_details.metadata) = { ... }
      • REMOTE_CACHE_FAILED

        public static final FailureDetails.Spawn.Code REMOTE_CACHE_FAILED
        REMOTE_CACHE_FAILED = 6 [(.failure_details.metadata) = { ... }
      • COMMAND_LINE_EXPANSION_FAILURE

        public static final FailureDetails.Spawn.Code COMMAND_LINE_EXPANSION_FAILURE
        COMMAND_LINE_EXPANSION_FAILURE = 7 [(.failure_details.metadata) = { ... }
      • EXEC_IO_EXCEPTION

        public static final FailureDetails.Spawn.Code EXEC_IO_EXCEPTION
        EXEC_IO_EXCEPTION = 8 [(.failure_details.metadata) = { ... }
      • INVALID_TIMEOUT

        public static final FailureDetails.Spawn.Code INVALID_TIMEOUT
        INVALID_TIMEOUT = 9 [(.failure_details.metadata) = { ... }
      • INVALID_REMOTE_EXECUTION_PROPERTIES

        public static final FailureDetails.Spawn.Code INVALID_REMOTE_EXECUTION_PROPERTIES
        INVALID_REMOTE_EXECUTION_PROPERTIES = 10 [(.failure_details.metadata) = { ... }
      • NO_USABLE_STRATEGY_FOUND

        public static final FailureDetails.Spawn.Code NO_USABLE_STRATEGY_FOUND
        NO_USABLE_STRATEGY_FOUND = 11 [(.failure_details.metadata) = { ... }
      • UNSPECIFIED_EXECUTION_FAILURE

        public static final FailureDetails.Spawn.Code UNSPECIFIED_EXECUTION_FAILURE
         TODO(b/138456686): this code should be deprecated when SpawnResult is
           refactored to prohibit undetailed failures
         
        UNSPECIFIED_EXECUTION_FAILURE = 12 [(.failure_details.metadata) = { ... }
      • FORBIDDEN_INPUT

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

      • SPAWN_UNKNOWN_VALUE

        public static final int SPAWN_UNKNOWN_VALUE
        SPAWN_UNKNOWN = 0 [(.failure_details.metadata) = { ... }
        See Also:
        Constant Field Values
      • NON_ZERO_EXIT_VALUE

        public static final int NON_ZERO_EXIT_VALUE
         See the SpawnResult.Status Java enum for definitions of the following
         Spawn failure codes.
         
        NON_ZERO_EXIT = 1 [(.failure_details.metadata) = { ... }
        See Also:
        Constant Field Values
      • TIMEOUT_VALUE

        public static final int TIMEOUT_VALUE
        TIMEOUT = 2 [(.failure_details.metadata) = { ... }
        See Also:
        Constant Field Values
      • OUT_OF_MEMORY_VALUE

        public static final int OUT_OF_MEMORY_VALUE
         Note: Spawn OUT_OF_MEMORY leads to a BUILD_FAILURE exit_code because the
         build tool itself did not run out of memory.
         
        OUT_OF_MEMORY = 3 [(.failure_details.metadata) = { ... }
        See Also:
        Constant Field Values
      • EXECUTION_FAILED_VALUE

        public static final int EXECUTION_FAILED_VALUE
        EXECUTION_FAILED = 4 [(.failure_details.metadata) = { ... }
        See Also:
        Constant Field Values
      • EXECUTION_DENIED_VALUE

        public static final int EXECUTION_DENIED_VALUE
        EXECUTION_DENIED = 5 [(.failure_details.metadata) = { ... }
        See Also:
        Constant Field Values
      • REMOTE_CACHE_FAILED_VALUE

        public static final int REMOTE_CACHE_FAILED_VALUE
        REMOTE_CACHE_FAILED = 6 [(.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 = 7 [(.failure_details.metadata) = { ... }
        See Also:
        Constant Field Values
      • EXEC_IO_EXCEPTION_VALUE

        public static final int EXEC_IO_EXCEPTION_VALUE
        EXEC_IO_EXCEPTION = 8 [(.failure_details.metadata) = { ... }
        See Also:
        Constant Field Values
      • INVALID_TIMEOUT_VALUE

        public static final int INVALID_TIMEOUT_VALUE
        INVALID_TIMEOUT = 9 [(.failure_details.metadata) = { ... }
        See Also:
        Constant Field Values
      • INVALID_REMOTE_EXECUTION_PROPERTIES_VALUE

        public static final int INVALID_REMOTE_EXECUTION_PROPERTIES_VALUE
        INVALID_REMOTE_EXECUTION_PROPERTIES = 10 [(.failure_details.metadata) = { ... }
        See Also:
        Constant Field Values
      • NO_USABLE_STRATEGY_FOUND_VALUE

        public static final int NO_USABLE_STRATEGY_FOUND_VALUE
        NO_USABLE_STRATEGY_FOUND = 11 [(.failure_details.metadata) = { ... }
        See Also:
        Constant Field Values
      • UNSPECIFIED_EXECUTION_FAILURE_VALUE

        public static final int UNSPECIFIED_EXECUTION_FAILURE_VALUE
         TODO(b/138456686): this code should be deprecated when SpawnResult is
           refactored to prohibit undetailed failures
         
        UNSPECIFIED_EXECUTION_FAILURE = 12 [(.failure_details.metadata) = { ... }
        See Also:
        Constant Field Values
      • FORBIDDEN_INPUT_VALUE

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

      • values

        public static FailureDetails.Spawn.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.Spawn.Code c : FailureDetails.Spawn.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.Spawn.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.Spawn.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.Spawn.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.
      • internalGetValueMap

        public static com.google.protobuf.Internal.EnumLiteMap<FailureDetails.Spawn.Code> 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 FailureDetails.Spawn.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