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,Message.Builder,MessageLite.Builder,MessageLiteOrBuilder,MessageOrBuilder,java.lang.Cloneable
- Enclosing class:
- BuildEventStreamProtos.TestResult
public static final class BuildEventStreamProtos.TestResult.Builder extends 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(Descriptors.FieldDescriptor field, java.lang.Object value)LikesetRepeatedField, but appends the value as a new element.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(ByteString value)Warnings generated by that test action.BuildEventStreamProtos.TestResultbuild()Constructs the message based on the state of the Builder.BuildEventStreamProtos.TestResultbuildPartial()LikeMessageLite.Builder.build(), but does not throw an exception if the message is missing required fields.BuildEventStreamProtos.TestResult.Builderclear()Called by the initialization and clear code paths to allow subclasses to reset any of their builtin fields back to the initial values.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(Descriptors.FieldDescriptor field)Clears the field.BuildEventStreamProtos.TestResult.BuilderclearOneof(Descriptors.OneofDescriptor oneof)TODO(jieluo): Clear it when all subclasses have implemented this method.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.BuildEventStreamProtos.TestResult.BuilderclearTestAttemptStart()Time at which the test attempt was started.BuildEventStreamProtos.TestResult.BuilderclearTestAttemptStartMillisEpoch()Deprecated.BuildEventStreamProtos.TestResult.BuilderclearWarning()Warnings generated by that test action.BuildEventStreamProtos.TestResult.Builderclone()Clones the Builder.booleangetCachedLocally()True, if the reported attempt is taken from the tool's local cache.BuildEventStreamProtos.TestResultgetDefaultInstanceForType()Get an instance of the type with no fields set.static Descriptors.DescriptorgetDescriptor()Descriptors.DescriptorgetDescriptorForType()Get the message's type's descriptor.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.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.DurationgetTestAttemptDuration()Time the test took to run.Duration.BuildergetTestAttemptDurationBuilder()Time the test took to run.longgetTestAttemptDurationMillis()Deprecated.DurationOrBuildergetTestAttemptDurationOrBuilder()Time the test took to run.TimestampgetTestAttemptStart()Time at which the test attempt was started.Timestamp.BuildergetTestAttemptStartBuilder()Time at which the test attempt was started.longgetTestAttemptStartMillisEpoch()Deprecated.TimestampOrBuildergetTestAttemptStartOrBuilder()Time at which the test attempt was started.java.lang.StringgetWarning(int index)Warnings generated by that test action.ByteStringgetWarningBytes(int index)Warnings generated by that test action.intgetWarningCount()Warnings generated by that test action.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 GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()Get the FieldAccessorTable for this type.booleanisInitialized()Returns true if all required fields in the message and all embedded messages are set, false otherwise.BuildEventStreamProtos.TestResult.BuildermergeExecutionInfo(BuildEventStreamProtos.TestResult.ExecutionInfo value).build_event_stream.TestResult.ExecutionInfo execution_info = 8;BuildEventStreamProtos.TestResult.BuildermergeFrom(BuildEventStreamProtos.TestResult other)BuildEventStreamProtos.TestResult.BuildermergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)LikeMessageLite.Builder.mergeFrom(CodedInputStream), but also parses extensions.BuildEventStreamProtos.TestResult.BuildermergeFrom(Message other)Mergeotherinto the message being built.BuildEventStreamProtos.TestResult.BuildermergeTestAttemptDuration(Duration value)Time the test took to run.BuildEventStreamProtos.TestResult.BuildermergeTestAttemptStart(Timestamp value)Time at which the test attempt was started.BuildEventStreamProtos.TestResult.BuildermergeUnknownFields(UnknownFieldSet unknownFields)Merge some unknown fields into theUnknownFieldSetfor this message.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(Descriptors.FieldDescriptor field, java.lang.Object value)Sets a field to the given value.BuildEventStreamProtos.TestResult.BuildersetRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)Sets an element of a repeated field to the given 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(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(Duration value)Time the test took to run.BuildEventStreamProtos.TestResult.BuildersetTestAttemptDuration(Duration.Builder builderForValue)Time the test took to run.BuildEventStreamProtos.TestResult.BuildersetTestAttemptDurationMillis(long value)Deprecated.BuildEventStreamProtos.TestResult.BuildersetTestAttemptStart(Timestamp value)Time at which the test attempt was started.BuildEventStreamProtos.TestResult.BuildersetTestAttemptStart(Timestamp.Builder builderForValue)Time at which the test attempt was started.BuildEventStreamProtos.TestResult.BuildersetTestAttemptStartMillisEpoch(long value)Deprecated.BuildEventStreamProtos.TestResult.BuildersetUnknownFields(UnknownFieldSet unknownFields)Set theUnknownFieldSetfor this message.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, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getDescriptor
public static final Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Description copied from class:GeneratedMessageV3.BuilderGet the FieldAccessorTable for this type. We can't have the message class pass this in to the constructor because of bootstrapping trouble with DescriptorProtos.- Specified by:
internalGetFieldAccessorTablein classGeneratedMessageV3.Builder<BuildEventStreamProtos.TestResult.Builder>
-
clear
public BuildEventStreamProtos.TestResult.Builder clear()
Description copied from class:GeneratedMessageV3.BuilderCalled by the initialization and clear code paths to allow subclasses to reset any of their builtin fields back to the initial values.- Specified by:
clearin interfaceMessage.Builder- Specified by:
clearin interfaceMessageLite.Builder- Overrides:
clearin classGeneratedMessageV3.Builder<BuildEventStreamProtos.TestResult.Builder>
-
getDescriptorForType
public Descriptors.Descriptor getDescriptorForType()
Description copied from interface:Message.BuilderGet the message's type's descriptor. SeeMessageOrBuilder.getDescriptorForType().- Specified by:
getDescriptorForTypein interfaceMessage.Builder- Specified by:
getDescriptorForTypein interfaceMessageOrBuilder- Overrides:
getDescriptorForTypein classGeneratedMessageV3.Builder<BuildEventStreamProtos.TestResult.Builder>
-
getDefaultInstanceForType
public BuildEventStreamProtos.TestResult getDefaultInstanceForType()
Description copied from interface:MessageLiteOrBuilderGet an instance of the type with no fields set. Because no fields are set, all getters for singular fields will return default values and repeated fields will appear empty. This may or may not be a singleton. This differs from thegetDefaultInstance()method of generated message classes in that this method is an abstract method of theMessageLiteinterface whereasgetDefaultInstance()is a static method of a specific class. They return the same thing.- Specified by:
getDefaultInstanceForTypein interfaceMessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceMessageOrBuilder
-
build
public BuildEventStreamProtos.TestResult build()
Description copied from interface:MessageLite.BuilderConstructs the message based on the state of the Builder. Subsequent changes to the Builder will not affect the returned message.- Specified by:
buildin interfaceMessage.Builder- Specified by:
buildin interfaceMessageLite.Builder
-
buildPartial
public BuildEventStreamProtos.TestResult buildPartial()
Description copied from interface:MessageLite.BuilderLikeMessageLite.Builder.build(), but does not throw an exception if the message is missing required fields. Instead, a partial message is returned. Subsequent changes to the Builder will not affect the returned message.- Specified by:
buildPartialin interfaceMessage.Builder- Specified by:
buildPartialin interfaceMessageLite.Builder
-
clone
public BuildEventStreamProtos.TestResult.Builder clone()
Description copied from interface:MessageLite.BuilderClones the Builder.- Specified by:
clonein interfaceMessage.Builder- Specified by:
clonein interfaceMessageLite.Builder- Overrides:
clonein classGeneratedMessageV3.Builder<BuildEventStreamProtos.TestResult.Builder>- See Also:
Object.clone()
-
setField
public BuildEventStreamProtos.TestResult.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
Description copied from interface:Message.BuilderSets a field to the given value. The value must be of the correct type for this field, i.e. the same type thatMessageOrBuilder.getField(Descriptors.FieldDescriptor)would return.- Specified by:
setFieldin interfaceMessage.Builder- Overrides:
setFieldin classGeneratedMessageV3.Builder<BuildEventStreamProtos.TestResult.Builder>
-
clearField
public BuildEventStreamProtos.TestResult.Builder clearField(Descriptors.FieldDescriptor field)
Description copied from interface:Message.BuilderClears the field. This is exactly equivalent to calling the generated "clear" accessor method corresponding to the field.- Specified by:
clearFieldin interfaceMessage.Builder- Overrides:
clearFieldin classGeneratedMessageV3.Builder<BuildEventStreamProtos.TestResult.Builder>
-
clearOneof
public BuildEventStreamProtos.TestResult.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Description copied from class:AbstractMessage.BuilderTODO(jieluo): Clear it when all subclasses have implemented this method.- Specified by:
clearOneofin interfaceMessage.Builder- Overrides:
clearOneofin classGeneratedMessageV3.Builder<BuildEventStreamProtos.TestResult.Builder>
-
setRepeatedField
public BuildEventStreamProtos.TestResult.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
Description copied from interface:Message.BuilderSets an element of a repeated field to the given value. The value must be of the correct type for this field, i.e. the same type thatMessageOrBuilder.getRepeatedField(Descriptors.FieldDescriptor,int)would return.- Specified by:
setRepeatedFieldin interfaceMessage.Builder- Overrides:
setRepeatedFieldin classGeneratedMessageV3.Builder<BuildEventStreamProtos.TestResult.Builder>
-
addRepeatedField
public BuildEventStreamProtos.TestResult.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
Description copied from interface:Message.BuilderLikesetRepeatedField, but appends the value as a new element.- Specified by:
addRepeatedFieldin interfaceMessage.Builder- Overrides:
addRepeatedFieldin classGeneratedMessageV3.Builder<BuildEventStreamProtos.TestResult.Builder>
-
mergeFrom
public BuildEventStreamProtos.TestResult.Builder mergeFrom(Message other)
Description copied from interface:Message.BuilderMergeotherinto the message being built.othermust have the exact same type asthis(i.e.getDescriptorForType() == other.getDescriptorForType()).Merging occurs as follows. For each field:
* For singular primitive fields, if the field is set inother, thenother's value overwrites the value in this message.
* For singular message fields, if the field is set inother, it is merged into the corresponding sub-message of this message using the same merging rules.
* For repeated fields, the elements inotherare concatenated with the elements in this message.
* For oneof groups, if the other message has one of the fields set, the group of this message is cleared and replaced by the field of the other message, so that the oneof constraint is preserved.This is equivalent to the
Message::MergeFrommethod in C++.- Specified by:
mergeFromin interfaceMessage.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<BuildEventStreamProtos.TestResult.Builder>
-
mergeFrom
public BuildEventStreamProtos.TestResult.Builder mergeFrom(BuildEventStreamProtos.TestResult other)
-
isInitialized
public final boolean isInitialized()
Description copied from interface:MessageLiteOrBuilderReturns true if all required fields in the message and all embedded messages are set, false otherwise.- Specified by:
isInitializedin interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessageV3.Builder<BuildEventStreamProtos.TestResult.Builder>
-
mergeFrom
public BuildEventStreamProtos.TestResult.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
Description copied from interface:MessageLite.BuilderLikeMessageLite.Builder.mergeFrom(CodedInputStream), but also parses extensions. The extensions that you want to be able to parse must be registered inextensionRegistry. Extensions not in the registry will be treated as unknown fields.- Specified by:
mergeFromin interfaceMessage.Builder- Specified by:
mergeFromin interfaceMessageLite.Builder- Overrides:
mergeFromin classAbstractMessage.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 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(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.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];- Specified by:
getTestAttemptStartMillisEpochin interfaceBuildEventStreamProtos.TestResultOrBuilder- Returns:
- The testAttemptStartMillisEpoch.
-
setTestAttemptStartMillisEpoch
@Deprecated public BuildEventStreamProtos.TestResult.Builder setTestAttemptStartMillisEpoch(long value)
Deprecated.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];- Parameters:
value- The testAttemptStartMillisEpoch to set.- Returns:
- This builder for chaining.
-
clearTestAttemptStartMillisEpoch
@Deprecated public BuildEventStreamProtos.TestResult.Builder clearTestAttemptStartMillisEpoch()
Deprecated.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:
- 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 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(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(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(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 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 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.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];- Specified by:
getTestAttemptDurationMillisin interfaceBuildEventStreamProtos.TestResultOrBuilder- Returns:
- The testAttemptDurationMillis.
-
setTestAttemptDurationMillis
@Deprecated public BuildEventStreamProtos.TestResult.Builder setTestAttemptDurationMillis(long value)
Deprecated.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];- Parameters:
value- The testAttemptDurationMillis to set.- Returns:
- This builder for chaining.
-
clearTestAttemptDurationMillis
@Deprecated public BuildEventStreamProtos.TestResult.Builder clearTestAttemptDurationMillis()
Deprecated.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:
- 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 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(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(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(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 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 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 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 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(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(UnknownFieldSet unknownFields)
Description copied from interface:Message.BuilderSet theUnknownFieldSetfor this message.- Specified by:
setUnknownFieldsin interfaceMessage.Builder- Overrides:
setUnknownFieldsin classGeneratedMessageV3.Builder<BuildEventStreamProtos.TestResult.Builder>
-
mergeUnknownFields
public final BuildEventStreamProtos.TestResult.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Description copied from interface:Message.BuilderMerge some unknown fields into theUnknownFieldSetfor this message.- Specified by:
mergeUnknownFieldsin interfaceMessage.Builder- Overrides:
mergeUnknownFieldsin classGeneratedMessageV3.Builder<BuildEventStreamProtos.TestResult.Builder>
-
-