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 SECC2MPERROR_FUNCTION extern "C" __attribute__((visibility("hidden")))
13 #define SECC2MPERROR_FUNCTION extern __attribute__((visibility("hidden")))
16 __attribute__((visibility("hidden")))
17 @interface SECC2MPError
: PBCodable
<NSCopying
>
20 NSString
*_errorDescription
;
21 NSString
*_errorDomain
;
22 SECC2MPError
*_underlyingError
;
29 @
property (nonatomic
, readonly
) BOOL hasErrorDomain
;
30 @
property (nonatomic
, retain
) NSString
*errorDomain
;
32 @
property (nonatomic
) BOOL hasErrorCode
;
33 @
property (nonatomic
) int64_t errorCode
;
35 @
property (nonatomic
, readonly
) BOOL hasErrorDescription
;
36 @
property (nonatomic
, retain
) NSString
*errorDescription
;
38 @
property (nonatomic
, readonly
) BOOL hasUnderlyingError
;
39 @
property (nonatomic
, retain
) SECC2MPError
*underlyingError
;
41 // Performs a shallow copy into other
42 - (void)copyTo
:(SECC2MPError
*)other
;
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
:(SECC2MPError
*)other
;
50 SECC2MPERROR_FUNCTION BOOL
SECC2MPErrorReadFrom(__unsafe_unretained SECC2MPError
*self
, __unsafe_unretained PBDataReader
*reader
);