Enum Class FailureDetails.MemoryOptions.Code

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

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

    • MEMORY_OPTIONS_UNKNOWN

      public static final FailureDetails.MemoryOptions.Code MEMORY_OPTIONS_UNKNOWN
      MEMORY_OPTIONS_UNKNOWN = 0 [(.failure_details.metadata) = { ... }
    • DEPRECATED_EXPERIMENTAL_OOM_MORE_EAGERLY_THRESHOLD_INVALID_VALUE

      @Deprecated public static final FailureDetails.MemoryOptions.Code DEPRECATED_EXPERIMENTAL_OOM_MORE_EAGERLY_THRESHOLD_INVALID_VALUE
      Deprecated.
       Deprecated: validation is now implemented by the option converter.
       
      DEPRECATED_EXPERIMENTAL_OOM_MORE_EAGERLY_THRESHOLD_INVALID_VALUE = 1 [deprecated = true, (.failure_details.metadata) = { ... }
    • DEPRECATED_EXPERIMENTAL_OOM_MORE_EAGERLY_NO_TENURED_COLLECTORS_FOUND

      @Deprecated public static final FailureDetails.MemoryOptions.Code DEPRECATED_EXPERIMENTAL_OOM_MORE_EAGERLY_NO_TENURED_COLLECTORS_FOUND
      Deprecated.
       Deprecated: no tenured collectors found is now a crash on startup.
       
      DEPRECATED_EXPERIMENTAL_OOM_MORE_EAGERLY_NO_TENURED_COLLECTORS_FOUND = 2 [deprecated = true, (.failure_details.metadata) = { ... }
    • UNRECOGNIZED

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

    • MEMORY_OPTIONS_UNKNOWN_VALUE

      public static final int MEMORY_OPTIONS_UNKNOWN_VALUE
      MEMORY_OPTIONS_UNKNOWN = 0 [(.failure_details.metadata) = { ... }
      See Also:
    • DEPRECATED_EXPERIMENTAL_OOM_MORE_EAGERLY_THRESHOLD_INVALID_VALUE_VALUE

      @Deprecated public static final int DEPRECATED_EXPERIMENTAL_OOM_MORE_EAGERLY_THRESHOLD_INVALID_VALUE_VALUE
      Deprecated.
       Deprecated: validation is now implemented by the option converter.
       
      DEPRECATED_EXPERIMENTAL_OOM_MORE_EAGERLY_THRESHOLD_INVALID_VALUE = 1 [deprecated = true, (.failure_details.metadata) = { ... }
      See Also:
    • DEPRECATED_EXPERIMENTAL_OOM_MORE_EAGERLY_NO_TENURED_COLLECTORS_FOUND_VALUE

      @Deprecated public static final int DEPRECATED_EXPERIMENTAL_OOM_MORE_EAGERLY_NO_TENURED_COLLECTORS_FOUND_VALUE
      Deprecated.
       Deprecated: no tenured collectors found is now a crash on startup.
       
      DEPRECATED_EXPERIMENTAL_OOM_MORE_EAGERLY_NO_TENURED_COLLECTORS_FOUND = 2 [deprecated = true, (.failure_details.metadata) = { ... }
      See Also:
  • Method Details

    • values

      public static FailureDetails.MemoryOptions.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.MemoryOptions.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.MemoryOptions.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.MemoryOptions.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.MemoryOptions.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.MemoryOptions.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