Package org.yamcs.protobuf.config
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 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.Builder
Allowed values for this optioncom.google.protobuf.Value.Builder
addChoicesBuilder
(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.ByteString
getAliasesBytes
(int index) Additional names that can be used for this optionint
Additional names that can be used for this optioncom.google.protobuf.ProtocolStringList
Additional names that can be used for this optionboolean
When 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.Value
getChoices
(int index) Allowed values for this optioncom.google.protobuf.Value.Builder
getChoicesBuilder
(int index) Allowed values for this optionList<com.google.protobuf.Value.Builder>
Allowed values for this optionint
Allowed values for this optionList<com.google.protobuf.Value>
Allowed values for this optioncom.google.protobuf.ValueOrBuilder
getChoicesOrBuilder
(int index) Allowed values for this optionList<? extends com.google.protobuf.ValueOrBuilder>
Allowed values for this optioncom.google.protobuf.Value
Default value when the option is not specifiedcom.google.protobuf.Value.Builder
Default value when the option is not specifiedcom.google.protobuf.ValueOrBuilder
Default value when the option is not specifiedDeprecation message for this optioncom.google.protobuf.ByteString
Deprecation message for this optiongetDescription
(int index) Description, each list entry represents a paragraphcom.google.protobuf.ByteString
getDescriptionBytes
(int index) Description, each list entry represents a paragraphint
Description, each list entry represents a paragraphcom.google.protobuf.ProtocolStringList
Description, each list entry represents a paragraphstatic final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
When the type is ``LIST`` or ``LIST_OR_ELEMENT``, this indicates the type of each element of that listboolean
Hint that this option should be excluded from any document generationgetName()
Name of this option, unique within a speccom.google.protobuf.ByteString
Name of this option, unique within a specboolean
Whether this options must be specifiedboolean
Hint 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.ByteString
UI-friendly label for this optiongetType()
Type of this optionWhich version of this software this option was added.com.google.protobuf.ByteString
Which version of this software this option was added.boolean
When the type is ``MAP``, this property determines whether default values are generated even when a value for that option was not provided.boolean
Default value when the option is not specifiedboolean
Deprecation message for this optionboolean
When the type is ``LIST`` or ``LIST_OR_ELEMENT``, this indicates the type of each element of that listboolean
Hint that this option should be excluded from any document generationboolean
hasName()
Name of this option, unique within a specboolean
Whether this options must be specifiedboolean
Hint that value for this option should not be loggedboolean
hasSpec()
When the type or elementType is ``MAP``, this specifies the options with that mapboolean
hasTitle()
UI-friendly label for this optionboolean
hasType()
Type of this optionboolean
Which version of this software this option was added.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeDefault
(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.Builder
mergeUnknownFields
(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.Builder
setUnknownFields
(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, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods 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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<OptionInfo.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<OptionInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<OptionInfo.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<OptionInfo.Builder>
-
setField
public OptionInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<OptionInfo.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<OptionInfo.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<OptionInfo.Builder>
-
addRepeatedField
public OptionInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<OptionInfo.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<OptionInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
hasName
in interfaceOptionInfoOrBuilder
- Returns:
- Whether the name field is set.
-
getName
Name of this option, unique within a spec
optional string name = 1;
- Specified by:
getName
in 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:
getNameBytes
in 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:
hasType
in interfaceOptionInfoOrBuilder
- Returns:
- Whether the type field is set.
-
getType
Type of this option
optional .yamcs.protobuf.config.OptionType type = 2;
- Specified by:
getType
in 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:
hasTitle
in interfaceOptionInfoOrBuilder
- Returns:
- Whether the title field is set.
-
getTitle
UI-friendly label for this option
optional string title = 3;
- Specified by:
getTitle
in interfaceOptionInfoOrBuilder
- Returns:
- The title.
-
getTitleBytes
public com.google.protobuf.ByteString getTitleBytes()UI-friendly label for this option
optional string title = 3;
- Specified by:
getTitleBytes
in 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:
hasDefault
in 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:
getDefault
in 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:
getDefaultOrBuilder
in interfaceOptionInfoOrBuilder
-
hasRequired
public boolean hasRequired()Whether this options must be specified
optional bool required = 5;
- Specified by:
hasRequired
in interfaceOptionInfoOrBuilder
- 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 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:
hasHidden
in 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:
getHidden
in 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:
hasSecret
in 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:
getSecret
in 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:
hasVersionAdded
in 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:
getVersionAdded
in 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:
getVersionAddedBytes
in 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:
hasDeprecationMessage
in interfaceOptionInfoOrBuilder
- Returns:
- Whether the deprecationMessage field is set.
-
getDeprecationMessage
Deprecation message for this option
optional string deprecationMessage = 9;
- Specified by:
getDeprecationMessage
in interfaceOptionInfoOrBuilder
- Returns:
- The deprecationMessage.
-
getDeprecationMessageBytes
public com.google.protobuf.ByteString getDeprecationMessageBytes()Deprecation message for this option
optional string deprecationMessage = 9;
- Specified by:
getDeprecationMessageBytes
in 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:
getDescriptionList
in interfaceOptionInfoOrBuilder
- 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 interfaceOptionInfoOrBuilder
- Returns:
- The count of description.
-
getDescription
Description, each list entry represents a paragraph
repeated string description = 10;
- Specified by:
getDescription
in 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:
getDescriptionBytes
in 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:
hasElementType
in 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:
getElementType
in 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:
hasSpec
in 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:
getSpec
in 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:
getSpecOrBuilder
in interfaceOptionInfoOrBuilder
-
getChoicesList
Allowed values for this option
repeated .google.protobuf.Value choices = 13;
- Specified by:
getChoicesList
in interfaceOptionInfoOrBuilder
-
getChoicesCount
public int getChoicesCount()Allowed values for this option
repeated .google.protobuf.Value choices = 13;
- Specified by:
getChoicesCount
in interfaceOptionInfoOrBuilder
-
getChoices
public com.google.protobuf.Value getChoices(int index) Allowed values for this option
repeated .google.protobuf.Value choices = 13;
- Specified by:
getChoices
in 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:
getChoicesOrBuilder
in interfaceOptionInfoOrBuilder
-
getChoicesOrBuilderList
Allowed values for this option
repeated .google.protobuf.Value choices = 13;
- Specified by:
getChoicesOrBuilderList
in 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:
hasApplySpecDefaults
in 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:
getApplySpecDefaults
in 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:
getAliasesList
in 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:
getAliasesCount
in interfaceOptionInfoOrBuilder
- Returns:
- The count of aliases.
-
getAliases
Additional names that can be used for this option
repeated string aliases = 15;
- Specified by:
getAliases
in 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:
getAliasesBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<OptionInfo.Builder>
-
mergeUnknownFields
public final OptionInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<OptionInfo.Builder>
-