blob: 4872ae6b863e2e3d7f3f77fc5e9b26c304011fd7 [file] [log] [blame]
weicesunb989a182021-11-04 14:14:54 -07001syntax = "proto3";
2package service.proto;
3import "src/fastpair/rpcs.proto";
4
5// db information for Fast Pair that gets from server.
6message 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}