Class SettingEntry

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

@Generated public final class SettingEntry extends com.google.protobuf.GeneratedMessage implements SettingEntryOrBuilder
 A entry in the settings page
 
Protobuf type soulfire.v1.SettingEntry
See Also:
  • 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
    • getValueCase

      public SettingEntry.ValueCase getValueCase()
      Specified by:
      getValueCase in interface SettingEntryOrBuilder
    • getKey

      public String getKey()
       Basically we only send a kv map to the server with every setting entry
       
      string key = 1;
      Specified by:
      getKey in interface SettingEntryOrBuilder
      Returns:
      The key.
    • getKeyBytes

      public com.google.protobuf.ByteString getKeyBytes()
       Basically we only send a kv map to the server with every setting entry
       
      string key = 1;
      Specified by:
      getKeyBytes in interface SettingEntryOrBuilder
      Returns:
      The bytes for key.
    • hasString

      public boolean hasString()
      .soulfire.v1.StringSetting string = 2;
      Specified by:
      hasString in interface SettingEntryOrBuilder
      Returns:
      Whether the string field is set.
    • getString

      public StringSetting getString()
      .soulfire.v1.StringSetting string = 2;
      Specified by:
      getString in interface SettingEntryOrBuilder
      Returns:
      The string.
    • getStringOrBuilder

      public StringSettingOrBuilder getStringOrBuilder()
      .soulfire.v1.StringSetting string = 2;
      Specified by:
      getStringOrBuilder in interface SettingEntryOrBuilder
    • hasInt

      public boolean hasInt()
      .soulfire.v1.IntSetting int = 3;
      Specified by:
      hasInt in interface SettingEntryOrBuilder
      Returns:
      Whether the int field is set.
    • getInt

      public IntSetting getInt()
      .soulfire.v1.IntSetting int = 3;
      Specified by:
      getInt in interface SettingEntryOrBuilder
      Returns:
      The int.
    • getIntOrBuilder

      public IntSettingOrBuilder getIntOrBuilder()
      .soulfire.v1.IntSetting int = 3;
      Specified by:
      getIntOrBuilder in interface SettingEntryOrBuilder
    • hasDouble

      public boolean hasDouble()
      .soulfire.v1.DoubleSetting double = 4;
      Specified by:
      hasDouble in interface SettingEntryOrBuilder
      Returns:
      Whether the double field is set.
    • getDouble

      public DoubleSetting getDouble()
      .soulfire.v1.DoubleSetting double = 4;
      Specified by:
      getDouble in interface SettingEntryOrBuilder
      Returns:
      The double.
    • getDoubleOrBuilder

      public DoubleSettingOrBuilder getDoubleOrBuilder()
      .soulfire.v1.DoubleSetting double = 4;
      Specified by:
      getDoubleOrBuilder in interface SettingEntryOrBuilder
    • hasBool

      public boolean hasBool()
      .soulfire.v1.BoolSetting bool = 5;
      Specified by:
      hasBool in interface SettingEntryOrBuilder
      Returns:
      Whether the bool field is set.
    • getBool

      public BoolSetting getBool()
      .soulfire.v1.BoolSetting bool = 5;
      Specified by:
      getBool in interface SettingEntryOrBuilder
      Returns:
      The bool.
    • getBoolOrBuilder

      public BoolSettingOrBuilder getBoolOrBuilder()
      .soulfire.v1.BoolSetting bool = 5;
      Specified by:
      getBoolOrBuilder in interface SettingEntryOrBuilder
    • hasCombo

      public boolean hasCombo()
      .soulfire.v1.ComboSetting combo = 6;
      Specified by:
      hasCombo in interface SettingEntryOrBuilder
      Returns:
      Whether the combo field is set.
    • getCombo

      public ComboSetting getCombo()
      .soulfire.v1.ComboSetting combo = 6;
      Specified by:
      getCombo in interface SettingEntryOrBuilder
      Returns:
      The combo.
    • getComboOrBuilder

      public ComboSettingOrBuilder getComboOrBuilder()
      .soulfire.v1.ComboSetting combo = 6;
      Specified by:
      getComboOrBuilder in interface SettingEntryOrBuilder
    • hasStringList

      public boolean hasStringList()
      .soulfire.v1.StringListSetting string_list = 7;
      Specified by:
      hasStringList in interface SettingEntryOrBuilder
      Returns:
      Whether the stringList field is set.
    • getStringList

      public StringListSetting getStringList()
      .soulfire.v1.StringListSetting string_list = 7;
      Specified by:
      getStringList in interface SettingEntryOrBuilder
      Returns:
      The stringList.
    • getStringListOrBuilder

      public StringListSettingOrBuilder getStringListOrBuilder()
      .soulfire.v1.StringListSetting string_list = 7;
      Specified by:
      getStringListOrBuilder in interface SettingEntryOrBuilder
    • hasMinMax

      public boolean hasMinMax()
      .soulfire.v1.MinMaxSetting min_max = 8;
      Specified by:
      hasMinMax in interface SettingEntryOrBuilder
      Returns:
      Whether the minMax field is set.
    • getMinMax

      public MinMaxSetting getMinMax()
      .soulfire.v1.MinMaxSetting min_max = 8;
      Specified by:
      getMinMax in interface SettingEntryOrBuilder
      Returns:
      The minMax.
    • getMinMaxOrBuilder

      public MinMaxSettingOrBuilder getMinMaxOrBuilder()
      .soulfire.v1.MinMaxSetting min_max = 8;
      Specified by:
      getMinMaxOrBuilder in interface SettingEntryOrBuilder
    • 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 SettingEntry parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static SettingEntry.Builder newBuilder()
    • newBuilder

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

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

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

      public static SettingEntry getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<SettingEntry> 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 SettingEntry getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder