Interface BuildEventStreamProtos.TestSummaryOrBuilder

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

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

    • getOverallStatusValue

      int getOverallStatusValue()
       Wrapper around BlazeTestStatus to support importing that enum to proto3.
       Overall status of test, accumulated over all runs, shards, and attempts.
       
      .build_event_stream.TestStatus overall_status = 5;
      Returns:
      The enum numeric value on the wire for overallStatus.
    • getOverallStatus

       Wrapper around BlazeTestStatus to support importing that enum to proto3.
       Overall status of test, accumulated over all runs, shards, and attempts.
       
      .build_event_stream.TestStatus overall_status = 5;
      Returns:
      The overallStatus.
    • getTotalRunCount

      int getTotalRunCount()
       Total number of shard attempts.
       E.g., if a target has 4 runs, 3 shards, each with 2 attempts,
       then total_run_count will be 4*3*2 = 24.
       
      int32 total_run_count = 1;
      Returns:
      The totalRunCount.
    • getRunCount

      int getRunCount()
       Value of runs_per_test for the test.
       
      int32 run_count = 10;
      Returns:
      The runCount.
    • getAttemptCount

      int getAttemptCount()
       Number of attempts.
       If there are a different number of attempts per shard, the highest attempt
       count across all shards for each run is used.
       
      int32 attempt_count = 15;
      Returns:
      The attemptCount.
    • getShardCount

      int getShardCount()
       Number of shards.
       
      int32 shard_count = 11;
      Returns:
      The shardCount.
    • getPassedList

       Path to logs of passed runs.
       
      repeated .build_event_stream.File passed = 3;
    • getPassed

      BuildEventStreamProtos.File getPassed(int index)
       Path to logs of passed runs.
       
      repeated .build_event_stream.File passed = 3;
    • getPassedCount

      int getPassedCount()
       Path to logs of passed runs.
       
      repeated .build_event_stream.File passed = 3;
    • getPassedOrBuilderList

      List<? extends BuildEventStreamProtos.FileOrBuilder> getPassedOrBuilderList()
       Path to logs of passed runs.
       
      repeated .build_event_stream.File passed = 3;
    • getPassedOrBuilder

      BuildEventStreamProtos.FileOrBuilder getPassedOrBuilder(int index)
       Path to logs of passed runs.
       
      repeated .build_event_stream.File passed = 3;
    • getFailedList

       Path to logs of failed runs;
       
      repeated .build_event_stream.File failed = 4;
    • getFailed

      BuildEventStreamProtos.File getFailed(int index)
       Path to logs of failed runs;
       
      repeated .build_event_stream.File failed = 4;
    • getFailedCount

      int getFailedCount()
       Path to logs of failed runs;
       
      repeated .build_event_stream.File failed = 4;
    • getFailedOrBuilderList

      List<? extends BuildEventStreamProtos.FileOrBuilder> getFailedOrBuilderList()
       Path to logs of failed runs;
       
      repeated .build_event_stream.File failed = 4;
    • getFailedOrBuilder

      BuildEventStreamProtos.FileOrBuilder getFailedOrBuilder(int index)
       Path to logs of failed runs;
       
      repeated .build_event_stream.File failed = 4;
    • getTotalNumCached

      int getTotalNumCached()
       Total number of cached test actions
       
      int32 total_num_cached = 6;
      Returns:
      The totalNumCached.
    • getFirstStartTimeMillis

      @Deprecated long getFirstStartTimeMillis()
      Deprecated.
      build_event_stream.TestSummary.first_start_time_millis is deprecated. See third_party/bazel/src/main/java/com/google/devtools/build/lib/buildeventstream/proto/build_event_stream.proto;l=813
       When the test first started running.
      
       Deprecated, use `first_start_time` instead.
      
       TODO(yannic): Remove.
       
      int64 first_start_time_millis = 7 [deprecated = true];
      Returns:
      The firstStartTimeMillis.
    • hasFirstStartTime

      boolean hasFirstStartTime()
       When the test first started running.
       
      .google.protobuf.Timestamp first_start_time = 13;
      Returns:
      Whether the firstStartTime field is set.
    • getFirstStartTime

      com.google.protobuf.Timestamp getFirstStartTime()
       When the test first started running.
       
      .google.protobuf.Timestamp first_start_time = 13;
      Returns:
      The firstStartTime.
    • getFirstStartTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getFirstStartTimeOrBuilder()
       When the test first started running.
       
      .google.protobuf.Timestamp first_start_time = 13;
    • getLastStopTimeMillis

      @Deprecated long getLastStopTimeMillis()
      Deprecated.
      build_event_stream.TestSummary.last_stop_time_millis is deprecated. See third_party/bazel/src/main/java/com/google/devtools/build/lib/buildeventstream/proto/build_event_stream.proto;l=823
       When the last test action completed.
      
       Deprecated, use `last_stop_time` instead.
      
       TODO(yannic): Remove.
       
      int64 last_stop_time_millis = 8 [deprecated = true];
      Returns:
      The lastStopTimeMillis.
    • hasLastStopTime

      boolean hasLastStopTime()
       When the test first started running.
       
      .google.protobuf.Timestamp last_stop_time = 14;
      Returns:
      Whether the lastStopTime field is set.
    • getLastStopTime

      com.google.protobuf.Timestamp getLastStopTime()
       When the test first started running.
       
      .google.protobuf.Timestamp last_stop_time = 14;
      Returns:
      The lastStopTime.
    • getLastStopTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getLastStopTimeOrBuilder()
       When the test first started running.
       
      .google.protobuf.Timestamp last_stop_time = 14;
    • getTotalRunDurationMillis

      @Deprecated long getTotalRunDurationMillis()
      Deprecated.
      build_event_stream.TestSummary.total_run_duration_millis is deprecated. See third_party/bazel/src/main/java/com/google/devtools/build/lib/buildeventstream/proto/build_event_stream.proto;l=833
       The total runtime of the test.
      
       Deprecated, use `total_run` instead.
      
       TODO(yannic): Remove.
       
      int64 total_run_duration_millis = 9 [deprecated = true];
      Returns:
      The totalRunDurationMillis.
    • hasTotalRunDuration

      boolean hasTotalRunDuration()
       The total runtime of the test.
       
      .google.protobuf.Duration total_run_duration = 12;
      Returns:
      Whether the totalRunDuration field is set.
    • getTotalRunDuration

      com.google.protobuf.Duration getTotalRunDuration()
       The total runtime of the test.
       
      .google.protobuf.Duration total_run_duration = 12;
      Returns:
      The totalRunDuration.
    • getTotalRunDurationOrBuilder

      com.google.protobuf.DurationOrBuilder getTotalRunDurationOrBuilder()
       The total runtime of the test.
       
      .google.protobuf.Duration total_run_duration = 12;