Record Class Message.Bubble

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

public static record Message.Bubble(Boolean enable, Boolean visibleToSelf, String disallowedInput, Integer maxCount, Integer maxLength, Float elevation, Double distance, Double readSpeed, Double handicapChars, Integer hintBufferLength, String wordBreakHint, Message.Bubble.Interaction interaction, Message.Bubble.Modern modern, Ticker ticker) extends Record implements EnableSetting
Since:
1.7.1
  • Constructor Details

    • Bubble

      public Bubble(Boolean enable, Boolean visibleToSelf, String disallowedInput, Integer maxCount, Integer maxLength, Float elevation, Double distance, Double readSpeed, Double handicapChars, Integer hintBufferLength, String wordBreakHint, Message.Bubble.Interaction interaction, Message.Bubble.Modern modern, Ticker ticker)
      Creates an instance of a Bubble record class.
      Parameters:
      enable - the value for the enable record component
      visibleToSelf - the value for the visibleToSelf record component
      disallowedInput - the value for the disallowedInput record component
      maxCount - the value for the maxCount record component
      maxLength - the value for the maxLength record component
      elevation - the value for the elevation record component
      distance - the value for the distance record component
      readSpeed - the value for the readSpeed record component
      handicapChars - the value for the handicapChars record component
      hintBufferLength - the value for the hintBufferLength record component
      wordBreakHint - the value for the wordBreakHint record component
      interaction - the value for the interaction record component
      modern - the value for the modern record component
      ticker - the value for the ticker record component
  • Method Details

    • builder

      public static Message.Bubble.BubbleBuilder builder()
    • toBuilder

      public Message.Bubble.BubbleBuilder toBuilder()
    • withEnable

      public Message.Bubble withEnable(Boolean enable)
      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withVisibleToSelf

      public Message.Bubble withVisibleToSelf(Boolean visibleToSelf)
      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withDisallowedInput

      public Message.Bubble withDisallowedInput(String disallowedInput)
      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withMaxCount

      public Message.Bubble withMaxCount(Integer maxCount)
      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withMaxLength

      public Message.Bubble withMaxLength(Integer maxLength)
      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withElevation

      public Message.Bubble withElevation(Float elevation)
      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withDistance

      public Message.Bubble withDistance(Double distance)
      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withReadSpeed

      public Message.Bubble withReadSpeed(Double readSpeed)
      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withHandicapChars

      public Message.Bubble withHandicapChars(Double handicapChars)
      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withHintBufferLength

      public Message.Bubble withHintBufferLength(Integer hintBufferLength)
      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withWordBreakHint

      public Message.Bubble withWordBreakHint(String wordBreakHint)
      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withInteraction

      public Message.Bubble withInteraction(Message.Bubble.Interaction interaction)
      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withModern

      public Message.Bubble withModern(Message.Bubble.Modern modern)
      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).
    • withTicker

      public Message.Bubble withTicker(Ticker ticker)
      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.
    • enable

      public Boolean enable()
      Returns the value of the enable record component.
      Specified by:
      enable in interface EnableSetting
      Returns:
      the value of the enable record component
    • visibleToSelf

      public Boolean visibleToSelf()
      Returns the value of the visibleToSelf record component.
      Returns:
      the value of the visibleToSelf record component
    • disallowedInput

      public String disallowedInput()
      Returns the value of the disallowedInput record component.
      Returns:
      the value of the disallowedInput record component
    • maxCount

      public Integer maxCount()
      Returns the value of the maxCount record component.
      Returns:
      the value of the maxCount record component
    • maxLength

      public Integer maxLength()
      Returns the value of the maxLength record component.
      Returns:
      the value of the maxLength record component
    • elevation

      public Float elevation()
      Returns the value of the elevation record component.
      Returns:
      the value of the elevation record component
    • distance

      public Double distance()
      Returns the value of the distance record component.
      Returns:
      the value of the distance record component
    • readSpeed

      public Double readSpeed()
      Returns the value of the readSpeed record component.
      Returns:
      the value of the readSpeed record component
    • handicapChars

      public Double handicapChars()
      Returns the value of the handicapChars record component.
      Returns:
      the value of the handicapChars record component
    • hintBufferLength

      public Integer hintBufferLength()
      Returns the value of the hintBufferLength record component.
      Returns:
      the value of the hintBufferLength record component
    • wordBreakHint

      public String wordBreakHint()
      Returns the value of the wordBreakHint record component.
      Returns:
      the value of the wordBreakHint record component
    • interaction

      public Message.Bubble.Interaction interaction()
      Returns the value of the interaction record component.
      Returns:
      the value of the interaction record component
    • modern

      public Message.Bubble.Modern modern()
      Returns the value of the modern record component.
      Returns:
      the value of the modern record component
    • ticker

      public Ticker ticker()
      Returns the value of the ticker record component.
      Returns:
      the value of the ticker record component