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 Summary
Modifier and TypeMethodDescriptionbuild()
Clears the value of the 'carId' field.Clears the value of the 'carName' field.Clears the value of the 'carSeatConfirmed' field.Clears the value of the 'matchCode' field.Clears the value of the 'matchId' field.Clears the value of the 'playerFirstName' field.Clears the value of the 'playerId' field.int
getCarId()
Gets the value of the 'carId' field.Gets the value of the 'carName' field.int
Gets the value of the 'carSeatConfirmed' field.Gets the value of the 'matchCode' field.int
Gets the value of the 'matchId' field.Gets the value of the 'playerFirstName' field.int
Gets the value of the 'playerId' field.boolean
hasCarId()
Checks whether the 'carId' field has been set.boolean
Checks whether the 'carName' field has been set.boolean
Checks whether the 'carSeatConfirmed' field has been set.boolean
Checks whether the 'matchCode' field has been set.boolean
Checks whether the 'matchId' field has been set.boolean
Checks whether the 'playerFirstName' field has been set.boolean
Checks whether the 'playerId' field has been set.setCarId
(int value) Sets the value of the 'carId' field.setCarName
(CharSequence value) Sets the value of the 'carName' field.setCarSeatConfirmed
(int value) Sets the value of the 'carSeatConfirmed' field.setMatchCode
(CharSequence value) Sets the value of the 'matchCode' field.setMatchId
(int value) Sets the value of the 'matchId' field.setPlayerFirstName
(CharSequence value) Sets the value of the 'playerFirstName' field.setPlayerId
(int value) Sets the value of the 'playerId' field.Methods inherited from class org.apache.avro.data.RecordBuilderBase
data, defaultValue, equals, fields, fieldSetFlags, hashCode, isValidValue, schema, validate
-
Method Details
-
getPlayerId
public int getPlayerId()Gets the value of the 'playerId' field.- Returns:
- The value.
-
setPlayerId
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
Clears the value of the 'playerId' field.- Returns:
- This builder.
-
getPlayerFirstName
Gets the value of the 'playerFirstName' field.- Returns:
- The value.
-
setPlayerFirstName
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
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
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
Clears the value of the 'matchId' field.- Returns:
- This builder.
-
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
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
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
Clears the value of the 'carId' field.- Returns:
- This builder.
-
getCarName
Gets the value of the 'carName' field.- Returns:
- The value.
-
setCarName
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
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
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
Clears the value of the 'carSeatConfirmed' field.- Returns:
- This builder.
-
build
- Specified by:
build
in interfaceorg.apache.avro.data.RecordBuilder<CarpoolingUpdateEvent>
-