Class SettingsPage
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.soulfiremc.grpc.generated.SettingsPage
- All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, SettingsPageOrBuilder, Serializable
@Generated
public final class SettingsPage
extends com.google.protobuf.GeneratedMessage
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- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA settings page that groups related settings together for UI navigation.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT, T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic SettingsPagestatic final com.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.getEntries(int index) 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.com.google.protobuf.Parser<SettingsPage> intbooleanOptional identifier for a boolean setting that controls whether this page/feature is enabled.inthashCode()booleanThe ID of the plugin that owns this page (optional).protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic SettingsPage.Builderstatic SettingsPage.BuildernewBuilder(SettingsPage prototype) protected SettingsPage.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static SettingsPageparseDelimitedFrom(InputStream input) static SettingsPageparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SettingsPageparseFrom(byte[] data) static SettingsPageparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SettingsPageparseFrom(com.google.protobuf.ByteString data) static SettingsPageparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SettingsPageparseFrom(com.google.protobuf.CodedInputStream input) static SettingsPageparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SettingsPageparseFrom(InputStream input) static SettingsPageparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SettingsPageparseFrom(ByteBuffer data) static SettingsPageparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<SettingsPage> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER- See Also:
-
OWNING_PLUGIN_ID_FIELD_NUMBER
public static final int OWNING_PLUGIN_ID_FIELD_NUMBER- See Also:
-
PAGE_NAME_FIELD_NUMBER
public static final int PAGE_NAME_FIELD_NUMBER- See Also:
-
ENTRIES_FIELD_NUMBER
public static final int ENTRIES_FIELD_NUMBER- See Also:
-
ICON_ID_FIELD_NUMBER
public static final int ICON_ID_FIELD_NUMBER- See Also:
-
ENABLED_IDENTIFIER_FIELD_NUMBER
public static final int ENABLED_IDENTIFIER_FIELD_NUMBER- See Also:
-
-
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
-
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.
-
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.
-
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.
-
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
-
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
-
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
-
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
-
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.
-
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.
-
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
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static SettingsPage parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SettingsPage parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SettingsPage parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SettingsPage parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SettingsPage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SettingsPage parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static SettingsPage parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static SettingsPage parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static SettingsPage parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected SettingsPage.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-