Class BuildEventStreamProtos.BuildEventId.TargetConfiguredId.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BuildEventStreamProtos.BuildEventId.TargetConfiguredId.Builder>
com.google.devtools.build.lib.buildeventstream.BuildEventStreamProtos.BuildEventId.TargetConfiguredId.Builder
- All Implemented Interfaces:
BuildEventStreamProtos.BuildEventId.TargetConfiguredIdOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- BuildEventStreamProtos.BuildEventId.TargetConfiguredId
public static final class BuildEventStreamProtos.BuildEventId.TargetConfiguredId.Builder
extends com.google.protobuf.GeneratedMessage.Builder<BuildEventStreamProtos.BuildEventId.TargetConfiguredId.Builder>
implements BuildEventStreamProtos.BuildEventId.TargetConfiguredIdOrBuilder
Identifier of an event indicating that a target has been expanded by identifying for which configurations it should be build.Protobuf type
build_event_stream.BuildEventId.TargetConfiguredId-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()If empty, the id refers to the expansion of the target.string label = 1;If empty, the id refers to the expansion of the target.com.google.protobuf.ByteStringIf empty, the id refers to the expansion of the target.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetLabel()string label = 1;com.google.protobuf.ByteStringstring label = 1;protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) If empty, the id refers to the expansion of the target.setAspectBytes(com.google.protobuf.ByteString value) If empty, the id refers to the expansion of the target.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.TargetConfiguredId.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.TargetConfiguredId.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.TargetConfiguredId.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.TargetConfiguredId.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BuildEventStreamProtos.BuildEventId.TargetConfiguredId.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<BuildEventStreamProtos.BuildEventId.TargetConfiguredId.Builder>
-
mergeFrom
public BuildEventStreamProtos.BuildEventId.TargetConfiguredId.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.TargetConfiguredId.Builder>- Throws:
IOException
-
getLabel
string label = 1;- Specified by:
getLabelin interfaceBuildEventStreamProtos.BuildEventId.TargetConfiguredIdOrBuilder- Returns:
- The label.
-
getLabelBytes
public com.google.protobuf.ByteString getLabelBytes()string label = 1;- Specified by:
getLabelBytesin interfaceBuildEventStreamProtos.BuildEventId.TargetConfiguredIdOrBuilder- 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.TargetConfiguredId.Builder setLabelBytes(com.google.protobuf.ByteString value) string label = 1;- Parameters:
value- The bytes for label to set.- Returns:
- This builder for chaining.
-
getAspect
If empty, the id refers to the expansion of the target. If not-empty, the id refers to the expansion of an aspect applied to the (already expanded) target. For example, when building an apple_binary that depends on proto_library "//:foo_proto", there will be two TargetConfigured 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.TargetConfiguredIdOrBuilder- Returns:
- The aspect.
-
getAspectBytes
public com.google.protobuf.ByteString getAspectBytes()If empty, the id refers to the expansion of the target. If not-empty, the id refers to the expansion of an aspect applied to the (already expanded) target. For example, when building an apple_binary that depends on proto_library "//:foo_proto", there will be two TargetConfigured 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.TargetConfiguredIdOrBuilder- Returns:
- The bytes for aspect.
-
setAspect
If empty, the id refers to the expansion of the target. If not-empty, the id refers to the expansion of an aspect applied to the (already expanded) target. For example, when building an apple_binary that depends on proto_library "//:foo_proto", there will be two TargetConfigured 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 expansion of the target. If not-empty, the id refers to the expansion of an aspect applied to the (already expanded) target. For example, when building an apple_binary that depends on proto_library "//:foo_proto", there will be two TargetConfigured 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.TargetConfiguredId.Builder setAspectBytes(com.google.protobuf.ByteString value) If empty, the id refers to the expansion of the target. If not-empty, the id refers to the expansion of an aspect applied to the (already expanded) target. For example, when building an apple_binary that depends on proto_library "//:foo_proto", there will be two TargetConfigured 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.
-