Interface BuildEventStreamProtos.TestResultOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
BuildEventStreamProtos.TestResult,BuildEventStreamProtos.TestResult.Builder
- Enclosing class:
- BuildEventStreamProtos
public static interface BuildEventStreamProtos.TestResultOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanTrue, if the reported attempt is taken from the tool's local cache..build_event_stream.TestResult.ExecutionInfo execution_info = 8;.build_event_stream.TestResult.ExecutionInfo execution_info = 8;The status of this test.Additional details about the status of the test.com.google.protobuf.ByteStringAdditional details about the status of the test.intThe status of this test.getTestActionOutput(int index) Files (logs, test.xml, undeclared outputs, etc) generated by that test action.intFiles (logs, test.xml, undeclared outputs, etc) generated by that test action.Files (logs, test.xml, undeclared outputs, etc) generated by that test action.getTestActionOutputOrBuilder(int index) Files (logs, test.xml, undeclared outputs, etc) generated by that test action.List<? extends BuildEventStreamProtos.FileOrBuilder>Files (logs, test.xml, undeclared outputs, etc) generated by that test action.com.google.protobuf.DurationTime the test took to run.longDeprecated.build_event_stream.TestResult.test_attempt_duration_millis is deprecated.com.google.protobuf.DurationOrBuilderTime the test took to run.com.google.protobuf.TimestampTime at which the test attempt was started.longDeprecated.build_event_stream.TestResult.test_attempt_start_millis_epoch is deprecated.com.google.protobuf.TimestampOrBuilderTime at which the test attempt was started.getWarning(int index) Warnings generated by that test action.com.google.protobuf.ByteStringgetWarningBytes(int index) Warnings generated by that test action.intWarnings generated by that test action.Warnings generated by that test action.boolean.build_event_stream.TestResult.ExecutionInfo execution_info = 8;booleanTime the test took to run.booleanTime at which the test attempt was started.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
-
getStatusValue
int getStatusValue()The status of this test.
.build_event_stream.TestStatus status = 5;- Returns:
- The enum numeric value on the wire for status.
-
getStatus
BuildEventStreamProtos.TestStatus getStatus()The status of this test.
.build_event_stream.TestStatus status = 5;- Returns:
- The status.
-
getStatusDetails
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.build_event_stream.TestResult.test_attempt_start_millis_epoch is deprecated. See third_party/bazel/src/main/java/com/google/devtools/build/lib/buildeventstream/proto/build_event_stream.proto;l=699Time 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.build_event_stream.TestResult.test_attempt_duration_millis is deprecated. See third_party/bazel/src/main/java/com/google/devtools/build/lib/buildeventstream/proto/build_event_stream.proto;l=712Time 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
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
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
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
Files (logs, test.xml, undeclared outputs, etc) generated by that test action.
repeated .build_event_stream.File test_action_output = 2; -
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
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.
-
getExecutionInfo
BuildEventStreamProtos.TestResult.ExecutionInfo getExecutionInfo().build_event_stream.TestResult.ExecutionInfo execution_info = 8;- Returns:
- The executionInfo.
-
getExecutionInfoOrBuilder
BuildEventStreamProtos.TestResult.ExecutionInfoOrBuilder getExecutionInfoOrBuilder().build_event_stream.TestResult.ExecutionInfo execution_info = 8;
-