]> git.saurik.com Git - apple/security.git/blob - keychain/analytics/C2Metric/SECC2MPCloudKitOperationInfo.h
Security-59306.101.1.tar.gz
[apple/security.git] / keychain / analytics / C2Metric / SECC2MPCloudKitOperationInfo.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 #ifdef __cplusplus
9 #define SECC2MPCLOUDKITOPERATIONINFO_FUNCTION extern "C" __attribute__((visibility("hidden")))
10 #else
11 #define SECC2MPCLOUDKITOPERATIONINFO_FUNCTION extern __attribute__((visibility("hidden")))
12 #endif
13
14 __attribute__((visibility("hidden")))
15 @interface SECC2MPCloudKitOperationInfo : PBCodable <NSCopying>
16 {
17 uint32_t _operationGroupIndex;
18 NSString *_operationId;
19 NSString *_operationType;
20 BOOL _operationTriggered;
21 struct {
22 int operationGroupIndex:1;
23 int operationTriggered:1;
24 } _has;
25 }
26
27
28 @property (nonatomic, readonly) BOOL hasOperationId;
29 @property (nonatomic, retain) NSString *operationId;
30
31 @property (nonatomic, readonly) BOOL hasOperationType;
32 @property (nonatomic, retain) NSString *operationType;
33
34 @property (nonatomic) BOOL hasOperationTriggered;
35 @property (nonatomic) BOOL operationTriggered;
36
37 @property (nonatomic) BOOL hasOperationGroupIndex;
38 /** Index of associated Metric.CloudKitInfo.operation_group */
39 @property (nonatomic) uint32_t operationGroupIndex;
40
41 // Performs a shallow copy into other
42 - (void)copyTo:(SECC2MPCloudKitOperationInfo *)other;
43
44 // Performs a deep merge from other into self
45 // If set in other, singular values in self are replaced in self
46 // Singular composite values are recursively merged
47 // Repeated values from other are appended to repeated values in self
48 - (void)mergeFrom:(SECC2MPCloudKitOperationInfo *)other;
49
50 SECC2MPCLOUDKITOPERATIONINFO_FUNCTION BOOL SECC2MPCloudKitOperationInfoReadFrom(__unsafe_unretained SECC2MPCloudKitOperationInfo *self, __unsafe_unretained PBDataReader *reader);
51
52 @end
53