Class CommandLineOuterClass.CommandLine

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

public static final class CommandLineOuterClass.CommandLine extends com.google.protobuf.GeneratedMessage implements CommandLineOuterClass.CommandLineOrBuilder
 Representation of a Bazel command line.
 
Protobuf type command_line.CommandLine
See Also:
  • Field Details

    • COMMAND_LINE_LABEL_FIELD_NUMBER

      public static final int COMMAND_LINE_LABEL_FIELD_NUMBER
      See Also:
    • SECTIONS_FIELD_NUMBER

      public static final int SECTIONS_FIELD_NUMBER
      See Also:
  • 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
    • 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.
    • 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
    • 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
    • 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
    • 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
    • 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 CommandLineOuterClass.CommandLine parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

      public static CommandLineOuterClass.CommandLine parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CommandLineOuterClass.CommandLine parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

      public static CommandLineOuterClass.CommandLine parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static CommandLineOuterClass.CommandLine parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static CommandLineOuterClass.CommandLine.Builder newBuilder()
    • newBuilder

    • toBuilder

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

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

      public static CommandLineOuterClass.CommandLine getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<CommandLineOuterClass.CommandLine> parser()
    • getParserForType

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