CKKSSerializedKey.h   [plain text]


// This file was automatically generated by protocompiler
// DO NOT EDIT!
// Compiled from CKKSSerializedKey.proto

#import <Foundation/Foundation.h>
#import <ProtocolBuffer/PBCodable.h>

#ifdef __cplusplus
#define CKKSSERIALIZEDKEY_FUNCTION extern "C" __attribute__((visibility("hidden")))
#else
#define CKKSSERIALIZEDKEY_FUNCTION extern __attribute__((visibility("hidden")))
#endif

__attribute__((visibility("hidden")))
@interface CKKSSerializedKey : PBCodable <NSCopying>
{
    NSData *_key;
    NSString *_keyclass;
    NSString *_uuid;
    NSString *_zoneName;
}


@property (nonatomic, retain) NSString *uuid;

@property (nonatomic, retain) NSString *zoneName;

@property (nonatomic, retain) NSString *keyclass;

@property (nonatomic, retain) NSData *key;

// Performs a shallow copy into other
- (void)copyTo:(CKKSSerializedKey *)other;

// Performs a deep merge from other into self
// If set in other, singular values in self are replaced in self
// Singular composite values are recursively merged
// Repeated values from other are appended to repeated values in self
- (void)mergeFrom:(CKKSSerializedKey *)other;

CKKSSERIALIZEDKEY_FUNCTION BOOL CKKSSerializedKeyReadFrom(__unsafe_unretained CKKSSerializedKey *self, __unsafe_unretained PBDataReader *reader);

@end