Class SettingsNamespace.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<SettingsNamespace.Builder>
com.google.protobuf.GeneratedMessage.Builder<SettingsNamespace.Builder>
com.soulfiremc.grpc.generated.SettingsNamespace.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, SettingsNamespaceOrBuilder, Cloneable
- Enclosing class:
SettingsNamespace
public static final class SettingsNamespace.Builder
extends com.google.protobuf.GeneratedMessage.Builder<SettingsNamespace.Builder>
implements SettingsNamespaceOrBuilder
A collection of settings entries grouped under a common namespace. Used to organize configuration values hierarchically, where each namespace represents a logical grouping (e.g., plugin name, feature area). Part of the instance configuration, server configuration, and account settings.Protobuf type
soulfire.v1.SettingsNamespace-
Method Summary
Modifier and TypeMethodDescriptionaddAllEntries(Iterable<? extends SettingsNamespace.SettingsEntry> values) The list of setting entries within this namespace.addEntries(int index, SettingsNamespace.SettingsEntry value) The list of setting entries within this namespace.addEntries(int index, SettingsNamespace.SettingsEntry.Builder builderForValue) The list of setting entries within this namespace.The list of setting entries within this namespace.addEntries(SettingsNamespace.SettingsEntry.Builder builderForValue) The list of setting entries within this namespace.The list of setting entries within this namespace.addEntriesBuilder(int index) The list of setting entries within this namespace.build()clear()The list of setting entries within this namespace.The namespace identifier that groups related settings together.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetEntries(int index) The list of setting entries within this namespace.getEntriesBuilder(int index) The list of setting entries within this namespace.The list of setting entries within this namespace.intThe list of setting entries within this namespace.The list of setting entries within this namespace.getEntriesOrBuilder(int index) The list of setting entries within this namespace.List<? extends SettingsNamespace.SettingsEntryOrBuilder> The list of setting entries within this namespace.The namespace identifier that groups related settings together.com.google.protobuf.ByteStringThe namespace identifier that groups related settings together.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(SettingsNamespace other) removeEntries(int index) The list of setting entries within this namespace.setEntries(int index, SettingsNamespace.SettingsEntry value) The list of setting entries within this namespace.setEntries(int index, SettingsNamespace.SettingsEntry.Builder builderForValue) The list of setting entries within this namespace.setNamespace(String value) The namespace identifier that groups related settings together.setNamespaceBytes(com.google.protobuf.ByteString value) The namespace identifier that groups related settings together.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<SettingsNamespace.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<SettingsNamespace.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<SettingsNamespace.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<SettingsNamespace.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<SettingsNamespace.Builder>
-
mergeFrom
public SettingsNamespace.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<SettingsNamespace.Builder>- Throws:
IOException
-
getNamespace
The namespace identifier that groups related settings together. Typically matches a plugin ID or internal system component name. Examples: "bot", "account", "auto-reconnect", "anti-afk".
string namespace = 1;- Specified by:
getNamespacein interfaceSettingsNamespaceOrBuilder- Returns:
- The namespace.
-
getNamespaceBytes
public com.google.protobuf.ByteString getNamespaceBytes()The namespace identifier that groups related settings together. Typically matches a plugin ID or internal system component name. Examples: "bot", "account", "auto-reconnect", "anti-afk".
string namespace = 1;- Specified by:
getNamespaceBytesin interfaceSettingsNamespaceOrBuilder- Returns:
- The bytes for namespace.
-
setNamespace
The namespace identifier that groups related settings together. Typically matches a plugin ID or internal system component name. Examples: "bot", "account", "auto-reconnect", "anti-afk".
string namespace = 1;- Parameters:
value- The namespace to set.- Returns:
- This builder for chaining.
-
clearNamespace
The namespace identifier that groups related settings together. Typically matches a plugin ID or internal system component name. Examples: "bot", "account", "auto-reconnect", "anti-afk".
string namespace = 1;- Returns:
- This builder for chaining.
-
setNamespaceBytes
The namespace identifier that groups related settings together. Typically matches a plugin ID or internal system component name. Examples: "bot", "account", "auto-reconnect", "anti-afk".
string namespace = 1;- Parameters:
value- The bytes for namespace to set.- Returns:
- This builder for chaining.
-
getEntriesList
The list of setting entries within this namespace. Each entry has a unique key within the namespace.
repeated .soulfire.v1.SettingsNamespace.SettingsEntry entries = 2;- Specified by:
getEntriesListin interfaceSettingsNamespaceOrBuilder
-
getEntriesCount
public int getEntriesCount()The list of setting entries within this namespace. Each entry has a unique key within the namespace.
repeated .soulfire.v1.SettingsNamespace.SettingsEntry entries = 2;- Specified by:
getEntriesCountin interfaceSettingsNamespaceOrBuilder
-
getEntries
The list of setting entries within this namespace. Each entry has a unique key within the namespace.
repeated .soulfire.v1.SettingsNamespace.SettingsEntry entries = 2;- Specified by:
getEntriesin interfaceSettingsNamespaceOrBuilder
-
setEntries
The list of setting entries within this namespace. Each entry has a unique key within the namespace.
repeated .soulfire.v1.SettingsNamespace.SettingsEntry entries = 2; -
setEntries
public SettingsNamespace.Builder setEntries(int index, SettingsNamespace.SettingsEntry.Builder builderForValue) The list of setting entries within this namespace. Each entry has a unique key within the namespace.
repeated .soulfire.v1.SettingsNamespace.SettingsEntry entries = 2; -
addEntries
The list of setting entries within this namespace. Each entry has a unique key within the namespace.
repeated .soulfire.v1.SettingsNamespace.SettingsEntry entries = 2; -
addEntries
The list of setting entries within this namespace. Each entry has a unique key within the namespace.
repeated .soulfire.v1.SettingsNamespace.SettingsEntry entries = 2; -
addEntries
public SettingsNamespace.Builder addEntries(SettingsNamespace.SettingsEntry.Builder builderForValue) The list of setting entries within this namespace. Each entry has a unique key within the namespace.
repeated .soulfire.v1.SettingsNamespace.SettingsEntry entries = 2; -
addEntries
public SettingsNamespace.Builder addEntries(int index, SettingsNamespace.SettingsEntry.Builder builderForValue) The list of setting entries within this namespace. Each entry has a unique key within the namespace.
repeated .soulfire.v1.SettingsNamespace.SettingsEntry entries = 2; -
addAllEntries
public SettingsNamespace.Builder addAllEntries(Iterable<? extends SettingsNamespace.SettingsEntry> values) The list of setting entries within this namespace. Each entry has a unique key within the namespace.
repeated .soulfire.v1.SettingsNamespace.SettingsEntry entries = 2; -
clearEntries
The list of setting entries within this namespace. Each entry has a unique key within the namespace.
repeated .soulfire.v1.SettingsNamespace.SettingsEntry entries = 2; -
removeEntries
The list of setting entries within this namespace. Each entry has a unique key within the namespace.
repeated .soulfire.v1.SettingsNamespace.SettingsEntry entries = 2; -
getEntriesBuilder
The list of setting entries within this namespace. Each entry has a unique key within the namespace.
repeated .soulfire.v1.SettingsNamespace.SettingsEntry entries = 2; -
getEntriesOrBuilder
The list of setting entries within this namespace. Each entry has a unique key within the namespace.
repeated .soulfire.v1.SettingsNamespace.SettingsEntry entries = 2;- Specified by:
getEntriesOrBuilderin interfaceSettingsNamespaceOrBuilder
-
getEntriesOrBuilderList
The list of setting entries within this namespace. Each entry has a unique key within the namespace.
repeated .soulfire.v1.SettingsNamespace.SettingsEntry entries = 2;- Specified by:
getEntriesOrBuilderListin interfaceSettingsNamespaceOrBuilder
-
addEntriesBuilder
The list of setting entries within this namespace. Each entry has a unique key within the namespace.
repeated .soulfire.v1.SettingsNamespace.SettingsEntry entries = 2; -
addEntriesBuilder
The list of setting entries within this namespace. Each entry has a unique key within the namespace.
repeated .soulfire.v1.SettingsNamespace.SettingsEntry entries = 2; -
getEntriesBuilderList
The list of setting entries within this namespace. Each entry has a unique key within the namespace.
repeated .soulfire.v1.SettingsNamespace.SettingsEntry entries = 2;
-