1 // This file was automatically generated by protocompiler
3 // Compiled from OTPairingMessage.proto
5 #import <Foundation/Foundation.h>
6 #import <ProtocolBuffer/PBCodable.h>
8 #import "OTGlobalEnums.h"
11 #define OTSUPPORTSOSMESSAGE_FUNCTION extern "C" __attribute__((visibility("hidden")))
13 #define OTSUPPORTSOSMESSAGE_FUNCTION extern __attribute__((visibility("hidden")))
16 __attribute__((visibility("hidden")))
17 @interface OTSupportSOSMessage
: PBCodable
<NSCopying
>
19 OTSupportType _supported
;
26 @
property (nonatomic
) BOOL hasSupported
;
27 @
property (nonatomic
) OTSupportType supported
;
28 - (NSString
*)supportedAsString
:(OTSupportType
)value
;
29 - (OTSupportType
)StringAsSupported
:(NSString
*)str
;
31 // Performs a shallow copy into other
32 - (void)copyTo
:(OTSupportSOSMessage
*)other
;
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
;
40 OTSUPPORTSOSMESSAGE_FUNCTION BOOL
OTSupportSOSMessageReadFrom(__unsafe_unretained OTSupportSOSMessage
*self
, __unsafe_unretained PBDataReader
*reader
);