SOSAccountConfiguration.h   [plain text]


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

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

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

__attribute__((visibility("hidden")))
@interface SOSAccountConfiguration : PBCodable <NSCopying>
{
    NSMutableArray<NSString *> *_pendingBackupPeers;
    BOOL _ringUpdateFlag;
    struct {
        int ringUpdateFlag:1;
    } _has;
}


@property (nonatomic, retain) NSMutableArray<NSString *> *pendingBackupPeers;
- (void)clearPendingBackupPeers;
- (void)addPendingBackupPeers:(NSString *)i;
- (NSUInteger)pendingBackupPeersCount;
- (NSString *)pendingBackupPeersAtIndex:(NSUInteger)idx;
+ (Class)pendingBackupPeersType;

@property (nonatomic) BOOL hasRingUpdateFlag;
@property (nonatomic) BOOL ringUpdateFlag;

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

SOSACCOUNTCONFIGURATION_FUNCTION BOOL SOSAccountConfigurationReadFrom(__unsafe_unretained SOSAccountConfiguration *self, __unsafe_unretained PBDataReader *reader);

@end