Class BuildEventStreamProtos.TargetConfigured.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BuildEventStreamProtos.TargetConfigured.Builder>
com.google.devtools.build.lib.buildeventstream.BuildEventStreamProtos.TargetConfigured.Builder
- All Implemented Interfaces:
BuildEventStreamProtos.TargetConfiguredOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- BuildEventStreamProtos.TargetConfigured
public static final class BuildEventStreamProtos.TargetConfigured.Builder
extends com.google.protobuf.GeneratedMessage.Builder<BuildEventStreamProtos.TargetConfigured.Builder>
implements BuildEventStreamProtos.TargetConfiguredOrBuilder
Payload of the event indicating that the configurations for a target have been identified. As with pattern expansion the main information is in the chaining part: the id will contain the target that was configured and the children id will contain the configured targets it was configured to.Protobuf type
build_event_stream.TargetConfigured-
Method Summary
Modifier and TypeMethodDescriptionList of all tags associated with this target (for all possible configurations).List of all tags associated with this target (for all possible configurations).addTagBytes(com.google.protobuf.ByteString value) List of all tags associated with this target (for all possible configurations).build()clear()clearTag()List of all tags associated with this target (for all possible configurations).The kind of target (e.g., e.g.The size of the test, if the target is a test target.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetTag(int index) List of all tags associated with this target (for all possible configurations).com.google.protobuf.ByteStringgetTagBytes(int index) List of all tags associated with this target (for all possible configurations).intList of all tags associated with this target (for all possible configurations).com.google.protobuf.ProtocolStringListList of all tags associated with this target (for all possible configurations).The kind of target (e.g., e.g.com.google.protobuf.ByteStringThe kind of target (e.g., e.g.The size of the test, if the target is a test target.intThe size of the test, if the target is a test target.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) List of all tags associated with this target (for all possible configurations).setTargetKind(String value) The kind of target (e.g., e.g.setTargetKindBytes(com.google.protobuf.ByteString value) The kind of target (e.g., e.g.The size of the test, if the target is a test target.setTestSizeValue(int value) The size of the test, if the target is a test target.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.TargetConfigured.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.TargetConfigured.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.TargetConfigured.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
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BuildEventStreamProtos.TargetConfigured.Builder>
-
mergeFrom
public BuildEventStreamProtos.TargetConfigured.Builder mergeFrom(BuildEventStreamProtos.TargetConfigured other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<BuildEventStreamProtos.TargetConfigured.Builder>
-
mergeFrom
public BuildEventStreamProtos.TargetConfigured.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.TargetConfigured.Builder>- Throws:
IOException
-
getTargetKind
The kind of target (e.g., e.g. "cc_library rule", "source file", "generated file") where the completion is reported.
string target_kind = 1;- Specified by:
getTargetKindin interfaceBuildEventStreamProtos.TargetConfiguredOrBuilder- Returns:
- The targetKind.
-
getTargetKindBytes
public com.google.protobuf.ByteString getTargetKindBytes()The kind of target (e.g., e.g. "cc_library rule", "source file", "generated file") where the completion is reported.
string target_kind = 1;- Specified by:
getTargetKindBytesin interfaceBuildEventStreamProtos.TargetConfiguredOrBuilder- Returns:
- The bytes for targetKind.
-
setTargetKind
The kind of target (e.g., e.g. "cc_library rule", "source file", "generated file") where the completion is reported.
string target_kind = 1;- Parameters:
value- The targetKind to set.- Returns:
- This builder for chaining.
-
clearTargetKind
The kind of target (e.g., e.g. "cc_library rule", "source file", "generated file") where the completion is reported.
string target_kind = 1;- Returns:
- This builder for chaining.
-
setTargetKindBytes
public BuildEventStreamProtos.TargetConfigured.Builder setTargetKindBytes(com.google.protobuf.ByteString value) The kind of target (e.g., e.g. "cc_library rule", "source file", "generated file") where the completion is reported.
string target_kind = 1;- Parameters:
value- The bytes for targetKind to set.- Returns:
- This builder for chaining.
-
getTestSizeValue
public int getTestSizeValue()The size of the test, if the target is a test target. Unset otherwise.
.build_event_stream.TestSize test_size = 2;- Specified by:
getTestSizeValuein interfaceBuildEventStreamProtos.TargetConfiguredOrBuilder- Returns:
- The enum numeric value on the wire for testSize.
-
setTestSizeValue
The size of the test, if the target is a test target. Unset otherwise.
.build_event_stream.TestSize test_size = 2;- Parameters:
value- The enum numeric value on the wire for testSize to set.- Returns:
- This builder for chaining.
-
getTestSize
The size of the test, if the target is a test target. Unset otherwise.
.build_event_stream.TestSize test_size = 2;- Specified by:
getTestSizein interfaceBuildEventStreamProtos.TargetConfiguredOrBuilder- Returns:
- The testSize.
-
setTestSize
public BuildEventStreamProtos.TargetConfigured.Builder setTestSize(BuildEventStreamProtos.TestSize value) The size of the test, if the target is a test target. Unset otherwise.
.build_event_stream.TestSize test_size = 2;- Parameters:
value- The testSize to set.- Returns:
- This builder for chaining.
-
clearTestSize
The size of the test, if the target is a test target. Unset otherwise.
.build_event_stream.TestSize test_size = 2;- Returns:
- This builder for chaining.
-
getTagList
public com.google.protobuf.ProtocolStringList getTagList()List of all tags associated with this target (for all possible configurations).
repeated string tag = 3;- Specified by:
getTagListin interfaceBuildEventStreamProtos.TargetConfiguredOrBuilder- Returns:
- A list containing the tag.
-
getTagCount
public int getTagCount()List of all tags associated with this target (for all possible configurations).
repeated string tag = 3;- Specified by:
getTagCountin interfaceBuildEventStreamProtos.TargetConfiguredOrBuilder- Returns:
- The count of tag.
-
getTag
List of all tags associated with this target (for all possible configurations).
repeated string tag = 3;- Specified by:
getTagin interfaceBuildEventStreamProtos.TargetConfiguredOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The tag at the given index.
-
getTagBytes
public com.google.protobuf.ByteString getTagBytes(int index) List of all tags associated with this target (for all possible configurations).
repeated string tag = 3;- Specified by:
getTagBytesin interfaceBuildEventStreamProtos.TargetConfiguredOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the tag at the given index.
-
setTag
List of all tags associated with this target (for all possible configurations).
repeated string tag = 3;- Parameters:
index- The index to set the value at.value- The tag to set.- Returns:
- This builder for chaining.
-
addTag
List of all tags associated with this target (for all possible configurations).
repeated string tag = 3;- Parameters:
value- The tag to add.- Returns:
- This builder for chaining.
-
addAllTag
List of all tags associated with this target (for all possible configurations).
repeated string tag = 3;- Parameters:
values- The tag to add.- Returns:
- This builder for chaining.
-
clearTag
List of all tags associated with this target (for all possible configurations).
repeated string tag = 3;- Returns:
- This builder for chaining.
-
addTagBytes
public BuildEventStreamProtos.TargetConfigured.Builder addTagBytes(com.google.protobuf.ByteString value) List of all tags associated with this target (for all possible configurations).
repeated string tag = 3;- Parameters:
value- The bytes of the tag to add.- Returns:
- This builder for chaining.
-