Class BuildEventStreamProtos.TestSummary

    • Field Detail

      • OVERALL_STATUS_FIELD_NUMBER

        public static final int OVERALL_STATUS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • TOTAL_RUN_COUNT_FIELD_NUMBER

        public static final int TOTAL_RUN_COUNT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ATTEMPT_COUNT_FIELD_NUMBER

        public static final int ATTEMPT_COUNT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SHARD_COUNT_FIELD_NUMBER

        public static final int SHARD_COUNT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • TOTAL_NUM_CACHED_FIELD_NUMBER

        public static final int TOTAL_NUM_CACHED_FIELD_NUMBER
        See Also:
        Constant Field Values
      • FIRST_START_TIME_MILLIS_FIELD_NUMBER

        public static final int FIRST_START_TIME_MILLIS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • FIRST_START_TIME_FIELD_NUMBER

        public static final int FIRST_START_TIME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • LAST_STOP_TIME_MILLIS_FIELD_NUMBER

        public static final int LAST_STOP_TIME_MILLIS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • LAST_STOP_TIME_FIELD_NUMBER

        public static final int LAST_STOP_TIME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • TOTAL_RUN_DURATION_MILLIS_FIELD_NUMBER

        public static final int TOTAL_RUN_DURATION_MILLIS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • TOTAL_RUN_DURATION_FIELD_NUMBER

        public static final int TOTAL_RUN_DURATION_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected java.lang.Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getUnknownFields

        public final com.google.protobuf.UnknownFieldSet getUnknownFields()
        Specified by:
        getUnknownFields in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getUnknownFields in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • 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:
        getOverallStatusValue in interface BuildEventStreamProtos.TestSummaryOrBuilder
        Returns:
        The enum numeric value on the wire for 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:
        getTotalRunCount in interface BuildEventStreamProtos.TestSummaryOrBuilder
        Returns:
        The totalRunCount.
      • 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:
        getAttemptCount in interface BuildEventStreamProtos.TestSummaryOrBuilder
        Returns:
        The attemptCount.
      • getFirstStartTimeMillis

        @Deprecated
        public 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=737
         When the test first started running.
         Deprecated, use `first_start_time` instead.
         TODO(yannic): Remove.
         
        int64 first_start_time_millis = 7 [deprecated = true];
        Specified by:
        getFirstStartTimeMillis in interface BuildEventStreamProtos.TestSummaryOrBuilder
        Returns:
        The firstStartTimeMillis.
      • getLastStopTimeMillis

        @Deprecated
        public 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=747
         When the last test action completed.
         Deprecated, use `last_stop_time` instead.
         TODO(yannic): Remove.
         
        int64 last_stop_time_millis = 8 [deprecated = true];
        Specified by:
        getLastStopTimeMillis in interface BuildEventStreamProtos.TestSummaryOrBuilder
        Returns:
        The lastStopTimeMillis.
      • getTotalRunDurationMillis

        @Deprecated
        public 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=757
         The total runtime of the test.
         Deprecated, use `total_run` instead.
         TODO(yannic): Remove.
         
        int64 total_run_duration_millis = 9 [deprecated = true];
        Specified by:
        getTotalRunDurationMillis in interface BuildEventStreamProtos.TestSummaryOrBuilder
        Returns:
        The totalRunDurationMillis.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws java.io.IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        java.io.IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(java.lang.Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static BuildEventStreamProtos.TestSummary parseFrom​(java.nio.ByteBuffer data)
                                                            throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static BuildEventStreamProtos.TestSummary parseFrom​(java.nio.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

        public static BuildEventStreamProtos.TestSummary parseFrom​(java.io.InputStream input,
                                                                   com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                            throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static BuildEventStreamProtos.TestSummary parseDelimitedFrom​(java.io.InputStream input)
                                                                     throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static BuildEventStreamProtos.TestSummary parseDelimitedFrom​(java.io.InputStream input,
                                                                            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                     throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static BuildEventStreamProtos.TestSummary parseFrom​(com.google.protobuf.CodedInputStream input)
                                                            throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static BuildEventStreamProtos.TestSummary parseFrom​(com.google.protobuf.CodedInputStream input,
                                                                   com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                            throws java.io.IOException
        Throws:
        java.io.IOException
      • newBuilderForType

        public BuildEventStreamProtos.TestSummary.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public BuildEventStreamProtos.TestSummary.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected BuildEventStreamProtos.TestSummary.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<BuildEventStreamProtos.TestSummary> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public BuildEventStreamProtos.TestSummary getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder