1 // This file was automatically generated by protocompiler
3 // Compiled from C2Metric.proto
5 #import <Foundation/Foundation.h>
6 #import <ProtocolBuffer/PBCodable.h>
11 #define SECC2MPGENERICEVENTMETRICVALUE_FUNCTION extern "C" __attribute__((visibility("hidden")))
13 #define SECC2MPGENERICEVENTMETRICVALUE_FUNCTION extern __attribute__((visibility("hidden")))
16 __attribute__((visibility("hidden")))
17 @interface SECC2MPGenericEventMetricValue
: PBCodable
<NSCopying
>
21 SECC2MPError
*_errorValue
;
22 NSString
*_stringValue
;
30 @
property (nonatomic
, readonly
) BOOL hasStringValue
;
31 @
property (nonatomic
, retain
) NSString
*stringValue
;
33 @
property (nonatomic
) BOOL hasDoubleValue
;
34 @
property (nonatomic
) double doubleValue
;
36 @
property (nonatomic
) BOOL hasDateValue
;
37 @
property (nonatomic
) uint64_t dateValue
;
39 @
property (nonatomic
, readonly
) BOOL hasErrorValue
;
40 @
property (nonatomic
, retain
) SECC2MPError
*errorValue
;
42 // Performs a shallow copy into other
43 - (void)copyTo
:(SECC2MPGenericEventMetricValue
*)other
;
45 // Performs a deep merge from other into self
46 // If set in other, singular values in self are replaced in self
47 // Singular composite values are recursively merged
48 // Repeated values from other are appended to repeated values in self
49 - (void)mergeFrom
:(SECC2MPGenericEventMetricValue
*)other
;
51 SECC2MPGENERICEVENTMETRICVALUE_FUNCTION BOOL
SECC2MPGenericEventMetricValueReadFrom(__unsafe_unretained SECC2MPGenericEventMetricValue
*self
, __unsafe_unretained PBDataReader
*reader
);