]> git.saurik.com Git - apple/security.git/blob - keychain/analytics/C2Metric/SECC2MPDeviceInfo.h
Security-59306.11.20.tar.gz
[apple/security.git] / keychain / analytics / C2Metric / SECC2MPDeviceInfo.h
1 // This file was automatically generated by protocompiler
2 // DO NOT EDIT!
3 // Compiled from C2Metric.proto
4
5 #import <Foundation/Foundation.h>
6 #import <ProtocolBuffer/PBCodable.h>
7
8 @class SECC2MPInternalTestConfig;
9
10 #ifdef __cplusplus
11 #define SECC2MPDEVICEINFO_FUNCTION extern "C" __attribute__((visibility("hidden")))
12 #else
13 #define SECC2MPDEVICEINFO_FUNCTION extern __attribute__((visibility("hidden")))
14 #endif
15
16 __attribute__((visibility("hidden")))
17 @interface SECC2MPDeviceInfo : PBCodable <NSCopying>
18 {
19 NSMutableArray<SECC2MPInternalTestConfig *> *_internalTestConfigs;
20 NSString *_processName;
21 NSString *_processUuid;
22 NSString *_processVersion;
23 NSString *_productBuild;
24 NSString *_productName;
25 NSString *_productType;
26 NSString *_productVersion;
27 NSString *_userDefaultTestName;
28 BOOL _isAppleInternal;
29 struct {
30 int isAppleInternal:1;
31 } _has;
32 }
33
34
35 @property (nonatomic, readonly) BOOL hasProductName;
36 @property (nonatomic, retain) NSString *productName;
37
38 @property (nonatomic, readonly) BOOL hasProductType;
39 @property (nonatomic, retain) NSString *productType;
40
41 @property (nonatomic, readonly) BOOL hasProductVersion;
42 @property (nonatomic, retain) NSString *productVersion;
43
44 @property (nonatomic, readonly) BOOL hasProductBuild;
45 @property (nonatomic, retain) NSString *productBuild;
46
47 @property (nonatomic) BOOL hasIsAppleInternal;
48 @property (nonatomic) BOOL isAppleInternal;
49
50 @property (nonatomic, readonly) BOOL hasProcessName;
51 @property (nonatomic, retain) NSString *processName;
52
53 @property (nonatomic, readonly) BOOL hasProcessVersion;
54 @property (nonatomic, retain) NSString *processVersion;
55
56 @property (nonatomic, readonly) BOOL hasProcessUuid;
57 @property (nonatomic, retain) NSString *processUuid;
58
59 @property (nonatomic, readonly) BOOL hasUserDefaultTestName;
60 @property (nonatomic, retain) NSString *userDefaultTestName;
61
62 @property (nonatomic, retain) NSMutableArray<SECC2MPInternalTestConfig *> *internalTestConfigs;
63 - (void)clearInternalTestConfigs;
64 - (void)addInternalTestConfig:(SECC2MPInternalTestConfig *)i;
65 - (NSUInteger)internalTestConfigsCount;
66 - (SECC2MPInternalTestConfig *)internalTestConfigAtIndex:(NSUInteger)idx;
67 + (Class)internalTestConfigType;
68
69 // Performs a shallow copy into other
70 - (void)copyTo:(SECC2MPDeviceInfo *)other;
71
72 // Performs a deep merge from other into self
73 // If set in other, singular values in self are replaced in self
74 // Singular composite values are recursively merged
75 // Repeated values from other are appended to repeated values in self
76 - (void)mergeFrom:(SECC2MPDeviceInfo *)other;
77
78 SECC2MPDEVICEINFO_FUNCTION BOOL SECC2MPDeviceInfoReadFrom(__unsafe_unretained SECC2MPDeviceInfo *self, __unsafe_unretained PBDataReader *reader);
79
80 @end
81