Class BuildEvent.ConsoleOutput.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BuildEvent.ConsoleOutput.Builder>
com.google.devtools.build.v1.BuildEvent.ConsoleOutput.Builder
All Implemented Interfaces:
BuildEvent.ConsoleOutputOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
BuildEvent.ConsoleOutput

public static final class BuildEvent.ConsoleOutput.Builder extends com.google.protobuf.GeneratedMessage.Builder<BuildEvent.ConsoleOutput.Builder> implements BuildEvent.ConsoleOutputOrBuilder
 Textual output written to standard output or standard error.
 
Protobuf type google.devtools.build.v1.BuildEvent.ConsoleOutput
  • 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<BuildEvent.ConsoleOutput.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<BuildEvent.ConsoleOutput.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<BuildEvent.ConsoleOutput.Builder>
    • getDefaultInstanceForType

      public BuildEvent.ConsoleOutput getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public BuildEvent.ConsoleOutput build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      public BuildEvent.ConsoleOutput.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<BuildEvent.ConsoleOutput.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<BuildEvent.ConsoleOutput.Builder>
    • mergeFrom

      public BuildEvent.ConsoleOutput.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<BuildEvent.ConsoleOutput.Builder>
      Throws:
      IOException
    • getOutputCase

      public BuildEvent.ConsoleOutput.OutputCase getOutputCase()
      Specified by:
      getOutputCase in interface BuildEvent.ConsoleOutputOrBuilder
    • clearOutput

      public BuildEvent.ConsoleOutput.Builder clearOutput()
    • getTypeValue

      public int getTypeValue()
       The output stream type.
       
      .google.devtools.build.v1.ConsoleOutputStream type = 1;
      Specified by:
      getTypeValue in interface BuildEvent.ConsoleOutputOrBuilder
      Returns:
      The enum numeric value on the wire for type.
    • setTypeValue

      public BuildEvent.ConsoleOutput.Builder setTypeValue(int value)
       The output stream type.
       
      .google.devtools.build.v1.ConsoleOutputStream type = 1;
      Parameters:
      value - The enum numeric value on the wire for type to set.
      Returns:
      This builder for chaining.
    • getType

      public ConsoleOutputStream getType()
       The output stream type.
       
      .google.devtools.build.v1.ConsoleOutputStream type = 1;
      Specified by:
      getType in interface BuildEvent.ConsoleOutputOrBuilder
      Returns:
      The type.
    • setType

       The output stream type.
       
      .google.devtools.build.v1.ConsoleOutputStream type = 1;
      Parameters:
      value - The type to set.
      Returns:
      This builder for chaining.
    • clearType

       The output stream type.
       
      .google.devtools.build.v1.ConsoleOutputStream type = 1;
      Returns:
      This builder for chaining.
    • hasTextOutput

      public boolean hasTextOutput()
       Regular UTF-8 output; normal text.
       
      string text_output = 2;
      Specified by:
      hasTextOutput in interface BuildEvent.ConsoleOutputOrBuilder
      Returns:
      Whether the textOutput field is set.
    • getTextOutput

      public String getTextOutput()
       Regular UTF-8 output; normal text.
       
      string text_output = 2;
      Specified by:
      getTextOutput in interface BuildEvent.ConsoleOutputOrBuilder
      Returns:
      The textOutput.
    • getTextOutputBytes

      public com.google.protobuf.ByteString getTextOutputBytes()
       Regular UTF-8 output; normal text.
       
      string text_output = 2;
      Specified by:
      getTextOutputBytes in interface BuildEvent.ConsoleOutputOrBuilder
      Returns:
      The bytes for textOutput.
    • setTextOutput

      public BuildEvent.ConsoleOutput.Builder setTextOutput(String value)
       Regular UTF-8 output; normal text.
       
      string text_output = 2;
      Parameters:
      value - The textOutput to set.
      Returns:
      This builder for chaining.
    • clearTextOutput

      public BuildEvent.ConsoleOutput.Builder clearTextOutput()
       Regular UTF-8 output; normal text.
       
      string text_output = 2;
      Returns:
      This builder for chaining.
    • setTextOutputBytes

      public BuildEvent.ConsoleOutput.Builder setTextOutputBytes(com.google.protobuf.ByteString value)
       Regular UTF-8 output; normal text.
       
      string text_output = 2;
      Parameters:
      value - The bytes for textOutput to set.
      Returns:
      This builder for chaining.
    • hasBinaryOutput

      public boolean hasBinaryOutput()
       Used if the output is not UTF-8 text (for example, a binary proto).
       
      bytes binary_output = 3;
      Specified by:
      hasBinaryOutput in interface BuildEvent.ConsoleOutputOrBuilder
      Returns:
      Whether the binaryOutput field is set.
    • getBinaryOutput

      public com.google.protobuf.ByteString getBinaryOutput()
       Used if the output is not UTF-8 text (for example, a binary proto).
       
      bytes binary_output = 3;
      Specified by:
      getBinaryOutput in interface BuildEvent.ConsoleOutputOrBuilder
      Returns:
      The binaryOutput.
    • setBinaryOutput

      public BuildEvent.ConsoleOutput.Builder setBinaryOutput(com.google.protobuf.ByteString value)
       Used if the output is not UTF-8 text (for example, a binary proto).
       
      bytes binary_output = 3;
      Parameters:
      value - The binaryOutput to set.
      Returns:
      This builder for chaining.
    • clearBinaryOutput

      public BuildEvent.ConsoleOutput.Builder clearBinaryOutput()
       Used if the output is not UTF-8 text (for example, a binary proto).
       
      bytes binary_output = 3;
      Returns:
      This builder for chaining.