Get desktop application:
View/edit binary Protocol Buffers messages
Reservation service
make a reservation
To make a reservation, send a ReservationRequest with Reservation object (id should be empty)
Created reservation will be returned in ReserveResponse
confirm a pending reservation, if reservation is not pending, do nothing
To change a reservation from pending to confirmed, send a ConfirmRequest
Confirmed reservation will be returned in ConfirmResponse
update the reservation note
To update a reservation, send an UpdateRequest. Only note is updatable.
Updated reservation will be returned in UpdateResponse
cancel a reservation
To cancel a reservation, send a CancelRequest
Canceled reservation will be returned in CancelResponse
get a reservation by id
To get a reservation, send a GetRequest
Reservation will be returned in GetResponse
query reservations by resource id, user id, status, start time, end time
To query reservations, send a QueryRequest
filter reservations, order by reservation id
To query reservations, send a QueryRequest
another system could monitor newly added/confirmed/cancelled reservations
Client can listen to reservation updates by sending a ListenRequest
(message has no fields)
filter pager info
Used in:
Server will send ListenResponse to client in streaming response
update type
id for updated reservation
Core reservation object. Contains all the information for a reservation if ListenResponse op is DELETE, only id will be populated
Used as response type in: ReservationService.listen, ReservationService.query
Used as field type in:
, , , , , , ,unique id for the reservation, if put into ReservationRequest, id should be empty
user id for the reservation
reservation status, used for differentating purpose
resource id for the reservation
start time for the reservation
end time for the reservation
extra note
query reservations, order by reservation id
Used in:
resource id for the reservation query. If empty, query all resources
user id for the reservation query. If empty, query all users
use status to filter result. If UNKNOWN, return all reservations
page size for the query
sort direction
query reservations with user id, resource id, start time, end time, and status
Used in:
resource id for the reservation query. If empty, query all resources
user id for the reservation query. If empty, query all users
use status to filter result. If UNKNOWN, return all reservations
start time for the reservation query, if 0, use Infinity for start time
end time for the reservation query, if 0, use Infinity for end time
sort direction
reservation status for a given time period
Used in:
, ,when reservation is updated, record the update type
Used in: