]> git.saurik.com Git - apple/security.git/blob - keychain/ot/proto/generated_source/OTSupportSOSMessage.h
Security-59754.41.1.tar.gz
[apple/security.git] / keychain / ot / proto / generated_source / OTSupportSOSMessage.h
1 // This file was automatically generated by protocompiler
2 // DO NOT EDIT!
3 // Compiled from OTPairingMessage.proto
4
5 #import <Foundation/Foundation.h>
6 #import <ProtocolBuffer/PBCodable.h>
7
8 #import "OTGlobalEnums.h"
9
10 #ifdef __cplusplus
11 #define OTSUPPORTSOSMESSAGE_FUNCTION extern "C" __attribute__((visibility("hidden")))
12 #else
13 #define OTSUPPORTSOSMESSAGE_FUNCTION extern __attribute__((visibility("hidden")))
14 #endif
15
16 __attribute__((visibility("hidden")))
17 @interface OTSupportSOSMessage : PBCodable <NSCopying>
18 {
19 OTSupportType _supported;
20 struct {
21 int supported:1;
22 } _has;
23 }
24
25
26 @property (nonatomic) BOOL hasSupported;
27 @property (nonatomic) OTSupportType supported;
28 - (NSString *)supportedAsString:(OTSupportType)value;
29 - (OTSupportType)StringAsSupported:(NSString *)str;
30
31 // Performs a shallow copy into other
32 - (void)copyTo:(OTSupportSOSMessage *)other;
33
34 // Performs a deep merge from other into self
35 // If set in other, singular values in self are replaced in self
36 // Singular composite values are recursively merged
37 // Repeated values from other are appended to repeated values in self
38 - (void)mergeFrom:(OTSupportSOSMessage *)other;
39
40 OTSUPPORTSOSMESSAGE_FUNCTION BOOL OTSupportSOSMessageReadFrom(__unsafe_unretained OTSupportSOSMessage *self, __unsafe_unretained PBDataReader *reader);
41
42 @end
43