Class CarpoolingUpdateEvent.Builder

java.lang.Object
org.apache.avro.data.RecordBuilderBase<T>
org.apache.avro.specific.SpecificRecordBuilderBase<CarpoolingUpdateEvent>
net.andresbustamante.yafoot.core.events.CarpoolingUpdateEvent.Builder
All Implemented Interfaces:
org.apache.avro.data.RecordBuilder<CarpoolingUpdateEvent>
Enclosing class:
CarpoolingUpdateEvent

public static class CarpoolingUpdateEvent.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<CarpoolingUpdateEvent> implements org.apache.avro.data.RecordBuilder<CarpoolingUpdateEvent>
RecordBuilder for CarpoolingUpdateEvent instances.
  • Method Details

    • getPlayerId

      public int getPlayerId()
      Gets the value of the 'playerId' field.
      Returns:
      The value.
    • setPlayerId

      public CarpoolingUpdateEvent.Builder setPlayerId(int value)
      Sets the value of the 'playerId' field.
      Parameters:
      value - The value of 'playerId'.
      Returns:
      This builder.
    • hasPlayerId

      public boolean hasPlayerId()
      Checks whether the 'playerId' field has been set.
      Returns:
      True if the 'playerId' field has been set, false otherwise.
    • clearPlayerId

      public CarpoolingUpdateEvent.Builder clearPlayerId()
      Clears the value of the 'playerId' field.
      Returns:
      This builder.
    • getPlayerFirstName

      public CharSequence getPlayerFirstName()
      Gets the value of the 'playerFirstName' field.
      Returns:
      The value.
    • setPlayerFirstName

      public CarpoolingUpdateEvent.Builder setPlayerFirstName(CharSequence value)
      Sets the value of the 'playerFirstName' field.
      Parameters:
      value - The value of 'playerFirstName'.
      Returns:
      This builder.
    • hasPlayerFirstName

      public boolean hasPlayerFirstName()
      Checks whether the 'playerFirstName' field has been set.
      Returns:
      True if the 'playerFirstName' field has been set, false otherwise.
    • clearPlayerFirstName

      public CarpoolingUpdateEvent.Builder clearPlayerFirstName()
      Clears the value of the 'playerFirstName' field.
      Returns:
      This builder.
    • getMatchId

      public int getMatchId()
      Gets the value of the 'matchId' field.
      Returns:
      The value.
    • setMatchId

      public CarpoolingUpdateEvent.Builder setMatchId(int value)
      Sets the value of the 'matchId' field.
      Parameters:
      value - The value of 'matchId'.
      Returns:
      This builder.
    • hasMatchId

      public boolean hasMatchId()
      Checks whether the 'matchId' field has been set.
      Returns:
      True if the 'matchId' field has been set, false otherwise.
    • clearMatchId

      public CarpoolingUpdateEvent.Builder clearMatchId()
      Clears the value of the 'matchId' field.
      Returns:
      This builder.
    • getMatchCode

      public CharSequence getMatchCode()
      Gets the value of the 'matchCode' field.
      Returns:
      The value.
    • setMatchCode

      public CarpoolingUpdateEvent.Builder setMatchCode(CharSequence value)
      Sets the value of the 'matchCode' field.
      Parameters:
      value - The value of 'matchCode'.
      Returns:
      This builder.
    • hasMatchCode

      public boolean hasMatchCode()
      Checks whether the 'matchCode' field has been set.
      Returns:
      True if the 'matchCode' field has been set, false otherwise.
    • clearMatchCode

      public CarpoolingUpdateEvent.Builder clearMatchCode()
      Clears the value of the 'matchCode' field.
      Returns:
      This builder.
    • getCarId

      public int getCarId()
      Gets the value of the 'carId' field.
      Returns:
      The value.
    • setCarId

      public CarpoolingUpdateEvent.Builder setCarId(int value)
      Sets the value of the 'carId' field.
      Parameters:
      value - The value of 'carId'.
      Returns:
      This builder.
    • hasCarId

      public boolean hasCarId()
      Checks whether the 'carId' field has been set.
      Returns:
      True if the 'carId' field has been set, false otherwise.
    • clearCarId

      public CarpoolingUpdateEvent.Builder clearCarId()
      Clears the value of the 'carId' field.
      Returns:
      This builder.
    • getCarName

      public CharSequence getCarName()
      Gets the value of the 'carName' field.
      Returns:
      The value.
    • setCarName

      public CarpoolingUpdateEvent.Builder setCarName(CharSequence value)
      Sets the value of the 'carName' field.
      Parameters:
      value - The value of 'carName'.
      Returns:
      This builder.
    • hasCarName

      public boolean hasCarName()
      Checks whether the 'carName' field has been set.
      Returns:
      True if the 'carName' field has been set, false otherwise.
    • clearCarName

      public CarpoolingUpdateEvent.Builder clearCarName()
      Clears the value of the 'carName' field.
      Returns:
      This builder.
    • getCarSeatConfirmed

      public int getCarSeatConfirmed()
      Gets the value of the 'carSeatConfirmed' field.
      Returns:
      The value.
    • setCarSeatConfirmed

      public CarpoolingUpdateEvent.Builder setCarSeatConfirmed(int value)
      Sets the value of the 'carSeatConfirmed' field.
      Parameters:
      value - The value of 'carSeatConfirmed'.
      Returns:
      This builder.
    • hasCarSeatConfirmed

      public boolean hasCarSeatConfirmed()
      Checks whether the 'carSeatConfirmed' field has been set.
      Returns:
      True if the 'carSeatConfirmed' field has been set, false otherwise.
    • clearCarSeatConfirmed

      public CarpoolingUpdateEvent.Builder clearCarSeatConfirmed()
      Clears the value of the 'carSeatConfirmed' field.
      Returns:
      This builder.
    • build

      public CarpoolingUpdateEvent build()
      Specified by:
      build in interface org.apache.avro.data.RecordBuilder<CarpoolingUpdateEvent>