1 // This file was automatically generated by protocompiler
3 // Compiled from OTPairingMessage.proto
5 #import <Foundation/Foundation.h>
6 #import <ProtocolBuffer/PBCodable.h>
9 #define OTSOSMESSAGE_FUNCTION extern "C" __attribute__((visibility("hidden")))
11 #define OTSOSMESSAGE_FUNCTION extern __attribute__((visibility("hidden")))
14 __attribute__((visibility("hidden")))
15 @interface OTSOSMessage
: PBCodable
<NSCopying
>
19 NSData
*_initialSyncItems
;
24 @
property (nonatomic
, readonly
) BOOL hasCredential
;
25 @
property (nonatomic
, retain
) NSData
*credential
;
27 @
property (nonatomic
, readonly
) BOOL hasPeerInfo
;
28 @
property (nonatomic
, retain
) NSData
*peerInfo
;
30 @
property (nonatomic
, readonly
) BOOL hasCircleBlob
;
31 @
property (nonatomic
, retain
) NSData
*circleBlob
;
33 @
property (nonatomic
, readonly
) BOOL hasInitialSyncItems
;
34 @
property (nonatomic
, retain
) NSData
*initialSyncItems
;
36 // Performs a shallow copy into other
37 - (void)copyTo
:(OTSOSMessage
*)other
;
39 // Performs a deep merge from other into self
40 // If set in other, singular values in self are replaced in self
41 // Singular composite values are recursively merged
42 // Repeated values from other are appended to repeated values in self
43 - (void)mergeFrom
:(OTSOSMessage
*)other
;
45 OTSOSMESSAGE_FUNCTION BOOL
OTSOSMessageReadFrom(__unsafe_unretained OTSOSMessage
*self
, __unsafe_unretained PBDataReader
*reader
);