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 Details

    • getCombinedForm

      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

      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

      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

      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

      List<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

      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

      List<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.