Class CommandLineOuterClass.CommandLineSection.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<CommandLineOuterClass.CommandLineSection.Builder>
com.google.devtools.build.lib.runtime.proto.CommandLineOuterClass.CommandLineSection.Builder
- All Implemented Interfaces:
CommandLineOuterClass.CommandLineSectionOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- CommandLineOuterClass.CommandLineSection
public static final class CommandLineOuterClass.CommandLineSection.Builder
extends com.google.protobuf.GeneratedMessage.Builder<CommandLineOuterClass.CommandLineSection.Builder>
implements CommandLineOuterClass.CommandLineSectionOrBuilder
A section of the Bazel command line.Protobuf type
command_line.CommandLineSection-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Sections with non-options, such as the list of targets or the command, should use simple string chunks.Startup and command options are lists of options and belong here.The name of this section, such as "startup_option" or "command".Sections with non-options, such as the list of targets or the command, should use simple string chunks.Sections with non-options, such as the list of targets or the command, should use simple string chunks.Sections with non-options, such as the list of targets or the command, should use simple string chunks.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorStartup and command options are lists of options and belong here.Startup and command options are lists of options and belong here.Startup and command options are lists of options and belong here.The name of this section, such as "startup_option" or "command".com.google.protobuf.ByteStringThe name of this section, such as "startup_option" or "command".booleanSections with non-options, such as the list of targets or the command, should use simple string chunks.booleanStartup and command options are lists of options and belong here.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanSections with non-options, such as the list of targets or the command, should use simple string chunks.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Startup and command options are lists of options and belong here.Sections with non-options, such as the list of targets or the command, should use simple string chunks.setChunkList(CommandLineOuterClass.ChunkList.Builder builderForValue) Sections with non-options, such as the list of targets or the command, should use simple string chunks.Startup and command options are lists of options and belong here.setOptionList(CommandLineOuterClass.OptionList.Builder builderForValue) Startup and command options are lists of options and belong here.setSectionLabel(String value) The name of this section, such as "startup_option" or "command".setSectionLabelBytes(com.google.protobuf.ByteString value) The name of this section, such as "startup_option" or "command".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.CommandLineSection.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.CommandLineSection.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.CommandLineSection.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
public CommandLineOuterClass.CommandLineSection.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CommandLineOuterClass.CommandLineSection.Builder>
-
mergeFrom
public CommandLineOuterClass.CommandLineSection.Builder mergeFrom(CommandLineOuterClass.CommandLineSection other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<CommandLineOuterClass.CommandLineSection.Builder>
-
mergeFrom
public CommandLineOuterClass.CommandLineSection.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.CommandLineSection.Builder>- Throws:
IOException
-
getSectionTypeCase
- Specified by:
getSectionTypeCasein interfaceCommandLineOuterClass.CommandLineSectionOrBuilder
-
clearSectionType
-
getSectionLabel
The name of this section, such as "startup_option" or "command".
string section_label = 1;- Specified by:
getSectionLabelin interfaceCommandLineOuterClass.CommandLineSectionOrBuilder- Returns:
- The sectionLabel.
-
getSectionLabelBytes
public com.google.protobuf.ByteString getSectionLabelBytes()The name of this section, such as "startup_option" or "command".
string section_label = 1;- Specified by:
getSectionLabelBytesin interfaceCommandLineOuterClass.CommandLineSectionOrBuilder- Returns:
- The bytes for sectionLabel.
-
setSectionLabel
The name of this section, such as "startup_option" or "command".
string section_label = 1;- Parameters:
value- The sectionLabel to set.- Returns:
- This builder for chaining.
-
clearSectionLabel
The name of this section, such as "startup_option" or "command".
string section_label = 1;- Returns:
- This builder for chaining.
-
setSectionLabelBytes
public CommandLineOuterClass.CommandLineSection.Builder setSectionLabelBytes(com.google.protobuf.ByteString value) The name of this section, such as "startup_option" or "command".
string section_label = 1;- Parameters:
value- The bytes for sectionLabel to set.- Returns:
- This builder for chaining.
-
hasChunkList
public boolean hasChunkList()Sections with non-options, such as the list of targets or the command, should use simple string chunks.
.command_line.ChunkList chunk_list = 2;- Specified by:
hasChunkListin interfaceCommandLineOuterClass.CommandLineSectionOrBuilder- Returns:
- Whether the chunkList field is set.
-
getChunkList
Sections with non-options, such as the list of targets or the command, should use simple string chunks.
.command_line.ChunkList chunk_list = 2;- Specified by:
getChunkListin interfaceCommandLineOuterClass.CommandLineSectionOrBuilder- Returns:
- The chunkList.
-
setChunkList
public CommandLineOuterClass.CommandLineSection.Builder setChunkList(CommandLineOuterClass.ChunkList value) Sections with non-options, such as the list of targets or the command, should use simple string chunks.
.command_line.ChunkList chunk_list = 2; -
setChunkList
public CommandLineOuterClass.CommandLineSection.Builder setChunkList(CommandLineOuterClass.ChunkList.Builder builderForValue) Sections with non-options, such as the list of targets or the command, should use simple string chunks.
.command_line.ChunkList chunk_list = 2; -
mergeChunkList
public CommandLineOuterClass.CommandLineSection.Builder mergeChunkList(CommandLineOuterClass.ChunkList value) Sections with non-options, such as the list of targets or the command, should use simple string chunks.
.command_line.ChunkList chunk_list = 2; -
clearChunkList
Sections with non-options, such as the list of targets or the command, should use simple string chunks.
.command_line.ChunkList chunk_list = 2; -
getChunkListBuilder
Sections with non-options, such as the list of targets or the command, should use simple string chunks.
.command_line.ChunkList chunk_list = 2; -
getChunkListOrBuilder
Sections with non-options, such as the list of targets or the command, should use simple string chunks.
.command_line.ChunkList chunk_list = 2;- Specified by:
getChunkListOrBuilderin interfaceCommandLineOuterClass.CommandLineSectionOrBuilder
-
hasOptionList
public boolean hasOptionList()Startup and command options are lists of options and belong here.
.command_line.OptionList option_list = 3;- Specified by:
hasOptionListin interfaceCommandLineOuterClass.CommandLineSectionOrBuilder- Returns:
- Whether the optionList field is set.
-
getOptionList
Startup and command options are lists of options and belong here.
.command_line.OptionList option_list = 3;- Specified by:
getOptionListin interfaceCommandLineOuterClass.CommandLineSectionOrBuilder- Returns:
- The optionList.
-
setOptionList
public CommandLineOuterClass.CommandLineSection.Builder setOptionList(CommandLineOuterClass.OptionList value) Startup and command options are lists of options and belong here.
.command_line.OptionList option_list = 3; -
setOptionList
public CommandLineOuterClass.CommandLineSection.Builder setOptionList(CommandLineOuterClass.OptionList.Builder builderForValue) Startup and command options are lists of options and belong here.
.command_line.OptionList option_list = 3; -
mergeOptionList
public CommandLineOuterClass.CommandLineSection.Builder mergeOptionList(CommandLineOuterClass.OptionList value) Startup and command options are lists of options and belong here.
.command_line.OptionList option_list = 3; -
clearOptionList
Startup and command options are lists of options and belong here.
.command_line.OptionList option_list = 3; -
getOptionListBuilder
Startup and command options are lists of options and belong here.
.command_line.OptionList option_list = 3; -
getOptionListOrBuilder
Startup and command options are lists of options and belong here.
.command_line.OptionList option_list = 3;- Specified by:
getOptionListOrBuilderin interfaceCommandLineOuterClass.CommandLineSectionOrBuilder
-