Class ComboSetting.Option.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<ComboSetting.Option.Builder>
com.google.protobuf.GeneratedMessage.Builder<ComboSetting.Option.Builder>
com.soulfiremc.grpc.generated.ComboSetting.Option.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ComboSetting.OptionOrBuilder, Cloneable
- Enclosing class:
ComboSetting.Option
public static final class ComboSetting.Option.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ComboSetting.Option.Builder>
implements ComboSetting.OptionOrBuilder
A single selectable option in the combo box.Protobuf type
soulfire.v1.ComboSetting.Option-
Method Summary
Modifier and TypeMethodDescriptionaddAllKeywords(Iterable<String> values) Additional keywords for filtering/searching options.addKeywords(String value) Additional keywords for filtering/searching options.addKeywordsBytes(com.google.protobuf.ByteString value) Additional keywords for filtering/searching options.build()clear()The human-readable name displayed to the user.Optional icon identifier to display next to the option.clearId()The internal identifier for this option.Additional keywords for filtering/searching options.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe human-readable name displayed to the user.com.google.protobuf.ByteStringThe human-readable name displayed to the user.Optional icon identifier to display next to the option.com.google.protobuf.ByteStringOptional icon identifier to display next to the option.getId()The internal identifier for this option.com.google.protobuf.ByteStringThe internal identifier for this option.getKeywords(int index) Additional keywords for filtering/searching options.com.google.protobuf.ByteStringgetKeywordsBytes(int index) Additional keywords for filtering/searching options.intAdditional keywords for filtering/searching options.com.google.protobuf.ProtocolStringListAdditional keywords for filtering/searching options.booleanOptional icon identifier to display next to the option.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(ComboSetting.Option other) setDisplayName(String value) The human-readable name displayed to the user.setDisplayNameBytes(com.google.protobuf.ByteString value) The human-readable name displayed to the user.Optional icon identifier to display next to the option.setIconIdBytes(com.google.protobuf.ByteString value) Optional icon identifier to display next to the option.The internal identifier for this option.setIdBytes(com.google.protobuf.ByteString value) The internal identifier for this option.setKeywords(int index, String value) Additional keywords for filtering/searching options.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, 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 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.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ComboSetting.Option.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ComboSetting.Option.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.GeneratedMessage.Builder<ComboSetting.Option.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
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ComboSetting.Option.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ComboSetting.Option.Builder>
-
mergeFrom
public ComboSetting.Option.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<ComboSetting.Option.Builder>- Throws:
IOException
-
getId
The internal identifier for this option. This value is stored in the configuration when selected. Typically a machine-readable string (e.g., enum name, UUID).
string id = 1;- Specified by:
getIdin interfaceComboSetting.OptionOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()The internal identifier for this option. This value is stored in the configuration when selected. Typically a machine-readable string (e.g., enum name, UUID).
string id = 1;- Specified by:
getIdBytesin interfaceComboSetting.OptionOrBuilder- Returns:
- The bytes for id.
-
setId
The internal identifier for this option. This value is stored in the configuration when selected. Typically a machine-readable string (e.g., enum name, UUID).
string id = 1;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
The internal identifier for this option. This value is stored in the configuration when selected. Typically a machine-readable string (e.g., enum name, UUID).
string id = 1;- Returns:
- This builder for chaining.
-
setIdBytes
The internal identifier for this option. This value is stored in the configuration when selected. Typically a machine-readable string (e.g., enum name, UUID).
string id = 1;- Parameters:
value- The bytes for id to set.- Returns:
- This builder for chaining.
-
getDisplayName
The human-readable name displayed to the user. Can include spaces and special characters for readability.
string display_name = 2;- Specified by:
getDisplayNamein interfaceComboSetting.OptionOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()The human-readable name displayed to the user. Can include spaces and special characters for readability.
string display_name = 2;- Specified by:
getDisplayNameBytesin interfaceComboSetting.OptionOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
The human-readable name displayed to the user. Can include spaces and special characters for readability.
string display_name = 2;- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
The human-readable name displayed to the user. Can include spaces and special characters for readability.
string display_name = 2;- Returns:
- This builder for chaining.
-
setDisplayNameBytes
The human-readable name displayed to the user. Can include spaces and special characters for readability.
string display_name = 2;- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
hasIconId
public boolean hasIconId()Optional icon identifier to display next to the option. Uses lucide.dev icon IDs (e.g., "user", "settings", "shield").
optional string icon_id = 3;- Specified by:
hasIconIdin interfaceComboSetting.OptionOrBuilder- Returns:
- Whether the iconId field is set.
-
getIconId
Optional icon identifier to display next to the option. Uses lucide.dev icon IDs (e.g., "user", "settings", "shield").
optional string icon_id = 3;- Specified by:
getIconIdin interfaceComboSetting.OptionOrBuilder- Returns:
- The iconId.
-
getIconIdBytes
public com.google.protobuf.ByteString getIconIdBytes()Optional icon identifier to display next to the option. Uses lucide.dev icon IDs (e.g., "user", "settings", "shield").
optional string icon_id = 3;- Specified by:
getIconIdBytesin interfaceComboSetting.OptionOrBuilder- Returns:
- The bytes for iconId.
-
setIconId
Optional icon identifier to display next to the option. Uses lucide.dev icon IDs (e.g., "user", "settings", "shield").
optional string icon_id = 3;- Parameters:
value- The iconId to set.- Returns:
- This builder for chaining.
-
clearIconId
Optional icon identifier to display next to the option. Uses lucide.dev icon IDs (e.g., "user", "settings", "shield").
optional string icon_id = 3;- Returns:
- This builder for chaining.
-
setIconIdBytes
Optional icon identifier to display next to the option. Uses lucide.dev icon IDs (e.g., "user", "settings", "shield").
optional string icon_id = 3;- Parameters:
value- The bytes for iconId to set.- Returns:
- This builder for chaining.
-
getKeywordsList
public com.google.protobuf.ProtocolStringList getKeywordsList()Additional keywords for filtering/searching options. Allows finding this option by typing related terms.
repeated string keywords = 4;- Specified by:
getKeywordsListin interfaceComboSetting.OptionOrBuilder- Returns:
- A list containing the keywords.
-
getKeywordsCount
public int getKeywordsCount()Additional keywords for filtering/searching options. Allows finding this option by typing related terms.
repeated string keywords = 4;- Specified by:
getKeywordsCountin interfaceComboSetting.OptionOrBuilder- Returns:
- The count of keywords.
-
getKeywords
Additional keywords for filtering/searching options. Allows finding this option by typing related terms.
repeated string keywords = 4;- Specified by:
getKeywordsin interfaceComboSetting.OptionOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The keywords at the given index.
-
getKeywordsBytes
public com.google.protobuf.ByteString getKeywordsBytes(int index) Additional keywords for filtering/searching options. Allows finding this option by typing related terms.
repeated string keywords = 4;- Specified by:
getKeywordsBytesin interfaceComboSetting.OptionOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the keywords at the given index.
-
setKeywords
Additional keywords for filtering/searching options. Allows finding this option by typing related terms.
repeated string keywords = 4;- Parameters:
index- The index to set the value at.value- The keywords to set.- Returns:
- This builder for chaining.
-
addKeywords
Additional keywords for filtering/searching options. Allows finding this option by typing related terms.
repeated string keywords = 4;- Parameters:
value- The keywords to add.- Returns:
- This builder for chaining.
-
addAllKeywords
Additional keywords for filtering/searching options. Allows finding this option by typing related terms.
repeated string keywords = 4;- Parameters:
values- The keywords to add.- Returns:
- This builder for chaining.
-
clearKeywords
Additional keywords for filtering/searching options. Allows finding this option by typing related terms.
repeated string keywords = 4;- Returns:
- This builder for chaining.
-
addKeywordsBytes
Additional keywords for filtering/searching options. Allows finding this option by typing related terms.
repeated string keywords = 4;- Parameters:
value- The bytes of the keywords to add.- Returns:
- This builder for chaining.
-