Interface DoubleSettingOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DoubleSetting, DoubleSetting.Builder
@Generated
public interface DoubleSettingOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintThe number of decimal places to display/allow.doublegetDef()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.booleanWhether to always show the exact number of decimal places specified by decimal_scale.doublegetMax()The maximum allowed value (inclusive).doublegetMin()The minimum allowed value (inclusive).Placeholder text shown when the input is empty.com.google.protobuf.ByteStringPlaceholder text shown when the input is empty.doublegetStep()The step increment for value adjustments.booleanWhether to display the integer part with thousand separators.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
double getDef()The default value used when no value is configured.
double def = 3;- Returns:
- The def.
-
getMin
double getMin()The minimum allowed value (inclusive).
double min = 4;- Returns:
- The min.
-
getMax
double getMax()The maximum allowed value (inclusive).
double max = 5;- Returns:
- The max.
-
getStep
double getStep()The step increment for value adjustments. A value of 0 means any decimal is valid within the min/max range.
double 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 integer part with thousand separators.
bool thousand_separator = 8;- Returns:
- The thousandSeparator.
-
getDecimalScale
int getDecimalScale()The number of decimal places to display/allow. Used for formatting and input validation.
int32 decimal_scale = 9;- Returns:
- The decimalScale.
-
getFixedDecimalScale
boolean getFixedDecimalScale()Whether to always show the exact number of decimal places specified by decimal_scale. If true, trailing zeros are preserved (e.g., 1.50 instead of 1.5).
bool fixed_decimal_scale = 10;- Returns:
- The fixedDecimalScale.
-
getDisabled
boolean getDisabled()Whether this setting is disabled (read-only) in the UI.
bool disabled = 11;- Returns:
- The disabled.
-