Class BuildEventStreamProtos.PatternExpanded.TestSuiteExpansion.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.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,Cloneable
- Enclosing class:
- BuildEventStreamProtos.PatternExpanded.TestSuiteExpansion
public static final class BuildEventStreamProtos.PatternExpanded.TestSuiteExpansion.Builder
extends com.google.protobuf.GeneratedMessage.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 type
build_event_stream.PatternExpanded.TestSuiteExpansion-
Method Summary
Modifier and TypeMethodDescriptionaddAllTestLabels(Iterable<String> values) Labels of the test targets included in the suite.addTestLabels(String value) Labels of the test targets included in the suite.addTestLabelsBytes(com.google.protobuf.ByteString value) Labels of the test targets included in the suite.build()clear()The label of the test_suite rule.Labels of the test targets included in the suite.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe label of the test_suite rule.com.google.protobuf.ByteStringThe label of the test_suite rule.getTestLabels(int index) Labels of the test targets included in the suite.com.google.protobuf.ByteStringgetTestLabelsBytes(int index) Labels of the test targets included in the suite.intLabels of the test targets included in the suite.com.google.protobuf.ProtocolStringListLabels of the test targets included in the suite.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setSuiteLabel(String value) The label of the test_suite rule.setSuiteLabelBytes(com.google.protobuf.ByteString value) The label of the test_suite rule.setTestLabels(int index, String value) Labels of the test targets included in the suite.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<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.GeneratedMessage.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.GeneratedMessage.Builder<BuildEventStreamProtos.PatternExpanded.TestSuiteExpansion.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.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
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<BuildEventStreamProtos.PatternExpanded.TestSuiteExpansion.Builder>
-
mergeFrom
public BuildEventStreamProtos.PatternExpanded.TestSuiteExpansion.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws 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:
IOException
-
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(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
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
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, 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(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(Iterable<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
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.
-