Interface BuildEventStreamProtos.BuildMetrics.WorkerMetricsOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
BuildEventStreamProtos.BuildMetrics.WorkerMetrics, BuildEventStreamProtos.BuildMetrics.WorkerMetrics.Builder
Enclosing class:
BuildEventStreamProtos.BuildMetrics

public static interface BuildEventStreamProtos.BuildMetrics.WorkerMetricsOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getWorkerId

      @Deprecated int getWorkerId()
      Deprecated.
      build_event_stream.BuildMetrics.WorkerMetrics.worker_id is deprecated. See third_party/bazel/src/main/java/com/google/devtools/build/lib/buildeventstream/proto/build_event_stream.proto;l=1199
       Deprecated. Use worker_ids instead of this field.
       
      int32 worker_id = 1 [deprecated = true];
      Returns:
      The workerId.
    • getWorkerIdsList

      List<Integer> getWorkerIdsList()
       Ids of workers. Could be multiple in case of multiplex workers
       
      repeated uint32 worker_ids = 8;
      Returns:
      A list containing the workerIds.
    • getWorkerIdsCount

      int getWorkerIdsCount()
       Ids of workers. Could be multiple in case of multiplex workers
       
      repeated uint32 worker_ids = 8;
      Returns:
      The count of workerIds.
    • getWorkerIds

      int getWorkerIds(int index)
       Ids of workers. Could be multiple in case of multiplex workers
       
      repeated uint32 worker_ids = 8;
      Parameters:
      index - The index of the element to return.
      Returns:
      The workerIds at the given index.
    • getProcessId

      int getProcessId()
       Worker process id. If there is no process for worker, equals to zero.
       
      uint32 process_id = 2;
      Returns:
      The processId.
    • getMnemonic

      String getMnemonic()
       Mnemonic of running worker.
       
      string mnemonic = 3;
      Returns:
      The mnemonic.
    • getMnemonicBytes

      com.google.protobuf.ByteString getMnemonicBytes()
       Mnemonic of running worker.
       
      string mnemonic = 3;
      Returns:
      The bytes for mnemonic.
    • getIsMultiplex

      boolean getIsMultiplex()
       Multiplex or singleplex worker.
       
      bool is_multiplex = 4;
      Returns:
      The isMultiplex.
    • getIsSandbox

      boolean getIsSandbox()
       Using worker sandbox file system or not.
       
      bool is_sandbox = 5;
      Returns:
      The isSandbox.
    • getIsMeasurable

      boolean getIsMeasurable()
       TODO(b/300067854): Deprecate since all worker metrics should have their
       WorkerStats set.
       
      bool is_measurable = 6;
      Returns:
      The isMeasurable.
    • getWorkerKeyHash

      long getWorkerKeyHash()
       Hash value of worker key. Needed to distinguish worker pools with same
       menmonic but with different worker keys.
       
      int64 worker_key_hash = 9;
      Returns:
      The workerKeyHash.
    • getWorkerStatusValue

      int getWorkerStatusValue()
      .build_event_stream.BuildMetrics.WorkerMetrics.WorkerStatus worker_status = 10;
      Returns:
      The enum numeric value on the wire for workerStatus.
    • getWorkerStatus

      .build_event_stream.BuildMetrics.WorkerMetrics.WorkerStatus worker_status = 10;
      Returns:
      The workerStatus.
    • hasCode

      boolean hasCode()
      optional .failure_details.Worker.Code code = 12;
      Returns:
      Whether the code field is set.
    • getCodeValue

      int getCodeValue()
      optional .failure_details.Worker.Code code = 12;
      Returns:
      The enum numeric value on the wire for code.
    • getCode

      optional .failure_details.Worker.Code code = 12;
      Returns:
      The code.
    • getActionsExecuted

      long getActionsExecuted()
      int64 actions_executed = 11;
      Returns:
      The actionsExecuted.
    • getPriorActionsExecuted

      long getPriorActionsExecuted()
      int64 prior_actions_executed = 13;
      Returns:
      The priorActionsExecuted.
    • getWorkerStatsList

       Combined workers statistics.
       
      repeated .build_event_stream.BuildMetrics.WorkerMetrics.WorkerStats worker_stats = 7;
    • getWorkerStats

       Combined workers statistics.
       
      repeated .build_event_stream.BuildMetrics.WorkerMetrics.WorkerStats worker_stats = 7;
    • getWorkerStatsCount

      int getWorkerStatsCount()
       Combined workers statistics.
       
      repeated .build_event_stream.BuildMetrics.WorkerMetrics.WorkerStats worker_stats = 7;
    • getWorkerStatsOrBuilderList

       Combined workers statistics.
       
      repeated .build_event_stream.BuildMetrics.WorkerMetrics.WorkerStats worker_stats = 7;
    • getWorkerStatsOrBuilder

       Combined workers statistics.
       
      repeated .build_event_stream.BuildMetrics.WorkerMetrics.WorkerStats worker_stats = 7;