#import <Foundation/Foundation.h>
#import <ProtocolBuffer/PBCodable.h>
#ifdef __cplusplus
#define OTSOSMESSAGE_FUNCTION extern "C" __attribute__((visibility("hidden")))
#else
#define OTSOSMESSAGE_FUNCTION extern __attribute__((visibility("hidden")))
#endif
__attribute__((visibility("hidden")))
@interface OTSOSMessage : PBCodable <NSCopying>
{
NSData *_circleBlob;
NSData *_credential;
NSData *_initialSyncItems;
NSData *_peerInfo;
}
@property (nonatomic, readonly) BOOL hasCredential;
@property (nonatomic, retain) NSData *credential;
@property (nonatomic, readonly) BOOL hasPeerInfo;
@property (nonatomic, retain) NSData *peerInfo;
@property (nonatomic, readonly) BOOL hasCircleBlob;
@property (nonatomic, retain) NSData *circleBlob;
@property (nonatomic, readonly) BOOL hasInitialSyncItems;
@property (nonatomic, retain) NSData *initialSyncItems;
- (void)copyTo:(OTSOSMessage *)other;
- (void)mergeFrom:(OTSOSMessage *)other;
OTSOSMESSAGE_FUNCTION BOOL OTSOSMessageReadFrom(__unsafe_unretained OTSOSMessage *self, __unsafe_unretained PBDataReader *reader);
@end