Class MatchPlayerRegistrationEvent.Builder

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

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

    • getPlayerId

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

      public MatchPlayerRegistrationEvent.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 MatchPlayerRegistrationEvent.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 MatchPlayerRegistrationEvent.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 MatchPlayerRegistrationEvent.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 MatchPlayerRegistrationEvent.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 MatchPlayerRegistrationEvent.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

      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 MatchPlayerRegistrationEvent.Builder clearMatchCode()
      Clears the value of the 'matchCode' field.
      Returns:
      This builder.
    • build

      Specified by:
      build in interface org.apache.avro.data.RecordBuilder<MatchPlayerRegistrationEvent>