]> git.saurik.com Git - apple/security.git/blob - keychain/ot/proto/generated_source/OTEscrowRecordMetadataClientMetadata.h
Security-59754.80.3.tar.gz
[apple/security.git] / keychain / ot / proto / generated_source / OTEscrowRecordMetadataClientMetadata.h
1 // This file was automatically generated by protocompiler
2 // DO NOT EDIT!
3 // Compiled from OTEscrowRecord.proto
4
5 #import <Foundation/Foundation.h>
6 #import <ProtocolBuffer/PBCodable.h>
7
8 #ifdef __cplusplus
9 #define OTESCROWRECORDMETADATACLIENTMETADATA_FUNCTION extern "C"
10 #else
11 #define OTESCROWRECORDMETADATACLIENTMETADATA_FUNCTION extern
12 #endif
13
14 @interface OTEscrowRecordMetadataClientMetadata : PBCodable <NSCopying>
15 {
16 uint64_t _devicePlatform;
17 uint64_t _secureBackupMetadataTimestamp;
18 uint64_t _secureBackupNumericPassphraseLength;
19 uint64_t _secureBackupUsesComplexPassphrase;
20 uint64_t _secureBackupUsesNumericPassphrase;
21 NSString *_deviceColor;
22 NSString *_deviceEnclosureColor;
23 NSString *_deviceMid;
24 NSString *_deviceModel;
25 NSString *_deviceModelClass;
26 NSString *_deviceModelVersion;
27 NSString *_deviceName;
28 struct {
29 int devicePlatform:1;
30 int secureBackupMetadataTimestamp:1;
31 int secureBackupNumericPassphraseLength:1;
32 int secureBackupUsesComplexPassphrase:1;
33 int secureBackupUsesNumericPassphrase:1;
34 } _has;
35 }
36
37
38 @property (nonatomic) BOOL hasSecureBackupMetadataTimestamp;
39 @property (nonatomic) uint64_t secureBackupMetadataTimestamp;
40
41 @property (nonatomic) BOOL hasSecureBackupNumericPassphraseLength;
42 @property (nonatomic) uint64_t secureBackupNumericPassphraseLength;
43
44 @property (nonatomic) BOOL hasSecureBackupUsesComplexPassphrase;
45 @property (nonatomic) uint64_t secureBackupUsesComplexPassphrase;
46
47 @property (nonatomic) BOOL hasSecureBackupUsesNumericPassphrase;
48 @property (nonatomic) uint64_t secureBackupUsesNumericPassphrase;
49
50 @property (nonatomic, readonly) BOOL hasDeviceColor;
51 @property (nonatomic, retain) NSString *deviceColor;
52
53 @property (nonatomic, readonly) BOOL hasDeviceEnclosureColor;
54 @property (nonatomic, retain) NSString *deviceEnclosureColor;
55
56 @property (nonatomic, readonly) BOOL hasDeviceMid;
57 @property (nonatomic, retain) NSString *deviceMid;
58
59 @property (nonatomic, readonly) BOOL hasDeviceModel;
60 @property (nonatomic, retain) NSString *deviceModel;
61
62 @property (nonatomic, readonly) BOOL hasDeviceModelClass;
63 @property (nonatomic, retain) NSString *deviceModelClass;
64
65 @property (nonatomic, readonly) BOOL hasDeviceModelVersion;
66 @property (nonatomic, retain) NSString *deviceModelVersion;
67
68 @property (nonatomic, readonly) BOOL hasDeviceName;
69 @property (nonatomic, retain) NSString *deviceName;
70
71 @property (nonatomic) BOOL hasDevicePlatform;
72 @property (nonatomic) uint64_t devicePlatform;
73
74 // Performs a shallow copy into other
75 - (void)copyTo:(OTEscrowRecordMetadataClientMetadata *)other;
76
77 // Performs a deep merge from other into self
78 // If set in other, singular values in self are replaced in self
79 // Singular composite values are recursively merged
80 // Repeated values from other are appended to repeated values in self
81 - (void)mergeFrom:(OTEscrowRecordMetadataClientMetadata *)other;
82
83 OTESCROWRECORDMETADATACLIENTMETADATA_FUNCTION BOOL OTEscrowRecordMetadataClientMetadataReadFrom(__unsafe_unretained OTEscrowRecordMetadataClientMetadata *self, __unsafe_unretained PBDataReader *reader);
84
85 @end
86