31 #import <Foundation/Foundation.h>
44 NS_ASSUME_NONNULL_BEGIN
49 #pragma mark - UInt32 -> UInt32
60 @property(nonatomic, readonly) NSUInteger
count;
71 - (instancetype)initWithUInt32s:(
const uint32_t [__nullable])
values
72 forKeys:(
const uint32_t [__nullable])keys
73 count:(NSUInteger)
count NS_DESIGNATED_INITIALIZER;
91 - (instancetype)initWithCapacity:(NSUInteger)numItems;
101 - (BOOL)getUInt32:(nullable uint32_t *)
value forKey:(uint32_t)
key;
111 - (
void)enumerateKeysAndUInt32sUsingBlock:
112 (
void (NS_NOESCAPE ^)(uint32_t
key, uint32_t
value, BOOL *stop))block;
135 - (
void)removeUInt32ForKey:(uint32_t)aKey;
144 #pragma mark - UInt32 -> Int32
155 @property(nonatomic, readonly) NSUInteger
count;
166 - (instancetype)initWithInt32s:(
const int32_t [__nullable])
values
167 forKeys:(
const uint32_t [__nullable])keys
168 count:(NSUInteger)
count NS_DESIGNATED_INITIALIZER;
186 - (instancetype)initWithCapacity:(NSUInteger)numItems;
196 - (BOOL)getInt32:(nullable int32_t *)
value forKey:(uint32_t)
key;
206 - (
void)enumerateKeysAndInt32sUsingBlock:
207 (
void (NS_NOESCAPE ^)(uint32_t
key, int32_t
value, BOOL *stop))block;
230 - (
void)removeInt32ForKey:(uint32_t)aKey;
239 #pragma mark - UInt32 -> UInt64
250 @property(nonatomic, readonly) NSUInteger
count;
261 - (instancetype)initWithUInt64s:(
const uint64_t [__nullable])
values
262 forKeys:(
const uint32_t [__nullable])keys
263 count:(NSUInteger)
count NS_DESIGNATED_INITIALIZER;
281 - (instancetype)initWithCapacity:(NSUInteger)numItems;
291 - (BOOL)getUInt64:(nullable uint64_t *)
value forKey:(uint32_t)
key;
301 - (
void)enumerateKeysAndUInt64sUsingBlock:
302 (
void (NS_NOESCAPE ^)(uint32_t
key, uint64_t
value, BOOL *stop))block;
325 - (
void)removeUInt64ForKey:(uint32_t)aKey;
334 #pragma mark - UInt32 -> Int64
345 @property(nonatomic, readonly) NSUInteger
count;
356 - (instancetype)initWithInt64s:(
const int64_t [__nullable])
values
357 forKeys:(
const uint32_t [__nullable])keys
358 count:(NSUInteger)
count NS_DESIGNATED_INITIALIZER;
376 - (instancetype)initWithCapacity:(NSUInteger)numItems;
386 - (BOOL)getInt64:(nullable int64_t *)
value forKey:(uint32_t)
key;
396 - (
void)enumerateKeysAndInt64sUsingBlock:
397 (
void (NS_NOESCAPE ^)(uint32_t
key, int64_t
value, BOOL *stop))block;
420 - (
void)removeInt64ForKey:(uint32_t)aKey;
429 #pragma mark - UInt32 -> Bool
440 @property(nonatomic, readonly) NSUInteger
count;
451 - (instancetype)initWithBools:(
const BOOL [__nullable])
values
452 forKeys:(
const uint32_t [__nullable])keys
453 count:(NSUInteger)
count NS_DESIGNATED_INITIALIZER;
471 - (instancetype)initWithCapacity:(NSUInteger)numItems;
481 - (BOOL)getBool:(nullable BOOL *)
value forKey:(uint32_t)
key;
491 - (
void)enumerateKeysAndBoolsUsingBlock:
492 (
void (NS_NOESCAPE ^)(uint32_t
key, BOOL
value, BOOL *stop))block;
515 - (
void)removeBoolForKey:(uint32_t)aKey;
524 #pragma mark - UInt32 -> Float
535 @property(nonatomic, readonly) NSUInteger
count;
546 - (instancetype)initWithFloats:(
const float [__nullable])
values
547 forKeys:(
const uint32_t [__nullable])keys
548 count:(NSUInteger)
count NS_DESIGNATED_INITIALIZER;
566 - (instancetype)initWithCapacity:(NSUInteger)numItems;
576 - (BOOL)getFloat:(nullable
float *)
value forKey:(uint32_t)
key;
586 - (
void)enumerateKeysAndFloatsUsingBlock:
587 (
void (NS_NOESCAPE ^)(uint32_t
key,
float value, BOOL *stop))block;
610 - (
void)removeFloatForKey:(uint32_t)aKey;
619 #pragma mark - UInt32 -> Double
630 @property(nonatomic, readonly) NSUInteger
count;
641 - (instancetype)initWithDoubles:(
const double [__nullable])
values
642 forKeys:(
const uint32_t [__nullable])keys
643 count:(NSUInteger)
count NS_DESIGNATED_INITIALIZER;
661 - (instancetype)initWithCapacity:(NSUInteger)numItems;
671 - (BOOL)getDouble:(nullable
double *)
value forKey:(uint32_t)
key;
681 - (
void)enumerateKeysAndDoublesUsingBlock:
682 (
void (NS_NOESCAPE ^)(uint32_t
key,
double value, BOOL *stop))block;
705 - (
void)removeDoubleForKey:(uint32_t)aKey;
714 #pragma mark - UInt32 -> Enum
725 @property(nonatomic, readonly) NSUInteger
count;
749 rawValues:(
const int32_t [__nullable])values
750 forKeys:(
const uint32_t [__nullable])keys
751 count:(NSUInteger)count NS_DESIGNATED_INITIALIZER;
773 capacity:(NSUInteger)numItems;
787 - (BOOL)getEnum:(nullable int32_t *)value forKey:(uint32_t)key;
797 - (
void)enumerateKeysAndEnumsUsingBlock:
798 (
void (NS_NOESCAPE ^)(uint32_t
key, int32_t
value, BOOL *stop))block;
811 - (BOOL)getRawValue:(nullable int32_t *)rawValue forKey:(uint32_t)key;
824 - (
void)enumerateKeysAndRawValuesUsingBlock:
825 (
void (NS_NOESCAPE ^)(uint32_t
key, int32_t rawValue, BOOL *stop))block;
849 - (
void)setEnum:(int32_t)value forKey:(uint32_t)key;
860 - (
void)setRawValue:(int32_t)rawValue forKey:(uint32_t)key;
867 - (
void)removeEnumForKey:(uint32_t)aKey;
876 #pragma mark - UInt32 -> Object
887 @property(nonatomic, readonly) NSUInteger
count;
898 - (instancetype)initWithObjects:(
const ObjectType __nonnull
GPB_UNSAFE_UNRETAINED [__nullable])objects
899 forKeys:(
const uint32_t [__nullable])keys
900 count:(NSUInteger)
count NS_DESIGNATED_INITIALIZER;
918 - (instancetype)initWithCapacity:(NSUInteger)numItems;
927 - (ObjectType)objectForKey:(uint32_t)
key;
937 - (
void)enumerateKeysAndObjectsUsingBlock:
938 (
void (NS_NOESCAPE ^)(uint32_t
key, ObjectType object, BOOL *stop))block;
954 - (
void)setObject:(ObjectType)
object forKey:(uint32_t)
key;
961 - (
void)removeObjectForKey:(uint32_t)aKey;
970 #pragma mark - Int32 -> UInt32
981 @property(nonatomic, readonly) NSUInteger
count;
992 - (instancetype)initWithUInt32s:(
const uint32_t [__nullable])
values
993 forKeys:(
const int32_t [__nullable])keys
994 count:(NSUInteger)
count NS_DESIGNATED_INITIALIZER;
1012 - (instancetype)initWithCapacity:(NSUInteger)numItems;
1022 - (BOOL)getUInt32:(nullable uint32_t *)
value forKey:(int32_t)
key;
1032 - (
void)enumerateKeysAndUInt32sUsingBlock:
1033 (
void (NS_NOESCAPE ^)(int32_t
key, uint32_t
value, BOOL *stop))block;
1056 - (
void)removeUInt32ForKey:(int32_t)aKey;
1065 #pragma mark - Int32 -> Int32
1076 @property(nonatomic, readonly) NSUInteger
count;
1087 - (instancetype)initWithInt32s:(
const int32_t [__nullable])
values
1088 forKeys:(
const int32_t [__nullable])keys
1089 count:(NSUInteger)
count NS_DESIGNATED_INITIALIZER;
1107 - (instancetype)initWithCapacity:(NSUInteger)numItems;
1117 - (BOOL)getInt32:(nullable int32_t *)
value forKey:(int32_t)
key;
1127 - (
void)enumerateKeysAndInt32sUsingBlock:
1128 (
void (NS_NOESCAPE ^)(int32_t
key, int32_t
value, BOOL *stop))block;
1151 - (
void)removeInt32ForKey:(int32_t)aKey;
1160 #pragma mark - Int32 -> UInt64
1171 @property(nonatomic, readonly) NSUInteger
count;
1182 - (instancetype)initWithUInt64s:(
const uint64_t [__nullable])
values
1183 forKeys:(
const int32_t [__nullable])keys
1184 count:(NSUInteger)
count NS_DESIGNATED_INITIALIZER;
1202 - (instancetype)initWithCapacity:(NSUInteger)numItems;
1212 - (BOOL)getUInt64:(nullable uint64_t *)
value forKey:(int32_t)
key;
1222 - (
void)enumerateKeysAndUInt64sUsingBlock:
1223 (
void (NS_NOESCAPE ^)(int32_t
key, uint64_t
value, BOOL *stop))block;
1246 - (
void)removeUInt64ForKey:(int32_t)aKey;
1255 #pragma mark - Int32 -> Int64
1266 @property(nonatomic, readonly) NSUInteger
count;
1277 - (instancetype)initWithInt64s:(
const int64_t [__nullable])
values
1278 forKeys:(
const int32_t [__nullable])keys
1279 count:(NSUInteger)
count NS_DESIGNATED_INITIALIZER;
1297 - (instancetype)initWithCapacity:(NSUInteger)numItems;
1307 - (BOOL)getInt64:(nullable int64_t *)
value forKey:(int32_t)
key;
1317 - (
void)enumerateKeysAndInt64sUsingBlock:
1318 (
void (NS_NOESCAPE ^)(int32_t
key, int64_t
value, BOOL *stop))block;
1341 - (
void)removeInt64ForKey:(int32_t)aKey;
1350 #pragma mark - Int32 -> Bool
1361 @property(nonatomic, readonly) NSUInteger
count;
1372 - (instancetype)initWithBools:(
const BOOL [__nullable])
values
1373 forKeys:(
const int32_t [__nullable])keys
1374 count:(NSUInteger)
count NS_DESIGNATED_INITIALIZER;
1392 - (instancetype)initWithCapacity:(NSUInteger)numItems;
1402 - (BOOL)getBool:(nullable BOOL *)
value forKey:(int32_t)
key;
1412 - (
void)enumerateKeysAndBoolsUsingBlock:
1413 (
void (NS_NOESCAPE ^)(int32_t
key, BOOL
value, BOOL *stop))block;
1436 - (
void)removeBoolForKey:(int32_t)aKey;
1445 #pragma mark - Int32 -> Float
1456 @property(nonatomic, readonly) NSUInteger
count;
1467 - (instancetype)initWithFloats:(
const float [__nullable])
values
1468 forKeys:(
const int32_t [__nullable])keys
1469 count:(NSUInteger)
count NS_DESIGNATED_INITIALIZER;
1487 - (instancetype)initWithCapacity:(NSUInteger)numItems;
1497 - (BOOL)getFloat:(nullable
float *)
value forKey:(int32_t)
key;
1507 - (
void)enumerateKeysAndFloatsUsingBlock:
1508 (
void (NS_NOESCAPE ^)(int32_t
key,
float value, BOOL *stop))block;
1531 - (
void)removeFloatForKey:(int32_t)aKey;
1540 #pragma mark - Int32 -> Double
1551 @property(nonatomic, readonly) NSUInteger
count;
1562 - (instancetype)initWithDoubles:(
const double [__nullable])
values
1563 forKeys:(
const int32_t [__nullable])keys
1564 count:(NSUInteger)
count NS_DESIGNATED_INITIALIZER;
1582 - (instancetype)initWithCapacity:(NSUInteger)numItems;
1592 - (BOOL)getDouble:(nullable
double *)
value forKey:(int32_t)
key;
1602 - (
void)enumerateKeysAndDoublesUsingBlock:
1603 (
void (NS_NOESCAPE ^)(int32_t
key,
double value, BOOL *stop))block;
1626 - (
void)removeDoubleForKey:(int32_t)aKey;
1635 #pragma mark - Int32 -> Enum
1646 @property(nonatomic, readonly) NSUInteger
count;
1670 rawValues:(
const int32_t [__nullable])values
1671 forKeys:(
const int32_t [__nullable])keys
1672 count:(NSUInteger)count NS_DESIGNATED_INITIALIZER;
1694 capacity:(NSUInteger)numItems;
1708 - (BOOL)getEnum:(nullable int32_t *)value forKey:(int32_t)key;
1718 - (
void)enumerateKeysAndEnumsUsingBlock:
1719 (
void (NS_NOESCAPE ^)(int32_t
key, int32_t
value, BOOL *stop))block;
1732 - (BOOL)getRawValue:(nullable int32_t *)rawValue forKey:(int32_t)key;
1745 - (
void)enumerateKeysAndRawValuesUsingBlock:
1746 (
void (NS_NOESCAPE ^)(int32_t
key, int32_t rawValue, BOOL *stop))block;
1770 - (
void)setEnum:(int32_t)value forKey:(int32_t)key;
1781 - (
void)setRawValue:(int32_t)rawValue forKey:(int32_t)key;
1788 - (
void)removeEnumForKey:(int32_t)aKey;
1797 #pragma mark - Int32 -> Object
1808 @property(nonatomic, readonly) NSUInteger
count;
1819 - (instancetype)initWithObjects:(
const ObjectType __nonnull
GPB_UNSAFE_UNRETAINED [__nullable])objects
1820 forKeys:(
const int32_t [__nullable])keys
1821 count:(NSUInteger)
count NS_DESIGNATED_INITIALIZER;
1839 - (instancetype)initWithCapacity:(NSUInteger)numItems;
1848 - (ObjectType)objectForKey:(int32_t)
key;
1858 - (
void)enumerateKeysAndObjectsUsingBlock:
1859 (
void (NS_NOESCAPE ^)(int32_t
key, ObjectType object, BOOL *stop))block;
1875 - (
void)setObject:(ObjectType)
object forKey:(int32_t)
key;
1882 - (
void)removeObjectForKey:(int32_t)aKey;
1891 #pragma mark - UInt64 -> UInt32
1902 @property(nonatomic, readonly) NSUInteger
count;
1913 - (instancetype)initWithUInt32s:(
const uint32_t [__nullable])
values
1914 forKeys:(
const uint64_t [__nullable])keys
1915 count:(NSUInteger)
count NS_DESIGNATED_INITIALIZER;
1933 - (instancetype)initWithCapacity:(NSUInteger)numItems;
1943 - (BOOL)getUInt32:(nullable uint32_t *)
value forKey:(uint64_t)
key;
1953 - (
void)enumerateKeysAndUInt32sUsingBlock:
1954 (
void (NS_NOESCAPE ^)(uint64_t
key, uint32_t
value, BOOL *stop))block;
1970 - (
void)setUInt32:(uint32_t)
value forKey:(uint64_t)
key;
1977 - (
void)removeUInt32ForKey:(uint64_t)aKey;
1986 #pragma mark - UInt64 -> Int32
1997 @property(nonatomic, readonly) NSUInteger
count;
2008 - (instancetype)initWithInt32s:(
const int32_t [__nullable])
values
2009 forKeys:(
const uint64_t [__nullable])keys
2010 count:(NSUInteger)
count NS_DESIGNATED_INITIALIZER;
2028 - (instancetype)initWithCapacity:(NSUInteger)numItems;
2038 - (BOOL)getInt32:(nullable int32_t *)
value forKey:(uint64_t)
key;
2048 - (
void)enumerateKeysAndInt32sUsingBlock:
2049 (
void (NS_NOESCAPE ^)(uint64_t
key, int32_t
value, BOOL *stop))block;
2072 - (
void)removeInt32ForKey:(uint64_t)aKey;
2081 #pragma mark - UInt64 -> UInt64
2092 @property(nonatomic, readonly) NSUInteger
count;
2103 - (instancetype)initWithUInt64s:(
const uint64_t [__nullable])
values
2104 forKeys:(
const uint64_t [__nullable])keys
2105 count:(NSUInteger)
count NS_DESIGNATED_INITIALIZER;
2123 - (instancetype)initWithCapacity:(NSUInteger)numItems;
2133 - (BOOL)getUInt64:(nullable uint64_t *)
value forKey:(uint64_t)
key;
2143 - (
void)enumerateKeysAndUInt64sUsingBlock:
2144 (
void (NS_NOESCAPE ^)(uint64_t
key, uint64_t
value, BOOL *stop))block;
2160 - (
void)setUInt64:(uint64_t)
value forKey:(uint64_t)
key;
2167 - (
void)removeUInt64ForKey:(uint64_t)aKey;
2176 #pragma mark - UInt64 -> Int64
2187 @property(nonatomic, readonly) NSUInteger
count;
2198 - (instancetype)initWithInt64s:(
const int64_t [__nullable])
values
2199 forKeys:(
const uint64_t [__nullable])keys
2200 count:(NSUInteger)
count NS_DESIGNATED_INITIALIZER;
2218 - (instancetype)initWithCapacity:(NSUInteger)numItems;
2228 - (BOOL)getInt64:(nullable int64_t *)
value forKey:(uint64_t)
key;
2238 - (
void)enumerateKeysAndInt64sUsingBlock:
2239 (
void (NS_NOESCAPE ^)(uint64_t
key, int64_t
value, BOOL *stop))block;
2262 - (
void)removeInt64ForKey:(uint64_t)aKey;
2271 #pragma mark - UInt64 -> Bool
2282 @property(nonatomic, readonly) NSUInteger
count;
2293 - (instancetype)initWithBools:(
const BOOL [__nullable])
values
2294 forKeys:(
const uint64_t [__nullable])keys
2295 count:(NSUInteger)
count NS_DESIGNATED_INITIALIZER;
2313 - (instancetype)initWithCapacity:(NSUInteger)numItems;
2323 - (BOOL)getBool:(nullable BOOL *)
value forKey:(uint64_t)
key;
2333 - (
void)enumerateKeysAndBoolsUsingBlock:
2334 (
void (NS_NOESCAPE ^)(uint64_t
key, BOOL
value, BOOL *stop))block;
2357 - (
void)removeBoolForKey:(uint64_t)aKey;
2366 #pragma mark - UInt64 -> Float
2377 @property(nonatomic, readonly) NSUInteger
count;
2388 - (instancetype)initWithFloats:(
const float [__nullable])
values
2389 forKeys:(
const uint64_t [__nullable])keys
2390 count:(NSUInteger)
count NS_DESIGNATED_INITIALIZER;
2408 - (instancetype)initWithCapacity:(NSUInteger)numItems;
2418 - (BOOL)getFloat:(nullable
float *)
value forKey:(uint64_t)
key;
2428 - (
void)enumerateKeysAndFloatsUsingBlock:
2429 (
void (NS_NOESCAPE ^)(uint64_t
key,
float value, BOOL *stop))block;
2452 - (
void)removeFloatForKey:(uint64_t)aKey;
2461 #pragma mark - UInt64 -> Double
2472 @property(nonatomic, readonly) NSUInteger
count;
2483 - (instancetype)initWithDoubles:(
const double [__nullable])
values
2484 forKeys:(
const uint64_t [__nullable])keys
2485 count:(NSUInteger)
count NS_DESIGNATED_INITIALIZER;
2503 - (instancetype)initWithCapacity:(NSUInteger)numItems;
2513 - (BOOL)getDouble:(nullable
double *)
value forKey:(uint64_t)
key;
2523 - (
void)enumerateKeysAndDoublesUsingBlock:
2524 (
void (NS_NOESCAPE ^)(uint64_t
key,
double value, BOOL *stop))block;
2547 - (
void)removeDoubleForKey:(uint64_t)aKey;
2556 #pragma mark - UInt64 -> Enum
2567 @property(nonatomic, readonly) NSUInteger
count;
2591 rawValues:(
const int32_t [__nullable])values
2592 forKeys:(
const uint64_t [__nullable])keys
2593 count:(NSUInteger)count NS_DESIGNATED_INITIALIZER;
2615 capacity:(NSUInteger)numItems;
2629 - (BOOL)getEnum:(nullable int32_t *)value forKey:(uint64_t)key;
2639 - (
void)enumerateKeysAndEnumsUsingBlock:
2640 (
void (NS_NOESCAPE ^)(uint64_t
key, int32_t
value, BOOL *stop))block;
2653 - (BOOL)getRawValue:(nullable int32_t *)rawValue forKey:(uint64_t)key;
2666 - (
void)enumerateKeysAndRawValuesUsingBlock:
2667 (
void (NS_NOESCAPE ^)(uint64_t
key, int32_t rawValue, BOOL *stop))block;
2691 - (
void)setEnum:(int32_t)value forKey:(uint64_t)key;
2702 - (
void)setRawValue:(int32_t)rawValue forKey:(uint64_t)key;
2709 - (
void)removeEnumForKey:(uint64_t)aKey;
2718 #pragma mark - UInt64 -> Object
2729 @property(nonatomic, readonly) NSUInteger
count;
2740 - (instancetype)initWithObjects:(
const ObjectType __nonnull
GPB_UNSAFE_UNRETAINED [__nullable])objects
2741 forKeys:(
const uint64_t [__nullable])keys
2742 count:(NSUInteger)
count NS_DESIGNATED_INITIALIZER;
2760 - (instancetype)initWithCapacity:(NSUInteger)numItems;
2769 - (ObjectType)objectForKey:(uint64_t)
key;
2779 - (
void)enumerateKeysAndObjectsUsingBlock:
2780 (
void (NS_NOESCAPE ^)(uint64_t
key, ObjectType object, BOOL *stop))block;
2796 - (
void)setObject:(ObjectType)
object forKey:(uint64_t)
key;
2803 - (
void)removeObjectForKey:(uint64_t)aKey;
2812 #pragma mark - Int64 -> UInt32
2823 @property(nonatomic, readonly) NSUInteger
count;
2834 - (instancetype)initWithUInt32s:(
const uint32_t [__nullable])
values
2835 forKeys:(
const int64_t [__nullable])keys
2836 count:(NSUInteger)
count NS_DESIGNATED_INITIALIZER;
2854 - (instancetype)initWithCapacity:(NSUInteger)numItems;
2864 - (BOOL)getUInt32:(nullable uint32_t *)
value forKey:(int64_t)
key;
2874 - (
void)enumerateKeysAndUInt32sUsingBlock:
2875 (
void (NS_NOESCAPE ^)(int64_t
key, uint32_t
value, BOOL *stop))block;
2898 - (
void)removeUInt32ForKey:(int64_t)aKey;
2907 #pragma mark - Int64 -> Int32
2918 @property(nonatomic, readonly) NSUInteger
count;
2929 - (instancetype)initWithInt32s:(
const int32_t [__nullable])
values
2930 forKeys:(
const int64_t [__nullable])keys
2931 count:(NSUInteger)
count NS_DESIGNATED_INITIALIZER;
2949 - (instancetype)initWithCapacity:(NSUInteger)numItems;
2959 - (BOOL)getInt32:(nullable int32_t *)
value forKey:(int64_t)
key;
2969 - (
void)enumerateKeysAndInt32sUsingBlock:
2970 (
void (NS_NOESCAPE ^)(int64_t
key, int32_t
value, BOOL *stop))block;
2993 - (
void)removeInt32ForKey:(int64_t)aKey;
3002 #pragma mark - Int64 -> UInt64
3013 @property(nonatomic, readonly) NSUInteger
count;
3024 - (instancetype)initWithUInt64s:(
const uint64_t [__nullable])
values
3025 forKeys:(
const int64_t [__nullable])keys
3026 count:(NSUInteger)
count NS_DESIGNATED_INITIALIZER;
3044 - (instancetype)initWithCapacity:(NSUInteger)numItems;
3054 - (BOOL)getUInt64:(nullable uint64_t *)
value forKey:(int64_t)
key;
3064 - (
void)enumerateKeysAndUInt64sUsingBlock:
3065 (
void (NS_NOESCAPE ^)(int64_t
key, uint64_t
value, BOOL *stop))block;
3088 - (
void)removeUInt64ForKey:(int64_t)aKey;
3097 #pragma mark - Int64 -> Int64
3108 @property(nonatomic, readonly) NSUInteger
count;
3119 - (instancetype)initWithInt64s:(
const int64_t [__nullable])
values
3120 forKeys:(
const int64_t [__nullable])keys
3121 count:(NSUInteger)
count NS_DESIGNATED_INITIALIZER;
3139 - (instancetype)initWithCapacity:(NSUInteger)numItems;
3149 - (BOOL)getInt64:(nullable int64_t *)
value forKey:(int64_t)
key;
3159 - (
void)enumerateKeysAndInt64sUsingBlock:
3160 (
void (NS_NOESCAPE ^)(int64_t
key, int64_t
value, BOOL *stop))block;
3183 - (
void)removeInt64ForKey:(int64_t)aKey;
3192 #pragma mark - Int64 -> Bool
3203 @property(nonatomic, readonly) NSUInteger
count;
3214 - (instancetype)initWithBools:(
const BOOL [__nullable])
values
3215 forKeys:(
const int64_t [__nullable])keys
3216 count:(NSUInteger)
count NS_DESIGNATED_INITIALIZER;
3234 - (instancetype)initWithCapacity:(NSUInteger)numItems;
3244 - (BOOL)getBool:(nullable BOOL *)
value forKey:(int64_t)
key;
3254 - (
void)enumerateKeysAndBoolsUsingBlock:
3255 (
void (NS_NOESCAPE ^)(int64_t
key, BOOL
value, BOOL *stop))block;
3278 - (
void)removeBoolForKey:(int64_t)aKey;
3287 #pragma mark - Int64 -> Float
3298 @property(nonatomic, readonly) NSUInteger
count;
3309 - (instancetype)initWithFloats:(
const float [__nullable])
values
3310 forKeys:(
const int64_t [__nullable])keys
3311 count:(NSUInteger)
count NS_DESIGNATED_INITIALIZER;
3329 - (instancetype)initWithCapacity:(NSUInteger)numItems;
3339 - (BOOL)getFloat:(nullable
float *)
value forKey:(int64_t)
key;
3349 - (
void)enumerateKeysAndFloatsUsingBlock:
3350 (
void (NS_NOESCAPE ^)(int64_t
key,
float value, BOOL *stop))block;
3373 - (
void)removeFloatForKey:(int64_t)aKey;
3382 #pragma mark - Int64 -> Double
3393 @property(nonatomic, readonly) NSUInteger
count;
3404 - (instancetype)initWithDoubles:(
const double [__nullable])
values
3405 forKeys:(
const int64_t [__nullable])keys
3406 count:(NSUInteger)
count NS_DESIGNATED_INITIALIZER;
3424 - (instancetype)initWithCapacity:(NSUInteger)numItems;
3434 - (BOOL)getDouble:(nullable
double *)
value forKey:(int64_t)
key;
3444 - (
void)enumerateKeysAndDoublesUsingBlock:
3445 (
void (NS_NOESCAPE ^)(int64_t
key,
double value, BOOL *stop))block;
3468 - (
void)removeDoubleForKey:(int64_t)aKey;
3477 #pragma mark - Int64 -> Enum
3488 @property(nonatomic, readonly) NSUInteger
count;
3512 rawValues:(
const int32_t [__nullable])values
3513 forKeys:(
const int64_t [__nullable])keys
3514 count:(NSUInteger)count NS_DESIGNATED_INITIALIZER;
3536 capacity:(NSUInteger)numItems;
3550 - (BOOL)getEnum:(nullable int32_t *)value forKey:(int64_t)key;
3560 - (
void)enumerateKeysAndEnumsUsingBlock:
3561 (
void (NS_NOESCAPE ^)(int64_t
key, int32_t
value, BOOL *stop))block;
3574 - (BOOL)getRawValue:(nullable int32_t *)rawValue forKey:(int64_t)key;
3587 - (
void)enumerateKeysAndRawValuesUsingBlock:
3588 (
void (NS_NOESCAPE ^)(int64_t
key, int32_t rawValue, BOOL *stop))block;
3612 - (
void)setEnum:(int32_t)value forKey:(int64_t)key;
3623 - (
void)setRawValue:(int32_t)rawValue forKey:(int64_t)key;
3630 - (
void)removeEnumForKey:(int64_t)aKey;
3639 #pragma mark - Int64 -> Object
3650 @property(nonatomic, readonly) NSUInteger
count;
3661 - (instancetype)initWithObjects:(
const ObjectType __nonnull
GPB_UNSAFE_UNRETAINED [__nullable])objects
3662 forKeys:(
const int64_t [__nullable])keys
3663 count:(NSUInteger)
count NS_DESIGNATED_INITIALIZER;
3681 - (instancetype)initWithCapacity:(NSUInteger)numItems;
3690 - (ObjectType)objectForKey:(int64_t)
key;
3700 - (
void)enumerateKeysAndObjectsUsingBlock:
3701 (
void (NS_NOESCAPE ^)(int64_t
key, ObjectType object, BOOL *stop))block;
3717 - (
void)setObject:(ObjectType)
object forKey:(int64_t)
key;
3724 - (
void)removeObjectForKey:(int64_t)aKey;
3733 #pragma mark - Bool -> UInt32
3744 @property(nonatomic, readonly) NSUInteger
count;
3755 - (instancetype)initWithUInt32s:(
const uint32_t [__nullable])
values
3756 forKeys:(
const BOOL [__nullable])keys
3757 count:(NSUInteger)
count NS_DESIGNATED_INITIALIZER;
3775 - (instancetype)initWithCapacity:(NSUInteger)numItems;
3785 - (BOOL)getUInt32:(nullable uint32_t *)
value forKey:(BOOL)
key;
3795 - (
void)enumerateKeysAndUInt32sUsingBlock:
3796 (
void (NS_NOESCAPE ^)(BOOL
key, uint32_t
value, BOOL *stop))block;
3819 - (
void)removeUInt32ForKey:(BOOL)aKey;
3828 #pragma mark - Bool -> Int32
3839 @property(nonatomic, readonly) NSUInteger
count;
3850 - (instancetype)initWithInt32s:(
const int32_t [__nullable])
values
3851 forKeys:(
const BOOL [__nullable])keys
3852 count:(NSUInteger)
count NS_DESIGNATED_INITIALIZER;
3870 - (instancetype)initWithCapacity:(NSUInteger)numItems;
3880 - (BOOL)getInt32:(nullable int32_t *)
value forKey:(BOOL)
key;
3890 - (
void)enumerateKeysAndInt32sUsingBlock:
3891 (
void (NS_NOESCAPE ^)(BOOL
key, int32_t
value, BOOL *stop))block;
3914 - (
void)removeInt32ForKey:(BOOL)aKey;
3923 #pragma mark - Bool -> UInt64
3934 @property(nonatomic, readonly) NSUInteger
count;
3945 - (instancetype)initWithUInt64s:(
const uint64_t [__nullable])
values
3946 forKeys:(
const BOOL [__nullable])keys
3947 count:(NSUInteger)
count NS_DESIGNATED_INITIALIZER;
3965 - (instancetype)initWithCapacity:(NSUInteger)numItems;
3975 - (BOOL)getUInt64:(nullable uint64_t *)
value forKey:(BOOL)
key;
3985 - (
void)enumerateKeysAndUInt64sUsingBlock:
3986 (
void (NS_NOESCAPE ^)(BOOL
key, uint64_t
value, BOOL *stop))block;
4009 - (
void)removeUInt64ForKey:(BOOL)aKey;
4018 #pragma mark - Bool -> Int64
4029 @property(nonatomic, readonly) NSUInteger
count;
4040 - (instancetype)initWithInt64s:(
const int64_t [__nullable])
values
4041 forKeys:(
const BOOL [__nullable])keys
4042 count:(NSUInteger)
count NS_DESIGNATED_INITIALIZER;
4060 - (instancetype)initWithCapacity:(NSUInteger)numItems;
4070 - (BOOL)getInt64:(nullable int64_t *)
value forKey:(BOOL)
key;
4080 - (
void)enumerateKeysAndInt64sUsingBlock:
4081 (
void (NS_NOESCAPE ^)(BOOL
key, int64_t
value, BOOL *stop))block;
4104 - (
void)removeInt64ForKey:(BOOL)aKey;
4113 #pragma mark - Bool -> Bool
4124 @property(nonatomic, readonly) NSUInteger
count;
4135 - (instancetype)initWithBools:(
const BOOL [__nullable])
values
4136 forKeys:(
const BOOL [__nullable])keys
4137 count:(NSUInteger)
count NS_DESIGNATED_INITIALIZER;
4155 - (instancetype)initWithCapacity:(NSUInteger)numItems;
4165 - (BOOL)getBool:(nullable BOOL *)
value forKey:(BOOL)
key;
4175 - (
void)enumerateKeysAndBoolsUsingBlock:
4176 (
void (NS_NOESCAPE ^)(BOOL
key, BOOL
value, BOOL *stop))block;
4199 - (
void)removeBoolForKey:(BOOL)aKey;
4208 #pragma mark - Bool -> Float
4219 @property(nonatomic, readonly) NSUInteger
count;
4230 - (instancetype)initWithFloats:(
const float [__nullable])
values
4231 forKeys:(
const BOOL [__nullable])keys
4232 count:(NSUInteger)
count NS_DESIGNATED_INITIALIZER;
4250 - (instancetype)initWithCapacity:(NSUInteger)numItems;
4260 - (BOOL)getFloat:(nullable
float *)
value forKey:(BOOL)
key;
4270 - (
void)enumerateKeysAndFloatsUsingBlock:
4271 (
void (NS_NOESCAPE ^)(BOOL
key,
float value, BOOL *stop))block;
4294 - (
void)removeFloatForKey:(BOOL)aKey;
4303 #pragma mark - Bool -> Double
4314 @property(nonatomic, readonly) NSUInteger
count;
4325 - (instancetype)initWithDoubles:(
const double [__nullable])
values
4326 forKeys:(
const BOOL [__nullable])keys
4327 count:(NSUInteger)
count NS_DESIGNATED_INITIALIZER;
4345 - (instancetype)initWithCapacity:(NSUInteger)numItems;
4355 - (BOOL)getDouble:(nullable
double *)
value forKey:(BOOL)
key;
4365 - (
void)enumerateKeysAndDoublesUsingBlock:
4366 (
void (NS_NOESCAPE ^)(BOOL
key,
double value, BOOL *stop))block;
4389 - (
void)removeDoubleForKey:(BOOL)aKey;
4398 #pragma mark - Bool -> Enum
4409 @property(nonatomic, readonly) NSUInteger
count;
4433 rawValues:(
const int32_t [__nullable])values
4434 forKeys:(
const BOOL [__nullable])keys
4435 count:(NSUInteger)count NS_DESIGNATED_INITIALIZER;
4457 capacity:(NSUInteger)numItems;
4471 - (BOOL)getEnum:(nullable int32_t *)value forKey:(BOOL)key;
4481 - (
void)enumerateKeysAndEnumsUsingBlock:
4482 (
void (NS_NOESCAPE ^)(BOOL
key, int32_t
value, BOOL *stop))block;
4495 - (BOOL)getRawValue:(nullable int32_t *)rawValue forKey:(BOOL)key;
4508 - (
void)enumerateKeysAndRawValuesUsingBlock:
4509 (
void (NS_NOESCAPE ^)(BOOL
key, int32_t rawValue, BOOL *stop))block;
4533 - (
void)setEnum:(int32_t)value forKey:(BOOL)key;
4544 - (
void)setRawValue:(int32_t)rawValue forKey:(BOOL)key;
4551 - (
void)removeEnumForKey:(BOOL)aKey;
4560 #pragma mark - Bool -> Object
4571 @property(nonatomic, readonly) NSUInteger
count;
4582 - (instancetype)initWithObjects:(
const ObjectType __nonnull
GPB_UNSAFE_UNRETAINED [__nullable])objects
4583 forKeys:(
const BOOL [__nullable])keys
4584 count:(NSUInteger)
count NS_DESIGNATED_INITIALIZER;
4602 - (instancetype)initWithCapacity:(NSUInteger)numItems;
4611 - (ObjectType)objectForKey:(BOOL)
key;
4621 - (
void)enumerateKeysAndObjectsUsingBlock:
4622 (
void (NS_NOESCAPE ^)(BOOL
key, ObjectType object, BOOL *stop))block;
4638 - (
void)setObject:(ObjectType)
object forKey:(BOOL)
key;
4645 - (
void)removeObjectForKey:(BOOL)aKey;
4654 #pragma mark - String -> UInt32
4665 @property(nonatomic, readonly) NSUInteger
count;
4676 - (instancetype)initWithUInt32s:(
const uint32_t [__nullable])
values
4678 count:(NSUInteger)
count NS_DESIGNATED_INITIALIZER;
4696 - (instancetype)initWithCapacity:(NSUInteger)numItems;
4706 - (BOOL)getUInt32:(nullable uint32_t *)
value forKey:(NSString *)
key;
4716 - (
void)enumerateKeysAndUInt32sUsingBlock:
4717 (
void (NS_NOESCAPE ^)(NSString *
key, uint32_t
value, BOOL *stop))block;
4733 - (
void)setUInt32:(uint32_t)
value forKey:(NSString *)
key;
4740 - (
void)removeUInt32ForKey:(NSString *)aKey;
4749 #pragma mark - String -> Int32
4760 @property(nonatomic, readonly) NSUInteger
count;
4771 - (instancetype)initWithInt32s:(
const int32_t [__nullable])
values
4773 count:(NSUInteger)
count NS_DESIGNATED_INITIALIZER;
4791 - (instancetype)initWithCapacity:(NSUInteger)numItems;
4801 - (BOOL)getInt32:(nullable int32_t *)
value forKey:(NSString *)
key;
4811 - (
void)enumerateKeysAndInt32sUsingBlock:
4812 (
void (NS_NOESCAPE ^)(NSString *
key, int32_t
value, BOOL *stop))block;
4828 - (
void)setInt32:(int32_t)
value forKey:(NSString *)
key;
4835 - (
void)removeInt32ForKey:(NSString *)aKey;
4844 #pragma mark - String -> UInt64
4855 @property(nonatomic, readonly) NSUInteger
count;
4866 - (instancetype)initWithUInt64s:(
const uint64_t [__nullable])
values
4868 count:(NSUInteger)
count NS_DESIGNATED_INITIALIZER;
4886 - (instancetype)initWithCapacity:(NSUInteger)numItems;
4896 - (BOOL)getUInt64:(nullable uint64_t *)
value forKey:(NSString *)
key;
4906 - (
void)enumerateKeysAndUInt64sUsingBlock:
4907 (
void (NS_NOESCAPE ^)(NSString *
key, uint64_t
value, BOOL *stop))block;
4923 - (
void)setUInt64:(uint64_t)
value forKey:(NSString *)
key;
4930 - (
void)removeUInt64ForKey:(NSString *)aKey;
4939 #pragma mark - String -> Int64
4950 @property(nonatomic, readonly) NSUInteger
count;
4961 - (instancetype)initWithInt64s:(
const int64_t [__nullable])
values
4963 count:(NSUInteger)
count NS_DESIGNATED_INITIALIZER;
4981 - (instancetype)initWithCapacity:(NSUInteger)numItems;
4991 - (BOOL)getInt64:(nullable int64_t *)
value forKey:(NSString *)
key;
5001 - (
void)enumerateKeysAndInt64sUsingBlock:
5002 (
void (NS_NOESCAPE ^)(NSString *
key, int64_t
value, BOOL *stop))block;
5018 - (
void)setInt64:(int64_t)
value forKey:(NSString *)
key;
5025 - (
void)removeInt64ForKey:(NSString *)aKey;
5034 #pragma mark - String -> Bool
5045 @property(nonatomic, readonly) NSUInteger
count;
5056 - (instancetype)initWithBools:(
const BOOL [__nullable])
values
5058 count:(NSUInteger)
count NS_DESIGNATED_INITIALIZER;
5076 - (instancetype)initWithCapacity:(NSUInteger)numItems;
5086 - (BOOL)getBool:(nullable BOOL *)
value forKey:(NSString *)
key;
5096 - (
void)enumerateKeysAndBoolsUsingBlock:
5097 (
void (NS_NOESCAPE ^)(NSString *
key, BOOL
value, BOOL *stop))block;
5120 - (
void)removeBoolForKey:(NSString *)aKey;
5129 #pragma mark - String -> Float
5140 @property(nonatomic, readonly) NSUInteger
count;
5151 - (instancetype)initWithFloats:(
const float [__nullable])
values
5153 count:(NSUInteger)
count NS_DESIGNATED_INITIALIZER;
5171 - (instancetype)initWithCapacity:(NSUInteger)numItems;
5181 - (BOOL)getFloat:(nullable
float *)
value forKey:(NSString *)
key;
5191 - (
void)enumerateKeysAndFloatsUsingBlock:
5192 (
void (NS_NOESCAPE ^)(NSString *
key,
float value, BOOL *stop))block;
5215 - (
void)removeFloatForKey:(NSString *)aKey;
5224 #pragma mark - String -> Double
5235 @property(nonatomic, readonly) NSUInteger
count;
5246 - (instancetype)initWithDoubles:(
const double [__nullable])
values
5248 count:(NSUInteger)
count NS_DESIGNATED_INITIALIZER;
5266 - (instancetype)initWithCapacity:(NSUInteger)numItems;
5276 - (BOOL)getDouble:(nullable
double *)
value forKey:(NSString *)
key;
5286 - (
void)enumerateKeysAndDoublesUsingBlock:
5287 (
void (NS_NOESCAPE ^)(NSString *
key,
double value, BOOL *stop))block;
5303 - (
void)setDouble:(
double)
value forKey:(NSString *)
key;
5310 - (
void)removeDoubleForKey:(NSString *)aKey;
5319 #pragma mark - String -> Enum
5330 @property(nonatomic, readonly) NSUInteger
count;
5354 rawValues:(
const int32_t [__nullable])values
5356 count:(NSUInteger)count NS_DESIGNATED_INITIALIZER;
5378 capacity:(NSUInteger)numItems;
5392 - (BOOL)getEnum:(nullable int32_t *)value forKey:(NSString *)key;
5402 - (
void)enumerateKeysAndEnumsUsingBlock:
5403 (
void (NS_NOESCAPE ^)(NSString *
key, int32_t
value, BOOL *stop))block;
5416 - (BOOL)getRawValue:(nullable int32_t *)rawValue forKey:(NSString *)key;
5429 - (
void)enumerateKeysAndRawValuesUsingBlock:
5430 (
void (NS_NOESCAPE ^)(NSString *
key, int32_t rawValue, BOOL *stop))block;
5454 - (
void)setEnum:(int32_t)value forKey:(NSString *)key;
5465 - (
void)setRawValue:(int32_t)rawValue forKey:(NSString *)key;
5472 - (
void)removeEnumForKey:(NSString *)aKey;
5483 NS_ASSUME_NONNULL_END