Enum FailureDetails.Command.Code

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

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

      • 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) = { ... }
      • SPACES_IN_WORKSPACE_PATH

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

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

      • 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:
        Constant Field Values
      • COMMAND_NOT_FOUND_VALUE

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

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

        public static final int PREVIOUSLY_SHUTDOWN_VALUE
        PREVIOUSLY_SHUTDOWN = 3 [(.failure_details.metadata) = { ... }
        See Also:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • INVOCATION_POLICY_PARSE_FAILURE_VALUE

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

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

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

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

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

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

        public static final int SPACES_IN_WORKSPACE_PATH_VALUE
        SPACES_IN_WORKSPACE_PATH = 13 [(.failure_details.metadata) = { ... }
        See Also:
        Constant Field Values
      • IN_OUTPUT_DIRECTORY_VALUE

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

      • values

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