Class BuildEventStreamProtos.TargetComplete

  • All Implemented Interfaces:
    BuildEventStreamProtos.TargetCompleteOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, java.io.Serializable
    Enclosing class:
    BuildEventStreamProtos

    public static final class BuildEventStreamProtos.TargetComplete
    extends com.google.protobuf.GeneratedMessageV3
    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:
    Serialized Form
    • Method Detail

      • newInstance

        protected java.lang.Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getUnknownFields

        public final com.google.protobuf.UnknownFieldSet getUnknownFields()
        Specified by:
        getUnknownFields in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getUnknownFields in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • getTargetKind

        @Deprecated
        public java.lang.String getTargetKind()
        Deprecated.
        build_event_stream.TargetComplete.target_kind is deprecated. See src/main/java/com/google/devtools/build/lib/buildeventstream/proto/build_event_stream.proto;l=559
         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 src/main/java/com/google/devtools/build/lib/buildeventstream/proto/build_event_stream.proto;l=559
         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 src/main/java/com/google/devtools/build/lib/buildeventstream/proto/build_event_stream.proto;l=563
         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
        public BuildEventStreamProtos.TestSize getTestSize()
        Deprecated.
        build_event_stream.TargetComplete.test_size is deprecated. See src/main/java/com/google/devtools/build/lib/buildeventstream/proto/build_event_stream.proto;l=563
         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.
      • 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
      • getImportantOutputList

        @Deprecated
        public java.util.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
      • 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
      • 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
      • getTag

        public java.lang.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 src/main/java/com/google/devtools/build/lib/buildeventstream/proto/build_event_stream.proto;l=588
         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.
      • 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 com.google.devtools.build.lib.server.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 com.google.devtools.build.lib.server.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.GeneratedMessageV3
      • writeTo

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

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

        public boolean equals​(java.lang.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​(java.nio.ByteBuffer data)
                                                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static BuildEventStreamProtos.TargetComplete parseFrom​(java.nio.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​(java.io.InputStream input,
                                                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                               throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

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

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

        public BuildEventStreamProtos.TargetComplete.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected BuildEventStreamProtos.TargetComplete.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • 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.GeneratedMessageV3
      • getDefaultInstanceForType

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