1 // This file was automatically generated by protocompiler
3 // Compiled from OTCDPRecoveryInformation.proto
5 #import <Foundation/Foundation.h>
6 #import <ProtocolBuffer/PBCodable.h>
9 #define OTCDPRECOVERYINFORMATION_FUNCTION extern "C"
11 #define OTCDPRECOVERYINFORMATION_FUNCTION extern
14 @interface OTCDPRecoveryInformation
: PBCodable
<NSCopying
>
16 NSString
*_recoveryKey
;
17 NSString
*_recoverySecret
;
18 BOOL _containsIcdpData
;
19 BOOL _silentRecoveryAttempt
;
20 BOOL _useCachedSecret
;
21 BOOL _usePreviouslyCachedRecoveryKey
;
22 BOOL _usesMultipleIcsc
;
24 int containsIcdpData
:1;
25 int silentRecoveryAttempt
:1;
26 int useCachedSecret
:1;
27 int usePreviouslyCachedRecoveryKey
:1;
28 int usesMultipleIcsc
:1;
33 @
property (nonatomic
, readonly
) BOOL hasRecoverySecret
;
34 @
property (nonatomic
, retain
) NSString
*recoverySecret
;
36 @
property (nonatomic
) BOOL hasUseCachedSecret
;
37 @
property (nonatomic
) BOOL useCachedSecret
;
39 @
property (nonatomic
, readonly
) BOOL hasRecoveryKey
;
40 @
property (nonatomic
, retain
) NSString
*recoveryKey
;
42 @
property (nonatomic
) BOOL hasUsePreviouslyCachedRecoveryKey
;
43 @
property (nonatomic
) BOOL usePreviouslyCachedRecoveryKey
;
45 @
property (nonatomic
) BOOL hasSilentRecoveryAttempt
;
46 @
property (nonatomic
) BOOL silentRecoveryAttempt
;
48 @
property (nonatomic
) BOOL hasContainsIcdpData
;
49 @
property (nonatomic
) BOOL containsIcdpData
;
51 @
property (nonatomic
) BOOL hasUsesMultipleIcsc
;
52 @
property (nonatomic
) BOOL usesMultipleIcsc
;
54 // Performs a shallow copy into other
55 - (void)copyTo
:(OTCDPRecoveryInformation
*)other
;
57 // Performs a deep merge from other into self
58 // If set in other, singular values in self are replaced in self
59 // Singular composite values are recursively merged
60 // Repeated values from other are appended to repeated values in self
61 - (void)mergeFrom
:(OTCDPRecoveryInformation
*)other
;
63 OTCDPRECOVERYINFORMATION_FUNCTION BOOL
OTCDPRecoveryInformationReadFrom(__unsafe_unretained OTCDPRecoveryInformation
*self
, __unsafe_unretained PBDataReader
*reader
);