]> git.saurik.com Git - apple/security.git/blob - keychain/analytics/C2Metric/SECC2MPCloudKitInfo.h
Security-59306.11.20.tar.gz
[apple/security.git] / keychain / analytics / C2Metric / SECC2MPCloudKitInfo.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 SECC2MPCloudKitOperationGroupInfo;
9 @class SECC2MPCloudKitOperationInfo;
10
11 #ifdef __cplusplus
12 #define SECC2MPCLOUDKITINFO_FUNCTION extern "C" __attribute__((visibility("hidden")))
13 #else
14 #define SECC2MPCLOUDKITINFO_FUNCTION extern __attribute__((visibility("hidden")))
15 #endif
16
17 __attribute__((visibility("hidden")))
18 @interface SECC2MPCloudKitInfo : PBCodable <NSCopying>
19 {
20 uint64_t _reportClientOperationFrequency;
21 uint64_t _reportClientOperationFrequencyBase;
22 uint64_t _reportOperationGroupFrequency;
23 uint64_t _reportOperationGroupFrequencyBase;
24 NSString *_clientBundleId;
25 NSMutableArray<SECC2MPCloudKitOperationInfo *> *_clientOperations;
26 NSString *_clientProcessVersion;
27 NSString *_container;
28 NSString *_environment;
29 NSMutableArray<SECC2MPCloudKitOperationGroupInfo *> *_operationGroups;
30 BOOL _anonymous;
31 struct {
32 int reportClientOperationFrequency:1;
33 int reportClientOperationFrequencyBase:1;
34 int reportOperationGroupFrequency:1;
35 int reportOperationGroupFrequencyBase:1;
36 int anonymous:1;
37 } _has;
38 }
39
40
41 @property (nonatomic, readonly) BOOL hasClientProcessVersion;
42 @property (nonatomic, retain) NSString *clientProcessVersion;
43
44 @property (nonatomic, readonly) BOOL hasClientBundleId;
45 @property (nonatomic, retain) NSString *clientBundleId;
46
47 @property (nonatomic, readonly) BOOL hasContainer;
48 @property (nonatomic, retain) NSString *container;
49
50 @property (nonatomic, readonly) BOOL hasEnvironment;
51 @property (nonatomic, retain) NSString *environment;
52
53 @property (nonatomic) BOOL hasAnonymous;
54 @property (nonatomic) BOOL anonymous;
55
56 @property (nonatomic, retain) NSMutableArray<SECC2MPCloudKitOperationGroupInfo *> *operationGroups;
57 - (void)clearOperationGroups;
58 - (void)addOperationGroup:(SECC2MPCloudKitOperationGroupInfo *)i;
59 - (NSUInteger)operationGroupsCount;
60 - (SECC2MPCloudKitOperationGroupInfo *)operationGroupAtIndex:(NSUInteger)idx;
61 + (Class)operationGroupType;
62
63 @property (nonatomic) BOOL hasReportOperationGroupFrequency;
64 @property (nonatomic) uint64_t reportOperationGroupFrequency;
65
66 @property (nonatomic) BOOL hasReportOperationGroupFrequencyBase;
67 @property (nonatomic) uint64_t reportOperationGroupFrequencyBase;
68
69 @property (nonatomic, retain) NSMutableArray<SECC2MPCloudKitOperationInfo *> *clientOperations;
70 - (void)clearClientOperations;
71 - (void)addClientOperation:(SECC2MPCloudKitOperationInfo *)i;
72 - (NSUInteger)clientOperationsCount;
73 - (SECC2MPCloudKitOperationInfo *)clientOperationAtIndex:(NSUInteger)idx;
74 + (Class)clientOperationType;
75
76 @property (nonatomic) BOOL hasReportClientOperationFrequency;
77 @property (nonatomic) uint64_t reportClientOperationFrequency;
78
79 @property (nonatomic) BOOL hasReportClientOperationFrequencyBase;
80 @property (nonatomic) uint64_t reportClientOperationFrequencyBase;
81
82 // Performs a shallow copy into other
83 - (void)copyTo:(SECC2MPCloudKitInfo *)other;
84
85 // Performs a deep merge from other into self
86 // If set in other, singular values in self are replaced in self
87 // Singular composite values are recursively merged
88 // Repeated values from other are appended to repeated values in self
89 - (void)mergeFrom:(SECC2MPCloudKitInfo *)other;
90
91 SECC2MPCLOUDKITINFO_FUNCTION BOOL SECC2MPCloudKitInfoReadFrom(__unsafe_unretained SECC2MPCloudKitInfo *self, __unsafe_unretained PBDataReader *reader);
92
93 @end
94