Builder class for
RestaurantReservationEntity
.
Public Constructor Summary
Builder()
|
Public Method Summary
RestaurantReservationEntity.Builder | |
RestaurantReservationEntity.Builder | |
RestaurantReservationEntity.Builder | |
RestaurantReservationEntity.Builder | |
RestaurantReservationEntity |
build()
|
RestaurantReservationEntity.Builder | |
RestaurantReservationEntity.Builder |
setDescription(String description)
Sets the description (typically a single paragraph of text) of the Reservation
entity.
|
RestaurantReservationEntity.Builder | |
RestaurantReservationEntity.Builder | |
RestaurantReservationEntity.Builder |
setReservationId(String
reservationId)
Sets the reservation ID for the restaurant reservation entity.
|
RestaurantReservationEntity.Builder |
setReservationStartTime(Long
reservationStartTime)
Sets the epoch timestamp (in milliseconds) of reservation start time for the
restaurant reservation entity.
|
RestaurantReservationEntity.Builder |
setTableSize(Integer tableSize)
Sets the table size, i.e., the number of members for the restaurant reservation
entity.
|
RestaurantReservationEntity.Builder |
Inherited Method Summary
Public Constructors
public Builder ()
Public Methods
public RestaurantReservationEntity.Builder addPosterImage (Image image)
Add a poster image of the entity.
Required.
public RestaurantReservationEntity.Builder addPosterImages (List<Image> images)
Add poster images of the entity.
Required.
public RestaurantReservationEntity.Builder addSubtitle (String subtitle)
Add a subtitle of the Reservation entity.
This field can include subtitles like "Buffet", "Fine dining", etc. .
Optional.
public RestaurantReservationEntity.Builder addSubtitles (List<String> subtitles)
Add subtitles of the Reservation entity.
Optional.
public RestaurantReservationEntity build ()
public RestaurantReservationEntity.Builder setActionUri (Uri actionUri)
Sets the action uri of the Reservation entity.
Required.
public RestaurantReservationEntity.Builder setDescription (String description)
Sets the description (typically a single paragraph of text) of the Reservation entity.
Optional.
public RestaurantReservationEntity.Builder setEntityId (String entityId)
Sets content id of the entity.
Optional.
public RestaurantReservationEntity.Builder setLocation (Address location)
Sets the location of the restaurant.
Required.
public RestaurantReservationEntity.Builder setReservationId (String reservationId)
Sets the reservation ID for the restaurant reservation entity.
Optional.
public RestaurantReservationEntity.Builder setReservationStartTime (Long reservationStartTime)
Sets the epoch timestamp (in milliseconds) of reservation start time for the restaurant reservation entity.
Required.
public RestaurantReservationEntity.Builder setTableSize (Integer tableSize)
Sets the table size, i.e., the number of members for the restaurant reservation entity.
Optional.
public RestaurantReservationEntity.Builder setTitle (String title)
Sets the name/title of the Reservation entity.
Required.