Modifier and Type | Method and Description |
---|---|
User |
build() |
User.Builder |
clearEventType()
Clears the value of the 'eventType' field.
|
User.Builder |
clearFavoriteColor()
Clears the value of the 'favoriteColor' field.
|
User.Builder |
clearFavoriteNumber()
Clears the value of the 'favoriteNumber' field.
|
User.Builder |
clearName()
Clears the value of the 'name' field.
|
EventType |
getEventType()
Gets the value of the 'eventType' field.
|
CharSequence |
getFavoriteColor()
Gets the value of the 'favoriteColor' field.
|
CharSequence |
getFavoriteNumber()
Gets the value of the 'favoriteNumber' field.
|
CharSequence |
getName()
Gets the value of the 'name' field.
|
boolean |
hasEventType()
Checks whether the 'eventType' field has been set.
|
boolean |
hasFavoriteColor()
Checks whether the 'favoriteColor' field has been set.
|
boolean |
hasFavoriteNumber()
Checks whether the 'favoriteNumber' field has been set.
|
boolean |
hasName()
Checks whether the 'name' field has been set.
|
User.Builder |
setEventType(EventType value)
Sets the value of the 'eventType' field.
|
User.Builder |
setFavoriteColor(CharSequence value)
Sets the value of the 'favoriteColor' field.
|
User.Builder |
setFavoriteNumber(CharSequence value)
Sets the value of the 'favoriteNumber' field.
|
User.Builder |
setName(CharSequence value)
Sets the value of the 'name' field.
|
public CharSequence getName()
public User.Builder setName(CharSequence value)
value
- The value of 'name'.public boolean hasName()
public User.Builder clearName()
public CharSequence getFavoriteNumber()
public User.Builder setFavoriteNumber(CharSequence value)
value
- The value of 'favoriteNumber'.public boolean hasFavoriteNumber()
public User.Builder clearFavoriteNumber()
public CharSequence getFavoriteColor()
public User.Builder setFavoriteColor(CharSequence value)
value
- The value of 'favoriteColor'.public boolean hasFavoriteColor()
public User.Builder clearFavoriteColor()
public EventType getEventType()
public User.Builder setEventType(EventType value)
value
- The value of 'eventType'.public boolean hasEventType()
public User.Builder clearEventType()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.