অন্যান্য স্পেসিফিকেশন

স্লটগুলিকে দ্ব্যর্থতামুক্ত করার জন্য ব্যবহারকারীর দ্বারা নির্বাচিত সম্পদের সেট, অর্থাৎ কর্মী এবং ঘর প্রদান করা হয়েছে।

// Resource specification that disambiguates an appointment slot
message Resources {
  option features.(pb.java).nest_in_file_class = YES;

  // The staff ID as provided in the feed or empty if not applicable or no staff
  // was selected. (optional)
  string staff_id = 1;

  // The room ID as provided in the feed or empty if not applicable or no room
  // was selected. (optional)
  string room_id = 2;

  // For Dining Reservations only: the number of seats requested in the booking.
  // (optional)
  int32 party_size = 3;
}

অতিরিক্ত উপলব্ধতাআপডেট বার্তা যা CheckAvailabilityResponse এর অংশ হিসেবে প্রদান করা যেতে পারে

// An update to one ore more slots indicating that the availability for the
// associated time has potentially changed.
message AvailabilityUpdate {
  option features.(pb.java).nest_in_file_class = YES;

  repeated SlotAvailability slot_availability = 1;
}

স্লটউপলব্ধতা

// An inventory slot and associated count of open spots.
message SlotAvailability {
  option features.(pb.java).nest_in_file_class = YES;

  Slot slot = 1;

  // Number of available spots.
  // 0 indicates that the appointment slot is not available. (required)
  int32 count_available = 2;
}