Class CommandLineOuterClass.CommandLine.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<CommandLineOuterClass.CommandLine.Builder>
com.google.devtools.build.lib.runtime.proto.CommandLineOuterClass.CommandLine.Builder
All Implemented Interfaces:
CommandLineOuterClass.CommandLineOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
CommandLineOuterClass.CommandLine

public static final class CommandLineOuterClass.CommandLine.Builder extends com.google.protobuf.GeneratedMessage.Builder<CommandLineOuterClass.CommandLine.Builder> implements CommandLineOuterClass.CommandLineOrBuilder
 Representation of a Bazel command line.
 
Protobuf type command_line.CommandLine
  • 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<CommandLineOuterClass.CommandLine.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<CommandLineOuterClass.CommandLine.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<CommandLineOuterClass.CommandLine.Builder>
    • getDefaultInstanceForType

      public CommandLineOuterClass.CommandLine 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 CommandLineOuterClass.CommandLine buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public CommandLineOuterClass.CommandLine.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<CommandLineOuterClass.CommandLine.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<CommandLineOuterClass.CommandLine.Builder>
    • mergeFrom

      public CommandLineOuterClass.CommandLine.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<CommandLineOuterClass.CommandLine.Builder>
      Throws:
      IOException
    • getCommandLineLabel

      public String getCommandLineLabel()
       A title for this command line value, to differentiate it from others.
       In particular, a single invocation may wish to report both the literal and
       canonical command lines, and this label would be used to differentiate
       between both versions. This is a string for flexibility.
       
      string command_line_label = 1;
      Specified by:
      getCommandLineLabel in interface CommandLineOuterClass.CommandLineOrBuilder
      Returns:
      The commandLineLabel.
    • getCommandLineLabelBytes

      public com.google.protobuf.ByteString getCommandLineLabelBytes()
       A title for this command line value, to differentiate it from others.
       In particular, a single invocation may wish to report both the literal and
       canonical command lines, and this label would be used to differentiate
       between both versions. This is a string for flexibility.
       
      string command_line_label = 1;
      Specified by:
      getCommandLineLabelBytes in interface CommandLineOuterClass.CommandLineOrBuilder
      Returns:
      The bytes for commandLineLabel.
    • setCommandLineLabel

      public CommandLineOuterClass.CommandLine.Builder setCommandLineLabel(String value)
       A title for this command line value, to differentiate it from others.
       In particular, a single invocation may wish to report both the literal and
       canonical command lines, and this label would be used to differentiate
       between both versions. This is a string for flexibility.
       
      string command_line_label = 1;
      Parameters:
      value - The commandLineLabel to set.
      Returns:
      This builder for chaining.
    • clearCommandLineLabel

      public CommandLineOuterClass.CommandLine.Builder clearCommandLineLabel()
       A title for this command line value, to differentiate it from others.
       In particular, a single invocation may wish to report both the literal and
       canonical command lines, and this label would be used to differentiate
       between both versions. This is a string for flexibility.
       
      string command_line_label = 1;
      Returns:
      This builder for chaining.
    • setCommandLineLabelBytes

      public CommandLineOuterClass.CommandLine.Builder setCommandLineLabelBytes(com.google.protobuf.ByteString value)
       A title for this command line value, to differentiate it from others.
       In particular, a single invocation may wish to report both the literal and
       canonical command lines, and this label would be used to differentiate
       between both versions. This is a string for flexibility.
       
      string command_line_label = 1;
      Parameters:
      value - The bytes for commandLineLabel to set.
      Returns:
      This builder for chaining.
    • getSectionsList

       A Bazel command line is made of distinct parts. For example,
       `bazel --nomaster_bazelrc test --nocache_test_results //foo:aTest`
       has the executable "bazel", a startup flag, a command "test", a command
       flag, and a test target. There could be many more flags and targets, or
       none (`bazel info` for example), but the basic structure is there. The
       command line should be broken down into these logical sections here.
       
      repeated .command_line.CommandLineSection sections = 2;
      Specified by:
      getSectionsList in interface CommandLineOuterClass.CommandLineOrBuilder
    • getSectionsCount

      public int getSectionsCount()
       A Bazel command line is made of distinct parts. For example,
       `bazel --nomaster_bazelrc test --nocache_test_results //foo:aTest`
       has the executable "bazel", a startup flag, a command "test", a command
       flag, and a test target. There could be many more flags and targets, or
       none (`bazel info` for example), but the basic structure is there. The
       command line should be broken down into these logical sections here.
       
      repeated .command_line.CommandLineSection sections = 2;
      Specified by:
      getSectionsCount in interface CommandLineOuterClass.CommandLineOrBuilder
    • getSections

      public CommandLineOuterClass.CommandLineSection getSections(int index)
       A Bazel command line is made of distinct parts. For example,
       `bazel --nomaster_bazelrc test --nocache_test_results //foo:aTest`
       has the executable "bazel", a startup flag, a command "test", a command
       flag, and a test target. There could be many more flags and targets, or
       none (`bazel info` for example), but the basic structure is there. The
       command line should be broken down into these logical sections here.
       
      repeated .command_line.CommandLineSection sections = 2;
      Specified by:
      getSections in interface CommandLineOuterClass.CommandLineOrBuilder
    • setSections

       A Bazel command line is made of distinct parts. For example,
       `bazel --nomaster_bazelrc test --nocache_test_results //foo:aTest`
       has the executable "bazel", a startup flag, a command "test", a command
       flag, and a test target. There could be many more flags and targets, or
       none (`bazel info` for example), but the basic structure is there. The
       command line should be broken down into these logical sections here.
       
      repeated .command_line.CommandLineSection sections = 2;
    • setSections

       A Bazel command line is made of distinct parts. For example,
       `bazel --nomaster_bazelrc test --nocache_test_results //foo:aTest`
       has the executable "bazel", a startup flag, a command "test", a command
       flag, and a test target. There could be many more flags and targets, or
       none (`bazel info` for example), but the basic structure is there. The
       command line should be broken down into these logical sections here.
       
      repeated .command_line.CommandLineSection sections = 2;
    • addSections

       A Bazel command line is made of distinct parts. For example,
       `bazel --nomaster_bazelrc test --nocache_test_results //foo:aTest`
       has the executable "bazel", a startup flag, a command "test", a command
       flag, and a test target. There could be many more flags and targets, or
       none (`bazel info` for example), but the basic structure is there. The
       command line should be broken down into these logical sections here.
       
      repeated .command_line.CommandLineSection sections = 2;
    • addSections

       A Bazel command line is made of distinct parts. For example,
       `bazel --nomaster_bazelrc test --nocache_test_results //foo:aTest`
       has the executable "bazel", a startup flag, a command "test", a command
       flag, and a test target. There could be many more flags and targets, or
       none (`bazel info` for example), but the basic structure is there. The
       command line should be broken down into these logical sections here.
       
      repeated .command_line.CommandLineSection sections = 2;
    • addSections

       A Bazel command line is made of distinct parts. For example,
       `bazel --nomaster_bazelrc test --nocache_test_results //foo:aTest`
       has the executable "bazel", a startup flag, a command "test", a command
       flag, and a test target. There could be many more flags and targets, or
       none (`bazel info` for example), but the basic structure is there. The
       command line should be broken down into these logical sections here.
       
      repeated .command_line.CommandLineSection sections = 2;
    • addSections

       A Bazel command line is made of distinct parts. For example,
       `bazel --nomaster_bazelrc test --nocache_test_results //foo:aTest`
       has the executable "bazel", a startup flag, a command "test", a command
       flag, and a test target. There could be many more flags and targets, or
       none (`bazel info` for example), but the basic structure is there. The
       command line should be broken down into these logical sections here.
       
      repeated .command_line.CommandLineSection sections = 2;
    • addAllSections

       A Bazel command line is made of distinct parts. For example,
       `bazel --nomaster_bazelrc test --nocache_test_results //foo:aTest`
       has the executable "bazel", a startup flag, a command "test", a command
       flag, and a test target. There could be many more flags and targets, or
       none (`bazel info` for example), but the basic structure is there. The
       command line should be broken down into these logical sections here.
       
      repeated .command_line.CommandLineSection sections = 2;
    • clearSections

       A Bazel command line is made of distinct parts. For example,
       `bazel --nomaster_bazelrc test --nocache_test_results //foo:aTest`
       has the executable "bazel", a startup flag, a command "test", a command
       flag, and a test target. There could be many more flags and targets, or
       none (`bazel info` for example), but the basic structure is there. The
       command line should be broken down into these logical sections here.
       
      repeated .command_line.CommandLineSection sections = 2;
    • removeSections

      public CommandLineOuterClass.CommandLine.Builder removeSections(int index)
       A Bazel command line is made of distinct parts. For example,
       `bazel --nomaster_bazelrc test --nocache_test_results //foo:aTest`
       has the executable "bazel", a startup flag, a command "test", a command
       flag, and a test target. There could be many more flags and targets, or
       none (`bazel info` for example), but the basic structure is there. The
       command line should be broken down into these logical sections here.
       
      repeated .command_line.CommandLineSection sections = 2;
    • getSectionsBuilder

      public CommandLineOuterClass.CommandLineSection.Builder getSectionsBuilder(int index)
       A Bazel command line is made of distinct parts. For example,
       `bazel --nomaster_bazelrc test --nocache_test_results //foo:aTest`
       has the executable "bazel", a startup flag, a command "test", a command
       flag, and a test target. There could be many more flags and targets, or
       none (`bazel info` for example), but the basic structure is there. The
       command line should be broken down into these logical sections here.
       
      repeated .command_line.CommandLineSection sections = 2;
    • getSectionsOrBuilder

      public CommandLineOuterClass.CommandLineSectionOrBuilder getSectionsOrBuilder(int index)
       A Bazel command line is made of distinct parts. For example,
       `bazel --nomaster_bazelrc test --nocache_test_results //foo:aTest`
       has the executable "bazel", a startup flag, a command "test", a command
       flag, and a test target. There could be many more flags and targets, or
       none (`bazel info` for example), but the basic structure is there. The
       command line should be broken down into these logical sections here.
       
      repeated .command_line.CommandLineSection sections = 2;
      Specified by:
      getSectionsOrBuilder in interface CommandLineOuterClass.CommandLineOrBuilder
    • getSectionsOrBuilderList

      public List<? extends CommandLineOuterClass.CommandLineSectionOrBuilder> getSectionsOrBuilderList()
       A Bazel command line is made of distinct parts. For example,
       `bazel --nomaster_bazelrc test --nocache_test_results //foo:aTest`
       has the executable "bazel", a startup flag, a command "test", a command
       flag, and a test target. There could be many more flags and targets, or
       none (`bazel info` for example), but the basic structure is there. The
       command line should be broken down into these logical sections here.
       
      repeated .command_line.CommandLineSection sections = 2;
      Specified by:
      getSectionsOrBuilderList in interface CommandLineOuterClass.CommandLineOrBuilder
    • addSectionsBuilder

       A Bazel command line is made of distinct parts. For example,
       `bazel --nomaster_bazelrc test --nocache_test_results //foo:aTest`
       has the executable "bazel", a startup flag, a command "test", a command
       flag, and a test target. There could be many more flags and targets, or
       none (`bazel info` for example), but the basic structure is there. The
       command line should be broken down into these logical sections here.
       
      repeated .command_line.CommandLineSection sections = 2;
    • addSectionsBuilder

      public CommandLineOuterClass.CommandLineSection.Builder addSectionsBuilder(int index)
       A Bazel command line is made of distinct parts. For example,
       `bazel --nomaster_bazelrc test --nocache_test_results //foo:aTest`
       has the executable "bazel", a startup flag, a command "test", a command
       flag, and a test target. There could be many more flags and targets, or
       none (`bazel info` for example), but the basic structure is there. The
       command line should be broken down into these logical sections here.
       
      repeated .command_line.CommandLineSection sections = 2;
    • getSectionsBuilderList

      public List<CommandLineOuterClass.CommandLineSection.Builder> getSectionsBuilderList()
       A Bazel command line is made of distinct parts. For example,
       `bazel --nomaster_bazelrc test --nocache_test_results //foo:aTest`
       has the executable "bazel", a startup flag, a command "test", a command
       flag, and a test target. There could be many more flags and targets, or
       none (`bazel info` for example), but the basic structure is there. The
       command line should be broken down into these logical sections here.
       
      repeated .command_line.CommandLineSection sections = 2;