]> git.saurik.com Git - apple/security.git/blob - keychain/analytics/C2Metric/SECC2MPGenericEventMetric.h
Security-59306.11.20.tar.gz
[apple/security.git] / keychain / analytics / C2Metric / SECC2MPGenericEventMetric.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 SECC2MPGenericEventMetricValue;
9
10 #ifdef __cplusplus
11 #define SECC2MPGENERICEVENTMETRIC_FUNCTION extern "C" __attribute__((visibility("hidden")))
12 #else
13 #define SECC2MPGENERICEVENTMETRIC_FUNCTION extern __attribute__((visibility("hidden")))
14 #endif
15
16 __attribute__((visibility("hidden")))
17 @interface SECC2MPGenericEventMetric : PBCodable <NSCopying>
18 {
19 NSString *_key;
20 SECC2MPGenericEventMetricValue *_value;
21 }
22
23
24 @property (nonatomic, readonly) BOOL hasKey;
25 @property (nonatomic, retain) NSString *key;
26
27 @property (nonatomic, readonly) BOOL hasValue;
28 @property (nonatomic, retain) SECC2MPGenericEventMetricValue *value;
29
30 // Performs a shallow copy into other
31 - (void)copyTo:(SECC2MPGenericEventMetric *)other;
32
33 // Performs a deep merge from other into self
34 // If set in other, singular values in self are replaced in self
35 // Singular composite values are recursively merged
36 // Repeated values from other are appended to repeated values in self
37 - (void)mergeFrom:(SECC2MPGenericEventMetric *)other;
38
39 SECC2MPGENERICEVENTMETRIC_FUNCTION BOOL SECC2MPGenericEventMetricReadFrom(__unsafe_unretained SECC2MPGenericEventMetric *self, __unsafe_unretained PBDataReader *reader);
40
41 @end
42