Class BuildEvent

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.devtools.build.v1.BuildEvent
All Implemented Interfaces:
BuildEventOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

public final class BuildEvent extends com.google.protobuf.GeneratedMessage implements BuildEventOrBuilder
 An event representing some state change that occurred in the build. This
 message does not include field for uniquely identifying an event.
 
Protobuf type google.devtools.build.v1.BuildEvent
See Also:
  • Field Details

    • EVENT_TIME_FIELD_NUMBER

      public static final int EVENT_TIME_FIELD_NUMBER
      See Also:
    • INVOCATION_ATTEMPT_STARTED_FIELD_NUMBER

      public static final int INVOCATION_ATTEMPT_STARTED_FIELD_NUMBER
      See Also:
    • INVOCATION_ATTEMPT_FINISHED_FIELD_NUMBER

      public static final int INVOCATION_ATTEMPT_FINISHED_FIELD_NUMBER
      See Also:
    • BUILD_ENQUEUED_FIELD_NUMBER

      public static final int BUILD_ENQUEUED_FIELD_NUMBER
      See Also:
    • BUILD_FINISHED_FIELD_NUMBER

      public static final int BUILD_FINISHED_FIELD_NUMBER
      See Also:
    • CONSOLE_OUTPUT_FIELD_NUMBER

      public static final int CONSOLE_OUTPUT_FIELD_NUMBER
      See Also:
    • COMPONENT_STREAM_FINISHED_FIELD_NUMBER

      public static final int COMPONENT_STREAM_FINISHED_FIELD_NUMBER
      See Also:
    • BAZEL_EVENT_FIELD_NUMBER

      public static final int BAZEL_EVENT_FIELD_NUMBER
      See Also:
    • BUILD_EXECUTION_EVENT_FIELD_NUMBER

      public static final int BUILD_EXECUTION_EVENT_FIELD_NUMBER
      See Also:
    • SOURCE_FETCH_EVENT_FIELD_NUMBER

      public static final int SOURCE_FETCH_EVENT_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
    • getEventCase

      public BuildEvent.EventCase getEventCase()
      Specified by:
      getEventCase in interface BuildEventOrBuilder
    • hasEventTime

      public boolean hasEventTime()
       This should be precisely the time when this event happened, and not when
       the event proto was created or sent.
       
      .google.protobuf.Timestamp event_time = 1;
      Specified by:
      hasEventTime in interface BuildEventOrBuilder
      Returns:
      Whether the eventTime field is set.
    • getEventTime

      public com.google.protobuf.Timestamp getEventTime()
       This should be precisely the time when this event happened, and not when
       the event proto was created or sent.
       
      .google.protobuf.Timestamp event_time = 1;
      Specified by:
      getEventTime in interface BuildEventOrBuilder
      Returns:
      The eventTime.
    • getEventTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getEventTimeOrBuilder()
       This should be precisely the time when this event happened, and not when
       the event proto was created or sent.
       
      .google.protobuf.Timestamp event_time = 1;
      Specified by:
      getEventTimeOrBuilder in interface BuildEventOrBuilder
    • hasInvocationAttemptStarted

      public boolean hasInvocationAttemptStarted()
       An invocation attempt has started.
       
      .google.devtools.build.v1.BuildEvent.InvocationAttemptStarted invocation_attempt_started = 51;
      Specified by:
      hasInvocationAttemptStarted in interface BuildEventOrBuilder
      Returns:
      Whether the invocationAttemptStarted field is set.
    • getInvocationAttemptStarted

      public BuildEvent.InvocationAttemptStarted getInvocationAttemptStarted()
       An invocation attempt has started.
       
      .google.devtools.build.v1.BuildEvent.InvocationAttemptStarted invocation_attempt_started = 51;
      Specified by:
      getInvocationAttemptStarted in interface BuildEventOrBuilder
      Returns:
      The invocationAttemptStarted.
    • getInvocationAttemptStartedOrBuilder

      public BuildEvent.InvocationAttemptStartedOrBuilder getInvocationAttemptStartedOrBuilder()
       An invocation attempt has started.
       
      .google.devtools.build.v1.BuildEvent.InvocationAttemptStarted invocation_attempt_started = 51;
      Specified by:
      getInvocationAttemptStartedOrBuilder in interface BuildEventOrBuilder
    • hasInvocationAttemptFinished

      public boolean hasInvocationAttemptFinished()
       An invocation attempt has finished.
       
      .google.devtools.build.v1.BuildEvent.InvocationAttemptFinished invocation_attempt_finished = 52;
      Specified by:
      hasInvocationAttemptFinished in interface BuildEventOrBuilder
      Returns:
      Whether the invocationAttemptFinished field is set.
    • getInvocationAttemptFinished

      public BuildEvent.InvocationAttemptFinished getInvocationAttemptFinished()
       An invocation attempt has finished.
       
      .google.devtools.build.v1.BuildEvent.InvocationAttemptFinished invocation_attempt_finished = 52;
      Specified by:
      getInvocationAttemptFinished in interface BuildEventOrBuilder
      Returns:
      The invocationAttemptFinished.
    • getInvocationAttemptFinishedOrBuilder

      public BuildEvent.InvocationAttemptFinishedOrBuilder getInvocationAttemptFinishedOrBuilder()
       An invocation attempt has finished.
       
      .google.devtools.build.v1.BuildEvent.InvocationAttemptFinished invocation_attempt_finished = 52;
      Specified by:
      getInvocationAttemptFinishedOrBuilder in interface BuildEventOrBuilder
    • hasBuildEnqueued

      public boolean hasBuildEnqueued()
       The build is enqueued.
       
      .google.devtools.build.v1.BuildEvent.BuildEnqueued build_enqueued = 53;
      Specified by:
      hasBuildEnqueued in interface BuildEventOrBuilder
      Returns:
      Whether the buildEnqueued field is set.
    • getBuildEnqueued

      public BuildEvent.BuildEnqueued getBuildEnqueued()
       The build is enqueued.
       
      .google.devtools.build.v1.BuildEvent.BuildEnqueued build_enqueued = 53;
      Specified by:
      getBuildEnqueued in interface BuildEventOrBuilder
      Returns:
      The buildEnqueued.
    • getBuildEnqueuedOrBuilder

      public BuildEvent.BuildEnqueuedOrBuilder getBuildEnqueuedOrBuilder()
       The build is enqueued.
       
      .google.devtools.build.v1.BuildEvent.BuildEnqueued build_enqueued = 53;
      Specified by:
      getBuildEnqueuedOrBuilder in interface BuildEventOrBuilder
    • hasBuildFinished

      public boolean hasBuildFinished()
       The build has finished. Set when the build is terminated.
       
      .google.devtools.build.v1.BuildEvent.BuildFinished build_finished = 55;
      Specified by:
      hasBuildFinished in interface BuildEventOrBuilder
      Returns:
      Whether the buildFinished field is set.
    • getBuildFinished

      public BuildEvent.BuildFinished getBuildFinished()
       The build has finished. Set when the build is terminated.
       
      .google.devtools.build.v1.BuildEvent.BuildFinished build_finished = 55;
      Specified by:
      getBuildFinished in interface BuildEventOrBuilder
      Returns:
      The buildFinished.
    • getBuildFinishedOrBuilder

      public BuildEvent.BuildFinishedOrBuilder getBuildFinishedOrBuilder()
       The build has finished. Set when the build is terminated.
       
      .google.devtools.build.v1.BuildEvent.BuildFinished build_finished = 55;
      Specified by:
      getBuildFinishedOrBuilder in interface BuildEventOrBuilder
    • hasConsoleOutput

      public boolean hasConsoleOutput()
       An event containing printed text.
       
      .google.devtools.build.v1.BuildEvent.ConsoleOutput console_output = 56;
      Specified by:
      hasConsoleOutput in interface BuildEventOrBuilder
      Returns:
      Whether the consoleOutput field is set.
    • getConsoleOutput

      public BuildEvent.ConsoleOutput getConsoleOutput()
       An event containing printed text.
       
      .google.devtools.build.v1.BuildEvent.ConsoleOutput console_output = 56;
      Specified by:
      getConsoleOutput in interface BuildEventOrBuilder
      Returns:
      The consoleOutput.
    • getConsoleOutputOrBuilder

      public BuildEvent.ConsoleOutputOrBuilder getConsoleOutputOrBuilder()
       An event containing printed text.
       
      .google.devtools.build.v1.BuildEvent.ConsoleOutput console_output = 56;
      Specified by:
      getConsoleOutputOrBuilder in interface BuildEventOrBuilder
    • hasComponentStreamFinished

      public boolean hasComponentStreamFinished()
       Indicates the end of a build event stream (with the same StreamId) from
       a build component executing the requested build task.
       *** This field does not indicate the WatchBuild RPC is finished. ***
       
      .google.devtools.build.v1.BuildEvent.BuildComponentStreamFinished component_stream_finished = 59;
      Specified by:
      hasComponentStreamFinished in interface BuildEventOrBuilder
      Returns:
      Whether the componentStreamFinished field is set.
    • getComponentStreamFinished

      public BuildEvent.BuildComponentStreamFinished getComponentStreamFinished()
       Indicates the end of a build event stream (with the same StreamId) from
       a build component executing the requested build task.
       *** This field does not indicate the WatchBuild RPC is finished. ***
       
      .google.devtools.build.v1.BuildEvent.BuildComponentStreamFinished component_stream_finished = 59;
      Specified by:
      getComponentStreamFinished in interface BuildEventOrBuilder
      Returns:
      The componentStreamFinished.
    • getComponentStreamFinishedOrBuilder

      public BuildEvent.BuildComponentStreamFinishedOrBuilder getComponentStreamFinishedOrBuilder()
       Indicates the end of a build event stream (with the same StreamId) from
       a build component executing the requested build task.
       *** This field does not indicate the WatchBuild RPC is finished. ***
       
      .google.devtools.build.v1.BuildEvent.BuildComponentStreamFinished component_stream_finished = 59;
      Specified by:
      getComponentStreamFinishedOrBuilder in interface BuildEventOrBuilder
    • hasBazelEvent

      public boolean hasBazelEvent()
       Structured build event generated by Bazel about its execution progress.
       
      .google.protobuf.Any bazel_event = 60;
      Specified by:
      hasBazelEvent in interface BuildEventOrBuilder
      Returns:
      Whether the bazelEvent field is set.
    • getBazelEvent

      public com.google.protobuf.Any getBazelEvent()
       Structured build event generated by Bazel about its execution progress.
       
      .google.protobuf.Any bazel_event = 60;
      Specified by:
      getBazelEvent in interface BuildEventOrBuilder
      Returns:
      The bazelEvent.
    • getBazelEventOrBuilder

      public com.google.protobuf.AnyOrBuilder getBazelEventOrBuilder()
       Structured build event generated by Bazel about its execution progress.
       
      .google.protobuf.Any bazel_event = 60;
      Specified by:
      getBazelEventOrBuilder in interface BuildEventOrBuilder
    • hasBuildExecutionEvent

      public boolean hasBuildExecutionEvent()
       An event that contains supplemental tool-specific information about
       build execution.
       
      .google.protobuf.Any build_execution_event = 61;
      Specified by:
      hasBuildExecutionEvent in interface BuildEventOrBuilder
      Returns:
      Whether the buildExecutionEvent field is set.
    • getBuildExecutionEvent

      public com.google.protobuf.Any getBuildExecutionEvent()
       An event that contains supplemental tool-specific information about
       build execution.
       
      .google.protobuf.Any build_execution_event = 61;
      Specified by:
      getBuildExecutionEvent in interface BuildEventOrBuilder
      Returns:
      The buildExecutionEvent.
    • getBuildExecutionEventOrBuilder

      public com.google.protobuf.AnyOrBuilder getBuildExecutionEventOrBuilder()
       An event that contains supplemental tool-specific information about
       build execution.
       
      .google.protobuf.Any build_execution_event = 61;
      Specified by:
      getBuildExecutionEventOrBuilder in interface BuildEventOrBuilder
    • hasSourceFetchEvent

      public boolean hasSourceFetchEvent()
       An event that contains supplemental tool-specific information about
       source fetching.
       
      .google.protobuf.Any source_fetch_event = 62;
      Specified by:
      hasSourceFetchEvent in interface BuildEventOrBuilder
      Returns:
      Whether the sourceFetchEvent field is set.
    • getSourceFetchEvent

      public com.google.protobuf.Any getSourceFetchEvent()
       An event that contains supplemental tool-specific information about
       source fetching.
       
      .google.protobuf.Any source_fetch_event = 62;
      Specified by:
      getSourceFetchEvent in interface BuildEventOrBuilder
      Returns:
      The sourceFetchEvent.
    • getSourceFetchEventOrBuilder

      public com.google.protobuf.AnyOrBuilder getSourceFetchEventOrBuilder()
       An event that contains supplemental tool-specific information about
       source fetching.
       
      .google.protobuf.Any source_fetch_event = 62;
      Specified by:
      getSourceFetchEventOrBuilder in interface BuildEventOrBuilder
    • 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 BuildEvent parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static BuildEvent parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static BuildEvent parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static BuildEvent.Builder newBuilder()
    • newBuilder

      public static BuildEvent.Builder newBuilder(BuildEvent prototype)
    • toBuilder

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

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

      public static BuildEvent getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<BuildEvent> 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 BuildEvent getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder