Class ServerConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<ServerConfig.Builder>
com.google.protobuf.GeneratedMessage.Builder<ServerConfig.Builder>
com.soulfiremc.grpc.generated.ServerConfig.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ServerConfigOrBuilder, Cloneable
- Enclosing class:
ServerConfig
public static final class ServerConfig.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ServerConfig.Builder>
implements ServerConfigOrBuilder
ServerConfig represents the complete server-level configuration. It contains all settings organized by namespace, where each namespace groups related settings together (e.g., "dev" namespace for developer settings). This configuration is stored persistently and affects server-wide behavior.Protobuf type
soulfire.v1.ServerConfig-
Method Summary
Modifier and TypeMethodDescriptionaddAllSettings(Iterable<? extends SettingsNamespace> values) Collection of settings organized by namespace.addSettings(int index, SettingsNamespace value) Collection of settings organized by namespace.addSettings(int index, SettingsNamespace.Builder builderForValue) Collection of settings organized by namespace.addSettings(SettingsNamespace value) Collection of settings organized by namespace.addSettings(SettingsNamespace.Builder builderForValue) Collection of settings organized by namespace.Collection of settings organized by namespace.addSettingsBuilder(int index) Collection of settings organized by namespace.build()clear()Collection of settings organized by namespace.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetSettings(int index) Collection of settings organized by namespace.getSettingsBuilder(int index) Collection of settings organized by namespace.Collection of settings organized by namespace.intCollection of settings organized by namespace.Collection of settings organized by namespace.getSettingsOrBuilder(int index) Collection of settings organized by namespace.List<? extends SettingsNamespaceOrBuilder> Collection of settings organized by namespace.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(ServerConfig other) removeSettings(int index) Collection of settings organized by namespace.setSettings(int index, SettingsNamespace value) Collection of settings organized by namespace.setSettings(int index, SettingsNamespace.Builder builderForValue) Collection of settings organized by namespace.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<ServerConfig.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<ServerConfig.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<ServerConfig.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<ServerConfig.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ServerConfig.Builder>
-
mergeFrom
public ServerConfig.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<ServerConfig.Builder>- Throws:
IOException
-
getSettingsList
Collection of settings organized by namespace. Each namespace contains key-value pairs representing individual settings. The structure allows for hierarchical organization of configuration values.
repeated .soulfire.v1.SettingsNamespace settings = 1;- Specified by:
getSettingsListin interfaceServerConfigOrBuilder
-
getSettingsCount
public int getSettingsCount()Collection of settings organized by namespace. Each namespace contains key-value pairs representing individual settings. The structure allows for hierarchical organization of configuration values.
repeated .soulfire.v1.SettingsNamespace settings = 1;- Specified by:
getSettingsCountin interfaceServerConfigOrBuilder
-
getSettings
Collection of settings organized by namespace. Each namespace contains key-value pairs representing individual settings. The structure allows for hierarchical organization of configuration values.
repeated .soulfire.v1.SettingsNamespace settings = 1;- Specified by:
getSettingsin interfaceServerConfigOrBuilder
-
setSettings
Collection of settings organized by namespace. Each namespace contains key-value pairs representing individual settings. The structure allows for hierarchical organization of configuration values.
repeated .soulfire.v1.SettingsNamespace settings = 1; -
setSettings
Collection of settings organized by namespace. Each namespace contains key-value pairs representing individual settings. The structure allows for hierarchical organization of configuration values.
repeated .soulfire.v1.SettingsNamespace settings = 1; -
addSettings
Collection of settings organized by namespace. Each namespace contains key-value pairs representing individual settings. The structure allows for hierarchical organization of configuration values.
repeated .soulfire.v1.SettingsNamespace settings = 1; -
addSettings
Collection of settings organized by namespace. Each namespace contains key-value pairs representing individual settings. The structure allows for hierarchical organization of configuration values.
repeated .soulfire.v1.SettingsNamespace settings = 1; -
addSettings
Collection of settings organized by namespace. Each namespace contains key-value pairs representing individual settings. The structure allows for hierarchical organization of configuration values.
repeated .soulfire.v1.SettingsNamespace settings = 1; -
addSettings
Collection of settings organized by namespace. Each namespace contains key-value pairs representing individual settings. The structure allows for hierarchical organization of configuration values.
repeated .soulfire.v1.SettingsNamespace settings = 1; -
addAllSettings
Collection of settings organized by namespace. Each namespace contains key-value pairs representing individual settings. The structure allows for hierarchical organization of configuration values.
repeated .soulfire.v1.SettingsNamespace settings = 1; -
clearSettings
Collection of settings organized by namespace. Each namespace contains key-value pairs representing individual settings. The structure allows for hierarchical organization of configuration values.
repeated .soulfire.v1.SettingsNamespace settings = 1; -
removeSettings
Collection of settings organized by namespace. Each namespace contains key-value pairs representing individual settings. The structure allows for hierarchical organization of configuration values.
repeated .soulfire.v1.SettingsNamespace settings = 1; -
getSettingsBuilder
Collection of settings organized by namespace. Each namespace contains key-value pairs representing individual settings. The structure allows for hierarchical organization of configuration values.
repeated .soulfire.v1.SettingsNamespace settings = 1; -
getSettingsOrBuilder
Collection of settings organized by namespace. Each namespace contains key-value pairs representing individual settings. The structure allows for hierarchical organization of configuration values.
repeated .soulfire.v1.SettingsNamespace settings = 1;- Specified by:
getSettingsOrBuilderin interfaceServerConfigOrBuilder
-
getSettingsOrBuilderList
Collection of settings organized by namespace. Each namespace contains key-value pairs representing individual settings. The structure allows for hierarchical organization of configuration values.
repeated .soulfire.v1.SettingsNamespace settings = 1;- Specified by:
getSettingsOrBuilderListin interfaceServerConfigOrBuilder
-
addSettingsBuilder
Collection of settings organized by namespace. Each namespace contains key-value pairs representing individual settings. The structure allows for hierarchical organization of configuration values.
repeated .soulfire.v1.SettingsNamespace settings = 1; -
addSettingsBuilder
Collection of settings organized by namespace. Each namespace contains key-value pairs representing individual settings. The structure allows for hierarchical organization of configuration values.
repeated .soulfire.v1.SettingsNamespace settings = 1; -
getSettingsBuilderList
Collection of settings organized by namespace. Each namespace contains key-value pairs representing individual settings. The structure allows for hierarchical organization of configuration values.
repeated .soulfire.v1.SettingsNamespace settings = 1;
-