Class MinMaxSetting

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.soulfiremc.grpc.generated.MinMaxSetting
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, MinMaxSettingOrBuilder, Serializable

@Generated public final class MinMaxSetting extends com.google.protobuf.GeneratedMessage implements MinMaxSettingOrBuilder
UI definition for a min/max range setting with two integer values.
Used to render paired input fields for specifying a numeric range.
Commonly used for delay ranges, count ranges, or any min/max pair.
Values are stored as a JSON object with "min" and "max" properties.
Protobuf type soulfire.v1.MinMaxSetting
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    UI definition for a min/max range setting with two integer values.
    static final class 
    Configuration for a single entry in the min/max pair.
    static interface 
     

    Nested 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.BuilderParent

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessage

    alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    boolean
    Whether this setting is disabled (read-only) in the UI.
    int
    The maximum allowed value for both entries (inclusive).
    Configuration for the maximum value input field.
    Configuration for the maximum value input field.
    int
    The minimum allowed value for both entries (inclusive).
    Configuration for the minimum value input field.
    Configuration for the minimum value input field.
    com.google.protobuf.Parser<MinMaxSetting>
     
    int
     
    int
    The step increment for value adjustments.
    boolean
    Whether to display numbers with thousand separators.
    int
     
    boolean
    Configuration for the maximum value input field.
    boolean
    Configuration for the minimum value input field.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
     
     
    newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
     
     
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(byte[] data)
     
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.ByteString data)
     
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<MinMaxSetting>
     
     
    void
    writeTo(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, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashFields, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Field Details

  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getMin

      public int getMin()
      The minimum allowed value for both entries (inclusive).
      Both min and max entries must be >= this value.
      
      int32 min = 1;
      Specified by:
      getMin in interface MinMaxSettingOrBuilder
      Returns:
      The min.
    • getMax

      public int getMax()
      The maximum allowed value for both entries (inclusive).
      Both min and max entries must be <= this value.
      
      int32 max = 2;
      Specified by:
      getMax in interface MinMaxSettingOrBuilder
      Returns:
      The max.
    • getStep

      public int getStep()
      The step increment for value adjustments.
      
      int32 step = 3;
      Specified by:
      getStep in interface MinMaxSettingOrBuilder
      Returns:
      The step.
    • getThousandSeparator

      public boolean getThousandSeparator()
      Whether to display numbers with thousand separators.
      
      bool thousand_separator = 4;
      Specified by:
      getThousandSeparator in interface MinMaxSettingOrBuilder
      Returns:
      The thousandSeparator.
    • hasMinEntry

      public boolean hasMinEntry()
      Configuration for the minimum value input field.
      The actual value must be <= maxEntry value.
      
      .soulfire.v1.MinMaxSetting.Entry minEntry = 5;
      Specified by:
      hasMinEntry in interface MinMaxSettingOrBuilder
      Returns:
      Whether the minEntry field is set.
    • getMinEntry

      public MinMaxSetting.Entry getMinEntry()
      Configuration for the minimum value input field.
      The actual value must be <= maxEntry value.
      
      .soulfire.v1.MinMaxSetting.Entry minEntry = 5;
      Specified by:
      getMinEntry in interface MinMaxSettingOrBuilder
      Returns:
      The minEntry.
    • getMinEntryOrBuilder

      public MinMaxSetting.EntryOrBuilder getMinEntryOrBuilder()
      Configuration for the minimum value input field.
      The actual value must be <= maxEntry value.
      
      .soulfire.v1.MinMaxSetting.Entry minEntry = 5;
      Specified by:
      getMinEntryOrBuilder in interface MinMaxSettingOrBuilder
    • hasMaxEntry

      public boolean hasMaxEntry()
      Configuration for the maximum value input field.
      The actual value must be >= minEntry value.
      
      .soulfire.v1.MinMaxSetting.Entry maxEntry = 6;
      Specified by:
      hasMaxEntry in interface MinMaxSettingOrBuilder
      Returns:
      Whether the maxEntry field is set.
    • getMaxEntry

      public MinMaxSetting.Entry getMaxEntry()
      Configuration for the maximum value input field.
      The actual value must be >= minEntry value.
      
      .soulfire.v1.MinMaxSetting.Entry maxEntry = 6;
      Specified by:
      getMaxEntry in interface MinMaxSettingOrBuilder
      Returns:
      The maxEntry.
    • getMaxEntryOrBuilder

      public MinMaxSetting.EntryOrBuilder getMaxEntryOrBuilder()
      Configuration for the maximum value input field.
      The actual value must be >= minEntry value.
      
      .soulfire.v1.MinMaxSetting.Entry maxEntry = 6;
      Specified by:
      getMaxEntryOrBuilder in interface MinMaxSettingOrBuilder
    • getDisabled

      public boolean getDisabled()
      Whether this setting is disabled (read-only) in the UI.
      
      bool disabled = 7;
      Specified by:
      getDisabled in interface MinMaxSettingOrBuilder
      Returns:
      The disabled.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static MinMaxSetting parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static MinMaxSetting parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static MinMaxSetting parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static MinMaxSetting parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static MinMaxSetting parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static MinMaxSetting parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static MinMaxSetting parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static MinMaxSetting parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static MinMaxSetting parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static MinMaxSetting parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static MinMaxSetting parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static MinMaxSetting parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public MinMaxSetting.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static MinMaxSetting.Builder newBuilder()
    • newBuilder

      public static MinMaxSetting.Builder newBuilder(MinMaxSetting prototype)
    • toBuilder

      public MinMaxSetting.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected MinMaxSetting.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static MinMaxSetting getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<MinMaxSetting> parser()
    • getParserForType

      public com.google.protobuf.Parser<MinMaxSetting> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public MinMaxSetting getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder