Interface BuildEventStreamProtos.TestResultOrBuilder

    • Method Detail

      • getStatusValue

        int getStatusValue()
         The status of this test.
         
        .build_event_stream.TestStatus status = 5;
        Returns:
        The enum numeric value on the wire for status.
      • getStatusDetails

        java.lang.String getStatusDetails()
         Additional details about the status of the test. This is intended for
         user display and must not be parsed.
         
        string status_details = 9;
        Returns:
        The statusDetails.
      • getStatusDetailsBytes

        com.google.protobuf.ByteString getStatusDetailsBytes()
         Additional details about the status of the test. This is intended for
         user display and must not be parsed.
         
        string status_details = 9;
        Returns:
        The bytes for statusDetails.
      • getCachedLocally

        boolean getCachedLocally()
         True, if the reported attempt is taken from the tool's local cache.
         
        bool cached_locally = 4;
        Returns:
        The cachedLocally.
      • getTestAttemptStartMillisEpoch

        @Deprecated
        long getTestAttemptStartMillisEpoch()
        Deprecated.
        build_event_stream.TestResult.test_attempt_start_millis_epoch is deprecated. See src/main/java/com/google/devtools/build/lib/buildeventstream/proto/build_event_stream.proto;l=632
         Time in milliseconds since the epoch at which the test attempt was started.
         Note: for cached test results, this is time can be before the start of the
         build.
         Deprecated, use `test_attempt_start` instead.
         TODO(yannic): Remove.
         
        int64 test_attempt_start_millis_epoch = 6 [deprecated = true];
        Returns:
        The testAttemptStartMillisEpoch.
      • hasTestAttemptStart

        boolean hasTestAttemptStart()
         Time at which the test attempt was started.
         Note: for cached test results, this is time can be before the start of the
         build.
         
        .google.protobuf.Timestamp test_attempt_start = 10;
        Returns:
        Whether the testAttemptStart field is set.
      • getTestAttemptStart

        com.google.protobuf.Timestamp getTestAttemptStart()
         Time at which the test attempt was started.
         Note: for cached test results, this is time can be before the start of the
         build.
         
        .google.protobuf.Timestamp test_attempt_start = 10;
        Returns:
        The testAttemptStart.
      • getTestAttemptStartOrBuilder

        com.google.protobuf.TimestampOrBuilder getTestAttemptStartOrBuilder()
         Time at which the test attempt was started.
         Note: for cached test results, this is time can be before the start of the
         build.
         
        .google.protobuf.Timestamp test_attempt_start = 10;
      • getTestAttemptDurationMillis

        @Deprecated
        long getTestAttemptDurationMillis()
        Deprecated.
        build_event_stream.TestResult.test_attempt_duration_millis is deprecated. See src/main/java/com/google/devtools/build/lib/buildeventstream/proto/build_event_stream.proto;l=645
         Time the test took to run. For locally cached results, this is the time
         the cached invocation took when it was invoked.
         Deprecated, use `test_attempt_duration` instead.
         TODO(yannic): Remove.
         
        int64 test_attempt_duration_millis = 3 [deprecated = true];
        Returns:
        The testAttemptDurationMillis.
      • hasTestAttemptDuration

        boolean hasTestAttemptDuration()
         Time the test took to run. For locally cached results, this is the time
         the cached invocation took when it was invoked.
         
        .google.protobuf.Duration test_attempt_duration = 11;
        Returns:
        Whether the testAttemptDuration field is set.
      • getTestAttemptDuration

        com.google.protobuf.Duration getTestAttemptDuration()
         Time the test took to run. For locally cached results, this is the time
         the cached invocation took when it was invoked.
         
        .google.protobuf.Duration test_attempt_duration = 11;
        Returns:
        The testAttemptDuration.
      • getTestAttemptDurationOrBuilder

        com.google.protobuf.DurationOrBuilder getTestAttemptDurationOrBuilder()
         Time the test took to run. For locally cached results, this is the time
         the cached invocation took when it was invoked.
         
        .google.protobuf.Duration test_attempt_duration = 11;
      • getTestActionOutputList

        java.util.List<BuildEventStreamProtos.File> getTestActionOutputList()
         Files (logs, test.xml, undeclared outputs, etc) generated by that test
         action.
         
        repeated .build_event_stream.File test_action_output = 2;
      • getTestActionOutput

        BuildEventStreamProtos.File getTestActionOutput​(int index)
         Files (logs, test.xml, undeclared outputs, etc) generated by that test
         action.
         
        repeated .build_event_stream.File test_action_output = 2;
      • getTestActionOutputCount

        int getTestActionOutputCount()
         Files (logs, test.xml, undeclared outputs, etc) generated by that test
         action.
         
        repeated .build_event_stream.File test_action_output = 2;
      • getTestActionOutputOrBuilderList

        java.util.List<? extends BuildEventStreamProtos.FileOrBuilder> getTestActionOutputOrBuilderList()
         Files (logs, test.xml, undeclared outputs, etc) generated by that test
         action.
         
        repeated .build_event_stream.File test_action_output = 2;
      • getTestActionOutputOrBuilder

        BuildEventStreamProtos.FileOrBuilder getTestActionOutputOrBuilder​(int index)
         Files (logs, test.xml, undeclared outputs, etc) generated by that test
         action.
         
        repeated .build_event_stream.File test_action_output = 2;
      • getWarningList

        java.util.List<java.lang.String> getWarningList()
         Warnings generated by that test action.
         
        repeated string warning = 7;
        Returns:
        A list containing the warning.
      • getWarningCount

        int getWarningCount()
         Warnings generated by that test action.
         
        repeated string warning = 7;
        Returns:
        The count of warning.
      • getWarning

        java.lang.String getWarning​(int index)
         Warnings generated by that test action.
         
        repeated string warning = 7;
        Parameters:
        index - The index of the element to return.
        Returns:
        The warning at the given index.
      • getWarningBytes

        com.google.protobuf.ByteString getWarningBytes​(int index)
         Warnings generated by that test action.
         
        repeated string warning = 7;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the warning at the given index.
      • hasExecutionInfo

        boolean hasExecutionInfo()
        .build_event_stream.TestResult.ExecutionInfo execution_info = 8;
        Returns:
        Whether the executionInfo field is set.