Class SettingsPage.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<SettingsPage.Builder>
com.google.protobuf.GeneratedMessage.Builder<SettingsPage.Builder>
com.soulfiremc.grpc.generated.SettingsPage.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, SettingsPageOrBuilder, Cloneable
- Enclosing class:
SettingsPage
public static final class SettingsPage.Builder
extends com.google.protobuf.GeneratedMessage.Builder<SettingsPage.Builder>
implements SettingsPageOrBuilder
A settings page that groups related settings together for UI navigation. Pages provide a logical organization of settings with visual elements like icons and names. Each page references settings by their identifiers rather than embedding the definitions, allowing settings to be shared across pages.Protobuf type
soulfire.v1.SettingsPage-
Method Summary
Modifier and TypeMethodDescriptionaddAllEntries(Iterable<? extends SettingsEntryIdentifier> values) Ordered list of setting identifiers to display on this page.addEntries(int index, SettingsEntryIdentifier value) Ordered list of setting identifiers to display on this page.addEntries(int index, SettingsEntryIdentifier.Builder builderForValue) Ordered list of setting identifiers to display on this page.Ordered list of setting identifiers to display on this page.addEntries(SettingsEntryIdentifier.Builder builderForValue) Ordered list of setting identifiers to display on this page.Ordered list of setting identifiers to display on this page.addEntriesBuilder(int index) Ordered list of setting identifiers to display on this page.build()clear()Optional identifier for a boolean setting that controls whether this page/feature is enabled.Ordered list of setting identifiers to display on this page.Icon identifier for visual representation of this page.clearId()Unique page identifier, URL-safe for navigation.The ID of the plugin that owns this page (optional).The human-readable display name shown in the UI navigation.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOptional identifier for a boolean setting that controls whether this page/feature is enabled.Optional identifier for a boolean setting that controls whether this page/feature is enabled.Optional identifier for a boolean setting that controls whether this page/feature is enabled.getEntries(int index) Ordered list of setting identifiers to display on this page.getEntriesBuilder(int index) Ordered list of setting identifiers to display on this page.Ordered list of setting identifiers to display on this page.intOrdered list of setting identifiers to display on this page.Ordered list of setting identifiers to display on this page.getEntriesOrBuilder(int index) Ordered list of setting identifiers to display on this page.List<? extends SettingsEntryIdentifierOrBuilder> Ordered list of setting identifiers to display on this page.Icon identifier for visual representation of this page.com.google.protobuf.ByteStringIcon identifier for visual representation of this page.getId()Unique page identifier, URL-safe for navigation.com.google.protobuf.ByteStringUnique page identifier, URL-safe for navigation.The ID of the plugin that owns this page (optional).com.google.protobuf.ByteStringThe ID of the plugin that owns this page (optional).The human-readable display name shown in the UI navigation.com.google.protobuf.ByteStringThe human-readable display name shown in the UI navigation.booleanOptional identifier for a boolean setting that controls whether this page/feature is enabled.booleanThe ID of the plugin that owns this page (optional).protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanOptional identifier for a boolean setting that controls whether this page/feature is enabled.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(SettingsPage other) removeEntries(int index) Ordered list of setting identifiers to display on this page.Optional identifier for a boolean setting that controls whether this page/feature is enabled.setEnabledIdentifier(SettingsEntryIdentifier.Builder builderForValue) Optional identifier for a boolean setting that controls whether this page/feature is enabled.setEntries(int index, SettingsEntryIdentifier value) Ordered list of setting identifiers to display on this page.setEntries(int index, SettingsEntryIdentifier.Builder builderForValue) Ordered list of setting identifiers to display on this page.Icon identifier for visual representation of this page.setIconIdBytes(com.google.protobuf.ByteString value) Icon identifier for visual representation of this page.Unique page identifier, URL-safe for navigation.setIdBytes(com.google.protobuf.ByteString value) Unique page identifier, URL-safe for navigation.setOwningPluginId(String value) The ID of the plugin that owns this page (optional).setOwningPluginIdBytes(com.google.protobuf.ByteString value) The ID of the plugin that owns this page (optional).setPageName(String value) The human-readable display name shown in the UI navigation.setPageNameBytes(com.google.protobuf.ByteString value) The human-readable display name shown in the UI navigation.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<SettingsPage.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<SettingsPage.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<SettingsPage.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<SettingsPage.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<SettingsPage.Builder>
-
mergeFrom
public SettingsPage.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<SettingsPage.Builder>- Throws:
IOException
-
getId
Unique page identifier, URL-safe for navigation. Examples: "bot", "account", "auto-reconnect", "anti-afk". Should be lowercase with hyphens for word separation.
string id = 1;- Specified by:
getIdin interfaceSettingsPageOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()Unique page identifier, URL-safe for navigation. Examples: "bot", "account", "auto-reconnect", "anti-afk". Should be lowercase with hyphens for word separation.
string id = 1;- Specified by:
getIdBytesin interfaceSettingsPageOrBuilder- Returns:
- The bytes for id.
-
setId
Unique page identifier, URL-safe for navigation. Examples: "bot", "account", "auto-reconnect", "anti-afk". Should be lowercase with hyphens for word separation.
string id = 1;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
Unique page identifier, URL-safe for navigation. Examples: "bot", "account", "auto-reconnect", "anti-afk". Should be lowercase with hyphens for word separation.
string id = 1;- Returns:
- This builder for chaining.
-
setIdBytes
Unique page identifier, URL-safe for navigation. Examples: "bot", "account", "auto-reconnect", "anti-afk". Should be lowercase with hyphens for word separation.
string id = 1;- Parameters:
value- The bytes for id to set.- Returns:
- This builder for chaining.
-
hasOwningPluginId
public boolean hasOwningPluginId()The ID of the plugin that owns this page (optional). Null/empty for internal SoulFire pages. Used to group pages by plugin in the UI navigation.
optional string owning_plugin_id = 2;- Specified by:
hasOwningPluginIdin interfaceSettingsPageOrBuilder- Returns:
- Whether the owningPluginId field is set.
-
getOwningPluginId
The ID of the plugin that owns this page (optional). Null/empty for internal SoulFire pages. Used to group pages by plugin in the UI navigation.
optional string owning_plugin_id = 2;- Specified by:
getOwningPluginIdin interfaceSettingsPageOrBuilder- Returns:
- The owningPluginId.
-
getOwningPluginIdBytes
public com.google.protobuf.ByteString getOwningPluginIdBytes()The ID of the plugin that owns this page (optional). Null/empty for internal SoulFire pages. Used to group pages by plugin in the UI navigation.
optional string owning_plugin_id = 2;- Specified by:
getOwningPluginIdBytesin interfaceSettingsPageOrBuilder- Returns:
- The bytes for owningPluginId.
-
setOwningPluginId
The ID of the plugin that owns this page (optional). Null/empty for internal SoulFire pages. Used to group pages by plugin in the UI navigation.
optional string owning_plugin_id = 2;- Parameters:
value- The owningPluginId to set.- Returns:
- This builder for chaining.
-
clearOwningPluginId
The ID of the plugin that owns this page (optional). Null/empty for internal SoulFire pages. Used to group pages by plugin in the UI navigation.
optional string owning_plugin_id = 2;- Returns:
- This builder for chaining.
-
setOwningPluginIdBytes
The ID of the plugin that owns this page (optional). Null/empty for internal SoulFire pages. Used to group pages by plugin in the UI navigation.
optional string owning_plugin_id = 2;- Parameters:
value- The bytes for owningPluginId to set.- Returns:
- This builder for chaining.
-
getPageName
The human-readable display name shown in the UI navigation. Examples: "Bot Settings", "Account", "Auto Reconnect".
string page_name = 3;- Specified by:
getPageNamein interfaceSettingsPageOrBuilder- Returns:
- The pageName.
-
getPageNameBytes
public com.google.protobuf.ByteString getPageNameBytes()The human-readable display name shown in the UI navigation. Examples: "Bot Settings", "Account", "Auto Reconnect".
string page_name = 3;- Specified by:
getPageNameBytesin interfaceSettingsPageOrBuilder- Returns:
- The bytes for pageName.
-
setPageName
The human-readable display name shown in the UI navigation. Examples: "Bot Settings", "Account", "Auto Reconnect".
string page_name = 3;- Parameters:
value- The pageName to set.- Returns:
- This builder for chaining.
-
clearPageName
The human-readable display name shown in the UI navigation. Examples: "Bot Settings", "Account", "Auto Reconnect".
string page_name = 3;- Returns:
- This builder for chaining.
-
setPageNameBytes
The human-readable display name shown in the UI navigation. Examples: "Bot Settings", "Account", "Auto Reconnect".
string page_name = 3;- Parameters:
value- The bytes for pageName to set.- Returns:
- This builder for chaining.
-
getEntriesList
Ordered list of setting identifiers to display on this page. Settings are rendered in the order they appear in this list. Each identifier must correspond to a valid SettingsDefinition.
repeated .soulfire.v1.SettingsEntryIdentifier entries = 5;- Specified by:
getEntriesListin interfaceSettingsPageOrBuilder
-
getEntriesCount
public int getEntriesCount()Ordered list of setting identifiers to display on this page. Settings are rendered in the order they appear in this list. Each identifier must correspond to a valid SettingsDefinition.
repeated .soulfire.v1.SettingsEntryIdentifier entries = 5;- Specified by:
getEntriesCountin interfaceSettingsPageOrBuilder
-
getEntries
Ordered list of setting identifiers to display on this page. Settings are rendered in the order they appear in this list. Each identifier must correspond to a valid SettingsDefinition.
repeated .soulfire.v1.SettingsEntryIdentifier entries = 5;- Specified by:
getEntriesin interfaceSettingsPageOrBuilder
-
setEntries
Ordered list of setting identifiers to display on this page. Settings are rendered in the order they appear in this list. Each identifier must correspond to a valid SettingsDefinition.
repeated .soulfire.v1.SettingsEntryIdentifier entries = 5; -
setEntries
Ordered list of setting identifiers to display on this page. Settings are rendered in the order they appear in this list. Each identifier must correspond to a valid SettingsDefinition.
repeated .soulfire.v1.SettingsEntryIdentifier entries = 5; -
addEntries
Ordered list of setting identifiers to display on this page. Settings are rendered in the order they appear in this list. Each identifier must correspond to a valid SettingsDefinition.
repeated .soulfire.v1.SettingsEntryIdentifier entries = 5; -
addEntries
Ordered list of setting identifiers to display on this page. Settings are rendered in the order they appear in this list. Each identifier must correspond to a valid SettingsDefinition.
repeated .soulfire.v1.SettingsEntryIdentifier entries = 5; -
addEntries
Ordered list of setting identifiers to display on this page. Settings are rendered in the order they appear in this list. Each identifier must correspond to a valid SettingsDefinition.
repeated .soulfire.v1.SettingsEntryIdentifier entries = 5; -
addEntries
Ordered list of setting identifiers to display on this page. Settings are rendered in the order they appear in this list. Each identifier must correspond to a valid SettingsDefinition.
repeated .soulfire.v1.SettingsEntryIdentifier entries = 5; -
addAllEntries
Ordered list of setting identifiers to display on this page. Settings are rendered in the order they appear in this list. Each identifier must correspond to a valid SettingsDefinition.
repeated .soulfire.v1.SettingsEntryIdentifier entries = 5; -
clearEntries
Ordered list of setting identifiers to display on this page. Settings are rendered in the order they appear in this list. Each identifier must correspond to a valid SettingsDefinition.
repeated .soulfire.v1.SettingsEntryIdentifier entries = 5; -
removeEntries
Ordered list of setting identifiers to display on this page. Settings are rendered in the order they appear in this list. Each identifier must correspond to a valid SettingsDefinition.
repeated .soulfire.v1.SettingsEntryIdentifier entries = 5; -
getEntriesBuilder
Ordered list of setting identifiers to display on this page. Settings are rendered in the order they appear in this list. Each identifier must correspond to a valid SettingsDefinition.
repeated .soulfire.v1.SettingsEntryIdentifier entries = 5; -
getEntriesOrBuilder
Ordered list of setting identifiers to display on this page. Settings are rendered in the order they appear in this list. Each identifier must correspond to a valid SettingsDefinition.
repeated .soulfire.v1.SettingsEntryIdentifier entries = 5;- Specified by:
getEntriesOrBuilderin interfaceSettingsPageOrBuilder
-
getEntriesOrBuilderList
Ordered list of setting identifiers to display on this page. Settings are rendered in the order they appear in this list. Each identifier must correspond to a valid SettingsDefinition.
repeated .soulfire.v1.SettingsEntryIdentifier entries = 5;- Specified by:
getEntriesOrBuilderListin interfaceSettingsPageOrBuilder
-
addEntriesBuilder
Ordered list of setting identifiers to display on this page. Settings are rendered in the order they appear in this list. Each identifier must correspond to a valid SettingsDefinition.
repeated .soulfire.v1.SettingsEntryIdentifier entries = 5; -
addEntriesBuilder
Ordered list of setting identifiers to display on this page. Settings are rendered in the order they appear in this list. Each identifier must correspond to a valid SettingsDefinition.
repeated .soulfire.v1.SettingsEntryIdentifier entries = 5; -
getEntriesBuilderList
Ordered list of setting identifiers to display on this page. Settings are rendered in the order they appear in this list. Each identifier must correspond to a valid SettingsDefinition.
repeated .soulfire.v1.SettingsEntryIdentifier entries = 5; -
getIconId
Icon identifier for visual representation of this page. Uses lucide.dev icon IDs (e.g., "bot", "user", "refresh-cw"). Rendered next to the page name in navigation menus.
string icon_id = 6;- Specified by:
getIconIdin interfaceSettingsPageOrBuilder- Returns:
- The iconId.
-
getIconIdBytes
public com.google.protobuf.ByteString getIconIdBytes()Icon identifier for visual representation of this page. Uses lucide.dev icon IDs (e.g., "bot", "user", "refresh-cw"). Rendered next to the page name in navigation menus.
string icon_id = 6;- Specified by:
getIconIdBytesin interfaceSettingsPageOrBuilder- Returns:
- The bytes for iconId.
-
setIconId
Icon identifier for visual representation of this page. Uses lucide.dev icon IDs (e.g., "bot", "user", "refresh-cw"). Rendered next to the page name in navigation menus.
string icon_id = 6;- Parameters:
value- The iconId to set.- Returns:
- This builder for chaining.
-
clearIconId
Icon identifier for visual representation of this page. Uses lucide.dev icon IDs (e.g., "bot", "user", "refresh-cw"). Rendered next to the page name in navigation menus.
string icon_id = 6;- Returns:
- This builder for chaining.
-
setIconIdBytes
Icon identifier for visual representation of this page. Uses lucide.dev icon IDs (e.g., "bot", "user", "refresh-cw"). Rendered next to the page name in navigation menus.
string icon_id = 6;- Parameters:
value- The bytes for iconId to set.- Returns:
- This builder for chaining.
-
hasEnabledIdentifier
public boolean hasEnabledIdentifier()Optional identifier for a boolean setting that controls whether this page/feature is enabled. Used primarily for plugin pages. When set, the page may show an enable/disable toggle.
optional .soulfire.v1.SettingsEntryIdentifier enabled_identifier = 7;- Specified by:
hasEnabledIdentifierin interfaceSettingsPageOrBuilder- Returns:
- Whether the enabledIdentifier field is set.
-
getEnabledIdentifier
Optional identifier for a boolean setting that controls whether this page/feature is enabled. Used primarily for plugin pages. When set, the page may show an enable/disable toggle.
optional .soulfire.v1.SettingsEntryIdentifier enabled_identifier = 7;- Specified by:
getEnabledIdentifierin interfaceSettingsPageOrBuilder- Returns:
- The enabledIdentifier.
-
setEnabledIdentifier
Optional identifier for a boolean setting that controls whether this page/feature is enabled. Used primarily for plugin pages. When set, the page may show an enable/disable toggle.
optional .soulfire.v1.SettingsEntryIdentifier enabled_identifier = 7; -
setEnabledIdentifier
Optional identifier for a boolean setting that controls whether this page/feature is enabled. Used primarily for plugin pages. When set, the page may show an enable/disable toggle.
optional .soulfire.v1.SettingsEntryIdentifier enabled_identifier = 7; -
mergeEnabledIdentifier
Optional identifier for a boolean setting that controls whether this page/feature is enabled. Used primarily for plugin pages. When set, the page may show an enable/disable toggle.
optional .soulfire.v1.SettingsEntryIdentifier enabled_identifier = 7; -
clearEnabledIdentifier
Optional identifier for a boolean setting that controls whether this page/feature is enabled. Used primarily for plugin pages. When set, the page may show an enable/disable toggle.
optional .soulfire.v1.SettingsEntryIdentifier enabled_identifier = 7; -
getEnabledIdentifierBuilder
Optional identifier for a boolean setting that controls whether this page/feature is enabled. Used primarily for plugin pages. When set, the page may show an enable/disable toggle.
optional .soulfire.v1.SettingsEntryIdentifier enabled_identifier = 7; -
getEnabledIdentifierOrBuilder
Optional identifier for a boolean setting that controls whether this page/feature is enabled. Used primarily for plugin pages. When set, the page may show an enable/disable toggle.
optional .soulfire.v1.SettingsEntryIdentifier enabled_identifier = 7;- Specified by:
getEnabledIdentifierOrBuilderin interfaceSettingsPageOrBuilder
-