Class OptionInfo.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<OptionInfo.Builder>
org.yamcs.protobuf.config.OptionInfo.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, OptionInfoOrBuilder
Enclosing class:
OptionInfo

public static final class OptionInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<OptionInfo.Builder> implements OptionInfoOrBuilder
Protobuf type yamcs.protobuf.config.OptionInfo
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<OptionInfo.Builder>
    • clear

      public OptionInfo.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<OptionInfo.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<OptionInfo.Builder>
    • getDefaultInstanceForType

      public OptionInfo getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public OptionInfo build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public OptionInfo buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      public OptionInfo.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<OptionInfo.Builder>
    • setField

      public OptionInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<OptionInfo.Builder>
    • clearField

      public OptionInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<OptionInfo.Builder>
    • clearOneof

      public OptionInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<OptionInfo.Builder>
    • setRepeatedField

      public OptionInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<OptionInfo.Builder>
    • addRepeatedField

      public OptionInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<OptionInfo.Builder>
    • mergeFrom

      public OptionInfo.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<OptionInfo.Builder>
    • mergeFrom

      public OptionInfo.Builder mergeFrom(OptionInfo other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<OptionInfo.Builder>
    • mergeFrom

      public OptionInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<OptionInfo.Builder>
      Throws:
      IOException
    • hasName

      public boolean hasName()
       Name of this option, unique within a spec
       
      optional string name = 1;
      Specified by:
      hasName in interface OptionInfoOrBuilder
      Returns:
      Whether the name field is set.
    • getName

      public String getName()
       Name of this option, unique within a spec
       
      optional string name = 1;
      Specified by:
      getName in interface OptionInfoOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Name of this option, unique within a spec
       
      optional string name = 1;
      Specified by:
      getNameBytes in interface OptionInfoOrBuilder
      Returns:
      The bytes for name.
    • setName

      public OptionInfo.Builder setName(String value)
       Name of this option, unique within a spec
       
      optional string name = 1;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public OptionInfo.Builder clearName()
       Name of this option, unique within a spec
       
      optional string name = 1;
      Returns:
      This builder for chaining.
    • setNameBytes

      public OptionInfo.Builder setNameBytes(com.google.protobuf.ByteString value)
       Name of this option, unique within a spec
       
      optional string name = 1;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • hasType

      public boolean hasType()
       Type of this option
       
      optional .yamcs.protobuf.config.OptionType type = 2;
      Specified by:
      hasType in interface OptionInfoOrBuilder
      Returns:
      Whether the type field is set.
    • getType

      public OptionType getType()
       Type of this option
       
      optional .yamcs.protobuf.config.OptionType type = 2;
      Specified by:
      getType in interface OptionInfoOrBuilder
      Returns:
      The type.
    • setType

      public OptionInfo.Builder setType(OptionType value)
       Type of this option
       
      optional .yamcs.protobuf.config.OptionType type = 2;
      Parameters:
      value - The type to set.
      Returns:
      This builder for chaining.
    • clearType

      public OptionInfo.Builder clearType()
       Type of this option
       
      optional .yamcs.protobuf.config.OptionType type = 2;
      Returns:
      This builder for chaining.
    • hasTitle

      public boolean hasTitle()
       UI-friendly label for this option
       
      optional string title = 3;
      Specified by:
      hasTitle in interface OptionInfoOrBuilder
      Returns:
      Whether the title field is set.
    • getTitle

      public String getTitle()
       UI-friendly label for this option
       
      optional string title = 3;
      Specified by:
      getTitle in interface OptionInfoOrBuilder
      Returns:
      The title.
    • getTitleBytes

      public com.google.protobuf.ByteString getTitleBytes()
       UI-friendly label for this option
       
      optional string title = 3;
      Specified by:
      getTitleBytes in interface OptionInfoOrBuilder
      Returns:
      The bytes for title.
    • setTitle

      public OptionInfo.Builder setTitle(String value)
       UI-friendly label for this option
       
      optional string title = 3;
      Parameters:
      value - The title to set.
      Returns:
      This builder for chaining.
    • clearTitle

      public OptionInfo.Builder clearTitle()
       UI-friendly label for this option
       
      optional string title = 3;
      Returns:
      This builder for chaining.
    • setTitleBytes

      public OptionInfo.Builder setTitleBytes(com.google.protobuf.ByteString value)
       UI-friendly label for this option
       
      optional string title = 3;
      Parameters:
      value - The bytes for title to set.
      Returns:
      This builder for chaining.
    • hasDefault

      public boolean hasDefault()
       Default value when the option is not specified
       
      optional .google.protobuf.Value default = 4;
      Specified by:
      hasDefault in interface OptionInfoOrBuilder
      Returns:
      Whether the default field is set.
    • getDefault

      public com.google.protobuf.Value getDefault()
       Default value when the option is not specified
       
      optional .google.protobuf.Value default = 4;
      Specified by:
      getDefault in interface OptionInfoOrBuilder
      Returns:
      The default.
    • setDefault

      public OptionInfo.Builder setDefault(com.google.protobuf.Value value)
       Default value when the option is not specified
       
      optional .google.protobuf.Value default = 4;
    • setDefault

      public OptionInfo.Builder setDefault(com.google.protobuf.Value.Builder builderForValue)
       Default value when the option is not specified
       
      optional .google.protobuf.Value default = 4;
    • mergeDefault

      public OptionInfo.Builder mergeDefault(com.google.protobuf.Value value)
       Default value when the option is not specified
       
      optional .google.protobuf.Value default = 4;
    • clearDefault

      public OptionInfo.Builder clearDefault()
       Default value when the option is not specified
       
      optional .google.protobuf.Value default = 4;
    • getDefaultBuilder

      public com.google.protobuf.Value.Builder getDefaultBuilder()
       Default value when the option is not specified
       
      optional .google.protobuf.Value default = 4;
    • getDefaultOrBuilder

      public com.google.protobuf.ValueOrBuilder getDefaultOrBuilder()
       Default value when the option is not specified
       
      optional .google.protobuf.Value default = 4;
      Specified by:
      getDefaultOrBuilder in interface OptionInfoOrBuilder
    • hasRequired

      public boolean hasRequired()
       Whether this options must be specified
       
      optional bool required = 5;
      Specified by:
      hasRequired in interface OptionInfoOrBuilder
      Returns:
      Whether the required field is set.
    • getRequired

      public boolean getRequired()
       Whether this options must be specified
       
      optional bool required = 5;
      Specified by:
      getRequired in interface OptionInfoOrBuilder
      Returns:
      The required.
    • setRequired

      public OptionInfo.Builder setRequired(boolean value)
       Whether this options must be specified
       
      optional bool required = 5;
      Parameters:
      value - The required to set.
      Returns:
      This builder for chaining.
    • clearRequired

      public OptionInfo.Builder clearRequired()
       Whether this options must be specified
       
      optional bool required = 5;
      Returns:
      This builder for chaining.
    • hasHidden

      public boolean hasHidden()
       Hint that this option should be excluded from any
       document generation
       
      optional bool hidden = 6;
      Specified by:
      hasHidden in interface OptionInfoOrBuilder
      Returns:
      Whether the hidden field is set.
    • getHidden

      public boolean getHidden()
       Hint that this option should be excluded from any
       document generation
       
      optional bool hidden = 6;
      Specified by:
      getHidden in interface OptionInfoOrBuilder
      Returns:
      The hidden.
    • setHidden

      public OptionInfo.Builder setHidden(boolean value)
       Hint that this option should be excluded from any
       document generation
       
      optional bool hidden = 6;
      Parameters:
      value - The hidden to set.
      Returns:
      This builder for chaining.
    • clearHidden

      public OptionInfo.Builder clearHidden()
       Hint that this option should be excluded from any
       document generation
       
      optional bool hidden = 6;
      Returns:
      This builder for chaining.
    • hasSecret

      public boolean hasSecret()
       Hint that value for this option should not be
       logged
       
      optional bool secret = 7;
      Specified by:
      hasSecret in interface OptionInfoOrBuilder
      Returns:
      Whether the secret field is set.
    • getSecret

      public boolean getSecret()
       Hint that value for this option should not be
       logged
       
      optional bool secret = 7;
      Specified by:
      getSecret in interface OptionInfoOrBuilder
      Returns:
      The secret.
    • setSecret

      public OptionInfo.Builder setSecret(boolean value)
       Hint that value for this option should not be
       logged
       
      optional bool secret = 7;
      Parameters:
      value - The secret to set.
      Returns:
      This builder for chaining.
    • clearSecret

      public OptionInfo.Builder clearSecret()
       Hint that value for this option should not be
       logged
       
      optional bool secret = 7;
      Returns:
      This builder for chaining.
    • hasVersionAdded

      public boolean hasVersionAdded()
       Which version of this software this option was added.
       Can be the Yamcs version, or the version of a plugin.  
       
      optional string versionAdded = 8;
      Specified by:
      hasVersionAdded in interface OptionInfoOrBuilder
      Returns:
      Whether the versionAdded field is set.
    • getVersionAdded

      public String getVersionAdded()
       Which version of this software this option was added.
       Can be the Yamcs version, or the version of a plugin.  
       
      optional string versionAdded = 8;
      Specified by:
      getVersionAdded in interface OptionInfoOrBuilder
      Returns:
      The versionAdded.
    • getVersionAddedBytes

      public com.google.protobuf.ByteString getVersionAddedBytes()
       Which version of this software this option was added.
       Can be the Yamcs version, or the version of a plugin.  
       
      optional string versionAdded = 8;
      Specified by:
      getVersionAddedBytes in interface OptionInfoOrBuilder
      Returns:
      The bytes for versionAdded.
    • setVersionAdded

      public OptionInfo.Builder setVersionAdded(String value)
       Which version of this software this option was added.
       Can be the Yamcs version, or the version of a plugin.  
       
      optional string versionAdded = 8;
      Parameters:
      value - The versionAdded to set.
      Returns:
      This builder for chaining.
    • clearVersionAdded

      public OptionInfo.Builder clearVersionAdded()
       Which version of this software this option was added.
       Can be the Yamcs version, or the version of a plugin.  
       
      optional string versionAdded = 8;
      Returns:
      This builder for chaining.
    • setVersionAddedBytes

      public OptionInfo.Builder setVersionAddedBytes(com.google.protobuf.ByteString value)
       Which version of this software this option was added.
       Can be the Yamcs version, or the version of a plugin.  
       
      optional string versionAdded = 8;
      Parameters:
      value - The bytes for versionAdded to set.
      Returns:
      This builder for chaining.
    • hasDeprecationMessage

      public boolean hasDeprecationMessage()
       Deprecation message for this option
       
      optional string deprecationMessage = 9;
      Specified by:
      hasDeprecationMessage in interface OptionInfoOrBuilder
      Returns:
      Whether the deprecationMessage field is set.
    • getDeprecationMessage

      public String getDeprecationMessage()
       Deprecation message for this option
       
      optional string deprecationMessage = 9;
      Specified by:
      getDeprecationMessage in interface OptionInfoOrBuilder
      Returns:
      The deprecationMessage.
    • getDeprecationMessageBytes

      public com.google.protobuf.ByteString getDeprecationMessageBytes()
       Deprecation message for this option
       
      optional string deprecationMessage = 9;
      Specified by:
      getDeprecationMessageBytes in interface OptionInfoOrBuilder
      Returns:
      The bytes for deprecationMessage.
    • setDeprecationMessage

      public OptionInfo.Builder setDeprecationMessage(String value)
       Deprecation message for this option
       
      optional string deprecationMessage = 9;
      Parameters:
      value - The deprecationMessage to set.
      Returns:
      This builder for chaining.
    • clearDeprecationMessage

      public OptionInfo.Builder clearDeprecationMessage()
       Deprecation message for this option
       
      optional string deprecationMessage = 9;
      Returns:
      This builder for chaining.
    • setDeprecationMessageBytes

      public OptionInfo.Builder setDeprecationMessageBytes(com.google.protobuf.ByteString value)
       Deprecation message for this option
       
      optional string deprecationMessage = 9;
      Parameters:
      value - The bytes for deprecationMessage to set.
      Returns:
      This builder for chaining.
    • getDescriptionList

      public com.google.protobuf.ProtocolStringList getDescriptionList()
       Description, each list entry represents a paragraph
       
      repeated string description = 10;
      Specified by:
      getDescriptionList in interface OptionInfoOrBuilder
      Returns:
      A list containing the description.
    • getDescriptionCount

      public int getDescriptionCount()
       Description, each list entry represents a paragraph
       
      repeated string description = 10;
      Specified by:
      getDescriptionCount in interface OptionInfoOrBuilder
      Returns:
      The count of description.
    • getDescription

      public String getDescription(int index)
       Description, each list entry represents a paragraph
       
      repeated string description = 10;
      Specified by:
      getDescription in interface OptionInfoOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The description at the given index.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes(int index)
       Description, each list entry represents a paragraph
       
      repeated string description = 10;
      Specified by:
      getDescriptionBytes in interface OptionInfoOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the description at the given index.
    • setDescription

      public OptionInfo.Builder setDescription(int index, String value)
       Description, each list entry represents a paragraph
       
      repeated string description = 10;
      Parameters:
      index - The index to set the value at.
      value - The description to set.
      Returns:
      This builder for chaining.
    • addDescription

      public OptionInfo.Builder addDescription(String value)
       Description, each list entry represents a paragraph
       
      repeated string description = 10;
      Parameters:
      value - The description to add.
      Returns:
      This builder for chaining.
    • addAllDescription

      public OptionInfo.Builder addAllDescription(Iterable<String> values)
       Description, each list entry represents a paragraph
       
      repeated string description = 10;
      Parameters:
      values - The description to add.
      Returns:
      This builder for chaining.
    • clearDescription

      public OptionInfo.Builder clearDescription()
       Description, each list entry represents a paragraph
       
      repeated string description = 10;
      Returns:
      This builder for chaining.
    • addDescriptionBytes

      public OptionInfo.Builder addDescriptionBytes(com.google.protobuf.ByteString value)
       Description, each list entry represents a paragraph
       
      repeated string description = 10;
      Parameters:
      value - The bytes of the description to add.
      Returns:
      This builder for chaining.
    • hasElementType

      public boolean hasElementType()
       When the type is ``LIST`` or ``LIST_OR_ELEMENT``, this indicates the type
       of each element of that list
       
      optional .yamcs.protobuf.config.OptionType elementType = 11;
      Specified by:
      hasElementType in interface OptionInfoOrBuilder
      Returns:
      Whether the elementType field is set.
    • getElementType

      public OptionType getElementType()
       When the type is ``LIST`` or ``LIST_OR_ELEMENT``, this indicates the type
       of each element of that list
       
      optional .yamcs.protobuf.config.OptionType elementType = 11;
      Specified by:
      getElementType in interface OptionInfoOrBuilder
      Returns:
      The elementType.
    • setElementType

      public OptionInfo.Builder setElementType(OptionType value)
       When the type is ``LIST`` or ``LIST_OR_ELEMENT``, this indicates the type
       of each element of that list
       
      optional .yamcs.protobuf.config.OptionType elementType = 11;
      Parameters:
      value - The elementType to set.
      Returns:
      This builder for chaining.
    • clearElementType

      public OptionInfo.Builder clearElementType()
       When the type is ``LIST`` or ``LIST_OR_ELEMENT``, this indicates the type
       of each element of that list
       
      optional .yamcs.protobuf.config.OptionType elementType = 11;
      Returns:
      This builder for chaining.
    • hasSpec

      public boolean hasSpec()
       When the type or elementType is ``MAP``, this specifies
       the options with that map
       
      optional .yamcs.protobuf.config.SpecInfo spec = 12;
      Specified by:
      hasSpec in interface OptionInfoOrBuilder
      Returns:
      Whether the spec field is set.
    • getSpec

      public SpecInfo getSpec()
       When the type or elementType is ``MAP``, this specifies
       the options with that map
       
      optional .yamcs.protobuf.config.SpecInfo spec = 12;
      Specified by:
      getSpec in interface OptionInfoOrBuilder
      Returns:
      The spec.
    • setSpec

      public OptionInfo.Builder setSpec(SpecInfo value)
       When the type or elementType is ``MAP``, this specifies
       the options with that map
       
      optional .yamcs.protobuf.config.SpecInfo spec = 12;
    • setSpec

      public OptionInfo.Builder setSpec(SpecInfo.Builder builderForValue)
       When the type or elementType is ``MAP``, this specifies
       the options with that map
       
      optional .yamcs.protobuf.config.SpecInfo spec = 12;
    • mergeSpec

      public OptionInfo.Builder mergeSpec(SpecInfo value)
       When the type or elementType is ``MAP``, this specifies
       the options with that map
       
      optional .yamcs.protobuf.config.SpecInfo spec = 12;
    • clearSpec

      public OptionInfo.Builder clearSpec()
       When the type or elementType is ``MAP``, this specifies
       the options with that map
       
      optional .yamcs.protobuf.config.SpecInfo spec = 12;
    • getSpecBuilder

      public SpecInfo.Builder getSpecBuilder()
       When the type or elementType is ``MAP``, this specifies
       the options with that map
       
      optional .yamcs.protobuf.config.SpecInfo spec = 12;
    • getSpecOrBuilder

      public SpecInfoOrBuilder getSpecOrBuilder()
       When the type or elementType is ``MAP``, this specifies
       the options with that map
       
      optional .yamcs.protobuf.config.SpecInfo spec = 12;
      Specified by:
      getSpecOrBuilder in interface OptionInfoOrBuilder
    • getChoicesList

      public List<com.google.protobuf.Value> getChoicesList()
       Allowed values for this option
       
      repeated .google.protobuf.Value choices = 13;
      Specified by:
      getChoicesList in interface OptionInfoOrBuilder
    • getChoicesCount

      public int getChoicesCount()
       Allowed values for this option
       
      repeated .google.protobuf.Value choices = 13;
      Specified by:
      getChoicesCount in interface OptionInfoOrBuilder
    • getChoices

      public com.google.protobuf.Value getChoices(int index)
       Allowed values for this option
       
      repeated .google.protobuf.Value choices = 13;
      Specified by:
      getChoices in interface OptionInfoOrBuilder
    • setChoices

      public OptionInfo.Builder setChoices(int index, com.google.protobuf.Value value)
       Allowed values for this option
       
      repeated .google.protobuf.Value choices = 13;
    • setChoices

      public OptionInfo.Builder setChoices(int index, com.google.protobuf.Value.Builder builderForValue)
       Allowed values for this option
       
      repeated .google.protobuf.Value choices = 13;
    • addChoices

      public OptionInfo.Builder addChoices(com.google.protobuf.Value value)
       Allowed values for this option
       
      repeated .google.protobuf.Value choices = 13;
    • addChoices

      public OptionInfo.Builder addChoices(int index, com.google.protobuf.Value value)
       Allowed values for this option
       
      repeated .google.protobuf.Value choices = 13;
    • addChoices

      public OptionInfo.Builder addChoices(com.google.protobuf.Value.Builder builderForValue)
       Allowed values for this option
       
      repeated .google.protobuf.Value choices = 13;
    • addChoices

      public OptionInfo.Builder addChoices(int index, com.google.protobuf.Value.Builder builderForValue)
       Allowed values for this option
       
      repeated .google.protobuf.Value choices = 13;
    • addAllChoices

      public OptionInfo.Builder addAllChoices(Iterable<? extends com.google.protobuf.Value> values)
       Allowed values for this option
       
      repeated .google.protobuf.Value choices = 13;
    • clearChoices

      public OptionInfo.Builder clearChoices()
       Allowed values for this option
       
      repeated .google.protobuf.Value choices = 13;
    • removeChoices

      public OptionInfo.Builder removeChoices(int index)
       Allowed values for this option
       
      repeated .google.protobuf.Value choices = 13;
    • getChoicesBuilder

      public com.google.protobuf.Value.Builder getChoicesBuilder(int index)
       Allowed values for this option
       
      repeated .google.protobuf.Value choices = 13;
    • getChoicesOrBuilder

      public com.google.protobuf.ValueOrBuilder getChoicesOrBuilder(int index)
       Allowed values for this option
       
      repeated .google.protobuf.Value choices = 13;
      Specified by:
      getChoicesOrBuilder in interface OptionInfoOrBuilder
    • getChoicesOrBuilderList

      public List<? extends com.google.protobuf.ValueOrBuilder> getChoicesOrBuilderList()
       Allowed values for this option
       
      repeated .google.protobuf.Value choices = 13;
      Specified by:
      getChoicesOrBuilderList in interface OptionInfoOrBuilder
    • addChoicesBuilder

      public com.google.protobuf.Value.Builder addChoicesBuilder()
       Allowed values for this option
       
      repeated .google.protobuf.Value choices = 13;
    • addChoicesBuilder

      public com.google.protobuf.Value.Builder addChoicesBuilder(int index)
       Allowed values for this option
       
      repeated .google.protobuf.Value choices = 13;
    • getChoicesBuilderList

      public List<com.google.protobuf.Value.Builder> getChoicesBuilderList()
       Allowed values for this option
       
      repeated .google.protobuf.Value choices = 13;
    • hasApplySpecDefaults

      public boolean hasApplySpecDefaults()
       When the type is ``MAP``, this property determines whether default values
       are generated even when a value for that option was not provided.
       
      optional bool applySpecDefaults = 14;
      Specified by:
      hasApplySpecDefaults in interface OptionInfoOrBuilder
      Returns:
      Whether the applySpecDefaults field is set.
    • getApplySpecDefaults

      public boolean getApplySpecDefaults()
       When the type is ``MAP``, this property determines whether default values
       are generated even when a value for that option was not provided.
       
      optional bool applySpecDefaults = 14;
      Specified by:
      getApplySpecDefaults in interface OptionInfoOrBuilder
      Returns:
      The applySpecDefaults.
    • setApplySpecDefaults

      public OptionInfo.Builder setApplySpecDefaults(boolean value)
       When the type is ``MAP``, this property determines whether default values
       are generated even when a value for that option was not provided.
       
      optional bool applySpecDefaults = 14;
      Parameters:
      value - The applySpecDefaults to set.
      Returns:
      This builder for chaining.
    • clearApplySpecDefaults

      public OptionInfo.Builder clearApplySpecDefaults()
       When the type is ``MAP``, this property determines whether default values
       are generated even when a value for that option was not provided.
       
      optional bool applySpecDefaults = 14;
      Returns:
      This builder for chaining.
    • getAliasesList

      public com.google.protobuf.ProtocolStringList getAliasesList()
       Additional names that can be used for this option
       
      repeated string aliases = 15;
      Specified by:
      getAliasesList in interface OptionInfoOrBuilder
      Returns:
      A list containing the aliases.
    • getAliasesCount

      public int getAliasesCount()
       Additional names that can be used for this option
       
      repeated string aliases = 15;
      Specified by:
      getAliasesCount in interface OptionInfoOrBuilder
      Returns:
      The count of aliases.
    • getAliases

      public String getAliases(int index)
       Additional names that can be used for this option
       
      repeated string aliases = 15;
      Specified by:
      getAliases in interface OptionInfoOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The aliases at the given index.
    • getAliasesBytes

      public com.google.protobuf.ByteString getAliasesBytes(int index)
       Additional names that can be used for this option
       
      repeated string aliases = 15;
      Specified by:
      getAliasesBytes in interface OptionInfoOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the aliases at the given index.
    • setAliases

      public OptionInfo.Builder setAliases(int index, String value)
       Additional names that can be used for this option
       
      repeated string aliases = 15;
      Parameters:
      index - The index to set the value at.
      value - The aliases to set.
      Returns:
      This builder for chaining.
    • addAliases

      public OptionInfo.Builder addAliases(String value)
       Additional names that can be used for this option
       
      repeated string aliases = 15;
      Parameters:
      value - The aliases to add.
      Returns:
      This builder for chaining.
    • addAllAliases

      public OptionInfo.Builder addAllAliases(Iterable<String> values)
       Additional names that can be used for this option
       
      repeated string aliases = 15;
      Parameters:
      values - The aliases to add.
      Returns:
      This builder for chaining.
    • clearAliases

      public OptionInfo.Builder clearAliases()
       Additional names that can be used for this option
       
      repeated string aliases = 15;
      Returns:
      This builder for chaining.
    • addAliasesBytes

      public OptionInfo.Builder addAliasesBytes(com.google.protobuf.ByteString value)
       Additional names that can be used for this option
       
      repeated string aliases = 15;
      Parameters:
      value - The bytes of the aliases to add.
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final OptionInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<OptionInfo.Builder>
    • mergeUnknownFields

      public final OptionInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<OptionInfo.Builder>