Class CommandLineOuterClass.CommandLineSection.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.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,java.lang.Cloneable
- Enclosing class:
- CommandLineOuterClass.CommandLineSection
public static final class CommandLineOuterClass.CommandLineSection.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CommandLineOuterClass.CommandLineSection.Builder> implements CommandLineOuterClass.CommandLineSectionOrBuilder
A section of the Bazel command line.
Protobuf typecommand_line.CommandLineSection
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CommandLineOuterClass.CommandLineSection.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)CommandLineOuterClass.CommandLineSectionbuild()CommandLineOuterClass.CommandLineSectionbuildPartial()CommandLineOuterClass.CommandLineSection.Builderclear()CommandLineOuterClass.CommandLineSection.BuilderclearChunkList()Sections with non-options, such as the list of targets or the command, should use simple string chunks.CommandLineOuterClass.CommandLineSection.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)CommandLineOuterClass.CommandLineSection.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)CommandLineOuterClass.CommandLineSection.BuilderclearOptionList()Startup and command options are lists of options and belong here.CommandLineOuterClass.CommandLineSection.BuilderclearSectionLabel()The name of this section, such as "startup_option" or "command".CommandLineOuterClass.CommandLineSection.BuilderclearSectionType()CommandLineOuterClass.CommandLineSection.Builderclone()CommandLineOuterClass.ChunkListgetChunkList()Sections with non-options, such as the list of targets or the command, should use simple string chunks.CommandLineOuterClass.ChunkList.BuildergetChunkListBuilder()Sections with non-options, such as the list of targets or the command, should use simple string chunks.CommandLineOuterClass.ChunkListOrBuildergetChunkListOrBuilder()Sections with non-options, such as the list of targets or the command, should use simple string chunks.CommandLineOuterClass.CommandLineSectiongetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()CommandLineOuterClass.OptionListgetOptionList()Startup and command options are lists of options and belong here.CommandLineOuterClass.OptionList.BuildergetOptionListBuilder()Startup and command options are lists of options and belong here.CommandLineOuterClass.OptionListOrBuildergetOptionListOrBuilder()Startup and command options are lists of options and belong here.java.lang.StringgetSectionLabel()The name of this section, such as "startup_option" or "command".com.google.protobuf.ByteStringgetSectionLabelBytes()The name of this section, such as "startup_option" or "command".CommandLineOuterClass.CommandLineSection.SectionTypeCasegetSectionTypeCase()booleanhasChunkList()Sections with non-options, such as the list of targets or the command, should use simple string chunks.booleanhasOptionList()Startup and command options are lists of options and belong here.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()CommandLineOuterClass.CommandLineSection.BuildermergeChunkList(CommandLineOuterClass.ChunkList value)Sections with non-options, such as the list of targets or the command, should use simple string chunks.CommandLineOuterClass.CommandLineSection.BuildermergeFrom(CommandLineOuterClass.CommandLineSection other)CommandLineOuterClass.CommandLineSection.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)CommandLineOuterClass.CommandLineSection.BuildermergeFrom(com.google.protobuf.Message other)CommandLineOuterClass.CommandLineSection.BuildermergeOptionList(CommandLineOuterClass.OptionList value)Startup and command options are lists of options and belong here.CommandLineOuterClass.CommandLineSection.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)CommandLineOuterClass.CommandLineSection.BuildersetChunkList(CommandLineOuterClass.ChunkList value)Sections with non-options, such as the list of targets or the command, should use simple string chunks.CommandLineOuterClass.CommandLineSection.BuildersetChunkList(CommandLineOuterClass.ChunkList.Builder builderForValue)Sections with non-options, such as the list of targets or the command, should use simple string chunks.CommandLineOuterClass.CommandLineSection.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)CommandLineOuterClass.CommandLineSection.BuildersetOptionList(CommandLineOuterClass.OptionList value)Startup and command options are lists of options and belong here.CommandLineOuterClass.CommandLineSection.BuildersetOptionList(CommandLineOuterClass.OptionList.Builder builderForValue)Startup and command options are lists of options and belong here.CommandLineOuterClass.CommandLineSection.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)CommandLineOuterClass.CommandLineSection.BuildersetSectionLabel(java.lang.String value)The name of this section, such as "startup_option" or "command".CommandLineOuterClass.CommandLineSection.BuildersetSectionLabelBytes(com.google.protobuf.ByteString value)The name of this section, such as "startup_option" or "command".CommandLineOuterClass.CommandLineSection.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<CommandLineOuterClass.CommandLineSection.Builder>
-
clear
public 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.GeneratedMessageV3.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.GeneratedMessageV3.Builder<CommandLineOuterClass.CommandLineSection.Builder>
-
getDefaultInstanceForType
public CommandLineOuterClass.CommandLineSection getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public CommandLineOuterClass.CommandLineSection build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public CommandLineOuterClass.CommandLineSection buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public CommandLineOuterClass.CommandLineSection.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<CommandLineOuterClass.CommandLineSection.Builder>
-
setField
public CommandLineOuterClass.CommandLineSection.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CommandLineOuterClass.CommandLineSection.Builder>
-
clearField
public CommandLineOuterClass.CommandLineSection.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CommandLineOuterClass.CommandLineSection.Builder>
-
clearOneof
public CommandLineOuterClass.CommandLineSection.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<CommandLineOuterClass.CommandLineSection.Builder>
-
setRepeatedField
public CommandLineOuterClass.CommandLineSection.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CommandLineOuterClass.CommandLineSection.Builder>
-
addRepeatedField
public CommandLineOuterClass.CommandLineSection.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CommandLineOuterClass.CommandLineSection.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.GeneratedMessageV3.Builder<CommandLineOuterClass.CommandLineSection.Builder>
-
mergeFrom
public CommandLineOuterClass.CommandLineSection.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.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:
java.io.IOException
-
getSectionTypeCase
public CommandLineOuterClass.CommandLineSection.SectionTypeCase getSectionTypeCase()
- Specified by:
getSectionTypeCasein interfaceCommandLineOuterClass.CommandLineSectionOrBuilder
-
clearSectionType
public CommandLineOuterClass.CommandLineSection.Builder clearSectionType()
-
getSectionLabel
public java.lang.String 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
public CommandLineOuterClass.CommandLineSection.Builder setSectionLabel(java.lang.String value)
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
public CommandLineOuterClass.CommandLineSection.Builder 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
public CommandLineOuterClass.ChunkList 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
public CommandLineOuterClass.CommandLineSection.Builder 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
public CommandLineOuterClass.ChunkList.Builder 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
public CommandLineOuterClass.ChunkListOrBuilder 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
public CommandLineOuterClass.OptionList 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
public CommandLineOuterClass.CommandLineSection.Builder clearOptionList()
Startup and command options are lists of options and belong here.
.command_line.OptionList option_list = 3;
-
getOptionListBuilder
public CommandLineOuterClass.OptionList.Builder getOptionListBuilder()
Startup and command options are lists of options and belong here.
.command_line.OptionList option_list = 3;
-
getOptionListOrBuilder
public CommandLineOuterClass.OptionListOrBuilder getOptionListOrBuilder()
Startup and command options are lists of options and belong here.
.command_line.OptionList option_list = 3;- Specified by:
getOptionListOrBuilderin interfaceCommandLineOuterClass.CommandLineSectionOrBuilder
-
setUnknownFields
public final CommandLineOuterClass.CommandLineSection.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CommandLineOuterClass.CommandLineSection.Builder>
-
mergeUnknownFields
public final CommandLineOuterClass.CommandLineSection.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CommandLineOuterClass.CommandLineSection.Builder>
-
-