Class BuildEventStreamProtos.TestResult.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<BuildEventStreamProtos.TestResult.Builder>
-
- com.google.devtools.build.lib.buildeventstream.BuildEventStreamProtos.TestResult.Builder
-
- All Implemented Interfaces:
BuildEventStreamProtos.TestResultOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable
- Enclosing class:
- BuildEventStreamProtos.TestResult
public static final class BuildEventStreamProtos.TestResult.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BuildEventStreamProtos.TestResult.Builder> implements BuildEventStreamProtos.TestResultOrBuilder
Payload on events reporting about individual test action.
Protobuf typebuild_event_stream.TestResult
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description BuildEventStreamProtos.TestResult.BuilderaddAllTestActionOutput(java.lang.Iterable<? extends BuildEventStreamProtos.File> values)Files (logs, test.xml, undeclared outputs, etc) generated by that test action.BuildEventStreamProtos.TestResult.BuilderaddAllWarning(java.lang.Iterable<java.lang.String> values)Warnings generated by that test action.BuildEventStreamProtos.TestResult.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)BuildEventStreamProtos.TestResult.BuilderaddTestActionOutput(int index, BuildEventStreamProtos.File value)Files (logs, test.xml, undeclared outputs, etc) generated by that test action.BuildEventStreamProtos.TestResult.BuilderaddTestActionOutput(int index, BuildEventStreamProtos.File.Builder builderForValue)Files (logs, test.xml, undeclared outputs, etc) generated by that test action.BuildEventStreamProtos.TestResult.BuilderaddTestActionOutput(BuildEventStreamProtos.File value)Files (logs, test.xml, undeclared outputs, etc) generated by that test action.BuildEventStreamProtos.TestResult.BuilderaddTestActionOutput(BuildEventStreamProtos.File.Builder builderForValue)Files (logs, test.xml, undeclared outputs, etc) generated by that test action.BuildEventStreamProtos.File.BuilderaddTestActionOutputBuilder()Files (logs, test.xml, undeclared outputs, etc) generated by that test action.BuildEventStreamProtos.File.BuilderaddTestActionOutputBuilder(int index)Files (logs, test.xml, undeclared outputs, etc) generated by that test action.BuildEventStreamProtos.TestResult.BuilderaddWarning(java.lang.String value)Warnings generated by that test action.BuildEventStreamProtos.TestResult.BuilderaddWarningBytes(com.google.protobuf.ByteString value)Warnings generated by that test action.BuildEventStreamProtos.TestResultbuild()BuildEventStreamProtos.TestResultbuildPartial()BuildEventStreamProtos.TestResult.Builderclear()BuildEventStreamProtos.TestResult.BuilderclearCachedLocally()True, if the reported attempt is taken from the tool's local cache.BuildEventStreamProtos.TestResult.BuilderclearExecutionInfo().build_event_stream.TestResult.ExecutionInfo execution_info = 8;BuildEventStreamProtos.TestResult.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)BuildEventStreamProtos.TestResult.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)BuildEventStreamProtos.TestResult.BuilderclearStatus()The status of this test.BuildEventStreamProtos.TestResult.BuilderclearStatusDetails()Additional details about the status of the test.BuildEventStreamProtos.TestResult.BuilderclearTestActionOutput()Files (logs, test.xml, undeclared outputs, etc) generated by that test action.BuildEventStreamProtos.TestResult.BuilderclearTestAttemptDuration()Time the test took to run.BuildEventStreamProtos.TestResult.BuilderclearTestAttemptDurationMillis()Deprecated.build_event_stream.TestResult.test_attempt_duration_millis is deprecated.BuildEventStreamProtos.TestResult.BuilderclearTestAttemptStart()Time at which the test attempt was started.BuildEventStreamProtos.TestResult.BuilderclearTestAttemptStartMillisEpoch()Deprecated.build_event_stream.TestResult.test_attempt_start_millis_epoch is deprecated.BuildEventStreamProtos.TestResult.BuilderclearWarning()Warnings generated by that test action.BuildEventStreamProtos.TestResult.Builderclone()booleangetCachedLocally()True, if the reported attempt is taken from the tool's local cache.BuildEventStreamProtos.TestResultgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()BuildEventStreamProtos.TestResult.ExecutionInfogetExecutionInfo().build_event_stream.TestResult.ExecutionInfo execution_info = 8;BuildEventStreamProtos.TestResult.ExecutionInfo.BuildergetExecutionInfoBuilder().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.BuildEventStreamProtos.File.BuildergetTestActionOutputBuilder(int index)Files (logs, test.xml, undeclared outputs, etc) generated by that test action.java.util.List<BuildEventStreamProtos.File.Builder>getTestActionOutputBuilderList()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.com.google.protobuf.Duration.BuildergetTestAttemptDurationBuilder()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.com.google.protobuf.Timestamp.BuildergetTestAttemptStartBuilder()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.com.google.protobuf.ProtocolStringListgetWarningList()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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()BuildEventStreamProtos.TestResult.BuildermergeExecutionInfo(BuildEventStreamProtos.TestResult.ExecutionInfo value).build_event_stream.TestResult.ExecutionInfo execution_info = 8;BuildEventStreamProtos.TestResult.BuildermergeFrom(BuildEventStreamProtos.TestResult other)BuildEventStreamProtos.TestResult.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)BuildEventStreamProtos.TestResult.BuildermergeFrom(com.google.protobuf.Message other)BuildEventStreamProtos.TestResult.BuildermergeTestAttemptDuration(com.google.protobuf.Duration value)Time the test took to run.BuildEventStreamProtos.TestResult.BuildermergeTestAttemptStart(com.google.protobuf.Timestamp value)Time at which the test attempt was started.BuildEventStreamProtos.TestResult.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)BuildEventStreamProtos.TestResult.BuilderremoveTestActionOutput(int index)Files (logs, test.xml, undeclared outputs, etc) generated by that test action.BuildEventStreamProtos.TestResult.BuildersetCachedLocally(boolean value)True, if the reported attempt is taken from the tool's local cache.BuildEventStreamProtos.TestResult.BuildersetExecutionInfo(BuildEventStreamProtos.TestResult.ExecutionInfo value).build_event_stream.TestResult.ExecutionInfo execution_info = 8;BuildEventStreamProtos.TestResult.BuildersetExecutionInfo(BuildEventStreamProtos.TestResult.ExecutionInfo.Builder builderForValue).build_event_stream.TestResult.ExecutionInfo execution_info = 8;BuildEventStreamProtos.TestResult.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)BuildEventStreamProtos.TestResult.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)BuildEventStreamProtos.TestResult.BuildersetStatus(BuildEventStreamProtos.TestStatus value)The status of this test.BuildEventStreamProtos.TestResult.BuildersetStatusDetails(java.lang.String value)Additional details about the status of the test.BuildEventStreamProtos.TestResult.BuildersetStatusDetailsBytes(com.google.protobuf.ByteString value)Additional details about the status of the test.BuildEventStreamProtos.TestResult.BuildersetStatusValue(int value)The status of this test.BuildEventStreamProtos.TestResult.BuildersetTestActionOutput(int index, BuildEventStreamProtos.File value)Files (logs, test.xml, undeclared outputs, etc) generated by that test action.BuildEventStreamProtos.TestResult.BuildersetTestActionOutput(int index, BuildEventStreamProtos.File.Builder builderForValue)Files (logs, test.xml, undeclared outputs, etc) generated by that test action.BuildEventStreamProtos.TestResult.BuildersetTestAttemptDuration(com.google.protobuf.Duration value)Time the test took to run.BuildEventStreamProtos.TestResult.BuildersetTestAttemptDuration(com.google.protobuf.Duration.Builder builderForValue)Time the test took to run.BuildEventStreamProtos.TestResult.BuildersetTestAttemptDurationMillis(long value)Deprecated.build_event_stream.TestResult.test_attempt_duration_millis is deprecated.BuildEventStreamProtos.TestResult.BuildersetTestAttemptStart(com.google.protobuf.Timestamp value)Time at which the test attempt was started.BuildEventStreamProtos.TestResult.BuildersetTestAttemptStart(com.google.protobuf.Timestamp.Builder builderForValue)Time at which the test attempt was started.BuildEventStreamProtos.TestResult.BuildersetTestAttemptStartMillisEpoch(long value)Deprecated.build_event_stream.TestResult.test_attempt_start_millis_epoch is deprecated.BuildEventStreamProtos.TestResult.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)BuildEventStreamProtos.TestResult.BuildersetWarning(int index, java.lang.String value)Warnings generated by that test action.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<BuildEventStreamProtos.TestResult.Builder>
-
clear
public BuildEventStreamProtos.TestResult.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<BuildEventStreamProtos.TestResult.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<BuildEventStreamProtos.TestResult.Builder>
-
getDefaultInstanceForType
public BuildEventStreamProtos.TestResult getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public BuildEventStreamProtos.TestResult build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public BuildEventStreamProtos.TestResult buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public BuildEventStreamProtos.TestResult.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<BuildEventStreamProtos.TestResult.Builder>
-
setField
public BuildEventStreamProtos.TestResult.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BuildEventStreamProtos.TestResult.Builder>
-
clearField
public BuildEventStreamProtos.TestResult.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BuildEventStreamProtos.TestResult.Builder>
-
clearOneof
public BuildEventStreamProtos.TestResult.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<BuildEventStreamProtos.TestResult.Builder>
-
setRepeatedField
public BuildEventStreamProtos.TestResult.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BuildEventStreamProtos.TestResult.Builder>
-
addRepeatedField
public BuildEventStreamProtos.TestResult.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BuildEventStreamProtos.TestResult.Builder>
-
mergeFrom
public BuildEventStreamProtos.TestResult.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BuildEventStreamProtos.TestResult.Builder>
-
mergeFrom
public BuildEventStreamProtos.TestResult.Builder mergeFrom(BuildEventStreamProtos.TestResult other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<BuildEventStreamProtos.TestResult.Builder>
-
mergeFrom
public BuildEventStreamProtos.TestResult.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BuildEventStreamProtos.TestResult.Builder>- Throws:
java.io.IOException
-
getStatusValue
public int getStatusValue()
The status of this test.
.build_event_stream.TestStatus status = 5;- Specified by:
getStatusValuein interfaceBuildEventStreamProtos.TestResultOrBuilder- Returns:
- The enum numeric value on the wire for status.
-
setStatusValue
public BuildEventStreamProtos.TestResult.Builder setStatusValue(int value)
The status of this test.
.build_event_stream.TestStatus status = 5;- Parameters:
value- The enum numeric value on the wire for status to set.- Returns:
- This builder for chaining.
-
getStatus
public BuildEventStreamProtos.TestStatus getStatus()
The status of this test.
.build_event_stream.TestStatus status = 5;- Specified by:
getStatusin interfaceBuildEventStreamProtos.TestResultOrBuilder- Returns:
- The status.
-
setStatus
public BuildEventStreamProtos.TestResult.Builder setStatus(BuildEventStreamProtos.TestStatus value)
The status of this test.
.build_event_stream.TestStatus status = 5;- Parameters:
value- The status to set.- Returns:
- This builder for chaining.
-
clearStatus
public BuildEventStreamProtos.TestResult.Builder clearStatus()
The status of this test.
.build_event_stream.TestStatus status = 5;- Returns:
- This builder for chaining.
-
getStatusDetails
public 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;- Specified by:
getStatusDetailsin interfaceBuildEventStreamProtos.TestResultOrBuilder- Returns:
- The statusDetails.
-
getStatusDetailsBytes
public 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;- Specified by:
getStatusDetailsBytesin interfaceBuildEventStreamProtos.TestResultOrBuilder- Returns:
- The bytes for statusDetails.
-
setStatusDetails
public BuildEventStreamProtos.TestResult.Builder setStatusDetails(java.lang.String value)
Additional details about the status of the test. This is intended for user display and must not be parsed.
string status_details = 9;- Parameters:
value- The statusDetails to set.- Returns:
- This builder for chaining.
-
clearStatusDetails
public BuildEventStreamProtos.TestResult.Builder clearStatusDetails()
Additional details about the status of the test. This is intended for user display and must not be parsed.
string status_details = 9;- Returns:
- This builder for chaining.
-
setStatusDetailsBytes
public BuildEventStreamProtos.TestResult.Builder setStatusDetailsBytes(com.google.protobuf.ByteString value)
Additional details about the status of the test. This is intended for user display and must not be parsed.
string status_details = 9;- Parameters:
value- The bytes for statusDetails to set.- Returns:
- This builder for chaining.
-
getCachedLocally
public boolean getCachedLocally()
True, if the reported attempt is taken from the tool's local cache.
bool cached_locally = 4;- Specified by:
getCachedLocallyin interfaceBuildEventStreamProtos.TestResultOrBuilder- Returns:
- The cachedLocally.
-
setCachedLocally
public BuildEventStreamProtos.TestResult.Builder setCachedLocally(boolean value)
True, if the reported attempt is taken from the tool's local cache.
bool cached_locally = 4;- Parameters:
value- The cachedLocally to set.- Returns:
- This builder for chaining.
-
clearCachedLocally
public BuildEventStreamProtos.TestResult.Builder clearCachedLocally()
True, if the reported attempt is taken from the tool's local cache.
bool cached_locally = 4;- Returns:
- This builder for chaining.
-
getTestAttemptStartMillisEpoch
@Deprecated public 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];- Specified by:
getTestAttemptStartMillisEpochin interfaceBuildEventStreamProtos.TestResultOrBuilder- Returns:
- The testAttemptStartMillisEpoch.
-
setTestAttemptStartMillisEpoch
@Deprecated public BuildEventStreamProtos.TestResult.Builder setTestAttemptStartMillisEpoch(long value)
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];- Parameters:
value- The testAttemptStartMillisEpoch to set.- Returns:
- This builder for chaining.
-
clearTestAttemptStartMillisEpoch
@Deprecated public BuildEventStreamProtos.TestResult.Builder clearTestAttemptStartMillisEpoch()
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:
- This builder for chaining.
-
hasTestAttemptStart
public 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;- Specified by:
hasTestAttemptStartin interfaceBuildEventStreamProtos.TestResultOrBuilder- Returns:
- Whether the testAttemptStart field is set.
-
getTestAttemptStart
public 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;- Specified by:
getTestAttemptStartin interfaceBuildEventStreamProtos.TestResultOrBuilder- Returns:
- The testAttemptStart.
-
setTestAttemptStart
public BuildEventStreamProtos.TestResult.Builder setTestAttemptStart(com.google.protobuf.Timestamp value)
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;
-
setTestAttemptStart
public BuildEventStreamProtos.TestResult.Builder setTestAttemptStart(com.google.protobuf.Timestamp.Builder builderForValue)
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;
-
mergeTestAttemptStart
public BuildEventStreamProtos.TestResult.Builder mergeTestAttemptStart(com.google.protobuf.Timestamp value)
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;
-
clearTestAttemptStart
public BuildEventStreamProtos.TestResult.Builder clearTestAttemptStart()
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;
-
getTestAttemptStartBuilder
public com.google.protobuf.Timestamp.Builder getTestAttemptStartBuilder()
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;
-
getTestAttemptStartOrBuilder
public 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;- Specified by:
getTestAttemptStartOrBuilderin interfaceBuildEventStreamProtos.TestResultOrBuilder
-
getTestAttemptDurationMillis
@Deprecated public 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];- Specified by:
getTestAttemptDurationMillisin interfaceBuildEventStreamProtos.TestResultOrBuilder- Returns:
- The testAttemptDurationMillis.
-
setTestAttemptDurationMillis
@Deprecated public BuildEventStreamProtos.TestResult.Builder setTestAttemptDurationMillis(long value)
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];- Parameters:
value- The testAttemptDurationMillis to set.- Returns:
- This builder for chaining.
-
clearTestAttemptDurationMillis
@Deprecated public BuildEventStreamProtos.TestResult.Builder clearTestAttemptDurationMillis()
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:
- This builder for chaining.
-
hasTestAttemptDuration
public 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;- Specified by:
hasTestAttemptDurationin interfaceBuildEventStreamProtos.TestResultOrBuilder- Returns:
- Whether the testAttemptDuration field is set.
-
getTestAttemptDuration
public 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;- Specified by:
getTestAttemptDurationin interfaceBuildEventStreamProtos.TestResultOrBuilder- Returns:
- The testAttemptDuration.
-
setTestAttemptDuration
public BuildEventStreamProtos.TestResult.Builder setTestAttemptDuration(com.google.protobuf.Duration value)
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;
-
setTestAttemptDuration
public BuildEventStreamProtos.TestResult.Builder setTestAttemptDuration(com.google.protobuf.Duration.Builder builderForValue)
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;
-
mergeTestAttemptDuration
public BuildEventStreamProtos.TestResult.Builder mergeTestAttemptDuration(com.google.protobuf.Duration value)
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;
-
clearTestAttemptDuration
public BuildEventStreamProtos.TestResult.Builder clearTestAttemptDuration()
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;
-
getTestAttemptDurationBuilder
public com.google.protobuf.Duration.Builder getTestAttemptDurationBuilder()
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;
-
getTestAttemptDurationOrBuilder
public 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;- Specified by:
getTestAttemptDurationOrBuilderin interfaceBuildEventStreamProtos.TestResultOrBuilder
-
getTestActionOutputList
public 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;- Specified by:
getTestActionOutputListin interfaceBuildEventStreamProtos.TestResultOrBuilder
-
getTestActionOutputCount
public int getTestActionOutputCount()
Files (logs, test.xml, undeclared outputs, etc) generated by that test action.
repeated .build_event_stream.File test_action_output = 2;- Specified by:
getTestActionOutputCountin interfaceBuildEventStreamProtos.TestResultOrBuilder
-
getTestActionOutput
public 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;- Specified by:
getTestActionOutputin interfaceBuildEventStreamProtos.TestResultOrBuilder
-
setTestActionOutput
public BuildEventStreamProtos.TestResult.Builder setTestActionOutput(int index, BuildEventStreamProtos.File value)
Files (logs, test.xml, undeclared outputs, etc) generated by that test action.
repeated .build_event_stream.File test_action_output = 2;
-
setTestActionOutput
public BuildEventStreamProtos.TestResult.Builder setTestActionOutput(int index, BuildEventStreamProtos.File.Builder builderForValue)
Files (logs, test.xml, undeclared outputs, etc) generated by that test action.
repeated .build_event_stream.File test_action_output = 2;
-
addTestActionOutput
public BuildEventStreamProtos.TestResult.Builder addTestActionOutput(BuildEventStreamProtos.File value)
Files (logs, test.xml, undeclared outputs, etc) generated by that test action.
repeated .build_event_stream.File test_action_output = 2;
-
addTestActionOutput
public BuildEventStreamProtos.TestResult.Builder addTestActionOutput(int index, BuildEventStreamProtos.File value)
Files (logs, test.xml, undeclared outputs, etc) generated by that test action.
repeated .build_event_stream.File test_action_output = 2;
-
addTestActionOutput
public BuildEventStreamProtos.TestResult.Builder addTestActionOutput(BuildEventStreamProtos.File.Builder builderForValue)
Files (logs, test.xml, undeclared outputs, etc) generated by that test action.
repeated .build_event_stream.File test_action_output = 2;
-
addTestActionOutput
public BuildEventStreamProtos.TestResult.Builder addTestActionOutput(int index, BuildEventStreamProtos.File.Builder builderForValue)
Files (logs, test.xml, undeclared outputs, etc) generated by that test action.
repeated .build_event_stream.File test_action_output = 2;
-
addAllTestActionOutput
public BuildEventStreamProtos.TestResult.Builder addAllTestActionOutput(java.lang.Iterable<? extends BuildEventStreamProtos.File> values)
Files (logs, test.xml, undeclared outputs, etc) generated by that test action.
repeated .build_event_stream.File test_action_output = 2;
-
clearTestActionOutput
public BuildEventStreamProtos.TestResult.Builder clearTestActionOutput()
Files (logs, test.xml, undeclared outputs, etc) generated by that test action.
repeated .build_event_stream.File test_action_output = 2;
-
removeTestActionOutput
public BuildEventStreamProtos.TestResult.Builder removeTestActionOutput(int index)
Files (logs, test.xml, undeclared outputs, etc) generated by that test action.
repeated .build_event_stream.File test_action_output = 2;
-
getTestActionOutputBuilder
public BuildEventStreamProtos.File.Builder getTestActionOutputBuilder(int index)
Files (logs, test.xml, undeclared outputs, etc) generated by that test action.
repeated .build_event_stream.File test_action_output = 2;
-
getTestActionOutputOrBuilder
public 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;- Specified by:
getTestActionOutputOrBuilderin interfaceBuildEventStreamProtos.TestResultOrBuilder
-
getTestActionOutputOrBuilderList
public 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;- Specified by:
getTestActionOutputOrBuilderListin interfaceBuildEventStreamProtos.TestResultOrBuilder
-
addTestActionOutputBuilder
public BuildEventStreamProtos.File.Builder addTestActionOutputBuilder()
Files (logs, test.xml, undeclared outputs, etc) generated by that test action.
repeated .build_event_stream.File test_action_output = 2;
-
addTestActionOutputBuilder
public BuildEventStreamProtos.File.Builder addTestActionOutputBuilder(int index)
Files (logs, test.xml, undeclared outputs, etc) generated by that test action.
repeated .build_event_stream.File test_action_output = 2;
-
getTestActionOutputBuilderList
public java.util.List<BuildEventStreamProtos.File.Builder> getTestActionOutputBuilderList()
Files (logs, test.xml, undeclared outputs, etc) generated by that test action.
repeated .build_event_stream.File test_action_output = 2;
-
getWarningList
public com.google.protobuf.ProtocolStringList getWarningList()
Warnings generated by that test action.
repeated string warning = 7;- Specified by:
getWarningListin interfaceBuildEventStreamProtos.TestResultOrBuilder- Returns:
- A list containing the warning.
-
getWarningCount
public int getWarningCount()
Warnings generated by that test action.
repeated string warning = 7;- Specified by:
getWarningCountin interfaceBuildEventStreamProtos.TestResultOrBuilder- Returns:
- The count of warning.
-
getWarning
public java.lang.String getWarning(int index)
Warnings generated by that test action.
repeated string warning = 7;- Specified by:
getWarningin interfaceBuildEventStreamProtos.TestResultOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The warning at the given index.
-
getWarningBytes
public com.google.protobuf.ByteString getWarningBytes(int index)
Warnings generated by that test action.
repeated string warning = 7;- Specified by:
getWarningBytesin interfaceBuildEventStreamProtos.TestResultOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the warning at the given index.
-
setWarning
public BuildEventStreamProtos.TestResult.Builder setWarning(int index, java.lang.String value)
Warnings generated by that test action.
repeated string warning = 7;- Parameters:
index- The index to set the value at.value- The warning to set.- Returns:
- This builder for chaining.
-
addWarning
public BuildEventStreamProtos.TestResult.Builder addWarning(java.lang.String value)
Warnings generated by that test action.
repeated string warning = 7;- Parameters:
value- The warning to add.- Returns:
- This builder for chaining.
-
addAllWarning
public BuildEventStreamProtos.TestResult.Builder addAllWarning(java.lang.Iterable<java.lang.String> values)
Warnings generated by that test action.
repeated string warning = 7;- Parameters:
values- The warning to add.- Returns:
- This builder for chaining.
-
clearWarning
public BuildEventStreamProtos.TestResult.Builder clearWarning()
Warnings generated by that test action.
repeated string warning = 7;- Returns:
- This builder for chaining.
-
addWarningBytes
public BuildEventStreamProtos.TestResult.Builder addWarningBytes(com.google.protobuf.ByteString value)
Warnings generated by that test action.
repeated string warning = 7;- Parameters:
value- The bytes of the warning to add.- Returns:
- This builder for chaining.
-
hasExecutionInfo
public boolean hasExecutionInfo()
.build_event_stream.TestResult.ExecutionInfo execution_info = 8;- Specified by:
hasExecutionInfoin interfaceBuildEventStreamProtos.TestResultOrBuilder- Returns:
- Whether the executionInfo field is set.
-
getExecutionInfo
public BuildEventStreamProtos.TestResult.ExecutionInfo getExecutionInfo()
.build_event_stream.TestResult.ExecutionInfo execution_info = 8;- Specified by:
getExecutionInfoin interfaceBuildEventStreamProtos.TestResultOrBuilder- Returns:
- The executionInfo.
-
setExecutionInfo
public BuildEventStreamProtos.TestResult.Builder setExecutionInfo(BuildEventStreamProtos.TestResult.ExecutionInfo value)
.build_event_stream.TestResult.ExecutionInfo execution_info = 8;
-
setExecutionInfo
public BuildEventStreamProtos.TestResult.Builder setExecutionInfo(BuildEventStreamProtos.TestResult.ExecutionInfo.Builder builderForValue)
.build_event_stream.TestResult.ExecutionInfo execution_info = 8;
-
mergeExecutionInfo
public BuildEventStreamProtos.TestResult.Builder mergeExecutionInfo(BuildEventStreamProtos.TestResult.ExecutionInfo value)
.build_event_stream.TestResult.ExecutionInfo execution_info = 8;
-
clearExecutionInfo
public BuildEventStreamProtos.TestResult.Builder clearExecutionInfo()
.build_event_stream.TestResult.ExecutionInfo execution_info = 8;
-
getExecutionInfoBuilder
public BuildEventStreamProtos.TestResult.ExecutionInfo.Builder getExecutionInfoBuilder()
.build_event_stream.TestResult.ExecutionInfo execution_info = 8;
-
getExecutionInfoOrBuilder
public BuildEventStreamProtos.TestResult.ExecutionInfoOrBuilder getExecutionInfoOrBuilder()
.build_event_stream.TestResult.ExecutionInfo execution_info = 8;- Specified by:
getExecutionInfoOrBuilderin interfaceBuildEventStreamProtos.TestResultOrBuilder
-
setUnknownFields
public final BuildEventStreamProtos.TestResult.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BuildEventStreamProtos.TestResult.Builder>
-
mergeUnknownFields
public final BuildEventStreamProtos.TestResult.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BuildEventStreamProtos.TestResult.Builder>
-
-