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
Modifier and TypeMethodDescriptionintNumber of attempts.getFailed(int index) Path to logs of failed runs;intPath to logs of failed runs;Path to logs of failed runs;getFailedOrBuilder(int index) Path to logs of failed runs;List<? extends BuildEventStreamProtos.FileOrBuilder>Path to logs of failed runs;com.google.protobuf.TimestampWhen the test first started running.longDeprecated.build_event_stream.TestSummary.first_start_time_millis is deprecated.com.google.protobuf.TimestampOrBuilderWhen the test first started running.com.google.protobuf.TimestampWhen the test first started running.longDeprecated.build_event_stream.TestSummary.last_stop_time_millis is deprecated.com.google.protobuf.TimestampOrBuilderWhen the test first started running.Wrapper around BlazeTestStatus to support importing that enum to proto3.intWrapper around BlazeTestStatus to support importing that enum to proto3.getPassed(int index) Path to logs of passed runs.intPath to logs of passed runs.Path to logs of passed runs.getPassedOrBuilder(int index) Path to logs of passed runs.List<? extends BuildEventStreamProtos.FileOrBuilder>Path to logs of passed runs.intValue of runs_per_test for the test.intNumber of shards.intTotal number of cached test actionsintTotal number of shard attempts.com.google.protobuf.DurationThe total runtime of the test.longDeprecated.build_event_stream.TestSummary.total_run_duration_millis is deprecated.com.google.protobuf.DurationOrBuilderThe total runtime of the test.booleanWhen the test first started running.booleanWhen the test first started running.booleanThe total runtime of the test.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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
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
List<BuildEventStreamProtos.File> getPassedList()Path to logs of passed runs.
repeated .build_event_stream.File passed = 3; -
getPassed
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
Path to logs of passed runs.
repeated .build_event_stream.File passed = 3; -
getFailedList
List<BuildEventStreamProtos.File> getFailedList()Path to logs of failed runs;
repeated .build_event_stream.File failed = 4; -
getFailed
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
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.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=813When 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.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=823When 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.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=833The 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;
-