Class BuildEventStreamProtos.TargetComplete

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.devtools.build.lib.buildeventstream.BuildEventStreamProtos.TargetComplete
All Implemented Interfaces:
BuildEventStreamProtos.TargetCompleteOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
BuildEventStreamProtos

public static final class BuildEventStreamProtos.TargetComplete extends com.google.protobuf.GeneratedMessage implements BuildEventStreamProtos.TargetCompleteOrBuilder
 Payload of the event indicating the completion of a target. The target is
 specified in the id. If the target failed the root causes are provided as
 children events.
 
Protobuf type build_event_stream.TargetComplete
See Also:
  • Field Details

    • SUCCESS_FIELD_NUMBER

      public static final int SUCCESS_FIELD_NUMBER
      See Also:
    • TARGET_KIND_FIELD_NUMBER

      public static final int TARGET_KIND_FIELD_NUMBER
      See Also:
    • TEST_SIZE_FIELD_NUMBER

      public static final int TEST_SIZE_FIELD_NUMBER
      See Also:
    • OUTPUT_GROUP_FIELD_NUMBER

      public static final int OUTPUT_GROUP_FIELD_NUMBER
      See Also:
    • IMPORTANT_OUTPUT_FIELD_NUMBER

      public static final int IMPORTANT_OUTPUT_FIELD_NUMBER
      See Also:
    • DIRECTORY_OUTPUT_FIELD_NUMBER

      public static final int DIRECTORY_OUTPUT_FIELD_NUMBER
      See Also:
    • TAG_FIELD_NUMBER

      public static final int TAG_FIELD_NUMBER
      See Also:
    • TEST_TIMEOUT_SECONDS_FIELD_NUMBER

      public static final int TEST_TIMEOUT_SECONDS_FIELD_NUMBER
      See Also:
    • TEST_TIMEOUT_FIELD_NUMBER

      public static final int TEST_TIMEOUT_FIELD_NUMBER
      See Also:
    • FAILURE_DETAIL_FIELD_NUMBER

      public static final int FAILURE_DETAIL_FIELD_NUMBER
      See Also:
  • 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
    • getSuccess

      public boolean getSuccess()
      bool success = 1;
      Specified by:
      getSuccess in interface BuildEventStreamProtos.TargetCompleteOrBuilder
      Returns:
      The success.
    • getTargetKind

      @Deprecated public String getTargetKind()
      Deprecated.
      build_event_stream.TargetComplete.target_kind is deprecated. See third_party/bazel/src/main/java/com/google/devtools/build/lib/buildeventstream/proto/build_event_stream.proto;l=626
       The kind of target (e.g.,  e.g. "cc_library rule", "source file",
       "generated file") where the completion is reported.
       Deprecated: use the target_kind field in TargetConfigured instead.
       
      string target_kind = 5 [deprecated = true];
      Specified by:
      getTargetKind in interface BuildEventStreamProtos.TargetCompleteOrBuilder
      Returns:
      The targetKind.
    • getTargetKindBytes

      @Deprecated public com.google.protobuf.ByteString getTargetKindBytes()
      Deprecated.
      build_event_stream.TargetComplete.target_kind is deprecated. See third_party/bazel/src/main/java/com/google/devtools/build/lib/buildeventstream/proto/build_event_stream.proto;l=626
       The kind of target (e.g.,  e.g. "cc_library rule", "source file",
       "generated file") where the completion is reported.
       Deprecated: use the target_kind field in TargetConfigured instead.
       
      string target_kind = 5 [deprecated = true];
      Specified by:
      getTargetKindBytes in interface BuildEventStreamProtos.TargetCompleteOrBuilder
      Returns:
      The bytes for targetKind.
    • getTestSizeValue

      @Deprecated public int getTestSizeValue()
      Deprecated.
      build_event_stream.TargetComplete.test_size is deprecated. See third_party/bazel/src/main/java/com/google/devtools/build/lib/buildeventstream/proto/build_event_stream.proto;l=630
       The size of the test, if the target is a test target. Unset otherwise.
       Deprecated: use the test_size field in TargetConfigured instead.
       
      .build_event_stream.TestSize test_size = 6 [deprecated = true];
      Specified by:
      getTestSizeValue in interface BuildEventStreamProtos.TargetCompleteOrBuilder
      Returns:
      The enum numeric value on the wire for testSize.
    • getTestSize

      Deprecated.
      build_event_stream.TargetComplete.test_size is deprecated. See third_party/bazel/src/main/java/com/google/devtools/build/lib/buildeventstream/proto/build_event_stream.proto;l=630
       The size of the test, if the target is a test target. Unset otherwise.
       Deprecated: use the test_size field in TargetConfigured instead.
       
      .build_event_stream.TestSize test_size = 6 [deprecated = true];
      Specified by:
      getTestSize in interface BuildEventStreamProtos.TargetCompleteOrBuilder
      Returns:
      The testSize.
    • getOutputGroupList

      public List<BuildEventStreamProtos.OutputGroup> getOutputGroupList()
       The output files are arranged by their output group. If an output file
       is part of multiple output groups, it appears once in each output
       group.
       
      repeated .build_event_stream.OutputGroup output_group = 2;
      Specified by:
      getOutputGroupList in interface BuildEventStreamProtos.TargetCompleteOrBuilder
    • getOutputGroupOrBuilderList

      public List<? extends BuildEventStreamProtos.OutputGroupOrBuilder> getOutputGroupOrBuilderList()
       The output files are arranged by their output group. If an output file
       is part of multiple output groups, it appears once in each output
       group.
       
      repeated .build_event_stream.OutputGroup output_group = 2;
      Specified by:
      getOutputGroupOrBuilderList in interface BuildEventStreamProtos.TargetCompleteOrBuilder
    • getOutputGroupCount

      public int getOutputGroupCount()
       The output files are arranged by their output group. If an output file
       is part of multiple output groups, it appears once in each output
       group.
       
      repeated .build_event_stream.OutputGroup output_group = 2;
      Specified by:
      getOutputGroupCount in interface BuildEventStreamProtos.TargetCompleteOrBuilder
    • getOutputGroup

      public BuildEventStreamProtos.OutputGroup getOutputGroup(int index)
       The output files are arranged by their output group. If an output file
       is part of multiple output groups, it appears once in each output
       group.
       
      repeated .build_event_stream.OutputGroup output_group = 2;
      Specified by:
      getOutputGroup in interface BuildEventStreamProtos.TargetCompleteOrBuilder
    • getOutputGroupOrBuilder

      public BuildEventStreamProtos.OutputGroupOrBuilder getOutputGroupOrBuilder(int index)
       The output files are arranged by their output group. If an output file
       is part of multiple output groups, it appears once in each output
       group.
       
      repeated .build_event_stream.OutputGroup output_group = 2;
      Specified by:
      getOutputGroupOrBuilder in interface BuildEventStreamProtos.TargetCompleteOrBuilder
    • getImportantOutputList

      @Deprecated public List<BuildEventStreamProtos.File> getImportantOutputList()
      Deprecated.
       Temporarily, also report the important outputs directly. This is only to
       allow existing clients help transition to the deduplicated representation;
       new clients should not use it.
       
      repeated .build_event_stream.File important_output = 4 [deprecated = true];
      Specified by:
      getImportantOutputList in interface BuildEventStreamProtos.TargetCompleteOrBuilder
    • getImportantOutputOrBuilderList

      @Deprecated public List<? extends BuildEventStreamProtos.FileOrBuilder> getImportantOutputOrBuilderList()
      Deprecated.
       Temporarily, also report the important outputs directly. This is only to
       allow existing clients help transition to the deduplicated representation;
       new clients should not use it.
       
      repeated .build_event_stream.File important_output = 4 [deprecated = true];
      Specified by:
      getImportantOutputOrBuilderList in interface BuildEventStreamProtos.TargetCompleteOrBuilder
    • getImportantOutputCount

      @Deprecated public int getImportantOutputCount()
      Deprecated.
       Temporarily, also report the important outputs directly. This is only to
       allow existing clients help transition to the deduplicated representation;
       new clients should not use it.
       
      repeated .build_event_stream.File important_output = 4 [deprecated = true];
      Specified by:
      getImportantOutputCount in interface BuildEventStreamProtos.TargetCompleteOrBuilder
    • getImportantOutput

      @Deprecated public BuildEventStreamProtos.File getImportantOutput(int index)
      Deprecated.
       Temporarily, also report the important outputs directly. This is only to
       allow existing clients help transition to the deduplicated representation;
       new clients should not use it.
       
      repeated .build_event_stream.File important_output = 4 [deprecated = true];
      Specified by:
      getImportantOutput in interface BuildEventStreamProtos.TargetCompleteOrBuilder
    • getImportantOutputOrBuilder

      @Deprecated public BuildEventStreamProtos.FileOrBuilder getImportantOutputOrBuilder(int index)
      Deprecated.
       Temporarily, also report the important outputs directly. This is only to
       allow existing clients help transition to the deduplicated representation;
       new clients should not use it.
       
      repeated .build_event_stream.File important_output = 4 [deprecated = true];
      Specified by:
      getImportantOutputOrBuilder in interface BuildEventStreamProtos.TargetCompleteOrBuilder
    • getDirectoryOutputList

      public List<BuildEventStreamProtos.File> getDirectoryOutputList()
       Report output artifacts (referenced transitively via output_group) which
       emit directories instead of singleton files. These directory_output entries
       will never include a uri.
       
      repeated .build_event_stream.File directory_output = 8;
      Specified by:
      getDirectoryOutputList in interface BuildEventStreamProtos.TargetCompleteOrBuilder
    • getDirectoryOutputOrBuilderList

      public List<? extends BuildEventStreamProtos.FileOrBuilder> getDirectoryOutputOrBuilderList()
       Report output artifacts (referenced transitively via output_group) which
       emit directories instead of singleton files. These directory_output entries
       will never include a uri.
       
      repeated .build_event_stream.File directory_output = 8;
      Specified by:
      getDirectoryOutputOrBuilderList in interface BuildEventStreamProtos.TargetCompleteOrBuilder
    • getDirectoryOutputCount

      public int getDirectoryOutputCount()
       Report output artifacts (referenced transitively via output_group) which
       emit directories instead of singleton files. These directory_output entries
       will never include a uri.
       
      repeated .build_event_stream.File directory_output = 8;
      Specified by:
      getDirectoryOutputCount in interface BuildEventStreamProtos.TargetCompleteOrBuilder
    • getDirectoryOutput

      public BuildEventStreamProtos.File getDirectoryOutput(int index)
       Report output artifacts (referenced transitively via output_group) which
       emit directories instead of singleton files. These directory_output entries
       will never include a uri.
       
      repeated .build_event_stream.File directory_output = 8;
      Specified by:
      getDirectoryOutput in interface BuildEventStreamProtos.TargetCompleteOrBuilder
    • getDirectoryOutputOrBuilder

      public BuildEventStreamProtos.FileOrBuilder getDirectoryOutputOrBuilder(int index)
       Report output artifacts (referenced transitively via output_group) which
       emit directories instead of singleton files. These directory_output entries
       will never include a uri.
       
      repeated .build_event_stream.File directory_output = 8;
      Specified by:
      getDirectoryOutputOrBuilder in interface BuildEventStreamProtos.TargetCompleteOrBuilder
    • getTagList

      public com.google.protobuf.ProtocolStringList getTagList()
       List of tags associated with this configured target.
       
      repeated string tag = 3;
      Specified by:
      getTagList in interface BuildEventStreamProtos.TargetCompleteOrBuilder
      Returns:
      A list containing the tag.
    • getTagCount

      public int getTagCount()
       List of tags associated with this configured target.
       
      repeated string tag = 3;
      Specified by:
      getTagCount in interface BuildEventStreamProtos.TargetCompleteOrBuilder
      Returns:
      The count of tag.
    • getTag

      public String getTag(int index)
       List of tags associated with this configured target.
       
      repeated string tag = 3;
      Specified by:
      getTag in interface BuildEventStreamProtos.TargetCompleteOrBuilder
      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 tags associated with this configured target.
       
      repeated string tag = 3;
      Specified by:
      getTagBytes in interface BuildEventStreamProtos.TargetCompleteOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the tag at the given index.
    • getTestTimeoutSeconds

      @Deprecated public long getTestTimeoutSeconds()
      Deprecated.
      build_event_stream.TargetComplete.test_timeout_seconds is deprecated. See third_party/bazel/src/main/java/com/google/devtools/build/lib/buildeventstream/proto/build_event_stream.proto;l=655
       The timeout specified for test actions under this configured target.
      
       Deprecated, use `test_timeout` instead.
      
       TODO(yannic): Remove.
       
      int64 test_timeout_seconds = 7 [deprecated = true];
      Specified by:
      getTestTimeoutSeconds in interface BuildEventStreamProtos.TargetCompleteOrBuilder
      Returns:
      The testTimeoutSeconds.
    • hasTestTimeout

      public boolean hasTestTimeout()
       The timeout specified for test actions under this configured target.
       
      .google.protobuf.Duration test_timeout = 10;
      Specified by:
      hasTestTimeout in interface BuildEventStreamProtos.TargetCompleteOrBuilder
      Returns:
      Whether the testTimeout field is set.
    • getTestTimeout

      public com.google.protobuf.Duration getTestTimeout()
       The timeout specified for test actions under this configured target.
       
      .google.protobuf.Duration test_timeout = 10;
      Specified by:
      getTestTimeout in interface BuildEventStreamProtos.TargetCompleteOrBuilder
      Returns:
      The testTimeout.
    • getTestTimeoutOrBuilder

      public com.google.protobuf.DurationOrBuilder getTestTimeoutOrBuilder()
       The timeout specified for test actions under this configured target.
       
      .google.protobuf.Duration test_timeout = 10;
      Specified by:
      getTestTimeoutOrBuilder in interface BuildEventStreamProtos.TargetCompleteOrBuilder
    • hasFailureDetail

      public boolean hasFailureDetail()
       Failure information about the target, only populated if success is false,
       and sometimes not even then. Equal to one of the ActionExecuted
       failure_detail fields for one of the root cause ActionExecuted events.
       
      .failure_details.FailureDetail failure_detail = 9;
      Specified by:
      hasFailureDetail in interface BuildEventStreamProtos.TargetCompleteOrBuilder
      Returns:
      Whether the failureDetail field is set.
    • getFailureDetail

      public FailureDetails.FailureDetail getFailureDetail()
       Failure information about the target, only populated if success is false,
       and sometimes not even then. Equal to one of the ActionExecuted
       failure_detail fields for one of the root cause ActionExecuted events.
       
      .failure_details.FailureDetail failure_detail = 9;
      Specified by:
      getFailureDetail in interface BuildEventStreamProtos.TargetCompleteOrBuilder
      Returns:
      The failureDetail.
    • getFailureDetailOrBuilder

      public FailureDetails.FailureDetailOrBuilder getFailureDetailOrBuilder()
       Failure information about the target, only populated if success is false,
       and sometimes not even then. Equal to one of the ActionExecuted
       failure_detail fields for one of the root cause ActionExecuted events.
       
      .failure_details.FailureDetail failure_detail = 9;
      Specified by:
      getFailureDetailOrBuilder in interface BuildEventStreamProtos.TargetCompleteOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static BuildEventStreamProtos.TargetComplete parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static BuildEventStreamProtos.TargetComplete parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static BuildEventStreamProtos.TargetComplete parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static BuildEventStreamProtos.TargetComplete parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static BuildEventStreamProtos.TargetComplete parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static BuildEventStreamProtos.TargetComplete parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static BuildEventStreamProtos.TargetComplete parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static BuildEventStreamProtos.TargetComplete parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static BuildEventStreamProtos.TargetComplete parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static BuildEventStreamProtos.TargetComplete parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static BuildEventStreamProtos.TargetComplete parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static BuildEventStreamProtos.TargetComplete parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected BuildEventStreamProtos.TargetComplete.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static BuildEventStreamProtos.TargetComplete getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<BuildEventStreamProtos.TargetComplete> parser()
    • getParserForType

      public com.google.protobuf.Parser<BuildEventStreamProtos.TargetComplete> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public BuildEventStreamProtos.TargetComplete getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder