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 Summary
Modifier and TypeMethodDescriptionaddAllSections(Iterable<? extends CommandLineOuterClass.CommandLineSection> values) A Bazel command line is made of distinct parts.addSections(int index, CommandLineOuterClass.CommandLineSection value) A Bazel command line is made of distinct parts.addSections(int index, CommandLineOuterClass.CommandLineSection.Builder builderForValue) A Bazel command line is made of distinct parts.A Bazel command line is made of distinct parts.addSections(CommandLineOuterClass.CommandLineSection.Builder builderForValue) A Bazel command line is made of distinct parts.A Bazel command line is made of distinct parts.addSectionsBuilder(int index) A Bazel command line is made of distinct parts.build()clear()A title for this command line value, to differentiate it from others.A Bazel command line is made of distinct parts.A title for this command line value, to differentiate it from others.com.google.protobuf.ByteStringA title for this command line value, to differentiate it from others.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetSections(int index) A Bazel command line is made of distinct parts.getSectionsBuilder(int index) A Bazel command line is made of distinct parts.A Bazel command line is made of distinct parts.intA Bazel command line is made of distinct parts.A Bazel command line is made of distinct parts.getSectionsOrBuilder(int index) A Bazel command line is made of distinct parts.A Bazel command line is made of distinct parts.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeSections(int index) A Bazel command line is made of distinct parts.setCommandLineLabel(String value) A title for this command line value, to differentiate it from others.setCommandLineLabelBytes(com.google.protobuf.ByteString value) A title for this command line value, to differentiate it from others.setSections(int index, CommandLineOuterClass.CommandLineSection value) A Bazel command line is made of distinct parts.setSections(int index, CommandLineOuterClass.CommandLineSection.Builder builderForValue) A Bazel command line is made of distinct parts.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<CommandLineOuterClass.CommandLine.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<CommandLineOuterClass.CommandLine.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<CommandLineOuterClass.CommandLine.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CommandLineOuterClass.CommandLine.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CommandLineOuterClass.CommandLine.Builder>- Throws:
IOException
-
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:
getCommandLineLabelin interfaceCommandLineOuterClass.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:
getCommandLineLabelBytesin interfaceCommandLineOuterClass.CommandLineOrBuilder- Returns:
- The bytes for commandLineLabel.
-
setCommandLineLabel
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
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:
getSectionsListin interfaceCommandLineOuterClass.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:
getSectionsCountin interfaceCommandLineOuterClass.CommandLineOrBuilder
-
getSections
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:
getSectionsin interfaceCommandLineOuterClass.CommandLineOrBuilder
-
setSections
public CommandLineOuterClass.CommandLine.Builder setSections(int index, CommandLineOuterClass.CommandLineSection value) 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
public CommandLineOuterClass.CommandLine.Builder setSections(int index, CommandLineOuterClass.CommandLineSection.Builder builderForValue) 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
public CommandLineOuterClass.CommandLine.Builder addSections(CommandLineOuterClass.CommandLineSection value) 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
public CommandLineOuterClass.CommandLine.Builder addSections(int index, CommandLineOuterClass.CommandLineSection value) 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
public CommandLineOuterClass.CommandLine.Builder addSections(CommandLineOuterClass.CommandLineSection.Builder builderForValue) 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
public CommandLineOuterClass.CommandLine.Builder addSections(int index, CommandLineOuterClass.CommandLineSection.Builder builderForValue) 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
public CommandLineOuterClass.CommandLine.Builder addAllSections(Iterable<? extends CommandLineOuterClass.CommandLineSection> values) 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
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
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
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:
getSectionsOrBuilderin interfaceCommandLineOuterClass.CommandLineOrBuilder
-
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:
getSectionsOrBuilderListin interfaceCommandLineOuterClass.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
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
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;
-