Interface ComboSetting.OptionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ComboSetting.Option, ComboSetting.Option.Builder
- Enclosing class:
ComboSetting
public static interface ComboSetting.OptionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe 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.Additional keywords for filtering/searching options.booleanOptional icon identifier to display next to the option.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getId
String 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;- Returns:
- The id.
-
getIdBytes
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;- Returns:
- The bytes for id.
-
getDisplayName
String getDisplayName()The human-readable name displayed to the user. Can include spaces and special characters for readability.
string display_name = 2;- Returns:
- The displayName.
-
getDisplayNameBytes
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;- Returns:
- The bytes for displayName.
-
hasIconId
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;- Returns:
- Whether the iconId field is set.
-
getIconId
String 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;- Returns:
- The iconId.
-
getIconIdBytes
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;- Returns:
- The bytes for iconId.
-
getKeywordsList
-
getKeywordsCount
int getKeywordsCount()Additional keywords for filtering/searching options. Allows finding this option by typing related terms.
repeated string keywords = 4;- Returns:
- The count of keywords.
-
getKeywords
Additional keywords for filtering/searching options. Allows finding this option by typing related terms.
repeated string keywords = 4;- Parameters:
index- The index of the element to return.- Returns:
- The keywords at the given index.
-
getKeywordsBytes
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;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the keywords at the given index.
-