AWDKeychainSecDbMarkedCorrupt.h   [plain text]


// This file was automatically generated by protocompiler
// DO NOT EDIT!
// Compiled from stdin

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

#ifdef __cplusplus
#define AWDKEYCHAINSECDBMARKEDCORRUPT_FUNCTION extern "C"
#else
#define AWDKEYCHAINSECDBMARKEDCORRUPT_FUNCTION extern
#endif

@interface AWDKeychainSecDbMarkedCorrupt : PBCodable <NSCopying>
{
    uint64_t _timestamp;
    uint32_t _reason;
    uint32_t _sqlitecode;
    struct {
        int timestamp:1;
        int reason:1;
        int sqlitecode:1;
    } _has;
}


@property (nonatomic) BOOL hasTimestamp;
@property (nonatomic) uint64_t timestamp;

@property (nonatomic) BOOL hasReason;
@property (nonatomic) uint32_t reason;

@property (nonatomic) BOOL hasSqlitecode;
@property (nonatomic) uint32_t sqlitecode;

// Performs a shallow copy into other
- (void)copyTo:(AWDKeychainSecDbMarkedCorrupt *)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:(AWDKeychainSecDbMarkedCorrupt *)other;

AWDKEYCHAINSECDBMARKEDCORRUPT_FUNCTION BOOL AWDKeychainSecDbMarkedCorruptReadFrom(__unsafe_unretained AWDKeychainSecDbMarkedCorrupt *self, __unsafe_unretained PBDataReader *reader);

@end