Interface CommandLineOuterClass.OptionOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CommandLineOuterClass.Option,CommandLineOuterClass.Option.Builder
- Enclosing class:
- CommandLineOuterClass
public static interface CommandLineOuterClass.OptionOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.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.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getCombinedForm
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;- Returns:
- The combinedForm.
-
getCombinedFormBytes
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;- Returns:
- The bytes for combinedForm.
-
getOptionName
java.lang.String getOptionName()
The canonical name of the option, without the preceding dashes.
string option_name = 2;- Returns:
- The optionName.
-
getOptionNameBytes
com.google.protobuf.ByteString getOptionNameBytes()
The canonical name of the option, without the preceding dashes.
string option_name = 2;- Returns:
- The bytes for optionName.
-
getOptionValue
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;- Returns:
- The optionValue.
-
getOptionValueBytes
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;- Returns:
- The bytes for optionValue.
-
getEffectTagsList
java.util.List<OptionFilters.OptionEffectTag> getEffectTagsList()
This flag's tagged effects. See OptionEffectTag's java documentation for details.
repeated .options.OptionEffectTag effect_tags = 4;- Returns:
- A list containing the effectTags.
-
getEffectTagsCount
int getEffectTagsCount()
This flag's tagged effects. See OptionEffectTag's java documentation for details.
repeated .options.OptionEffectTag effect_tags = 4;- Returns:
- The count of effectTags.
-
getEffectTags
OptionFilters.OptionEffectTag getEffectTags(int index)
This flag's tagged effects. See OptionEffectTag's java documentation for details.
repeated .options.OptionEffectTag effect_tags = 4;- Parameters:
index- The index of the element to return.- Returns:
- The effectTags at the given index.
-
getEffectTagsValueList
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;- Returns:
- A list containing the enum numeric values on the wire for effectTags.
-
getEffectTagsValue
int getEffectTagsValue(int index)
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.
-
getMetadataTagsList
java.util.List<OptionFilters.OptionMetadataTag> getMetadataTagsList()
Metadata about the flag. See OptionMetadataTag's java documentation for details.
repeated .options.OptionMetadataTag metadata_tags = 5;- Returns:
- A list containing the metadataTags.
-
getMetadataTagsCount
int getMetadataTagsCount()
Metadata about the flag. See OptionMetadataTag's java documentation for details.
repeated .options.OptionMetadataTag metadata_tags = 5;- Returns:
- The count of metadataTags.
-
getMetadataTags
OptionFilters.OptionMetadataTag getMetadataTags(int index)
Metadata about the flag. See OptionMetadataTag's java documentation for details.
repeated .options.OptionMetadataTag metadata_tags = 5;- Parameters:
index- The index of the element to return.- Returns:
- The metadataTags at the given index.
-
getMetadataTagsValueList
java.util.List<java.lang.Integer> getMetadataTagsValueList()
Metadata about the flag. See OptionMetadataTag's java documentation for details.
repeated .options.OptionMetadataTag metadata_tags = 5;- Returns:
- A list containing the enum numeric values on the wire for metadataTags.
-
getMetadataTagsValue
int getMetadataTagsValue(int index)
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.
-
-