SECC2MPServerInfo.h   [plain text]


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

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

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

__attribute__((visibility("hidden")))
@interface SECC2MPServerInfo : PBCodable <NSCopying>
{
    NSString *_partition;
    NSString *_serviceBuild;
    NSString *_serviceInstance;
    NSString *_serviceName;
}


@property (nonatomic, readonly) BOOL hasServiceName;
@property (nonatomic, retain) NSString *serviceName;

@property (nonatomic, readonly) BOOL hasPartition;
@property (nonatomic, retain) NSString *partition;

@property (nonatomic, readonly) BOOL hasServiceBuild;
@property (nonatomic, retain) NSString *serviceBuild;

@property (nonatomic, readonly) BOOL hasServiceInstance;
@property (nonatomic, retain) NSString *serviceInstance;

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

SECC2MPSERVERINFO_FUNCTION BOOL SECC2MPServerInfoReadFrom(__unsafe_unretained SECC2MPServerInfo *self, __unsafe_unretained PBDataReader *reader);

@end