Class 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, java.lang.Cloneable
    Enclosing class:
    BuildEventStreamProtos.Progress

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

      • 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.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.GeneratedMessageV3.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

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

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<BuildEventStreamProtos.Progress.Builder>
      • mergeFrom

        public BuildEventStreamProtos.Progress.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                          throws java.io.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:
        java.io.IOException
      • getStdout

        public java.lang.String getStdout()
         The next chunk of stdout that bazel produced since the last progress event
         or the beginning of the build.
         
        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.
         
        string stdout = 1;
        Specified by:
        getStdoutBytes in interface BuildEventStreamProtos.ProgressOrBuilder
        Returns:
        The bytes for stdout.
      • setStdout

        public BuildEventStreamProtos.Progress.Builder setStdout​(java.lang.String value)
         The next chunk of stdout that bazel produced since the last progress event
         or the beginning of the build.
         
        string stdout = 1;
        Parameters:
        value - The stdout to set.
        Returns:
        This builder for chaining.
      • clearStdout

        public BuildEventStreamProtos.Progress.Builder clearStdout()
         The next chunk of stdout that bazel produced since the last progress event
         or the beginning of the build.
         
        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.
         
        string stdout = 1;
        Parameters:
        value - The bytes for stdout to set.
        Returns:
        This builder for chaining.
      • getStderr

        public java.lang.String getStderr()
         The next chunk of stderr that bazel produced since the last progress event
         or the beginning of the build.
         
        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.
         
        string stderr = 2;
        Specified by:
        getStderrBytes in interface BuildEventStreamProtos.ProgressOrBuilder
        Returns:
        The bytes for stderr.
      • setStderr

        public BuildEventStreamProtos.Progress.Builder setStderr​(java.lang.String value)
         The next chunk of stderr that bazel produced since the last progress event
         or the beginning of the build.
         
        string stderr = 2;
        Parameters:
        value - The stderr to set.
        Returns:
        This builder for chaining.
      • clearStderr

        public BuildEventStreamProtos.Progress.Builder clearStderr()
         The next chunk of stderr that bazel produced since the last progress event
         or the beginning of the build.
         
        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.
         
        string stderr = 2;
        Parameters:
        value - The bytes for stderr to set.
        Returns:
        This builder for chaining.