Class ComboSetting
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.soulfiremc.grpc.generated.ComboSetting
- All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ComboSettingOrBuilder, Serializable
@Generated
public final class ComboSetting
extends com.google.protobuf.GeneratedMessage
implements ComboSettingOrBuilder
UI definition for a dropdown/select setting with predefined options. Used to render combo boxes or dropdown menus where users select from a fixed list. Each option has an ID (stored value) and a display name (shown to user).Protobuf type
soulfire.v1.ComboSetting- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classUI definition for a dropdown/select setting with predefined options.static final classA single selectable option in the combo box.static interfaceNested 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 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 TypeMethodDescriptionbooleangetDef()The default option ID used when no value is configured.static ComboSettingcom.google.protobuf.ByteStringThe default option ID used when no value is configured.A longer description explaining what this setting does.com.google.protobuf.ByteStringA longer description explaining what this setting does.static final com.google.protobuf.Descriptors.DescriptorbooleanWhether this setting is disabled (read-only) in the UI.getOptions(int index) The list of available options to choose from.intThe list of available options to choose from.The list of available options to choose from.getOptionsOrBuilder(int index) The list of available options to choose from.List<? extends ComboSetting.OptionOrBuilder> The list of available options to choose from.com.google.protobuf.Parser<ComboSetting> intThe display name shown in the UI label for this setting.com.google.protobuf.ByteStringThe display name shown in the UI label for this setting.inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic ComboSetting.Builderstatic ComboSetting.BuildernewBuilder(ComboSetting prototype) protected ComboSetting.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static ComboSettingparseDelimitedFrom(InputStream input) static ComboSettingparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ComboSettingparseFrom(byte[] data) static ComboSettingparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ComboSettingparseFrom(com.google.protobuf.ByteString data) static ComboSettingparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ComboSettingparseFrom(com.google.protobuf.CodedInputStream input) static ComboSettingparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ComboSettingparseFrom(InputStream input) static ComboSettingparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ComboSettingparseFrom(ByteBuffer data) static ComboSettingparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ComboSetting> 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
-
UI_NAME_FIELD_NUMBER
public static final int UI_NAME_FIELD_NUMBER- See Also:
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER- See Also:
-
OPTIONS_FIELD_NUMBER
public static final int OPTIONS_FIELD_NUMBER- See Also:
-
DEF_FIELD_NUMBER
public static final int DEF_FIELD_NUMBER- See Also:
-
DISABLED_FIELD_NUMBER
public static final int DISABLED_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
-
getUiName
The display name shown in the UI label for this setting.
string ui_name = 1;- Specified by:
getUiNamein interfaceComboSettingOrBuilder- Returns:
- The uiName.
-
getUiNameBytes
public com.google.protobuf.ByteString getUiNameBytes()The display name shown in the UI label for this setting.
string ui_name = 1;- Specified by:
getUiNameBytesin interfaceComboSettingOrBuilder- Returns:
- The bytes for uiName.
-
getDescription
A longer description explaining what this setting does.
string description = 2;- Specified by:
getDescriptionin interfaceComboSettingOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()A longer description explaining what this setting does.
string description = 2;- Specified by:
getDescriptionBytesin interfaceComboSettingOrBuilder- Returns:
- The bytes for description.
-
getOptionsList
The list of available options to choose from. The order determines display order in the dropdown.
repeated .soulfire.v1.ComboSetting.Option options = 3;- Specified by:
getOptionsListin interfaceComboSettingOrBuilder
-
getOptionsOrBuilderList
The list of available options to choose from. The order determines display order in the dropdown.
repeated .soulfire.v1.ComboSetting.Option options = 3;- Specified by:
getOptionsOrBuilderListin interfaceComboSettingOrBuilder
-
getOptionsCount
public int getOptionsCount()The list of available options to choose from. The order determines display order in the dropdown.
repeated .soulfire.v1.ComboSetting.Option options = 3;- Specified by:
getOptionsCountin interfaceComboSettingOrBuilder
-
getOptions
The list of available options to choose from. The order determines display order in the dropdown.
repeated .soulfire.v1.ComboSetting.Option options = 3;- Specified by:
getOptionsin interfaceComboSettingOrBuilder
-
getOptionsOrBuilder
The list of available options to choose from. The order determines display order in the dropdown.
repeated .soulfire.v1.ComboSetting.Option options = 3;- Specified by:
getOptionsOrBuilderin interfaceComboSettingOrBuilder
-
getDef
The default option ID used when no value is configured. Must match one of the option IDs in the options list.
string def = 4;- Specified by:
getDefin interfaceComboSettingOrBuilder- Returns:
- The def.
-
getDefBytes
public com.google.protobuf.ByteString getDefBytes()The default option ID used when no value is configured. Must match one of the option IDs in the options list.
string def = 4;- Specified by:
getDefBytesin interfaceComboSettingOrBuilder- Returns:
- The bytes for def.
-
getDisabled
public boolean getDisabled()Whether this setting is disabled (read-only) in the UI.
bool disabled = 5;- Specified by:
getDisabledin interfaceComboSettingOrBuilder- Returns:
- The disabled.
-
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 ComboSetting parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ComboSetting parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ComboSetting parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ComboSetting parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ComboSetting parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ComboSetting parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ComboSetting parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ComboSetting parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ComboSetting 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 ComboSetting.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
-