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
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleangetCachedLocally()True, if the reported attempt is taken from the tool's local cache.BuildEventStreamProtos.TestResult.ExecutionInfogetExecutionInfo().build_event_stream.TestResult.ExecutionInfo execution_info = 8;BuildEventStreamProtos.TestResult.ExecutionInfoOrBuildergetExecutionInfoOrBuilder().build_event_stream.TestResult.ExecutionInfo execution_info = 8;BuildEventStreamProtos.TestStatusgetStatus()The status of this test.java.lang.StringgetStatusDetails()Additional details about the status of the test.com.google.protobuf.ByteStringgetStatusDetailsBytes()Additional details about the status of the test.intgetStatusValue()The status of this test.BuildEventStreamProtos.FilegetTestActionOutput(int index)Files (logs, test.xml, undeclared outputs, etc) generated by that test action.intgetTestActionOutputCount()Files (logs, test.xml, undeclared outputs, etc) generated by that test action.java.util.List<BuildEventStreamProtos.File>getTestActionOutputList()Files (logs, test.xml, undeclared outputs, etc) generated by that test action.BuildEventStreamProtos.FileOrBuildergetTestActionOutputOrBuilder(int index)Files (logs, test.xml, undeclared outputs, etc) generated by that test action.java.util.List<? extends BuildEventStreamProtos.FileOrBuilder>getTestActionOutputOrBuilderList()Files (logs, test.xml, undeclared outputs, etc) generated by that test action.com.google.protobuf.DurationgetTestAttemptDuration()Time the test took to run.longgetTestAttemptDurationMillis()Deprecated.build_event_stream.TestResult.test_attempt_duration_millis is deprecated.com.google.protobuf.DurationOrBuildergetTestAttemptDurationOrBuilder()Time the test took to run.com.google.protobuf.TimestampgetTestAttemptStart()Time at which the test attempt was started.longgetTestAttemptStartMillisEpoch()Deprecated.build_event_stream.TestResult.test_attempt_start_millis_epoch is deprecated.com.google.protobuf.TimestampOrBuildergetTestAttemptStartOrBuilder()Time at which the test attempt was started.java.lang.StringgetWarning(int index)Warnings generated by that test action.com.google.protobuf.ByteStringgetWarningBytes(int index)Warnings generated by that test action.intgetWarningCount()Warnings generated by that test action.java.util.List<java.lang.String>getWarningList()Warnings generated by that test action.booleanhasExecutionInfo().build_event_stream.TestResult.ExecutionInfo execution_info = 8;booleanhasTestAttemptDuration()Time the test took to run.booleanhasTestAttemptStart()Time at which the test attempt was started.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
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.
-
getStatus
BuildEventStreamProtos.TestStatus getStatus()
The status of this test.
.build_event_stream.TestStatus status = 5;- Returns:
- The 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=632Time 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=645Time 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.
-
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;
-
-