Class CommandLineOuterClass.Option.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<CommandLineOuterClass.Option.Builder>
-
- com.google.devtools.build.lib.runtime.proto.CommandLineOuterClass.Option.Builder
-
- All Implemented Interfaces:
CommandLineOuterClass.OptionOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable
- Enclosing class:
- CommandLineOuterClass.Option
public static final class CommandLineOuterClass.Option.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CommandLineOuterClass.Option.Builder> implements CommandLineOuterClass.OptionOrBuilder
A single command line option. This represents the option itself, but does not take into account the type of option or how the parser interpreted it. If this option is part of a command line that represents the actual input that Bazel received, it would, for example, include expansion flags as they are. However, if this option represents the canonical form of the command line, with the values as Bazel understands them, then the expansion flag, which has no value, would not appear, and the flags it expands to would.
Protobuf typecommand_line.Option
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CommandLineOuterClass.Option.BuilderaddAllEffectTags(java.lang.Iterable<? extends OptionFilters.OptionEffectTag> values)This flag's tagged effects.CommandLineOuterClass.Option.BuilderaddAllEffectTagsValue(java.lang.Iterable<java.lang.Integer> values)This flag's tagged effects.CommandLineOuterClass.Option.BuilderaddAllMetadataTags(java.lang.Iterable<? extends OptionFilters.OptionMetadataTag> values)Metadata about the flag.CommandLineOuterClass.Option.BuilderaddAllMetadataTagsValue(java.lang.Iterable<java.lang.Integer> values)Metadata about the flag.CommandLineOuterClass.Option.BuilderaddEffectTags(OptionFilters.OptionEffectTag value)This flag's tagged effects.CommandLineOuterClass.Option.BuilderaddEffectTagsValue(int value)This flag's tagged effects.CommandLineOuterClass.Option.BuilderaddMetadataTags(OptionFilters.OptionMetadataTag value)Metadata about the flag.CommandLineOuterClass.Option.BuilderaddMetadataTagsValue(int value)Metadata about the flag.CommandLineOuterClass.Option.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)CommandLineOuterClass.Optionbuild()CommandLineOuterClass.OptionbuildPartial()CommandLineOuterClass.Option.Builderclear()CommandLineOuterClass.Option.BuilderclearCombinedForm()How the option looks with the option and its value combined.CommandLineOuterClass.Option.BuilderclearEffectTags()This flag's tagged effects.CommandLineOuterClass.Option.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)CommandLineOuterClass.Option.BuilderclearMetadataTags()Metadata about the flag.CommandLineOuterClass.Option.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)CommandLineOuterClass.Option.BuilderclearOptionName()The canonical name of the option, without the preceding dashes.CommandLineOuterClass.Option.BuilderclearOptionValue()The value of the flag, or unset for flags that do not take values.CommandLineOuterClass.Option.Builderclone()java.lang.StringgetCombinedForm()How the option looks with the option and its value combined.com.google.protobuf.ByteStringgetCombinedFormBytes()How the option looks with the option and its value combined.CommandLineOuterClass.OptiongetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()OptionFilters.OptionEffectTaggetEffectTags(int index)This flag's tagged effects.intgetEffectTagsCount()This flag's tagged effects.java.util.List<OptionFilters.OptionEffectTag>getEffectTagsList()This flag's tagged effects.intgetEffectTagsValue(int index)This flag's tagged effects.java.util.List<java.lang.Integer>getEffectTagsValueList()This flag's tagged effects.OptionFilters.OptionMetadataTaggetMetadataTags(int index)Metadata about the flag.intgetMetadataTagsCount()Metadata about the flag.java.util.List<OptionFilters.OptionMetadataTag>getMetadataTagsList()Metadata about the flag.intgetMetadataTagsValue(int index)Metadata about the flag.java.util.List<java.lang.Integer>getMetadataTagsValueList()Metadata about the flag.java.lang.StringgetOptionName()The canonical name of the option, without the preceding dashes.com.google.protobuf.ByteStringgetOptionNameBytes()The canonical name of the option, without the preceding dashes.java.lang.StringgetOptionValue()The value of the flag, or unset for flags that do not take values.com.google.protobuf.ByteStringgetOptionValueBytes()The value of the flag, or unset for flags that do not take values.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()CommandLineOuterClass.Option.BuildermergeFrom(CommandLineOuterClass.Option other)CommandLineOuterClass.Option.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)CommandLineOuterClass.Option.BuildermergeFrom(com.google.protobuf.Message other)CommandLineOuterClass.Option.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)CommandLineOuterClass.Option.BuildersetCombinedForm(java.lang.String value)How the option looks with the option and its value combined.CommandLineOuterClass.Option.BuildersetCombinedFormBytes(com.google.protobuf.ByteString value)How the option looks with the option and its value combined.CommandLineOuterClass.Option.BuildersetEffectTags(int index, OptionFilters.OptionEffectTag value)This flag's tagged effects.CommandLineOuterClass.Option.BuildersetEffectTagsValue(int index, int value)This flag's tagged effects.CommandLineOuterClass.Option.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)CommandLineOuterClass.Option.BuildersetMetadataTags(int index, OptionFilters.OptionMetadataTag value)Metadata about the flag.CommandLineOuterClass.Option.BuildersetMetadataTagsValue(int index, int value)Metadata about the flag.CommandLineOuterClass.Option.BuildersetOptionName(java.lang.String value)The canonical name of the option, without the preceding dashes.CommandLineOuterClass.Option.BuildersetOptionNameBytes(com.google.protobuf.ByteString value)The canonical name of the option, without the preceding dashes.CommandLineOuterClass.Option.BuildersetOptionValue(java.lang.String value)The value of the flag, or unset for flags that do not take values.CommandLineOuterClass.Option.BuildersetOptionValueBytes(com.google.protobuf.ByteString value)The value of the flag, or unset for flags that do not take values.CommandLineOuterClass.Option.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)CommandLineOuterClass.Option.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.Option.Builder>
-
clear
public CommandLineOuterClass.Option.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.Option.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.Option.Builder>
-
getDefaultInstanceForType
public CommandLineOuterClass.Option getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public CommandLineOuterClass.Option build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public CommandLineOuterClass.Option buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public CommandLineOuterClass.Option.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.Option.Builder>
-
setField
public CommandLineOuterClass.Option.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.Option.Builder>
-
clearField
public CommandLineOuterClass.Option.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CommandLineOuterClass.Option.Builder>
-
clearOneof
public CommandLineOuterClass.Option.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<CommandLineOuterClass.Option.Builder>
-
setRepeatedField
public CommandLineOuterClass.Option.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.Option.Builder>
-
addRepeatedField
public CommandLineOuterClass.Option.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.Option.Builder>
-
mergeFrom
public CommandLineOuterClass.Option.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CommandLineOuterClass.Option.Builder>
-
mergeFrom
public CommandLineOuterClass.Option.Builder mergeFrom(CommandLineOuterClass.Option other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<CommandLineOuterClass.Option.Builder>
-
mergeFrom
public CommandLineOuterClass.Option.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.Option.Builder>- Throws:
java.io.IOException
-
getCombinedForm
public java.lang.String getCombinedForm()
How the option looks with the option and its value combined. Depending on the purpose of this command line report, this could be the canonical form, or the way that the flag was set. Some examples: this might be `--foo=bar` form, or `--foo bar` with a space; for boolean flags, `--nobaz` is accepted on top of `--baz=false` and other negating values, or for a positive value, the unqualified `--baz` form is also accepted. This could also be a short `-b`, if the flag has an abbreviated form.
string combined_form = 1;- Specified by:
getCombinedFormin interfaceCommandLineOuterClass.OptionOrBuilder- Returns:
- The combinedForm.
-
getCombinedFormBytes
public com.google.protobuf.ByteString getCombinedFormBytes()
How the option looks with the option and its value combined. Depending on the purpose of this command line report, this could be the canonical form, or the way that the flag was set. Some examples: this might be `--foo=bar` form, or `--foo bar` with a space; for boolean flags, `--nobaz` is accepted on top of `--baz=false` and other negating values, or for a positive value, the unqualified `--baz` form is also accepted. This could also be a short `-b`, if the flag has an abbreviated form.
string combined_form = 1;- Specified by:
getCombinedFormBytesin interfaceCommandLineOuterClass.OptionOrBuilder- Returns:
- The bytes for combinedForm.
-
setCombinedForm
public CommandLineOuterClass.Option.Builder setCombinedForm(java.lang.String value)
How the option looks with the option and its value combined. Depending on the purpose of this command line report, this could be the canonical form, or the way that the flag was set. Some examples: this might be `--foo=bar` form, or `--foo bar` with a space; for boolean flags, `--nobaz` is accepted on top of `--baz=false` and other negating values, or for a positive value, the unqualified `--baz` form is also accepted. This could also be a short `-b`, if the flag has an abbreviated form.
string combined_form = 1;- Parameters:
value- The combinedForm to set.- Returns:
- This builder for chaining.
-
clearCombinedForm
public CommandLineOuterClass.Option.Builder clearCombinedForm()
How the option looks with the option and its value combined. Depending on the purpose of this command line report, this could be the canonical form, or the way that the flag was set. Some examples: this might be `--foo=bar` form, or `--foo bar` with a space; for boolean flags, `--nobaz` is accepted on top of `--baz=false` and other negating values, or for a positive value, the unqualified `--baz` form is also accepted. This could also be a short `-b`, if the flag has an abbreviated form.
string combined_form = 1;- Returns:
- This builder for chaining.
-
setCombinedFormBytes
public CommandLineOuterClass.Option.Builder setCombinedFormBytes(com.google.protobuf.ByteString value)
How the option looks with the option and its value combined. Depending on the purpose of this command line report, this could be the canonical form, or the way that the flag was set. Some examples: this might be `--foo=bar` form, or `--foo bar` with a space; for boolean flags, `--nobaz` is accepted on top of `--baz=false` and other negating values, or for a positive value, the unqualified `--baz` form is also accepted. This could also be a short `-b`, if the flag has an abbreviated form.
string combined_form = 1;- Parameters:
value- The bytes for combinedForm to set.- Returns:
- This builder for chaining.
-
getOptionName
public java.lang.String getOptionName()
The canonical name of the option, without the preceding dashes.
string option_name = 2;- Specified by:
getOptionNamein interfaceCommandLineOuterClass.OptionOrBuilder- Returns:
- The optionName.
-
getOptionNameBytes
public com.google.protobuf.ByteString getOptionNameBytes()
The canonical name of the option, without the preceding dashes.
string option_name = 2;- Specified by:
getOptionNameBytesin interfaceCommandLineOuterClass.OptionOrBuilder- Returns:
- The bytes for optionName.
-
setOptionName
public CommandLineOuterClass.Option.Builder setOptionName(java.lang.String value)
The canonical name of the option, without the preceding dashes.
string option_name = 2;- Parameters:
value- The optionName to set.- Returns:
- This builder for chaining.
-
clearOptionName
public CommandLineOuterClass.Option.Builder clearOptionName()
The canonical name of the option, without the preceding dashes.
string option_name = 2;- Returns:
- This builder for chaining.
-
setOptionNameBytes
public CommandLineOuterClass.Option.Builder setOptionNameBytes(com.google.protobuf.ByteString value)
The canonical name of the option, without the preceding dashes.
string option_name = 2;- Parameters:
value- The bytes for optionName to set.- Returns:
- This builder for chaining.
-
getOptionValue
public java.lang.String getOptionValue()
The value of the flag, or unset for flags that do not take values. Especially for boolean flags, this should be in canonical form, the combined_form field above gives room for showing the flag as it was set if that is preferred.
string option_value = 3;- Specified by:
getOptionValuein interfaceCommandLineOuterClass.OptionOrBuilder- Returns:
- The optionValue.
-
getOptionValueBytes
public com.google.protobuf.ByteString getOptionValueBytes()
The value of the flag, or unset for flags that do not take values. Especially for boolean flags, this should be in canonical form, the combined_form field above gives room for showing the flag as it was set if that is preferred.
string option_value = 3;- Specified by:
getOptionValueBytesin interfaceCommandLineOuterClass.OptionOrBuilder- Returns:
- The bytes for optionValue.
-
setOptionValue
public CommandLineOuterClass.Option.Builder setOptionValue(java.lang.String value)
The value of the flag, or unset for flags that do not take values. Especially for boolean flags, this should be in canonical form, the combined_form field above gives room for showing the flag as it was set if that is preferred.
string option_value = 3;- Parameters:
value- The optionValue to set.- Returns:
- This builder for chaining.
-
clearOptionValue
public CommandLineOuterClass.Option.Builder clearOptionValue()
The value of the flag, or unset for flags that do not take values. Especially for boolean flags, this should be in canonical form, the combined_form field above gives room for showing the flag as it was set if that is preferred.
string option_value = 3;- Returns:
- This builder for chaining.
-
setOptionValueBytes
public CommandLineOuterClass.Option.Builder setOptionValueBytes(com.google.protobuf.ByteString value)
The value of the flag, or unset for flags that do not take values. Especially for boolean flags, this should be in canonical form, the combined_form field above gives room for showing the flag as it was set if that is preferred.
string option_value = 3;- Parameters:
value- The bytes for optionValue to set.- Returns:
- This builder for chaining.
-
getEffectTagsList
public java.util.List<OptionFilters.OptionEffectTag> getEffectTagsList()
This flag's tagged effects. See OptionEffectTag's java documentation for details.
repeated .options.OptionEffectTag effect_tags = 4;- Specified by:
getEffectTagsListin interfaceCommandLineOuterClass.OptionOrBuilder- Returns:
- A list containing the effectTags.
-
getEffectTagsCount
public int getEffectTagsCount()
This flag's tagged effects. See OptionEffectTag's java documentation for details.
repeated .options.OptionEffectTag effect_tags = 4;- Specified by:
getEffectTagsCountin interfaceCommandLineOuterClass.OptionOrBuilder- Returns:
- The count of effectTags.
-
getEffectTags
public OptionFilters.OptionEffectTag getEffectTags(int index)
This flag's tagged effects. See OptionEffectTag's java documentation for details.
repeated .options.OptionEffectTag effect_tags = 4;- Specified by:
getEffectTagsin interfaceCommandLineOuterClass.OptionOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The effectTags at the given index.
-
setEffectTags
public CommandLineOuterClass.Option.Builder setEffectTags(int index, OptionFilters.OptionEffectTag value)
This flag's tagged effects. See OptionEffectTag's java documentation for details.
repeated .options.OptionEffectTag effect_tags = 4;- Parameters:
index- The index to set the value at.value- The effectTags to set.- Returns:
- This builder for chaining.
-
addEffectTags
public CommandLineOuterClass.Option.Builder addEffectTags(OptionFilters.OptionEffectTag value)
This flag's tagged effects. See OptionEffectTag's java documentation for details.
repeated .options.OptionEffectTag effect_tags = 4;- Parameters:
value- The effectTags to add.- Returns:
- This builder for chaining.
-
addAllEffectTags
public CommandLineOuterClass.Option.Builder addAllEffectTags(java.lang.Iterable<? extends OptionFilters.OptionEffectTag> values)
This flag's tagged effects. See OptionEffectTag's java documentation for details.
repeated .options.OptionEffectTag effect_tags = 4;- Parameters:
values- The effectTags to add.- Returns:
- This builder for chaining.
-
clearEffectTags
public CommandLineOuterClass.Option.Builder clearEffectTags()
This flag's tagged effects. See OptionEffectTag's java documentation for details.
repeated .options.OptionEffectTag effect_tags = 4;- Returns:
- This builder for chaining.
-
getEffectTagsValueList
public java.util.List<java.lang.Integer> getEffectTagsValueList()
This flag's tagged effects. See OptionEffectTag's java documentation for details.
repeated .options.OptionEffectTag effect_tags = 4;- Specified by:
getEffectTagsValueListin interfaceCommandLineOuterClass.OptionOrBuilder- Returns:
- A list containing the enum numeric values on the wire for effectTags.
-
getEffectTagsValue
public int getEffectTagsValue(int index)
This flag's tagged effects. See OptionEffectTag's java documentation for details.
repeated .options.OptionEffectTag effect_tags = 4;- Specified by:
getEffectTagsValuein interfaceCommandLineOuterClass.OptionOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of effectTags at the given index.
-
setEffectTagsValue
public CommandLineOuterClass.Option.Builder setEffectTagsValue(int index, int value)
This flag's tagged effects. See OptionEffectTag's java documentation for details.
repeated .options.OptionEffectTag effect_tags = 4;- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of effectTags at the given index.
-
addEffectTagsValue
public CommandLineOuterClass.Option.Builder addEffectTagsValue(int value)
This flag's tagged effects. See OptionEffectTag's java documentation for details.
repeated .options.OptionEffectTag effect_tags = 4;- Parameters:
value- The enum numeric value on the wire for effectTags to add.- Returns:
- This builder for chaining.
-
addAllEffectTagsValue
public CommandLineOuterClass.Option.Builder addAllEffectTagsValue(java.lang.Iterable<java.lang.Integer> values)
This flag's tagged effects. See OptionEffectTag's java documentation for details.
repeated .options.OptionEffectTag effect_tags = 4;- Parameters:
values- The enum numeric values on the wire for effectTags to add.- Returns:
- This builder for chaining.
-
getMetadataTagsList
public java.util.List<OptionFilters.OptionMetadataTag> getMetadataTagsList()
Metadata about the flag. See OptionMetadataTag's java documentation for details.
repeated .options.OptionMetadataTag metadata_tags = 5;- Specified by:
getMetadataTagsListin interfaceCommandLineOuterClass.OptionOrBuilder- Returns:
- A list containing the metadataTags.
-
getMetadataTagsCount
public int getMetadataTagsCount()
Metadata about the flag. See OptionMetadataTag's java documentation for details.
repeated .options.OptionMetadataTag metadata_tags = 5;- Specified by:
getMetadataTagsCountin interfaceCommandLineOuterClass.OptionOrBuilder- Returns:
- The count of metadataTags.
-
getMetadataTags
public OptionFilters.OptionMetadataTag getMetadataTags(int index)
Metadata about the flag. See OptionMetadataTag's java documentation for details.
repeated .options.OptionMetadataTag metadata_tags = 5;- Specified by:
getMetadataTagsin interfaceCommandLineOuterClass.OptionOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The metadataTags at the given index.
-
setMetadataTags
public CommandLineOuterClass.Option.Builder setMetadataTags(int index, OptionFilters.OptionMetadataTag value)
Metadata about the flag. See OptionMetadataTag's java documentation for details.
repeated .options.OptionMetadataTag metadata_tags = 5;- Parameters:
index- The index to set the value at.value- The metadataTags to set.- Returns:
- This builder for chaining.
-
addMetadataTags
public CommandLineOuterClass.Option.Builder addMetadataTags(OptionFilters.OptionMetadataTag value)
Metadata about the flag. See OptionMetadataTag's java documentation for details.
repeated .options.OptionMetadataTag metadata_tags = 5;- Parameters:
value- The metadataTags to add.- Returns:
- This builder for chaining.
-
addAllMetadataTags
public CommandLineOuterClass.Option.Builder addAllMetadataTags(java.lang.Iterable<? extends OptionFilters.OptionMetadataTag> values)
Metadata about the flag. See OptionMetadataTag's java documentation for details.
repeated .options.OptionMetadataTag metadata_tags = 5;- Parameters:
values- The metadataTags to add.- Returns:
- This builder for chaining.
-
clearMetadataTags
public CommandLineOuterClass.Option.Builder clearMetadataTags()
Metadata about the flag. See OptionMetadataTag's java documentation for details.
repeated .options.OptionMetadataTag metadata_tags = 5;- Returns:
- This builder for chaining.
-
getMetadataTagsValueList
public java.util.List<java.lang.Integer> getMetadataTagsValueList()
Metadata about the flag. See OptionMetadataTag's java documentation for details.
repeated .options.OptionMetadataTag metadata_tags = 5;- Specified by:
getMetadataTagsValueListin interfaceCommandLineOuterClass.OptionOrBuilder- Returns:
- A list containing the enum numeric values on the wire for metadataTags.
-
getMetadataTagsValue
public int getMetadataTagsValue(int index)
Metadata about the flag. See OptionMetadataTag's java documentation for details.
repeated .options.OptionMetadataTag metadata_tags = 5;- Specified by:
getMetadataTagsValuein interfaceCommandLineOuterClass.OptionOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of metadataTags at the given index.
-
setMetadataTagsValue
public CommandLineOuterClass.Option.Builder setMetadataTagsValue(int index, int value)
Metadata about the flag. See OptionMetadataTag's java documentation for details.
repeated .options.OptionMetadataTag metadata_tags = 5;- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of metadataTags at the given index.
-
addMetadataTagsValue
public CommandLineOuterClass.Option.Builder addMetadataTagsValue(int value)
Metadata about the flag. See OptionMetadataTag's java documentation for details.
repeated .options.OptionMetadataTag metadata_tags = 5;- Parameters:
value- The enum numeric value on the wire for metadataTags to add.- Returns:
- This builder for chaining.
-
addAllMetadataTagsValue
public CommandLineOuterClass.Option.Builder addAllMetadataTagsValue(java.lang.Iterable<java.lang.Integer> values)
Metadata about the flag. See OptionMetadataTag's java documentation for details.
repeated .options.OptionMetadataTag metadata_tags = 5;- Parameters:
values- The enum numeric values on the wire for metadataTags to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final CommandLineOuterClass.Option.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CommandLineOuterClass.Option.Builder>
-
mergeUnknownFields
public final CommandLineOuterClass.Option.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CommandLineOuterClass.Option.Builder>
-
-