4 option objc_class_naming = "extended";
5 option objc_class_visibility = "hidden";
9 message AccountMetadataClassC {
11 // The state of accounts on the system is complicated. Here's how we handle them:
12 // If there is no account, we will be in NO_ACCOUNT and have no altDSID
13 // If there is an SA account, we will bt in NO_ACCOUNT and have an altDSID
14 // If there is an HSA2 account, we will be in ACCOUNT_AVAILABLE and have an altDSID
19 ACCOUNT_AVAILABLE = 2;
20 ACCOUNT_AVAILABLE_UNUSED = 3;
29 enum AttemptedAJoinState {
35 optional string peerID = 1;
36 optional AccountState icloudAccountState = 2;
37 optional int64 epoch = 3;
38 optional string altDSID = 4;
40 optional TrustState trustState = 5;
42 // Holds the time, in milliseconds since 1970, that the last health checkup query to Cuttlefish was successfully performed
43 optional uint64 lastHealthCheckup = 6;
45 optional AttemptedAJoinState attemptedJoin = 7;