public static class UserAction.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<UserAction> implements org.apache.avro.data.RecordBuilder<UserAction>
| Modifier and Type | Method and Description |
|---|---|
UserAction |
build() |
UserAction.Builder |
clearDevice()
Clears the value of the 'device' field.
|
UserAction.Builder |
clearEventDate()
Clears the value of the 'event_date' field.
|
UserAction.Builder |
clearEventId()
Clears the value of the 'event_id' field.
|
UserAction.Builder |
clearEventType()
Clears the value of the 'event_type' field.
|
UserAction.Builder |
clearListingId()
Clears the value of the 'listing_id' field.
|
UserAction.Builder |
clearSessionId()
Clears the value of the 'session_id' field.
|
UserAction.Builder |
clearUserId()
Clears the value of the 'user_id' field.
|
CharSequence |
getDevice()
Gets the value of the 'device' field.
|
org.joda.time.DateTime |
getEventDate()
Gets the value of the 'event_date' field.
|
CharSequence |
getEventId()
Gets the value of the 'event_id' field.
|
CharSequence |
getEventType()
Gets the value of the 'event_type' field.
|
CharSequence |
getListingId()
Gets the value of the 'listing_id' field.
|
CharSequence |
getSessionId()
Gets the value of the 'session_id' field.
|
CharSequence |
getUserId()
Gets the value of the 'user_id' field.
|
boolean |
hasDevice()
Checks whether the 'device' field has been set.
|
boolean |
hasEventDate()
Checks whether the 'event_date' field has been set.
|
boolean |
hasEventId()
Checks whether the 'event_id' field has been set.
|
boolean |
hasEventType()
Checks whether the 'event_type' field has been set.
|
boolean |
hasListingId()
Checks whether the 'listing_id' field has been set.
|
boolean |
hasSessionId()
Checks whether the 'session_id' field has been set.
|
boolean |
hasUserId()
Checks whether the 'user_id' field has been set.
|
UserAction.Builder |
setDevice(CharSequence value)
Sets the value of the 'device' field.
|
UserAction.Builder |
setEventDate(org.joda.time.DateTime value)
Sets the value of the 'event_date' field.
|
UserAction.Builder |
setEventId(CharSequence value)
Sets the value of the 'event_id' field.
|
UserAction.Builder |
setEventType(CharSequence value)
Sets the value of the 'event_type' field.
|
UserAction.Builder |
setListingId(CharSequence value)
Sets the value of the 'listing_id' field.
|
UserAction.Builder |
setSessionId(CharSequence value)
Sets the value of the 'session_id' field.
|
UserAction.Builder |
setUserId(CharSequence value)
Sets the value of the 'user_id' field.
|
public CharSequence getEventId()
public UserAction.Builder setEventId(CharSequence value)
value - The value of 'event_id'.public boolean hasEventId()
public UserAction.Builder clearEventId()
public CharSequence getSessionId()
public UserAction.Builder setSessionId(CharSequence value)
value - The value of 'session_id'.public boolean hasSessionId()
public UserAction.Builder clearSessionId()
public CharSequence getEventType()
public UserAction.Builder setEventType(CharSequence value)
value - The value of 'event_type'.public boolean hasEventType()
public UserAction.Builder clearEventType()
public org.joda.time.DateTime getEventDate()
public UserAction.Builder setEventDate(org.joda.time.DateTime value)
value - The value of 'event_date'.public boolean hasEventDate()
public UserAction.Builder clearEventDate()
public CharSequence getUserId()
public UserAction.Builder setUserId(CharSequence value)
value - The value of 'user_id'.public boolean hasUserId()
public UserAction.Builder clearUserId()
public CharSequence getListingId()
public UserAction.Builder setListingId(CharSequence value)
value - The value of 'listing_id'.public boolean hasListingId()
public UserAction.Builder clearListingId()
public CharSequence getDevice()
public UserAction.Builder setDevice(CharSequence value)
value - The value of 'device'.public boolean hasDevice()
public UserAction.Builder clearDevice()
public UserAction build()
build in interface org.apache.avro.data.RecordBuilder<UserAction>Copyright © 2017. All rights reserved.