Class BuildEventStreamProtos.PatternExpanded.TestSuiteExpansion.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<BuildEventStreamProtos.PatternExpanded.TestSuiteExpansion.Builder>
-
- com.google.devtools.build.lib.buildeventstream.BuildEventStreamProtos.PatternExpanded.TestSuiteExpansion.Builder
-
- All Implemented Interfaces:
BuildEventStreamProtos.PatternExpanded.TestSuiteExpansionOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable
- Enclosing class:
- BuildEventStreamProtos.PatternExpanded.TestSuiteExpansion
public static final class BuildEventStreamProtos.PatternExpanded.TestSuiteExpansion.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BuildEventStreamProtos.PatternExpanded.TestSuiteExpansion.Builder> implements BuildEventStreamProtos.PatternExpanded.TestSuiteExpansionOrBuilder
Represents a test_suite target and the tests that it expanded to. Nested test suites are recursively expanded. The test labels only contain the final test targets, not any nested suites.
Protobuf typebuild_event_stream.PatternExpanded.TestSuiteExpansion
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, 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.PatternExpanded.TestSuiteExpansion.Builder>
-
clear
public BuildEventStreamProtos.PatternExpanded.TestSuiteExpansion.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.PatternExpanded.TestSuiteExpansion.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.PatternExpanded.TestSuiteExpansion.Builder>
-
getDefaultInstanceForType
public BuildEventStreamProtos.PatternExpanded.TestSuiteExpansion getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public BuildEventStreamProtos.PatternExpanded.TestSuiteExpansion build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public BuildEventStreamProtos.PatternExpanded.TestSuiteExpansion buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public BuildEventStreamProtos.PatternExpanded.TestSuiteExpansion.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.PatternExpanded.TestSuiteExpansion.Builder>
-
setField
public BuildEventStreamProtos.PatternExpanded.TestSuiteExpansion.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.PatternExpanded.TestSuiteExpansion.Builder>
-
clearField
public BuildEventStreamProtos.PatternExpanded.TestSuiteExpansion.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BuildEventStreamProtos.PatternExpanded.TestSuiteExpansion.Builder>
-
clearOneof
public BuildEventStreamProtos.PatternExpanded.TestSuiteExpansion.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<BuildEventStreamProtos.PatternExpanded.TestSuiteExpansion.Builder>
-
setRepeatedField
public BuildEventStreamProtos.PatternExpanded.TestSuiteExpansion.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.PatternExpanded.TestSuiteExpansion.Builder>
-
addRepeatedField
public BuildEventStreamProtos.PatternExpanded.TestSuiteExpansion.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.PatternExpanded.TestSuiteExpansion.Builder>
-
mergeFrom
public BuildEventStreamProtos.PatternExpanded.TestSuiteExpansion.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BuildEventStreamProtos.PatternExpanded.TestSuiteExpansion.Builder>
-
mergeFrom
public BuildEventStreamProtos.PatternExpanded.TestSuiteExpansion.Builder mergeFrom(BuildEventStreamProtos.PatternExpanded.TestSuiteExpansion other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<BuildEventStreamProtos.PatternExpanded.TestSuiteExpansion.Builder>
-
mergeFrom
public BuildEventStreamProtos.PatternExpanded.TestSuiteExpansion.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.PatternExpanded.TestSuiteExpansion.Builder>- Throws:
java.io.IOException
-
getSuiteLabel
public java.lang.String getSuiteLabel()
The label of the test_suite rule.
string suite_label = 1;- Specified by:
getSuiteLabelin interfaceBuildEventStreamProtos.PatternExpanded.TestSuiteExpansionOrBuilder- Returns:
- The suiteLabel.
-
getSuiteLabelBytes
public com.google.protobuf.ByteString getSuiteLabelBytes()
The label of the test_suite rule.
string suite_label = 1;- Specified by:
getSuiteLabelBytesin interfaceBuildEventStreamProtos.PatternExpanded.TestSuiteExpansionOrBuilder- Returns:
- The bytes for suiteLabel.
-
setSuiteLabel
public BuildEventStreamProtos.PatternExpanded.TestSuiteExpansion.Builder setSuiteLabel(java.lang.String value)
The label of the test_suite rule.
string suite_label = 1;- Parameters:
value- The suiteLabel to set.- Returns:
- This builder for chaining.
-
clearSuiteLabel
public BuildEventStreamProtos.PatternExpanded.TestSuiteExpansion.Builder clearSuiteLabel()
The label of the test_suite rule.
string suite_label = 1;- Returns:
- This builder for chaining.
-
setSuiteLabelBytes
public BuildEventStreamProtos.PatternExpanded.TestSuiteExpansion.Builder setSuiteLabelBytes(com.google.protobuf.ByteString value)
The label of the test_suite rule.
string suite_label = 1;- Parameters:
value- The bytes for suiteLabel to set.- Returns:
- This builder for chaining.
-
getTestLabelsList
public com.google.protobuf.ProtocolStringList getTestLabelsList()
Labels of the test targets included in the suite. Includes all tests in the suite regardless of any filters or negative patterns which may result in the test not actually being run.
repeated string test_labels = 2;- Specified by:
getTestLabelsListin interfaceBuildEventStreamProtos.PatternExpanded.TestSuiteExpansionOrBuilder- Returns:
- A list containing the testLabels.
-
getTestLabelsCount
public int getTestLabelsCount()
Labels of the test targets included in the suite. Includes all tests in the suite regardless of any filters or negative patterns which may result in the test not actually being run.
repeated string test_labels = 2;- Specified by:
getTestLabelsCountin interfaceBuildEventStreamProtos.PatternExpanded.TestSuiteExpansionOrBuilder- Returns:
- The count of testLabels.
-
getTestLabels
public java.lang.String getTestLabels(int index)
Labels of the test targets included in the suite. Includes all tests in the suite regardless of any filters or negative patterns which may result in the test not actually being run.
repeated string test_labels = 2;- Specified by:
getTestLabelsin interfaceBuildEventStreamProtos.PatternExpanded.TestSuiteExpansionOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The testLabels at the given index.
-
getTestLabelsBytes
public com.google.protobuf.ByteString getTestLabelsBytes(int index)
Labels of the test targets included in the suite. Includes all tests in the suite regardless of any filters or negative patterns which may result in the test not actually being run.
repeated string test_labels = 2;- Specified by:
getTestLabelsBytesin interfaceBuildEventStreamProtos.PatternExpanded.TestSuiteExpansionOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the testLabels at the given index.
-
setTestLabels
public BuildEventStreamProtos.PatternExpanded.TestSuiteExpansion.Builder setTestLabels(int index, java.lang.String value)
Labels of the test targets included in the suite. Includes all tests in the suite regardless of any filters or negative patterns which may result in the test not actually being run.
repeated string test_labels = 2;- Parameters:
index- The index to set the value at.value- The testLabels to set.- Returns:
- This builder for chaining.
-
addTestLabels
public BuildEventStreamProtos.PatternExpanded.TestSuiteExpansion.Builder addTestLabels(java.lang.String value)
Labels of the test targets included in the suite. Includes all tests in the suite regardless of any filters or negative patterns which may result in the test not actually being run.
repeated string test_labels = 2;- Parameters:
value- The testLabels to add.- Returns:
- This builder for chaining.
-
addAllTestLabels
public BuildEventStreamProtos.PatternExpanded.TestSuiteExpansion.Builder addAllTestLabels(java.lang.Iterable<java.lang.String> values)
Labels of the test targets included in the suite. Includes all tests in the suite regardless of any filters or negative patterns which may result in the test not actually being run.
repeated string test_labels = 2;- Parameters:
values- The testLabels to add.- Returns:
- This builder for chaining.
-
clearTestLabels
public BuildEventStreamProtos.PatternExpanded.TestSuiteExpansion.Builder clearTestLabels()
Labels of the test targets included in the suite. Includes all tests in the suite regardless of any filters or negative patterns which may result in the test not actually being run.
repeated string test_labels = 2;- Returns:
- This builder for chaining.
-
addTestLabelsBytes
public BuildEventStreamProtos.PatternExpanded.TestSuiteExpansion.Builder addTestLabelsBytes(com.google.protobuf.ByteString value)
Labels of the test targets included in the suite. Includes all tests in the suite regardless of any filters or negative patterns which may result in the test not actually being run.
repeated string test_labels = 2;- Parameters:
value- The bytes of the testLabels to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final BuildEventStreamProtos.PatternExpanded.TestSuiteExpansion.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BuildEventStreamProtos.PatternExpanded.TestSuiteExpansion.Builder>
-
mergeUnknownFields
public final BuildEventStreamProtos.PatternExpanded.TestSuiteExpansion.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BuildEventStreamProtos.PatternExpanded.TestSuiteExpansion.Builder>
-
-