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 Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description intgetAttemptCount()Number of attempts.BuildEventStreamProtos.FilegetFailed(int index)Path to logs of failed runs;intgetFailedCount()Path to logs of failed runs;java.util.List<BuildEventStreamProtos.File>getFailedList()Path to logs of failed runs;BuildEventStreamProtos.FileOrBuildergetFailedOrBuilder(int index)Path to logs of failed runs;java.util.List<? extends BuildEventStreamProtos.FileOrBuilder>getFailedOrBuilderList()Path to logs of failed runs;com.google.protobuf.TimestampgetFirstStartTime()When the test first started running.longgetFirstStartTimeMillis()Deprecated.build_event_stream.TestSummary.first_start_time_millis is deprecated.com.google.protobuf.TimestampOrBuildergetFirstStartTimeOrBuilder()When the test first started running.com.google.protobuf.TimestampgetLastStopTime()When the test first started running.longgetLastStopTimeMillis()Deprecated.build_event_stream.TestSummary.last_stop_time_millis is deprecated.com.google.protobuf.TimestampOrBuildergetLastStopTimeOrBuilder()When the test first started running.BuildEventStreamProtos.TestStatusgetOverallStatus()Wrapper around BlazeTestStatus to support importing that enum to proto3.intgetOverallStatusValue()Wrapper around BlazeTestStatus to support importing that enum to proto3.BuildEventStreamProtos.FilegetPassed(int index)Path to logs of passed runs.intgetPassedCount()Path to logs of passed runs.java.util.List<BuildEventStreamProtos.File>getPassedList()Path to logs of passed runs.BuildEventStreamProtos.FileOrBuildergetPassedOrBuilder(int index)Path to logs of passed runs.java.util.List<? extends BuildEventStreamProtos.FileOrBuilder>getPassedOrBuilderList()Path to logs of passed runs.intgetRunCount()Value of runs_per_test for the test.intgetShardCount()Number of shards.intgetTotalNumCached()Total number of cached test actionsintgetTotalRunCount()Total number of shard attempts.com.google.protobuf.DurationgetTotalRunDuration()The total runtime of the test.longgetTotalRunDurationMillis()Deprecated.build_event_stream.TestSummary.total_run_duration_millis is deprecated.com.google.protobuf.DurationOrBuildergetTotalRunDurationOrBuilder()The total runtime of the test.booleanhasFirstStartTime()When the test first started running.booleanhasLastStopTime()When the test first started running.booleanhasTotalRunDuration()The total runtime of the test.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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
BuildEventStreamProtos.TestStatus 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
java.util.List<BuildEventStreamProtos.File> 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
java.util.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
java.util.List<BuildEventStreamProtos.File> 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
java.util.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 src/main/java/com/google/devtools/build/lib/buildeventstream/proto/build_event_stream.proto;l=737When 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 src/main/java/com/google/devtools/build/lib/buildeventstream/proto/build_event_stream.proto;l=747When 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 src/main/java/com/google/devtools/build/lib/buildeventstream/proto/build_event_stream.proto;l=757The 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;
-
-