SECC2MPGenericEventMetric.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>

@class SECC2MPGenericEventMetricValue;

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

__attribute__((visibility("hidden")))
@interface SECC2MPGenericEventMetric : PBCodable <NSCopying>
{
    NSString *_key;
    SECC2MPGenericEventMetricValue *_value;
}


@property (nonatomic, readonly) BOOL hasKey;
@property (nonatomic, retain) NSString *key;

@property (nonatomic, readonly) BOOL hasValue;
@property (nonatomic, retain) SECC2MPGenericEventMetricValue *value;

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

SECC2MPGENERICEVENTMETRIC_FUNCTION BOOL SECC2MPGenericEventMetricReadFrom(__unsafe_unretained SECC2MPGenericEventMetric *self, __unsafe_unretained PBDataReader *reader);

@end