Enum Class FailureDetails.Command.Code

java.lang.Object
java.lang.Enum<FailureDetails.Command.Code>
com.google.devtools.build.lib.server.FailureDetails.Command.Code
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<FailureDetails.Command.Code>, Constable
Enclosing class:
FailureDetails.Command

public static enum FailureDetails.Command.Code extends Enum<FailureDetails.Command.Code> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum failure_details.Command.Code
  • Enum Constant Details

    • COMMAND_FAILURE_UNKNOWN

      public static final FailureDetails.Command.Code COMMAND_FAILURE_UNKNOWN
       The name "COMMAND_UNKNOWN" might reasonably be interpreted as "command
       not found". The enum's default value should represent a lack of knowledge
       about the failure instead.
       
      COMMAND_FAILURE_UNKNOWN = 0 [(.failure_details.metadata) = { ... }
    • COMMAND_NOT_FOUND

      public static final FailureDetails.Command.Code COMMAND_NOT_FOUND
      COMMAND_NOT_FOUND = 1 [(.failure_details.metadata) = { ... }
    • ANOTHER_COMMAND_RUNNING

      public static final FailureDetails.Command.Code ANOTHER_COMMAND_RUNNING
      ANOTHER_COMMAND_RUNNING = 2 [(.failure_details.metadata) = { ... }
    • PREVIOUSLY_SHUTDOWN

      public static final FailureDetails.Command.Code PREVIOUSLY_SHUTDOWN
      PREVIOUSLY_SHUTDOWN = 3 [(.failure_details.metadata) = { ... }
    • STARLARK_CPU_PROFILE_FILE_INITIALIZATION_FAILURE

      public static final FailureDetails.Command.Code STARLARK_CPU_PROFILE_FILE_INITIALIZATION_FAILURE
      STARLARK_CPU_PROFILE_FILE_INITIALIZATION_FAILURE = 4 [(.failure_details.metadata) = { ... }
    • STARLARK_CPU_PROFILING_INITIALIZATION_FAILURE

      public static final FailureDetails.Command.Code STARLARK_CPU_PROFILING_INITIALIZATION_FAILURE
      STARLARK_CPU_PROFILING_INITIALIZATION_FAILURE = 5 [(.failure_details.metadata) = { ... }
    • STARLARK_CPU_PROFILE_FILE_WRITE_FAILURE

      public static final FailureDetails.Command.Code STARLARK_CPU_PROFILE_FILE_WRITE_FAILURE
      STARLARK_CPU_PROFILE_FILE_WRITE_FAILURE = 6 [(.failure_details.metadata) = { ... }
    • INVOCATION_POLICY_PARSE_FAILURE

      public static final FailureDetails.Command.Code INVOCATION_POLICY_PARSE_FAILURE
      INVOCATION_POLICY_PARSE_FAILURE = 7 [(.failure_details.metadata) = { ... }
    • INVOCATION_POLICY_INVALID

      public static final FailureDetails.Command.Code INVOCATION_POLICY_INVALID
      INVOCATION_POLICY_INVALID = 8 [(.failure_details.metadata) = { ... }
    • OPTIONS_PARSE_FAILURE

      public static final FailureDetails.Command.Code OPTIONS_PARSE_FAILURE
      OPTIONS_PARSE_FAILURE = 9 [(.failure_details.metadata) = { ... }
    • STARLARK_OPTIONS_PARSE_FAILURE

      public static final FailureDetails.Command.Code STARLARK_OPTIONS_PARSE_FAILURE
      STARLARK_OPTIONS_PARSE_FAILURE = 10 [(.failure_details.metadata) = { ... }
    • ARGUMENTS_NOT_RECOGNIZED

      public static final FailureDetails.Command.Code ARGUMENTS_NOT_RECOGNIZED
      ARGUMENTS_NOT_RECOGNIZED = 11 [(.failure_details.metadata) = { ... }
    • NOT_IN_WORKSPACE

      public static final FailureDetails.Command.Code NOT_IN_WORKSPACE
      NOT_IN_WORKSPACE = 12 [(.failure_details.metadata) = { ... }
    • IN_OUTPUT_DIRECTORY

      public static final FailureDetails.Command.Code IN_OUTPUT_DIRECTORY
      IN_OUTPUT_DIRECTORY = 14 [(.failure_details.metadata) = { ... }
    • UNRECOGNIZED

      public static final FailureDetails.Command.Code UNRECOGNIZED
  • Field Details

    • COMMAND_FAILURE_UNKNOWN_VALUE

      public static final int COMMAND_FAILURE_UNKNOWN_VALUE
       The name "COMMAND_UNKNOWN" might reasonably be interpreted as "command
       not found". The enum's default value should represent a lack of knowledge
       about the failure instead.
       
      COMMAND_FAILURE_UNKNOWN = 0 [(.failure_details.metadata) = { ... }
      See Also:
    • COMMAND_NOT_FOUND_VALUE

      public static final int COMMAND_NOT_FOUND_VALUE
      COMMAND_NOT_FOUND = 1 [(.failure_details.metadata) = { ... }
      See Also:
    • ANOTHER_COMMAND_RUNNING_VALUE

      public static final int ANOTHER_COMMAND_RUNNING_VALUE
      ANOTHER_COMMAND_RUNNING = 2 [(.failure_details.metadata) = { ... }
      See Also:
    • PREVIOUSLY_SHUTDOWN_VALUE

      public static final int PREVIOUSLY_SHUTDOWN_VALUE
      PREVIOUSLY_SHUTDOWN = 3 [(.failure_details.metadata) = { ... }
      See Also:
    • STARLARK_CPU_PROFILE_FILE_INITIALIZATION_FAILURE_VALUE

      public static final int STARLARK_CPU_PROFILE_FILE_INITIALIZATION_FAILURE_VALUE
      STARLARK_CPU_PROFILE_FILE_INITIALIZATION_FAILURE = 4 [(.failure_details.metadata) = { ... }
      See Also:
    • STARLARK_CPU_PROFILING_INITIALIZATION_FAILURE_VALUE

      public static final int STARLARK_CPU_PROFILING_INITIALIZATION_FAILURE_VALUE
      STARLARK_CPU_PROFILING_INITIALIZATION_FAILURE = 5 [(.failure_details.metadata) = { ... }
      See Also:
    • STARLARK_CPU_PROFILE_FILE_WRITE_FAILURE_VALUE

      public static final int STARLARK_CPU_PROFILE_FILE_WRITE_FAILURE_VALUE
      STARLARK_CPU_PROFILE_FILE_WRITE_FAILURE = 6 [(.failure_details.metadata) = { ... }
      See Also:
    • INVOCATION_POLICY_PARSE_FAILURE_VALUE

      public static final int INVOCATION_POLICY_PARSE_FAILURE_VALUE
      INVOCATION_POLICY_PARSE_FAILURE = 7 [(.failure_details.metadata) = { ... }
      See Also:
    • INVOCATION_POLICY_INVALID_VALUE

      public static final int INVOCATION_POLICY_INVALID_VALUE
      INVOCATION_POLICY_INVALID = 8 [(.failure_details.metadata) = { ... }
      See Also:
    • OPTIONS_PARSE_FAILURE_VALUE

      public static final int OPTIONS_PARSE_FAILURE_VALUE
      OPTIONS_PARSE_FAILURE = 9 [(.failure_details.metadata) = { ... }
      See Also:
    • STARLARK_OPTIONS_PARSE_FAILURE_VALUE

      public static final int STARLARK_OPTIONS_PARSE_FAILURE_VALUE
      STARLARK_OPTIONS_PARSE_FAILURE = 10 [(.failure_details.metadata) = { ... }
      See Also:
    • ARGUMENTS_NOT_RECOGNIZED_VALUE

      public static final int ARGUMENTS_NOT_RECOGNIZED_VALUE
      ARGUMENTS_NOT_RECOGNIZED = 11 [(.failure_details.metadata) = { ... }
      See Also:
    • NOT_IN_WORKSPACE_VALUE

      public static final int NOT_IN_WORKSPACE_VALUE
      NOT_IN_WORKSPACE = 12 [(.failure_details.metadata) = { ... }
      See Also:
    • IN_OUTPUT_DIRECTORY_VALUE

      public static final int IN_OUTPUT_DIRECTORY_VALUE
      IN_OUTPUT_DIRECTORY = 14 [(.failure_details.metadata) = { ... }
      See Also:
  • Method Details

    • values

      public static FailureDetails.Command.Code[] 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 FailureDetails.Command.Code 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 FailureDetails.Command.Code 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 FailureDetails.Command.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.Command.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.Command.Code 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