Package org.yamcs.protobuf.config
Class OptionInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
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 Summary
Modifier and TypeMethodDescriptionaddAliases(String value) Additional names that can be used for this optionaddAliasesBytes(com.google.protobuf.ByteString value) Additional names that can be used for this optionaddAllAliases(Iterable<String> values) Additional names that can be used for this optionaddAllChoices(Iterable<? extends com.google.protobuf.Value> values) Allowed values for this optionaddAllDescription(Iterable<String> values) Description, each list entry represents a paragraphaddChoices(int index, com.google.protobuf.Value value) Allowed values for this optionaddChoices(int index, com.google.protobuf.Value.Builder builderForValue) Allowed values for this optionaddChoices(com.google.protobuf.Value value) Allowed values for this optionaddChoices(com.google.protobuf.Value.Builder builderForValue) Allowed values for this optioncom.google.protobuf.Value.BuilderAllowed values for this optioncom.google.protobuf.Value.BuilderaddChoicesBuilder(int index) Allowed values for this optionaddDescription(String value) Description, each list entry represents a paragraphaddDescriptionBytes(com.google.protobuf.ByteString value) Description, each list entry represents a paragraphaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Additional names that can be used for this optionWhen the type is ``MAP``, this property determines whether default values are generated even when a value for that option was not provided.Allowed values for this optionDefault value when the option is not specifiedDeprecation message for this optionDescription, each list entry represents a paragraphWhen the type is ``LIST`` or ``LIST_OR_ELEMENT``, this indicates the type of each element of that listclearField(com.google.protobuf.Descriptors.FieldDescriptor field) Hint that this option should be excluded from any document generationName of this option, unique within a specclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Whether this options must be specifiedHint that value for this option should not be loggedWhen the type or elementType is ``MAP``, this specifies the options with that mapUI-friendly label for this optionType of this optionWhich version of this software this option was added.clone()getAliases(int index) Additional names that can be used for this optioncom.google.protobuf.ByteStringgetAliasesBytes(int index) Additional names that can be used for this optionintAdditional names that can be used for this optioncom.google.protobuf.ProtocolStringListAdditional names that can be used for this optionbooleanWhen the type is ``MAP``, this property determines whether default values are generated even when a value for that option was not provided.com.google.protobuf.ValuegetChoices(int index) Allowed values for this optioncom.google.protobuf.Value.BuildergetChoicesBuilder(int index) Allowed values for this optionList<com.google.protobuf.Value.Builder>Allowed values for this optionintAllowed values for this optionList<com.google.protobuf.Value>Allowed values for this optioncom.google.protobuf.ValueOrBuildergetChoicesOrBuilder(int index) Allowed values for this optionList<? extends com.google.protobuf.ValueOrBuilder>Allowed values for this optioncom.google.protobuf.ValueDefault value when the option is not specifiedcom.google.protobuf.Value.BuilderDefault value when the option is not specifiedcom.google.protobuf.ValueOrBuilderDefault value when the option is not specifiedDeprecation message for this optioncom.google.protobuf.ByteStringDeprecation message for this optiongetDescription(int index) Description, each list entry represents a paragraphcom.google.protobuf.ByteStringgetDescriptionBytes(int index) Description, each list entry represents a paragraphintDescription, each list entry represents a paragraphcom.google.protobuf.ProtocolStringListDescription, each list entry represents a paragraphstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorWhen the type is ``LIST`` or ``LIST_OR_ELEMENT``, this indicates the type of each element of that listbooleanHint that this option should be excluded from any document generationgetName()Name of this option, unique within a speccom.google.protobuf.ByteStringName of this option, unique within a specbooleanWhether this options must be specifiedbooleanHint that value for this option should not be loggedgetSpec()When the type or elementType is ``MAP``, this specifies the options with that mapWhen the type or elementType is ``MAP``, this specifies the options with that mapWhen the type or elementType is ``MAP``, this specifies the options with that mapgetTitle()UI-friendly label for this optioncom.google.protobuf.ByteStringUI-friendly label for this optiongetType()Type of this optionWhich version of this software this option was added.com.google.protobuf.ByteStringWhich version of this software this option was added.booleanWhen the type is ``MAP``, this property determines whether default values are generated even when a value for that option was not provided.booleanDefault value when the option is not specifiedbooleanDeprecation message for this optionbooleanWhen the type is ``LIST`` or ``LIST_OR_ELEMENT``, this indicates the type of each element of that listbooleanHint that this option should be excluded from any document generationbooleanhasName()Name of this option, unique within a specbooleanWhether this options must be specifiedbooleanHint that value for this option should not be loggedbooleanhasSpec()When the type or elementType is ``MAP``, this specifies the options with that mapbooleanhasTitle()UI-friendly label for this optionbooleanhasType()Type of this optionbooleanWhich version of this software this option was added.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeDefault(com.google.protobuf.Value value) Default value when the option is not specifiedmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(OptionInfo other) When the type or elementType is ``MAP``, this specifies the options with that mapfinal OptionInfo.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeChoices(int index) Allowed values for this optionsetAliases(int index, String value) Additional names that can be used for this optionsetApplySpecDefaults(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.setChoices(int index, com.google.protobuf.Value value) Allowed values for this optionsetChoices(int index, com.google.protobuf.Value.Builder builderForValue) Allowed values for this optionsetDefault(com.google.protobuf.Value value) Default value when the option is not specifiedsetDefault(com.google.protobuf.Value.Builder builderForValue) Default value when the option is not specifiedsetDeprecationMessage(String value) Deprecation message for this optionsetDeprecationMessageBytes(com.google.protobuf.ByteString value) Deprecation message for this optionsetDescription(int index, String value) Description, each list entry represents a paragraphsetElementType(OptionType value) When the type is ``LIST`` or ``LIST_OR_ELEMENT``, this indicates the type of each element of that listsetHidden(boolean value) Hint that this option should be excluded from any document generationName of this option, unique within a specsetNameBytes(com.google.protobuf.ByteString value) Name of this option, unique within a specsetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRequired(boolean value) Whether this options must be specifiedsetSecret(boolean value) Hint that value for this option should not be loggedWhen the type or elementType is ``MAP``, this specifies the options with that mapsetSpec(SpecInfo.Builder builderForValue) When the type or elementType is ``MAP``, this specifies the options with that mapUI-friendly label for this optionsetTitleBytes(com.google.protobuf.ByteString value) UI-friendly label for this optionsetType(OptionType value) Type of this optionfinal OptionInfo.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setVersionAdded(String value) Which version of this software this option was added.setVersionAddedBytes(com.google.protobuf.ByteString value) Which version of this software this option was added.Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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<OptionInfo.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<OptionInfo.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<OptionInfo.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.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<OptionInfo.Builder>
-
setField
public OptionInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<OptionInfo.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<OptionInfo.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<OptionInfo.Builder>
-
setRepeatedField
public OptionInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<OptionInfo.Builder>
-
addRepeatedField
public OptionInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<OptionInfo.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<OptionInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.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:
hasNamein interfaceOptionInfoOrBuilder- Returns:
- Whether the name field is set.
-
getName
Name of this option, unique within a spec
optional string name = 1;- Specified by:
getNamein interfaceOptionInfoOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Name of this option, unique within a spec
optional string name = 1;- Specified by:
getNameBytesin interfaceOptionInfoOrBuilder- Returns:
- The bytes for name.
-
setName
Name of this option, unique within a spec
optional string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Name of this option, unique within a spec
optional string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
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:
hasTypein interfaceOptionInfoOrBuilder- Returns:
- Whether the type field is set.
-
getType
Type of this option
optional .yamcs.protobuf.config.OptionType type = 2;- Specified by:
getTypein interfaceOptionInfoOrBuilder- Returns:
- The type.
-
setType
Type of this option
optional .yamcs.protobuf.config.OptionType type = 2;- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
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:
hasTitlein interfaceOptionInfoOrBuilder- Returns:
- Whether the title field is set.
-
getTitle
UI-friendly label for this option
optional string title = 3;- Specified by:
getTitlein interfaceOptionInfoOrBuilder- Returns:
- The title.
-
getTitleBytes
public com.google.protobuf.ByteString getTitleBytes()UI-friendly label for this option
optional string title = 3;- Specified by:
getTitleBytesin interfaceOptionInfoOrBuilder- Returns:
- The bytes for title.
-
setTitle
UI-friendly label for this option
optional string title = 3;- Parameters:
value- The title to set.- Returns:
- This builder for chaining.
-
clearTitle
UI-friendly label for this option
optional string title = 3;- Returns:
- This builder for chaining.
-
setTitleBytes
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:
hasDefaultin interfaceOptionInfoOrBuilder- 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:
getDefaultin interfaceOptionInfoOrBuilder- Returns:
- The default.
-
setDefault
Default value when the option is not specified
optional .google.protobuf.Value default = 4; -
setDefault
Default value when the option is not specified
optional .google.protobuf.Value default = 4; -
mergeDefault
Default value when the option is not specified
optional .google.protobuf.Value default = 4; -
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:
getDefaultOrBuilderin interfaceOptionInfoOrBuilder
-
hasRequired
public boolean hasRequired()Whether this options must be specified
optional bool required = 5;- Specified by:
hasRequiredin interfaceOptionInfoOrBuilder- Returns:
- Whether the required field is set.
-
getRequired
public boolean getRequired()Whether this options must be specified
optional bool required = 5;- Specified by:
getRequiredin interfaceOptionInfoOrBuilder- Returns:
- The required.
-
setRequired
Whether this options must be specified
optional bool required = 5;- Parameters:
value- The required to set.- Returns:
- This builder for chaining.
-
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:
hasHiddenin interfaceOptionInfoOrBuilder- 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:
getHiddenin interfaceOptionInfoOrBuilder- Returns:
- The hidden.
-
setHidden
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
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:
hasSecretin interfaceOptionInfoOrBuilder- 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:
getSecretin interfaceOptionInfoOrBuilder- Returns:
- The secret.
-
setSecret
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
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:
hasVersionAddedin interfaceOptionInfoOrBuilder- Returns:
- Whether the versionAdded field is set.
-
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:
getVersionAddedin interfaceOptionInfoOrBuilder- 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:
getVersionAddedBytesin interfaceOptionInfoOrBuilder- Returns:
- The bytes for versionAdded.
-
setVersionAdded
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
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
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:
hasDeprecationMessagein interfaceOptionInfoOrBuilder- Returns:
- Whether the deprecationMessage field is set.
-
getDeprecationMessage
Deprecation message for this option
optional string deprecationMessage = 9;- Specified by:
getDeprecationMessagein interfaceOptionInfoOrBuilder- Returns:
- The deprecationMessage.
-
getDeprecationMessageBytes
public com.google.protobuf.ByteString getDeprecationMessageBytes()Deprecation message for this option
optional string deprecationMessage = 9;- Specified by:
getDeprecationMessageBytesin interfaceOptionInfoOrBuilder- Returns:
- The bytes for deprecationMessage.
-
setDeprecationMessage
Deprecation message for this option
optional string deprecationMessage = 9;- Parameters:
value- The deprecationMessage to set.- Returns:
- This builder for chaining.
-
clearDeprecationMessage
Deprecation message for this option
optional string deprecationMessage = 9;- Returns:
- This builder for chaining.
-
setDeprecationMessageBytes
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:
getDescriptionListin interfaceOptionInfoOrBuilder- Returns:
- A list containing the description.
-
getDescriptionCount
public int getDescriptionCount()Description, each list entry represents a paragraph
repeated string description = 10;- Specified by:
getDescriptionCountin interfaceOptionInfoOrBuilder- Returns:
- The count of description.
-
getDescription
Description, each list entry represents a paragraph
repeated string description = 10;- Specified by:
getDescriptionin interfaceOptionInfoOrBuilder- 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:
getDescriptionBytesin interfaceOptionInfoOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the description at the given index.
-
setDescription
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
Description, each list entry represents a paragraph
repeated string description = 10;- Parameters:
value- The description to add.- Returns:
- This builder for chaining.
-
addAllDescription
Description, each list entry represents a paragraph
repeated string description = 10;- Parameters:
values- The description to add.- Returns:
- This builder for chaining.
-
clearDescription
Description, each list entry represents a paragraph
repeated string description = 10;- Returns:
- This builder for chaining.
-
addDescriptionBytes
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:
hasElementTypein interfaceOptionInfoOrBuilder- Returns:
- Whether the elementType field is set.
-
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:
getElementTypein interfaceOptionInfoOrBuilder- Returns:
- The elementType.
-
setElementType
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
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:
hasSpecin interfaceOptionInfoOrBuilder- Returns:
- Whether the spec field is set.
-
getSpec
When the type or elementType is ``MAP``, this specifies the options with that map
optional .yamcs.protobuf.config.SpecInfo spec = 12;- Specified by:
getSpecin interfaceOptionInfoOrBuilder- Returns:
- The spec.
-
setSpec
When the type or elementType is ``MAP``, this specifies the options with that map
optional .yamcs.protobuf.config.SpecInfo spec = 12; -
setSpec
When the type or elementType is ``MAP``, this specifies the options with that map
optional .yamcs.protobuf.config.SpecInfo spec = 12; -
mergeSpec
When the type or elementType is ``MAP``, this specifies the options with that map
optional .yamcs.protobuf.config.SpecInfo spec = 12; -
clearSpec
When the type or elementType is ``MAP``, this specifies the options with that map
optional .yamcs.protobuf.config.SpecInfo spec = 12; -
getSpecBuilder
When the type or elementType is ``MAP``, this specifies the options with that map
optional .yamcs.protobuf.config.SpecInfo spec = 12; -
getSpecOrBuilder
When the type or elementType is ``MAP``, this specifies the options with that map
optional .yamcs.protobuf.config.SpecInfo spec = 12;- Specified by:
getSpecOrBuilderin interfaceOptionInfoOrBuilder
-
getChoicesList
Allowed values for this option
repeated .google.protobuf.Value choices = 13;- Specified by:
getChoicesListin interfaceOptionInfoOrBuilder
-
getChoicesCount
public int getChoicesCount()Allowed values for this option
repeated .google.protobuf.Value choices = 13;- Specified by:
getChoicesCountin interfaceOptionInfoOrBuilder
-
getChoices
public com.google.protobuf.Value getChoices(int index) Allowed values for this option
repeated .google.protobuf.Value choices = 13;- Specified by:
getChoicesin interfaceOptionInfoOrBuilder
-
setChoices
Allowed values for this option
repeated .google.protobuf.Value choices = 13; -
setChoices
Allowed values for this option
repeated .google.protobuf.Value choices = 13; -
addChoices
Allowed values for this option
repeated .google.protobuf.Value choices = 13; -
addChoices
Allowed values for this option
repeated .google.protobuf.Value choices = 13; -
addChoices
Allowed values for this option
repeated .google.protobuf.Value choices = 13; -
addChoices
Allowed values for this option
repeated .google.protobuf.Value choices = 13; -
addAllChoices
Allowed values for this option
repeated .google.protobuf.Value choices = 13; -
clearChoices
Allowed values for this option
repeated .google.protobuf.Value choices = 13; -
removeChoices
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:
getChoicesOrBuilderin interfaceOptionInfoOrBuilder
-
getChoicesOrBuilderList
Allowed values for this option
repeated .google.protobuf.Value choices = 13;- Specified by:
getChoicesOrBuilderListin interfaceOptionInfoOrBuilder
-
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
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:
hasApplySpecDefaultsin interfaceOptionInfoOrBuilder- 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:
getApplySpecDefaultsin interfaceOptionInfoOrBuilder- Returns:
- The applySpecDefaults.
-
setApplySpecDefaults
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
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:
getAliasesListin interfaceOptionInfoOrBuilder- 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:
getAliasesCountin interfaceOptionInfoOrBuilder- Returns:
- The count of aliases.
-
getAliases
Additional names that can be used for this option
repeated string aliases = 15;- Specified by:
getAliasesin interfaceOptionInfoOrBuilder- 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:
getAliasesBytesin interfaceOptionInfoOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the aliases at the given index.
-
setAliases
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
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
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
Additional names that can be used for this option
repeated string aliases = 15;- Returns:
- This builder for chaining.
-
addAliasesBytes
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
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<OptionInfo.Builder>
-
mergeUnknownFields
public final OptionInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<OptionInfo.Builder>
-