Enum Class BuildEventStreamProtos.BuildMetrics.WorkerMetrics.WorkerStatus

java.lang.Object
java.lang.Enum<BuildEventStreamProtos.BuildMetrics.WorkerMetrics.WorkerStatus>
com.google.devtools.build.lib.buildeventstream.BuildEventStreamProtos.BuildMetrics.WorkerMetrics.WorkerStatus
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<BuildEventStreamProtos.BuildMetrics.WorkerMetrics.WorkerStatus>, Constable
Enclosing class:
BuildEventStreamProtos.BuildMetrics.WorkerMetrics

public static enum BuildEventStreamProtos.BuildMetrics.WorkerMetrics.WorkerStatus extends Enum<BuildEventStreamProtos.BuildMetrics.WorkerMetrics.WorkerStatus> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum build_event_stream.BuildMetrics.WorkerMetrics.WorkerStatus
  • Enum Constant Details

  • Field Details

    • NOT_STARTED_VALUE

      public static final int NOT_STARTED_VALUE
       Used to indicate a worker instance where the process has not been
       created yet. In reality this isn't logged, but leaving this here as a
       possible option in the future.
       
      NOT_STARTED = 0;
      See Also:
    • ALIVE_VALUE

      public static final int ALIVE_VALUE
      ALIVE = 1;
      See Also:
    • KILLED_DUE_TO_MEMORY_PRESSURE_VALUE

      public static final int KILLED_DUE_TO_MEMORY_PRESSURE_VALUE
      KILLED_DUE_TO_MEMORY_PRESSURE = 2;
      See Also:
    • KILLED_UNKNOWN_VALUE

      public static final int KILLED_UNKNOWN_VALUE
       Indicates that the worker process was killed due to a reason unknown to
       Bazel at the point of measurement; if a known cause (below) comes along
       later on, this field will be updated.
       
      KILLED_UNKNOWN = 3;
      See Also:
    • KILLED_DUE_TO_INTERRUPTED_EXCEPTION_VALUE

      public static final int KILLED_DUE_TO_INTERRUPTED_EXCEPTION_VALUE
      KILLED_DUE_TO_INTERRUPTED_EXCEPTION = 4;
      See Also:
    • KILLED_DUE_TO_IO_EXCEPTION_VALUE

      public static final int KILLED_DUE_TO_IO_EXCEPTION_VALUE
      KILLED_DUE_TO_IO_EXCEPTION = 5;
      See Also:
    • KILLED_DUE_TO_USER_EXEC_EXCEPTION_VALUE

      public static final int KILLED_DUE_TO_USER_EXEC_EXCEPTION_VALUE
      KILLED_DUE_TO_USER_EXEC_EXCEPTION = 6;
      See Also:
  • Method Details

    • 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

      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.
      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

      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<BuildEventStreamProtos.BuildMetrics.WorkerMetrics.WorkerStatus> 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 BuildEventStreamProtos.BuildMetrics.WorkerMetrics.WorkerStatus 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