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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<BuildEventStreamProtos.BuildEventId.TargetConfiguredId.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<BuildEventStreamProtos.BuildEventId.TargetConfiguredId.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<BuildEventStreamProtos.BuildEventId.TargetConfiguredId.Builder>
    • getDefaultInstanceForType

      public BuildEventStreamProtos.BuildEventId.TargetConfiguredId getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public BuildEventStreamProtos.BuildEventId.TargetConfiguredId.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<BuildEventStreamProtos.BuildEventId.TargetConfiguredId.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<BuildEventStreamProtos.BuildEventId.TargetConfiguredId.Builder>
      Throws:
      IOException
    • getLabel

      public String getLabel()
      string label = 1;
      Specified by:
      getLabel in interface BuildEventStreamProtos.BuildEventId.TargetConfiguredIdOrBuilder
      Returns:
      The label.
    • getLabelBytes

      public com.google.protobuf.ByteString getLabelBytes()
      string label = 1;
      Specified by:
      getLabelBytes in interface BuildEventStreamProtos.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

      public String 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:
      getAspect in interface BuildEventStreamProtos.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:
      getAspectBytes in interface BuildEventStreamProtos.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.