Class BuildEventStreamProtos.Progress.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BuildEventStreamProtos.Progress.Builder>
com.google.devtools.build.lib.buildeventstream.BuildEventStreamProtos.Progress.Builder
All Implemented Interfaces:
BuildEventStreamProtos.ProgressOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
BuildEventStreamProtos.Progress

public static final class BuildEventStreamProtos.Progress.Builder extends com.google.protobuf.GeneratedMessage.Builder<BuildEventStreamProtos.Progress.Builder> 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
  • 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.Progress.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.Progress.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.Progress.Builder>
    • getDefaultInstanceForType

      public BuildEventStreamProtos.Progress 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

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

      public BuildEventStreamProtos.Progress.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.Progress.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.Progress.Builder>
    • mergeFrom

      public BuildEventStreamProtos.Progress.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.Progress.Builder>
      Throws:
      IOException
    • 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.
    • setStdout

       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;
      Parameters:
      value - The stdout to set.
      Returns:
      This builder for chaining.
    • clearStdout

       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;
      Returns:
      This builder for chaining.
    • setStdoutBytes

      public BuildEventStreamProtos.Progress.Builder setStdoutBytes(com.google.protobuf.ByteString value)
       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;
      Parameters:
      value - The bytes for stdout to set.
      Returns:
      This builder for chaining.
    • 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.
    • setStderr

       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;
      Parameters:
      value - The stderr to set.
      Returns:
      This builder for chaining.
    • clearStderr

       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;
      Returns:
      This builder for chaining.
    • setStderrBytes

      public BuildEventStreamProtos.Progress.Builder setStderrBytes(com.google.protobuf.ByteString value)
       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;
      Parameters:
      value - The bytes for stderr to set.
      Returns:
      This builder for chaining.