Interface IntSettingOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
IntSetting, IntSetting.Builder
@Generated
public interface IntSettingOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintgetDef()The default value 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.booleanWhether this setting is disabled (read-only) in the UI.intgetMax()The maximum allowed value (inclusive).intgetMin()The minimum allowed value (inclusive).Placeholder text shown when the input is empty.com.google.protobuf.ByteStringPlaceholder text shown when the input is empty.intgetStep()The step increment for value adjustments (e.g., for spinbox controls).booleanWhether to display the number with thousand separators (e.g., 1,000,000).The display name shown in the UI label for this setting.com.google.protobuf.ByteStringThe display name shown in the UI label for this setting.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getUiName
String getUiName()The display name shown in the UI label for this setting.
string ui_name = 1;- Returns:
- The uiName.
-
getUiNameBytes
com.google.protobuf.ByteString getUiNameBytes()The display name shown in the UI label for this setting.
string ui_name = 1;- Returns:
- The bytes for uiName.
-
getDescription
String getDescription()A longer description explaining what this setting does.
string description = 2;- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()A longer description explaining what this setting does.
string description = 2;- Returns:
- The bytes for description.
-
getDef
int getDef()The default value used when no value is configured.
int32 def = 3;- Returns:
- The def.
-
getMin
int getMin()The minimum allowed value (inclusive).
int32 min = 4;- Returns:
- The min.
-
getMax
int getMax()The maximum allowed value (inclusive).
int32 max = 5;- Returns:
- The max.
-
getStep
int getStep()The step increment for value adjustments (e.g., for spinbox controls). A value of 0 means any integer is valid within the min/max range.
int32 step = 6;- Returns:
- The step.
-
getPlaceholder
String getPlaceholder()Placeholder text shown when the input is empty.
string placeholder = 7;- Returns:
- The placeholder.
-
getPlaceholderBytes
com.google.protobuf.ByteString getPlaceholderBytes()Placeholder text shown when the input is empty.
string placeholder = 7;- Returns:
- The bytes for placeholder.
-
getThousandSeparator
boolean getThousandSeparator()Whether to display the number with thousand separators (e.g., 1,000,000). Improves readability for large numbers.
bool thousand_separator = 8;- Returns:
- The thousandSeparator.
-
getDisabled
boolean getDisabled()Whether this setting is disabled (read-only) in the UI.
bool disabled = 9;- Returns:
- The disabled.
-