weicesun | b989a18 | 2021-11-04 14:14:54 -0700 | [diff] [blame^] | 1 | syntax = "proto3"; |
| 2 | package service.proto; |
| 3 | import "src/fastpair/rpcs.proto"; |
| 4 | |
| 5 | // db information for Fast Pair that gets from server. |
| 6 | message ServerResponseDbItem { |
| 7 | // Device's model id. |
| 8 | string model_id = 1; |
| 9 | |
| 10 | // Response was received from the server. Contains data needed to display |
| 11 | // FastPair notification such as device name, txPower of device, image used |
| 12 | // in the notification, etc. |
| 13 | GetObservedDeviceResponse get_observed_device_response = 2; |
| 14 | |
| 15 | // The timestamp that make the server fetch. |
| 16 | int64 last_fetch_info_timestamp_millis = 3; |
| 17 | |
| 18 | // Whether the item in the cache is expirable or not (when offline mode this |
| 19 | // will be false). |
| 20 | bool expirable = 4; |
| 21 | } |