]> git.saurik.com Git - apple/security.git/blob - keychain/analytics/C2Metric/SECC2MPServerInfo.h
Security-59306.101.1.tar.gz
[apple/security.git] / keychain / analytics / C2Metric / SECC2MPServerInfo.h
1 // This file was automatically generated by protocompiler
2 // DO NOT EDIT!
3 // Compiled from C2Metric.proto
4
5 #import <Foundation/Foundation.h>
6 #import <ProtocolBuffer/PBCodable.h>
7
8 #ifdef __cplusplus
9 #define SECC2MPSERVERINFO_FUNCTION extern "C" __attribute__((visibility("hidden")))
10 #else
11 #define SECC2MPSERVERINFO_FUNCTION extern __attribute__((visibility("hidden")))
12 #endif
13
14 __attribute__((visibility("hidden")))
15 @interface SECC2MPServerInfo : PBCodable <NSCopying>
16 {
17 NSString *_partition;
18 NSString *_serviceBuild;
19 NSString *_serviceInstance;
20 NSString *_serviceName;
21 }
22
23
24 @property (nonatomic, readonly) BOOL hasServiceName;
25 @property (nonatomic, retain) NSString *serviceName;
26
27 @property (nonatomic, readonly) BOOL hasPartition;
28 @property (nonatomic, retain) NSString *partition;
29
30 @property (nonatomic, readonly) BOOL hasServiceBuild;
31 @property (nonatomic, retain) NSString *serviceBuild;
32
33 @property (nonatomic, readonly) BOOL hasServiceInstance;
34 @property (nonatomic, retain) NSString *serviceInstance;
35
36 // Performs a shallow copy into other
37 - (void)copyTo:(SECC2MPServerInfo *)other;
38
39 // Performs a deep merge from other into self
40 // If set in other, singular values in self are replaced in self
41 // Singular composite values are recursively merged
42 // Repeated values from other are appended to repeated values in self
43 - (void)mergeFrom:(SECC2MPServerInfo *)other;
44
45 SECC2MPSERVERINFO_FUNCTION BOOL SECC2MPServerInfoReadFrom(__unsafe_unretained SECC2MPServerInfo *self, __unsafe_unretained PBDataReader *reader);
46
47 @end
48