Class BuildEventStreamProtos.BuildEventId.TargetCompletedId.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BuildEventStreamProtos.BuildEventId.TargetCompletedId.Builder>
com.google.devtools.build.lib.buildeventstream.BuildEventStreamProtos.BuildEventId.TargetCompletedId.Builder
- All Implemented Interfaces:
BuildEventStreamProtos.BuildEventId.TargetCompletedIdOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- BuildEventStreamProtos.BuildEventId.TargetCompletedId
public static final class BuildEventStreamProtos.BuildEventId.TargetCompletedId.Builder
extends com.google.protobuf.GeneratedMessage.Builder<BuildEventStreamProtos.BuildEventId.TargetCompletedId.Builder>
implements BuildEventStreamProtos.BuildEventId.TargetCompletedIdOrBuilder
Identifier of an event indicating that a target was built completely; this does not include running the test if the target is a test target.Protobuf type
build_event_stream.BuildEventId.TargetCompletedId-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()If empty, the id refers to the completion of the target.The configuration for which the target was built.string label = 1;If empty, the id refers to the completion of the target.com.google.protobuf.ByteStringIf empty, the id refers to the completion of the target.The configuration for which the target was built.The configuration for which the target was built.The configuration for which the target was built.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetLabel()string label = 1;com.google.protobuf.ByteStringstring label = 1;booleanThe configuration for which the target was built.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanThe configuration for which the target was built.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) If empty, the id refers to the completion of the target.setAspectBytes(com.google.protobuf.ByteString value) If empty, the id refers to the completion of the target.The configuration for which the target was built.The configuration for which the target was built.string label = 1;setLabelBytes(com.google.protobuf.ByteString value) string label = 1;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.BuildEventId.TargetCompletedId.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.BuildEventId.TargetCompletedId.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.BuildEventId.TargetCompletedId.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.BuildEventId.TargetCompletedId.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BuildEventStreamProtos.BuildEventId.TargetCompletedId.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<BuildEventStreamProtos.BuildEventId.TargetCompletedId.Builder>
-
mergeFrom
public BuildEventStreamProtos.BuildEventId.TargetCompletedId.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.BuildEventId.TargetCompletedId.Builder>- Throws:
IOException
-
getLabel
string label = 1;- Specified by:
getLabelin interfaceBuildEventStreamProtos.BuildEventId.TargetCompletedIdOrBuilder- Returns:
- The label.
-
getLabelBytes
public com.google.protobuf.ByteString getLabelBytes()string label = 1;- Specified by:
getLabelBytesin interfaceBuildEventStreamProtos.BuildEventId.TargetCompletedIdOrBuilder- Returns:
- The bytes for label.
-
setLabel
string label = 1;- Parameters:
value- The label to set.- Returns:
- This builder for chaining.
-
clearLabel
string label = 1;- Returns:
- This builder for chaining.
-
setLabelBytes
public BuildEventStreamProtos.BuildEventId.TargetCompletedId.Builder setLabelBytes(com.google.protobuf.ByteString value) string label = 1;- Parameters:
value- The bytes for label to set.- Returns:
- This builder for chaining.
-
hasConfiguration
public boolean hasConfiguration()The configuration for which the target was built.
.build_event_stream.BuildEventId.ConfigurationId configuration = 3;- Specified by:
hasConfigurationin interfaceBuildEventStreamProtos.BuildEventId.TargetCompletedIdOrBuilder- Returns:
- Whether the configuration field is set.
-
getConfiguration
The configuration for which the target was built.
.build_event_stream.BuildEventId.ConfigurationId configuration = 3;- Specified by:
getConfigurationin interfaceBuildEventStreamProtos.BuildEventId.TargetCompletedIdOrBuilder- Returns:
- The configuration.
-
setConfiguration
public BuildEventStreamProtos.BuildEventId.TargetCompletedId.Builder setConfiguration(BuildEventStreamProtos.BuildEventId.ConfigurationId value) The configuration for which the target was built.
.build_event_stream.BuildEventId.ConfigurationId configuration = 3; -
setConfiguration
public BuildEventStreamProtos.BuildEventId.TargetCompletedId.Builder setConfiguration(BuildEventStreamProtos.BuildEventId.ConfigurationId.Builder builderForValue) The configuration for which the target was built.
.build_event_stream.BuildEventId.ConfigurationId configuration = 3; -
mergeConfiguration
public BuildEventStreamProtos.BuildEventId.TargetCompletedId.Builder mergeConfiguration(BuildEventStreamProtos.BuildEventId.ConfigurationId value) The configuration for which the target was built.
.build_event_stream.BuildEventId.ConfigurationId configuration = 3; -
clearConfiguration
The configuration for which the target was built.
.build_event_stream.BuildEventId.ConfigurationId configuration = 3; -
getConfigurationBuilder
The configuration for which the target was built.
.build_event_stream.BuildEventId.ConfigurationId configuration = 3; -
getConfigurationOrBuilder
The configuration for which the target was built.
.build_event_stream.BuildEventId.ConfigurationId configuration = 3;- Specified by:
getConfigurationOrBuilderin interfaceBuildEventStreamProtos.BuildEventId.TargetCompletedIdOrBuilder
-
getAspect
If empty, the id refers to the completion of the target. If not-empty, the id refers to the completion of an aspect applied to the (already completed) target. For example, when building an apple_binary that depends on proto_library "//:foo_proto", there will be two TargetCompleted events for "//:foo_proto": 1. An event with an empty aspect, corresponding to actions producing language-agnostic outputs from the proto_library; and 2. An event with aspect "ObjcProtoAspect", corresponding to Objective-C code generation.
string aspect = 2;- Specified by:
getAspectin interfaceBuildEventStreamProtos.BuildEventId.TargetCompletedIdOrBuilder- Returns:
- The aspect.
-
getAspectBytes
public com.google.protobuf.ByteString getAspectBytes()If empty, the id refers to the completion of the target. If not-empty, the id refers to the completion of an aspect applied to the (already completed) target. For example, when building an apple_binary that depends on proto_library "//:foo_proto", there will be two TargetCompleted events for "//:foo_proto": 1. An event with an empty aspect, corresponding to actions producing language-agnostic outputs from the proto_library; and 2. An event with aspect "ObjcProtoAspect", corresponding to Objective-C code generation.
string aspect = 2;- Specified by:
getAspectBytesin interfaceBuildEventStreamProtos.BuildEventId.TargetCompletedIdOrBuilder- Returns:
- The bytes for aspect.
-
setAspect
If empty, the id refers to the completion of the target. If not-empty, the id refers to the completion of an aspect applied to the (already completed) target. For example, when building an apple_binary that depends on proto_library "//:foo_proto", there will be two TargetCompleted events for "//:foo_proto": 1. An event with an empty aspect, corresponding to actions producing language-agnostic outputs from the proto_library; and 2. An event with aspect "ObjcProtoAspect", corresponding to Objective-C code generation.
string aspect = 2;- Parameters:
value- The aspect to set.- Returns:
- This builder for chaining.
-
clearAspect
If empty, the id refers to the completion of the target. If not-empty, the id refers to the completion of an aspect applied to the (already completed) target. For example, when building an apple_binary that depends on proto_library "//:foo_proto", there will be two TargetCompleted events for "//:foo_proto": 1. An event with an empty aspect, corresponding to actions producing language-agnostic outputs from the proto_library; and 2. An event with aspect "ObjcProtoAspect", corresponding to Objective-C code generation.
string aspect = 2;- Returns:
- This builder for chaining.
-
setAspectBytes
public BuildEventStreamProtos.BuildEventId.TargetCompletedId.Builder setAspectBytes(com.google.protobuf.ByteString value) If empty, the id refers to the completion of the target. If not-empty, the id refers to the completion of an aspect applied to the (already completed) target. For example, when building an apple_binary that depends on proto_library "//:foo_proto", there will be two TargetCompleted events for "//:foo_proto": 1. An event with an empty aspect, corresponding to actions producing language-agnostic outputs from the proto_library; and 2. An event with aspect "ObjcProtoAspect", corresponding to Objective-C code generation.
string aspect = 2;- Parameters:
value- The bytes for aspect to set.- Returns:
- This builder for chaining.
-