public static class ReservationsScopedList.Builder extends Object
Modifier and Type | Method and Description |
---|---|
ReservationsScopedList.Builder |
addAllReservations(List<Reservation> reservations)
A list of reservations contained in this scope.
|
ReservationsScopedList.Builder |
addReservations(Reservation reservations)
A list of reservations contained in this scope.
|
ReservationsScopedList |
build() |
ReservationsScopedList.Builder |
clone() |
List<Reservation> |
getReservationsList()
A list of reservations contained in this scope.
|
Warning |
getWarning()
Informational warning which replaces the list of reservations when the list is empty.
|
ReservationsScopedList.Builder |
mergeFrom(ReservationsScopedList other) |
ReservationsScopedList.Builder |
setWarning(Warning warning)
Informational warning which replaces the list of reservations when the list is empty.
|
public ReservationsScopedList.Builder mergeFrom(ReservationsScopedList other)
public List<Reservation> getReservationsList()
public ReservationsScopedList.Builder addAllReservations(List<Reservation> reservations)
public ReservationsScopedList.Builder addReservations(Reservation reservations)
public Warning getWarning()
public ReservationsScopedList.Builder setWarning(Warning warning)
public ReservationsScopedList build()
public ReservationsScopedList.Builder clone()
Copyright © 2019 Google LLC. All rights reserved.