Record Class Localization.Message
java.lang.Object
java.lang.Record
net.flectone.pulse.config.Localization.Message
- All Implemented Interfaces:
LocalizationSetting
- Enclosing class:
Localization
public static record Localization.Message(Localization.Message.Afk afk, Localization.Message.Auto auto, Localization.Message.Bossbar bossbar, Localization.Message.Brand brand, Localization.Message.Bubble bubble, Localization.Message.Chat chat, Localization.Message.Format format, Localization.Message.Greeting greeting, Localization.Message.Join join, Localization.Message.Quit quit, Localization.Message.Rightclick rightclick, Localization.Message.Scoreboard scoreboard, Localization.Message.Serverlink serverlink, Localization.Message.Sidebar sidebar, Localization.Message.Status status, Localization.Message.Tab tab, Localization.Message.Update update, Localization.Message.Vanilla vanilla)
extends Record
implements LocalizationSetting
- Since:
- 1.7.1
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordstatic final recordstatic final recordstatic final recordstatic final recordstatic final recordstatic final recordstatic final recordstatic final recordstatic classstatic final recordstatic final recordstatic final recordstatic final recordstatic final recordstatic final recordstatic final recordstatic final recordstatic final record -
Constructor Summary
ConstructorsConstructorDescriptionMessage(Localization.Message.Afk afk, Localization.Message.Auto auto, Localization.Message.Bossbar bossbar, Localization.Message.Brand brand, Localization.Message.Bubble bubble, Localization.Message.Chat chat, Localization.Message.Format format, Localization.Message.Greeting greeting, Localization.Message.Join join, Localization.Message.Quit quit, Localization.Message.Rightclick rightclick, Localization.Message.Scoreboard scoreboard, Localization.Message.Serverlink serverlink, Localization.Message.Sidebar sidebar, Localization.Message.Status status, Localization.Message.Tab tab, Localization.Message.Update update, Localization.Message.Vanilla vanilla) Creates an instance of aMessagerecord class. -
Method Summary
Modifier and TypeMethodDescriptionafk()Returns the value of theafkrecord component.auto()Returns the value of theautorecord component.bossbar()Returns the value of thebossbarrecord component.brand()Returns the value of thebrandrecord component.bubble()Returns the value of thebubblerecord component.builder()chat()Returns the value of thechatrecord component.final booleanIndicates whether some other object is "equal to" this one.format()Returns the value of theformatrecord component.greeting()Returns the value of thegreetingrecord component.final inthashCode()Returns a hash code value for this object.join()Returns the value of thejoinrecord component.quit()Returns the value of thequitrecord component.Returns the value of therightclickrecord component.Returns the value of thescoreboardrecord component.Returns the value of theserverlinkrecord component.sidebar()Returns the value of thesidebarrecord component.status()Returns the value of thestatusrecord component.tab()Returns the value of thetabrecord component.final StringtoString()Returns a string representation of this record class.update()Returns the value of theupdaterecord component.vanilla()Returns the value of thevanillarecord component.withBossbar(Localization.Message.Bossbar bossbar) withGreeting(Localization.Message.Greeting greeting) withRightclick(Localization.Message.Rightclick rightclick) withScoreboard(Localization.Message.Scoreboard scoreboard) withServerlink(Localization.Message.Serverlink serverlink) withSidebar(Localization.Message.Sidebar sidebar) withVanilla(Localization.Message.Vanilla vanilla)
-
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 aMessagerecord class.- Parameters:
afk- the value for theafkrecord componentauto- the value for theautorecord componentbossbar- the value for thebossbarrecord componentbrand- the value for thebrandrecord componentbubble- the value for thebubblerecord componentchat- the value for thechatrecord componentformat- the value for theformatrecord componentgreeting- the value for thegreetingrecord componentjoin- the value for thejoinrecord componentquit- the value for thequitrecord componentrightclick- the value for therightclickrecord componentscoreboard- the value for thescoreboardrecord componentserverlink- the value for theserverlinkrecord componentsidebar- the value for thesidebarrecord componentstatus- the value for thestatusrecord componenttab- the value for thetabrecord componentupdate- the value for theupdaterecord componentvanilla- the value for thevanillarecord component
-
-
Method Details
-
builder
-
toBuilder
-
withAfk
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withAuto
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withBossbar
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withBrand
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withBubble
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withChat
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withFormat
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withGreeting
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withJoin
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withQuit
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withRightclick
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withScoreboard
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withServerlink
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withSidebar
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withStatus
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withTab
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withUpdate
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withVanilla
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
toString
-
hashCode
-
equals
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 withObjects::equals(Object,Object). -
afk
@JsonPropertyDescription(" https://flectone.net/pulse/docs/message/afk") public Localization.Message.Afk afk()Returns the value of theafkrecord component.- Returns:
- the value of the
afkrecord component
-
auto
@JsonPropertyDescription(" https://flectone.net/pulse/docs/message/auto") public Localization.Message.Auto auto()Returns the value of theautorecord component.- Returns:
- the value of the
autorecord component
-
bossbar
@JsonPropertyDescription(" https://flectone.net/pulse/docs/message/bossbar") public Localization.Message.Bossbar bossbar()Returns the value of thebossbarrecord component.- Returns:
- the value of the
bossbarrecord component
-
brand
@JsonPropertyDescription(" https://flectone.net/pulse/docs/message/brand") public Localization.Message.Brand brand()Returns the value of thebrandrecord component.- Returns:
- the value of the
brandrecord component
-
bubble
@JsonPropertyDescription(" https://flectone.net/pulse/docs/message/bubble") public Localization.Message.Bubble bubble()Returns the value of thebubblerecord component.- Returns:
- the value of the
bubblerecord component
-
chat
@JsonPropertyDescription(" https://flectone.net/pulse/docs/message/chat") public Localization.Message.Chat chat()Returns the value of thechatrecord component.- Returns:
- the value of the
chatrecord component
-
format
@JsonPropertyDescription(" https://flectone.net/pulse/docs/message/format") public Localization.Message.Format format()Returns the value of theformatrecord component.- Returns:
- the value of the
formatrecord component
-
greeting
@JsonPropertyDescription(" https://flectone.net/pulse/docs/message/greeting") public Localization.Message.Greeting greeting()Returns the value of thegreetingrecord component.- Returns:
- the value of the
greetingrecord component
-
join
@JsonPropertyDescription(" https://flectone.net/pulse/docs/message/join") public Localization.Message.Join join()Returns the value of thejoinrecord component.- Returns:
- the value of the
joinrecord component
-
quit
@JsonPropertyDescription(" https://flectone.net/pulse/docs/message/quit") public Localization.Message.Quit quit()Returns the value of thequitrecord component.- Returns:
- the value of the
quitrecord component
-
rightclick
@JsonPropertyDescription(" https://flectone.net/pulse/docs/message/rightclick") public Localization.Message.Rightclick rightclick()Returns the value of therightclickrecord component.- Returns:
- the value of the
rightclickrecord component
-
scoreboard
@JsonPropertyDescription(" https://flectone.net/pulse/docs/message/scoreboard") public Localization.Message.Scoreboard scoreboard()Returns the value of thescoreboardrecord component.- Returns:
- the value of the
scoreboardrecord component
-
serverlink
@JsonPropertyDescription(" https://flectone.net/pulse/docs/message/serverlink") public Localization.Message.Serverlink serverlink()Returns the value of theserverlinkrecord component.- Returns:
- the value of the
serverlinkrecord component
-
sidebar
@JsonPropertyDescription(" https://flectone.net/pulse/docs/message/sidebar") public Localization.Message.Sidebar sidebar()Returns the value of thesidebarrecord component.- Returns:
- the value of the
sidebarrecord component
-
status
@JsonPropertyDescription(" https://flectone.net/pulse/docs/message/status") public Localization.Message.Status status()Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-
tab
@JsonPropertyDescription(" https://flectone.net/pulse/docs/message/tab") public Localization.Message.Tab tab()Returns the value of thetabrecord component.- Returns:
- the value of the
tabrecord component
-
update
@JsonPropertyDescription(" https://flectone.net/pulse/docs/message/update") public Localization.Message.Update update()Returns the value of theupdaterecord component.- Returns:
- the value of the
updaterecord component
-
vanilla
@JsonPropertyDescription(" https://flectone.net/pulse/docs/message/vanilla") public Localization.Message.Vanilla vanilla()Returns the value of thevanillarecord component.- Returns:
- the value of the
vanillarecord component
-