Class SettingsDefinition
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.soulfiremc.grpc.generated.SettingsDefinition
- All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, SettingsDefinitionOrBuilder, Serializable
@Generated
public final class SettingsDefinition
extends com.google.protobuf.GeneratedMessage
implements SettingsDefinitionOrBuilder
A complete setting definition that describes a single configurable value. Contains all information needed for a client to render the setting UI, validate input, and store/retrieve values by identifier. Definitions are exported from the server and referenced by SettingsPage.Protobuf type
soulfire.v1.SettingsDefinition- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA complete setting definition that describes a single configurable value.static enumNested 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 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 TypeMethodDescriptionbooleangetBool()Boolean toggle setting.Boolean toggle setting.getCombo()Dropdown/select setting with predefined options.Dropdown/select setting with predefined options.static SettingsDefinitionstatic final com.google.protobuf.Descriptors.DescriptorFloating-point number setting with precision control.Floating-point number setting with precision control.getId()Unique identifier for this setting (namespace + key).Unique identifier for this setting (namespace + key).getInt()Integer number setting with range constraints.Integer number setting with range constraints.Min/max range setting with two paired integer values.Min/max range setting with two paired integer values.com.google.protobuf.Parser<SettingsDefinition> getScope()The configuration scope where this setting applies (SERVER, INSTANCE, BOT).intThe configuration scope where this setting applies (SERVER, INSTANCE, BOT).intString/text setting with optional validation.List of strings setting for multi-value input.List of strings setting for multi-value input.String/text setting with optional validation.booleanhasBool()Boolean toggle setting.booleanhasCombo()Dropdown/select setting with predefined options.booleanFloating-point number setting with precision control.inthashCode()booleanhasId()Unique identifier for this setting (namespace + key).booleanhasInt()Integer number setting with range constraints.booleanMin/max range setting with two paired integer values.booleanString/text setting with optional validation.booleanList of strings setting for multi-value input.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic SettingsDefinition.Builderstatic SettingsDefinition.BuildernewBuilder(SettingsDefinition prototype) protected SettingsDefinition.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static SettingsDefinitionparseDelimitedFrom(InputStream input) static SettingsDefinitionparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SettingsDefinitionparseFrom(byte[] data) static SettingsDefinitionparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SettingsDefinitionparseFrom(com.google.protobuf.ByteString data) static SettingsDefinitionparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SettingsDefinitionparseFrom(com.google.protobuf.CodedInputStream input) static SettingsDefinitionparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SettingsDefinitionparseFrom(InputStream input) static SettingsDefinitionparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SettingsDefinitionparseFrom(ByteBuffer data) static SettingsDefinitionparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<SettingsDefinition> 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:
-
SCOPE_FIELD_NUMBER
public static final int SCOPE_FIELD_NUMBER- See Also:
-
STRING_FIELD_NUMBER
public static final int STRING_FIELD_NUMBER- See Also:
-
INT_FIELD_NUMBER
public static final int INT_FIELD_NUMBER- See Also:
-
DOUBLE_FIELD_NUMBER
public static final int DOUBLE_FIELD_NUMBER- See Also:
-
BOOL_FIELD_NUMBER
public static final int BOOL_FIELD_NUMBER- See Also:
-
COMBO_FIELD_NUMBER
public static final int COMBO_FIELD_NUMBER- See Also:
-
STRING_LIST_FIELD_NUMBER
public static final int STRING_LIST_FIELD_NUMBER- See Also:
-
MIN_MAX_FIELD_NUMBER
public static final int MIN_MAX_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
-
getTypeCase
- Specified by:
getTypeCasein interfaceSettingsDefinitionOrBuilder
-
hasId
public boolean hasId()Unique identifier for this setting (namespace + key). Used to reference this setting from pages and to store/retrieve values.
.soulfire.v1.SettingsEntryIdentifier id = 1;- Specified by:
hasIdin interfaceSettingsDefinitionOrBuilder- Returns:
- Whether the id field is set.
-
getId
Unique identifier for this setting (namespace + key). Used to reference this setting from pages and to store/retrieve values.
.soulfire.v1.SettingsEntryIdentifier id = 1;- Specified by:
getIdin interfaceSettingsDefinitionOrBuilder- Returns:
- The id.
-
getIdOrBuilder
Unique identifier for this setting (namespace + key). Used to reference this setting from pages and to store/retrieve values.
.soulfire.v1.SettingsEntryIdentifier id = 1;- Specified by:
getIdOrBuilderin interfaceSettingsDefinitionOrBuilder
-
getScopeValue
public int getScopeValue()The configuration scope where this setting applies (SERVER, INSTANCE, BOT). Determines where values are stored and how they cascade.
.soulfire.v1.SettingsPageEntryScopeType scope = 2;- Specified by:
getScopeValuein interfaceSettingsDefinitionOrBuilder- Returns:
- The enum numeric value on the wire for scope.
-
getScope
The configuration scope where this setting applies (SERVER, INSTANCE, BOT). Determines where values are stored and how they cascade.
.soulfire.v1.SettingsPageEntryScopeType scope = 2;- Specified by:
getScopein interfaceSettingsDefinitionOrBuilder- Returns:
- The scope.
-
hasString
public boolean hasString()String/text setting with optional validation.
.soulfire.v1.StringSetting string = 3;- Specified by:
hasStringin interfaceSettingsDefinitionOrBuilder- Returns:
- Whether the string field is set.
-
getString
String/text setting with optional validation.
.soulfire.v1.StringSetting string = 3;- Specified by:
getStringin interfaceSettingsDefinitionOrBuilder- Returns:
- The string.
-
getStringOrBuilder
String/text setting with optional validation.
.soulfire.v1.StringSetting string = 3;- Specified by:
getStringOrBuilderin interfaceSettingsDefinitionOrBuilder
-
hasInt
public boolean hasInt()Integer number setting with range constraints.
.soulfire.v1.IntSetting int = 4;- Specified by:
hasIntin interfaceSettingsDefinitionOrBuilder- Returns:
- Whether the int field is set.
-
getInt
Integer number setting with range constraints.
.soulfire.v1.IntSetting int = 4;- Specified by:
getIntin interfaceSettingsDefinitionOrBuilder- Returns:
- The int.
-
getIntOrBuilder
Integer number setting with range constraints.
.soulfire.v1.IntSetting int = 4;- Specified by:
getIntOrBuilderin interfaceSettingsDefinitionOrBuilder
-
hasDouble
public boolean hasDouble()Floating-point number setting with precision control.
.soulfire.v1.DoubleSetting double = 5;- Specified by:
hasDoublein interfaceSettingsDefinitionOrBuilder- Returns:
- Whether the double field is set.
-
getDouble
Floating-point number setting with precision control.
.soulfire.v1.DoubleSetting double = 5;- Specified by:
getDoublein interfaceSettingsDefinitionOrBuilder- Returns:
- The double.
-
getDoubleOrBuilder
Floating-point number setting with precision control.
.soulfire.v1.DoubleSetting double = 5;- Specified by:
getDoubleOrBuilderin interfaceSettingsDefinitionOrBuilder
-
hasBool
public boolean hasBool()Boolean toggle setting.
.soulfire.v1.BoolSetting bool = 6;- Specified by:
hasBoolin interfaceSettingsDefinitionOrBuilder- Returns:
- Whether the bool field is set.
-
getBool
Boolean toggle setting.
.soulfire.v1.BoolSetting bool = 6;- Specified by:
getBoolin interfaceSettingsDefinitionOrBuilder- Returns:
- The bool.
-
getBoolOrBuilder
Boolean toggle setting.
.soulfire.v1.BoolSetting bool = 6;- Specified by:
getBoolOrBuilderin interfaceSettingsDefinitionOrBuilder
-
hasCombo
public boolean hasCombo()Dropdown/select setting with predefined options.
.soulfire.v1.ComboSetting combo = 7;- Specified by:
hasComboin interfaceSettingsDefinitionOrBuilder- Returns:
- Whether the combo field is set.
-
getCombo
Dropdown/select setting with predefined options.
.soulfire.v1.ComboSetting combo = 7;- Specified by:
getComboin interfaceSettingsDefinitionOrBuilder- Returns:
- The combo.
-
getComboOrBuilder
Dropdown/select setting with predefined options.
.soulfire.v1.ComboSetting combo = 7;- Specified by:
getComboOrBuilderin interfaceSettingsDefinitionOrBuilder
-
hasStringList
public boolean hasStringList()List of strings setting for multi-value input.
.soulfire.v1.StringListSetting string_list = 8;- Specified by:
hasStringListin interfaceSettingsDefinitionOrBuilder- Returns:
- Whether the stringList field is set.
-
getStringList
List of strings setting for multi-value input.
.soulfire.v1.StringListSetting string_list = 8;- Specified by:
getStringListin interfaceSettingsDefinitionOrBuilder- Returns:
- The stringList.
-
getStringListOrBuilder
List of strings setting for multi-value input.
.soulfire.v1.StringListSetting string_list = 8;- Specified by:
getStringListOrBuilderin interfaceSettingsDefinitionOrBuilder
-
hasMinMax
public boolean hasMinMax()Min/max range setting with two paired integer values.
.soulfire.v1.MinMaxSetting min_max = 9;- Specified by:
hasMinMaxin interfaceSettingsDefinitionOrBuilder- Returns:
- Whether the minMax field is set.
-
getMinMax
Min/max range setting with two paired integer values.
.soulfire.v1.MinMaxSetting min_max = 9;- Specified by:
getMinMaxin interfaceSettingsDefinitionOrBuilder- Returns:
- The minMax.
-
getMinMaxOrBuilder
Min/max range setting with two paired integer values.
.soulfire.v1.MinMaxSetting min_max = 9;- Specified by:
getMinMaxOrBuilderin interfaceSettingsDefinitionOrBuilder
-
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 SettingsDefinition parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SettingsDefinition parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SettingsDefinition parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SettingsDefinition parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SettingsDefinition parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SettingsDefinition parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static SettingsDefinition parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static SettingsDefinition parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static SettingsDefinition parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static SettingsDefinition 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 SettingsDefinition.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
-