Class BuildEventStreamProtos.Progress

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.devtools.build.lib.buildeventstream.BuildEventStreamProtos.Progress
All Implemented Interfaces:
BuildEventStreamProtos.ProgressOrBuilder, 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.Progress extends com.google.protobuf.GeneratedMessage implements BuildEventStreamProtos.ProgressOrBuilder
 Payload of an event summarizing the progress of the build so far. Those
 events are also used to be parents of events where the more logical parent
 event cannot be posted yet as the needed information is not yet complete.
 
Protobuf type build_event_stream.Progress
See Also:
  • Field Details

  • 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
    • getStdout

      public String getStdout()
       The next chunk of stdout that bazel produced since the last progress event
       or the beginning of the build.
       Consumers that need to reason about the relative order of stdout and stderr
       can assume that stderr has been emitted before stdout if both are present,
       on a best-effort basis.
       
      string stdout = 1;
      Specified by:
      getStdout in interface BuildEventStreamProtos.ProgressOrBuilder
      Returns:
      The stdout.
    • getStdoutBytes

      public com.google.protobuf.ByteString getStdoutBytes()
       The next chunk of stdout that bazel produced since the last progress event
       or the beginning of the build.
       Consumers that need to reason about the relative order of stdout and stderr
       can assume that stderr has been emitted before stdout if both are present,
       on a best-effort basis.
       
      string stdout = 1;
      Specified by:
      getStdoutBytes in interface BuildEventStreamProtos.ProgressOrBuilder
      Returns:
      The bytes for stdout.
    • getStderr

      public String getStderr()
       The next chunk of stderr that bazel produced since the last progress event
       or the beginning of the build.
       Consumers that need to reason about the relative order of stdout and stderr
       can assume that stderr has been emitted before stdout if both are present,
       on a best-effort basis.
       
      string stderr = 2;
      Specified by:
      getStderr in interface BuildEventStreamProtos.ProgressOrBuilder
      Returns:
      The stderr.
    • getStderrBytes

      public com.google.protobuf.ByteString getStderrBytes()
       The next chunk of stderr that bazel produced since the last progress event
       or the beginning of the build.
       Consumers that need to reason about the relative order of stdout and stderr
       can assume that stderr has been emitted before stdout if both are present,
       on a best-effort basis.
       
      string stderr = 2;
      Specified by:
      getStderrBytes in interface BuildEventStreamProtos.ProgressOrBuilder
      Returns:
      The bytes for stderr.
    • 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.Progress parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

      public static BuildEventStreamProtos.Progress 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.Progress parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

      public static BuildEventStreamProtos.Progress.Builder newBuilder()
    • newBuilder

    • toBuilder

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

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

      public static BuildEventStreamProtos.Progress getDefaultInstance()
    • parser

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

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