Class BuildEventStreamProtos.TestSummary
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.devtools.build.lib.buildeventstream.BuildEventStreamProtos.TestSummary
- All Implemented Interfaces:
BuildEventStreamProtos.TestSummaryOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- BuildEventStreamProtos
public static final class BuildEventStreamProtos.TestSummary
extends com.google.protobuf.GeneratedMessage
implements BuildEventStreamProtos.TestSummaryOrBuilder
Payload of the event summarizing a test.Protobuf type
build_event_stream.TestSummary- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classPayload of the event summarizing a test.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanintNumber of attempts.static final com.google.protobuf.Descriptors.DescriptorgetFailed(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.com.google.protobuf.Parser<BuildEventStreamProtos.TestSummary>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.intintNumber 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.inthashCode()booleanWhen the test first started running.booleanThe total runtime of the test.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(BuildEventStreamProtos.TestSummary prototype) newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<BuildEventStreamProtos.TestSummary>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
OVERALL_STATUS_FIELD_NUMBER
public static final int OVERALL_STATUS_FIELD_NUMBER- See Also:
-
TOTAL_RUN_COUNT_FIELD_NUMBER
public static final int TOTAL_RUN_COUNT_FIELD_NUMBER- See Also:
-
RUN_COUNT_FIELD_NUMBER
public static final int RUN_COUNT_FIELD_NUMBER- See Also:
-
ATTEMPT_COUNT_FIELD_NUMBER
public static final int ATTEMPT_COUNT_FIELD_NUMBER- See Also:
-
SHARD_COUNT_FIELD_NUMBER
public static final int SHARD_COUNT_FIELD_NUMBER- See Also:
-
PASSED_FIELD_NUMBER
public static final int PASSED_FIELD_NUMBER- See Also:
-
FAILED_FIELD_NUMBER
public static final int FAILED_FIELD_NUMBER- See Also:
-
TOTAL_NUM_CACHED_FIELD_NUMBER
public static final int TOTAL_NUM_CACHED_FIELD_NUMBER- See Also:
-
FIRST_START_TIME_MILLIS_FIELD_NUMBER
public static final int FIRST_START_TIME_MILLIS_FIELD_NUMBER- See Also:
-
FIRST_START_TIME_FIELD_NUMBER
public static final int FIRST_START_TIME_FIELD_NUMBER- See Also:
-
LAST_STOP_TIME_MILLIS_FIELD_NUMBER
public static final int LAST_STOP_TIME_MILLIS_FIELD_NUMBER- See Also:
-
LAST_STOP_TIME_FIELD_NUMBER
public static final int LAST_STOP_TIME_FIELD_NUMBER- See Also:
-
TOTAL_RUN_DURATION_MILLIS_FIELD_NUMBER
public static final int TOTAL_RUN_DURATION_MILLIS_FIELD_NUMBER- See Also:
-
TOTAL_RUN_DURATION_FIELD_NUMBER
public static final int TOTAL_RUN_DURATION_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getOverallStatusValue
public 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;- Specified by:
getOverallStatusValuein interfaceBuildEventStreamProtos.TestSummaryOrBuilder- 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;- Specified by:
getOverallStatusin interfaceBuildEventStreamProtos.TestSummaryOrBuilder- Returns:
- The overallStatus.
-
getTotalRunCount
public 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;- Specified by:
getTotalRunCountin interfaceBuildEventStreamProtos.TestSummaryOrBuilder- Returns:
- The totalRunCount.
-
getRunCount
public int getRunCount()Value of runs_per_test for the test.
int32 run_count = 10;- Specified by:
getRunCountin interfaceBuildEventStreamProtos.TestSummaryOrBuilder- Returns:
- The runCount.
-
getAttemptCount
public 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;- Specified by:
getAttemptCountin interfaceBuildEventStreamProtos.TestSummaryOrBuilder- Returns:
- The attemptCount.
-
getShardCount
public int getShardCount()Number of shards.
int32 shard_count = 11;- Specified by:
getShardCountin interfaceBuildEventStreamProtos.TestSummaryOrBuilder- Returns:
- The shardCount.
-
getPassedList
Path to logs of passed runs.
repeated .build_event_stream.File passed = 3;- Specified by:
getPassedListin interfaceBuildEventStreamProtos.TestSummaryOrBuilder
-
getPassedOrBuilderList
Path to logs of passed runs.
repeated .build_event_stream.File passed = 3;- Specified by:
getPassedOrBuilderListin interfaceBuildEventStreamProtos.TestSummaryOrBuilder
-
getPassedCount
public int getPassedCount()Path to logs of passed runs.
repeated .build_event_stream.File passed = 3;- Specified by:
getPassedCountin interfaceBuildEventStreamProtos.TestSummaryOrBuilder
-
getPassed
Path to logs of passed runs.
repeated .build_event_stream.File passed = 3;- Specified by:
getPassedin interfaceBuildEventStreamProtos.TestSummaryOrBuilder
-
getPassedOrBuilder
Path to logs of passed runs.
repeated .build_event_stream.File passed = 3;- Specified by:
getPassedOrBuilderin interfaceBuildEventStreamProtos.TestSummaryOrBuilder
-
getFailedList
Path to logs of failed runs;
repeated .build_event_stream.File failed = 4;- Specified by:
getFailedListin interfaceBuildEventStreamProtos.TestSummaryOrBuilder
-
getFailedOrBuilderList
Path to logs of failed runs;
repeated .build_event_stream.File failed = 4;- Specified by:
getFailedOrBuilderListin interfaceBuildEventStreamProtos.TestSummaryOrBuilder
-
getFailedCount
public int getFailedCount()Path to logs of failed runs;
repeated .build_event_stream.File failed = 4;- Specified by:
getFailedCountin interfaceBuildEventStreamProtos.TestSummaryOrBuilder
-
getFailed
Path to logs of failed runs;
repeated .build_event_stream.File failed = 4;- Specified by:
getFailedin interfaceBuildEventStreamProtos.TestSummaryOrBuilder
-
getFailedOrBuilder
Path to logs of failed runs;
repeated .build_event_stream.File failed = 4;- Specified by:
getFailedOrBuilderin interfaceBuildEventStreamProtos.TestSummaryOrBuilder
-
getTotalNumCached
public int getTotalNumCached()Total number of cached test actions
int32 total_num_cached = 6;- Specified by:
getTotalNumCachedin interfaceBuildEventStreamProtos.TestSummaryOrBuilder- 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];- Specified by:
getFirstStartTimeMillisin interfaceBuildEventStreamProtos.TestSummaryOrBuilder- Returns:
- The firstStartTimeMillis.
-
hasFirstStartTime
public boolean hasFirstStartTime()When the test first started running.
.google.protobuf.Timestamp first_start_time = 13;- Specified by:
hasFirstStartTimein interfaceBuildEventStreamProtos.TestSummaryOrBuilder- Returns:
- Whether the firstStartTime field is set.
-
getFirstStartTime
public com.google.protobuf.Timestamp getFirstStartTime()When the test first started running.
.google.protobuf.Timestamp first_start_time = 13;- Specified by:
getFirstStartTimein interfaceBuildEventStreamProtos.TestSummaryOrBuilder- Returns:
- The firstStartTime.
-
getFirstStartTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getFirstStartTimeOrBuilder()When the test first started running.
.google.protobuf.Timestamp first_start_time = 13;- Specified by:
getFirstStartTimeOrBuilderin interfaceBuildEventStreamProtos.TestSummaryOrBuilder
-
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];- Specified by:
getLastStopTimeMillisin interfaceBuildEventStreamProtos.TestSummaryOrBuilder- Returns:
- The lastStopTimeMillis.
-
hasLastStopTime
public boolean hasLastStopTime()When the test first started running.
.google.protobuf.Timestamp last_stop_time = 14;- Specified by:
hasLastStopTimein interfaceBuildEventStreamProtos.TestSummaryOrBuilder- Returns:
- Whether the lastStopTime field is set.
-
getLastStopTime
public com.google.protobuf.Timestamp getLastStopTime()When the test first started running.
.google.protobuf.Timestamp last_stop_time = 14;- Specified by:
getLastStopTimein interfaceBuildEventStreamProtos.TestSummaryOrBuilder- Returns:
- The lastStopTime.
-
getLastStopTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getLastStopTimeOrBuilder()When the test first started running.
.google.protobuf.Timestamp last_stop_time = 14;- Specified by:
getLastStopTimeOrBuilderin interfaceBuildEventStreamProtos.TestSummaryOrBuilder
-
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];- Specified by:
getTotalRunDurationMillisin interfaceBuildEventStreamProtos.TestSummaryOrBuilder- Returns:
- The totalRunDurationMillis.
-
hasTotalRunDuration
public boolean hasTotalRunDuration()The total runtime of the test.
.google.protobuf.Duration total_run_duration = 12;- Specified by:
hasTotalRunDurationin interfaceBuildEventStreamProtos.TestSummaryOrBuilder- Returns:
- Whether the totalRunDuration field is set.
-
getTotalRunDuration
public com.google.protobuf.Duration getTotalRunDuration()The total runtime of the test.
.google.protobuf.Duration total_run_duration = 12;- Specified by:
getTotalRunDurationin interfaceBuildEventStreamProtos.TestSummaryOrBuilder- Returns:
- The totalRunDuration.
-
getTotalRunDurationOrBuilder
public com.google.protobuf.DurationOrBuilder getTotalRunDurationOrBuilder()The total runtime of the test.
.google.protobuf.Duration total_run_duration = 12;- Specified by:
getTotalRunDurationOrBuilderin interfaceBuildEventStreamProtos.TestSummaryOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static BuildEventStreamProtos.TestSummary parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BuildEventStreamProtos.TestSummary parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BuildEventStreamProtos.TestSummary parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BuildEventStreamProtos.TestSummary parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BuildEventStreamProtos.TestSummary parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BuildEventStreamProtos.TestSummary parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static BuildEventStreamProtos.TestSummary parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static BuildEventStreamProtos.TestSummary parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static BuildEventStreamProtos.TestSummary parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static BuildEventStreamProtos.TestSummary parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static BuildEventStreamProtos.TestSummary parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static BuildEventStreamProtos.TestSummary.Builder newBuilder(BuildEventStreamProtos.TestSummary prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected BuildEventStreamProtos.TestSummary.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-