Record Class Localization.Message

java.lang.Object
java.lang.Record
net.flectone.pulse.config.Localization.Message
All Implemented Interfaces:
LocalizationSetting
Enclosing class:
Localization

  • Constructor Details

    • Message

      public Message(@JsonPropertyDescription(" https://flectone.net/pulse/docs/message/afk") Localization.Message.Afk afk, @JsonPropertyDescription(" https://flectone.net/pulse/docs/message/auto") Localization.Message.Auto auto, @JsonPropertyDescription(" https://flectone.net/pulse/docs/message/bossbar") Localization.Message.Bossbar bossbar, @JsonPropertyDescription(" https://flectone.net/pulse/docs/message/brand") Localization.Message.Brand brand, @JsonPropertyDescription(" https://flectone.net/pulse/docs/message/bubble") Localization.Message.Bubble bubble, @JsonPropertyDescription(" https://flectone.net/pulse/docs/message/chat") Localization.Message.Chat chat, @JsonPropertyDescription(" https://flectone.net/pulse/docs/message/format") Localization.Message.Format format, @JsonPropertyDescription(" https://flectone.net/pulse/docs/message/greeting") Localization.Message.Greeting greeting, @JsonPropertyDescription(" https://flectone.net/pulse/docs/message/join") Localization.Message.Join join, @JsonPropertyDescription(" https://flectone.net/pulse/docs/message/quit") Localization.Message.Quit quit, @JsonPropertyDescription(" https://flectone.net/pulse/docs/message/rightclick") Localization.Message.Rightclick rightclick, @JsonPropertyDescription(" https://flectone.net/pulse/docs/message/scoreboard") Localization.Message.Scoreboard scoreboard, @JsonPropertyDescription(" https://flectone.net/pulse/docs/message/serverlink") Localization.Message.Serverlink serverlink, @JsonPropertyDescription(" https://flectone.net/pulse/docs/message/sidebar") Localization.Message.Sidebar sidebar, @JsonPropertyDescription(" https://flectone.net/pulse/docs/message/status") Localization.Message.Status status, @JsonPropertyDescription(" https://flectone.net/pulse/docs/message/tab") Localization.Message.Tab tab, @JsonPropertyDescription(" https://flectone.net/pulse/docs/message/update") Localization.Message.Update update, @JsonPropertyDescription(" https://flectone.net/pulse/docs/message/vanilla") Localization.Message.Vanilla vanilla)
      Creates an instance of a Message record class.
      Parameters:
      afk - the value for the afk record component
      auto - the value for the auto record component
      bossbar - the value for the bossbar record component
      brand - the value for the brand record component
      bubble - the value for the bubble record component
      chat - the value for the chat record component
      format - the value for the format record component
      greeting - the value for the greeting record component
      join - the value for the join record component
      quit - the value for the quit record component
      rightclick - the value for the rightclick record component
      scoreboard - the value for the scoreboard record component
      serverlink - the value for the serverlink record component
      sidebar - the value for the sidebar record component
      status - the value for the status record component
      tab - the value for the tab record component
      update - the value for the update record component
      vanilla - the value for the vanilla record component
  • Method Details

    • builder

      public static Localization.Message.MessageBuilder builder()
    • toBuilder

    • withAfk

      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withAuto

      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withBossbar

      public Localization.Message withBossbar(Localization.Message.Bossbar bossbar)
      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withBrand

      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withBubble

      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withChat

      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withFormat

      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withGreeting

      public Localization.Message withGreeting(Localization.Message.Greeting greeting)
      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withJoin

      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withQuit

      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withRightclick

      public Localization.Message withRightclick(Localization.Message.Rightclick rightclick)
      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withScoreboard

      public Localization.Message withScoreboard(Localization.Message.Scoreboard scoreboard)
      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withServerlink

      public Localization.Message withServerlink(Localization.Message.Serverlink serverlink)
      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withSidebar

      public Localization.Message withSidebar(Localization.Message.Sidebar sidebar)
      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withStatus

      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withTab

      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withUpdate

      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withVanilla

      public Localization.Message withVanilla(Localization.Message.Vanilla vanilla)
      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • afk

      @JsonPropertyDescription(" https://flectone.net/pulse/docs/message/afk") public Localization.Message.Afk afk()
      Returns the value of the afk record component.
      Returns:
      the value of the afk record component
    • auto

      @JsonPropertyDescription(" https://flectone.net/pulse/docs/message/auto") public Localization.Message.Auto auto()
      Returns the value of the auto record component.
      Returns:
      the value of the auto record component
    • bossbar

      @JsonPropertyDescription(" https://flectone.net/pulse/docs/message/bossbar") public Localization.Message.Bossbar bossbar()
      Returns the value of the bossbar record component.
      Returns:
      the value of the bossbar record component
    • brand

      @JsonPropertyDescription(" https://flectone.net/pulse/docs/message/brand") public Localization.Message.Brand brand()
      Returns the value of the brand record component.
      Returns:
      the value of the brand record component
    • bubble

      @JsonPropertyDescription(" https://flectone.net/pulse/docs/message/bubble") public Localization.Message.Bubble bubble()
      Returns the value of the bubble record component.
      Returns:
      the value of the bubble record component
    • chat

      @JsonPropertyDescription(" https://flectone.net/pulse/docs/message/chat") public Localization.Message.Chat chat()
      Returns the value of the chat record component.
      Returns:
      the value of the chat record component
    • format

      @JsonPropertyDescription(" https://flectone.net/pulse/docs/message/format") public Localization.Message.Format format()
      Returns the value of the format record component.
      Returns:
      the value of the format record component
    • greeting

      @JsonPropertyDescription(" https://flectone.net/pulse/docs/message/greeting") public Localization.Message.Greeting greeting()
      Returns the value of the greeting record component.
      Returns:
      the value of the greeting record component
    • join

      @JsonPropertyDescription(" https://flectone.net/pulse/docs/message/join") public Localization.Message.Join join()
      Returns the value of the join record component.
      Returns:
      the value of the join record component
    • quit

      @JsonPropertyDescription(" https://flectone.net/pulse/docs/message/quit") public Localization.Message.Quit quit()
      Returns the value of the quit record component.
      Returns:
      the value of the quit record component
    • rightclick

      @JsonPropertyDescription(" https://flectone.net/pulse/docs/message/rightclick") public Localization.Message.Rightclick rightclick()
      Returns the value of the rightclick record component.
      Returns:
      the value of the rightclick record component
    • scoreboard

      @JsonPropertyDescription(" https://flectone.net/pulse/docs/message/scoreboard") public Localization.Message.Scoreboard scoreboard()
      Returns the value of the scoreboard record component.
      Returns:
      the value of the scoreboard record component
    • serverlink

      @JsonPropertyDescription(" https://flectone.net/pulse/docs/message/serverlink") public Localization.Message.Serverlink serverlink()
      Returns the value of the serverlink record component.
      Returns:
      the value of the serverlink record component
    • sidebar

      @JsonPropertyDescription(" https://flectone.net/pulse/docs/message/sidebar") public Localization.Message.Sidebar sidebar()
      Returns the value of the sidebar record component.
      Returns:
      the value of the sidebar record component
    • status

      @JsonPropertyDescription(" https://flectone.net/pulse/docs/message/status") public Localization.Message.Status status()
      Returns the value of the status record component.
      Returns:
      the value of the status record component
    • tab

      @JsonPropertyDescription(" https://flectone.net/pulse/docs/message/tab") public Localization.Message.Tab tab()
      Returns the value of the tab record component.
      Returns:
      the value of the tab record component
    • update

      @JsonPropertyDescription(" https://flectone.net/pulse/docs/message/update") public Localization.Message.Update update()
      Returns the value of the update record component.
      Returns:
      the value of the update record component
    • vanilla

      @JsonPropertyDescription(" https://flectone.net/pulse/docs/message/vanilla") public Localization.Message.Vanilla vanilla()
      Returns the value of the vanilla record component.
      Returns:
      the value of the vanilla record component