blob: bf5a8e190f6232254bd705e62d4bf9f95f9775f4 [file] [log] [blame]
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -04001// Generated by the protocol buffer compiler. DO NOT EDIT!
Thomas Van Lenten7c646282022-09-19 13:19:31 -04002// clang-format off
Thomas Van Lenten672adeb2022-10-06 16:16:07 -04003// source: google/protobuf/wrappers.proto
Thomas Van Lenten7c646282022-09-19 13:19:31 -04004
Thomas Van Lenten020e4e32022-03-01 14:16:50 -05005#import "GPBProtocolBuffers_RuntimeSupport.h"
6#import "GPBWrappers.pbobjc.h"
Thomas Van Lenten7da023b2016-05-09 13:53:20 -04007
Protobuf Team Bote4d70bb2023-02-08 10:17:46 -08008#if GOOGLE_PROTOBUF_OBJC_VERSION < 30007
9#error This file was generated by a newer version of protoc which is incompatible with your Protocol Buffer library sources.
10#endif
11#if 30007 < GOOGLE_PROTOBUF_OBJC_MIN_SUPPORTED_VERSION
12#error This file was generated by an older version of protoc which is incompatible with your Protocol Buffer library sources.
13#endif
14
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040015// @@protoc_insertion_point(imports)
16
Thomas Van Lentene664aa62016-04-19 13:13:04 -040017#pragma clang diagnostic push
18#pragma clang diagnostic ignored "-Wdeprecated-declarations"
Protobuf Team Botbf7de742023-02-02 11:29:54 -080019#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
20
Protobuf Team Botaeae4302023-02-09 07:43:26 -080021#pragma mark - Objective-C Class declarations
22// Forward declarations of Objective-C classes that we can use as
Protobuf Team Botbf7de742023-02-02 11:29:54 -080023// static values in struct initializers.
24// We don't use [Foo class] because it is not a static value.
25GPBObjCClassDeclaration(GPBBoolValue);
26GPBObjCClassDeclaration(GPBBytesValue);
27GPBObjCClassDeclaration(GPBDoubleValue);
28GPBObjCClassDeclaration(GPBFloatValue);
29GPBObjCClassDeclaration(GPBInt32Value);
30GPBObjCClassDeclaration(GPBInt64Value);
31GPBObjCClassDeclaration(GPBStringValue);
32GPBObjCClassDeclaration(GPBUInt32Value);
33GPBObjCClassDeclaration(GPBUInt64Value);
Thomas Van Lentene664aa62016-04-19 13:13:04 -040034
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040035#pragma mark - GPBWrappersRoot
36
37@implementation GPBWrappersRoot
38
Thomas Van Lenten740d3142023-08-14 10:04:53 -070039// No extensions in the file and no imports or none of the imports (direct or
40// indirect) defined extensions, so no need to generate +extensionRegistry.
Thomas Van Lenten13a41242016-09-01 11:45:50 -040041
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040042@end
43
Protobuf Team Bot4ed02cc2023-02-08 06:31:58 -080044static GPBFileDescription GPBWrappersRoot_FileDescription = {
45 .package = "google.protobuf",
46 .prefix = "GPB",
47 .syntax = GPBFileSyntaxProto3
48};
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040049
50#pragma mark - GPBDoubleValue
51
52@implementation GPBDoubleValue
53
54@dynamic value;
55
Thomas Van Lentend846b0b2015-06-08 16:24:57 -040056typedef struct GPBDoubleValue__storage_ {
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040057 uint32_t _has_storage_[1];
58 double value;
Thomas Van Lentend846b0b2015-06-08 16:24:57 -040059} GPBDoubleValue__storage_;
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040060
61// This method is threadsafe because it is initially called
62// in +initialize for each subclass.
63+ (GPBDescriptor *)descriptor {
Thomas Van Lentend846b0b2015-06-08 16:24:57 -040064 static GPBDescriptor *descriptor = nil;
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040065 if (!descriptor) {
Protobuf Team Bot78376c32023-01-31 11:29:07 -080066 GPB_DEBUG_CHECK_RUNTIME_VERSIONS();
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040067 static GPBMessageFieldDescription fields[] = {
68 {
69 .name = "value",
Dave MacLachlan74956e12019-12-17 17:32:09 -080070 .dataTypeSpecific.clazz = Nil,
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040071 .number = GPBDoubleValue_FieldNumber_Value,
72 .hasIndex = 0,
Thomas Van Lenten79a23c42016-03-17 10:04:21 -040073 .offset = (uint32_t)offsetof(GPBDoubleValue__storage_, value),
Thomas Van Lentenb0e27922020-04-13 13:36:56 -040074 .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
Thomas Van Lentend846b0b2015-06-08 16:24:57 -040075 .dataType = GPBDataTypeDouble,
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040076 },
77 };
Thomas Van Lentend846b0b2015-06-08 16:24:57 -040078 GPBDescriptor *localDescriptor =
Protobuf Team Botbf7de742023-02-02 11:29:54 -080079 [GPBDescriptor allocDescriptorForClass:GPBObjCClass(GPBDoubleValue)
Protobuf Team Bot4ed02cc2023-02-08 06:31:58 -080080 messageName:@"DoubleValue"
81 fileDescription:&GPBWrappersRoot_FileDescription
Thomas Van Lentend846b0b2015-06-08 16:24:57 -040082 fields:fields
Thomas Van Lenten79a23c42016-03-17 10:04:21 -040083 fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
Thomas Van Lentend846b0b2015-06-08 16:24:57 -040084 storageSize:sizeof(GPBDoubleValue__storage_)
Protobuf Team Bot4a122472022-11-15 11:22:51 -080085 flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown | GPBDescriptorInitializationFlag_ClosedEnumSupportKnown)];
Thomas Van Lenten6c4ab102023-07-11 07:49:55 -070086 #if defined(DEBUG) && DEBUG
Dave MacLachlanb6311762018-12-11 16:32:48 -080087 NSAssert(descriptor == nil, @"Startup recursed!");
Thomas Van Lenten6c4ab102023-07-11 07:49:55 -070088 #endif // DEBUG
Thomas Van Lentend846b0b2015-06-08 16:24:57 -040089 descriptor = localDescriptor;
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040090 }
91 return descriptor;
92}
93
94@end
95
96#pragma mark - GPBFloatValue
97
98@implementation GPBFloatValue
99
100@dynamic value;
101
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400102typedef struct GPBFloatValue__storage_ {
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400103 uint32_t _has_storage_[1];
104 float value;
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400105} GPBFloatValue__storage_;
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400106
107// This method is threadsafe because it is initially called
108// in +initialize for each subclass.
109+ (GPBDescriptor *)descriptor {
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400110 static GPBDescriptor *descriptor = nil;
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400111 if (!descriptor) {
Protobuf Team Bot78376c32023-01-31 11:29:07 -0800112 GPB_DEBUG_CHECK_RUNTIME_VERSIONS();
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400113 static GPBMessageFieldDescription fields[] = {
114 {
115 .name = "value",
Dave MacLachlan74956e12019-12-17 17:32:09 -0800116 .dataTypeSpecific.clazz = Nil,
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400117 .number = GPBFloatValue_FieldNumber_Value,
118 .hasIndex = 0,
Thomas Van Lenten79a23c42016-03-17 10:04:21 -0400119 .offset = (uint32_t)offsetof(GPBFloatValue__storage_, value),
Thomas Van Lentenb0e27922020-04-13 13:36:56 -0400120 .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400121 .dataType = GPBDataTypeFloat,
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400122 },
123 };
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400124 GPBDescriptor *localDescriptor =
Protobuf Team Botbf7de742023-02-02 11:29:54 -0800125 [GPBDescriptor allocDescriptorForClass:GPBObjCClass(GPBFloatValue)
Protobuf Team Bot4ed02cc2023-02-08 06:31:58 -0800126 messageName:@"FloatValue"
127 fileDescription:&GPBWrappersRoot_FileDescription
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400128 fields:fields
Thomas Van Lenten79a23c42016-03-17 10:04:21 -0400129 fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400130 storageSize:sizeof(GPBFloatValue__storage_)
Protobuf Team Bot4a122472022-11-15 11:22:51 -0800131 flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown | GPBDescriptorInitializationFlag_ClosedEnumSupportKnown)];
Thomas Van Lenten6c4ab102023-07-11 07:49:55 -0700132 #if defined(DEBUG) && DEBUG
Dave MacLachlanb6311762018-12-11 16:32:48 -0800133 NSAssert(descriptor == nil, @"Startup recursed!");
Thomas Van Lenten6c4ab102023-07-11 07:49:55 -0700134 #endif // DEBUG
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400135 descriptor = localDescriptor;
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400136 }
137 return descriptor;
138}
139
140@end
141
142#pragma mark - GPBInt64Value
143
144@implementation GPBInt64Value
145
146@dynamic value;
147
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400148typedef struct GPBInt64Value__storage_ {
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400149 uint32_t _has_storage_[1];
150 int64_t value;
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400151} GPBInt64Value__storage_;
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400152
153// This method is threadsafe because it is initially called
154// in +initialize for each subclass.
155+ (GPBDescriptor *)descriptor {
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400156 static GPBDescriptor *descriptor = nil;
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400157 if (!descriptor) {
Protobuf Team Bot78376c32023-01-31 11:29:07 -0800158 GPB_DEBUG_CHECK_RUNTIME_VERSIONS();
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400159 static GPBMessageFieldDescription fields[] = {
160 {
161 .name = "value",
Dave MacLachlan74956e12019-12-17 17:32:09 -0800162 .dataTypeSpecific.clazz = Nil,
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400163 .number = GPBInt64Value_FieldNumber_Value,
164 .hasIndex = 0,
Thomas Van Lenten79a23c42016-03-17 10:04:21 -0400165 .offset = (uint32_t)offsetof(GPBInt64Value__storage_, value),
Thomas Van Lentenb0e27922020-04-13 13:36:56 -0400166 .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400167 .dataType = GPBDataTypeInt64,
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400168 },
169 };
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400170 GPBDescriptor *localDescriptor =
Protobuf Team Botbf7de742023-02-02 11:29:54 -0800171 [GPBDescriptor allocDescriptorForClass:GPBObjCClass(GPBInt64Value)
Protobuf Team Bot4ed02cc2023-02-08 06:31:58 -0800172 messageName:@"Int64Value"
173 fileDescription:&GPBWrappersRoot_FileDescription
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400174 fields:fields
Thomas Van Lenten79a23c42016-03-17 10:04:21 -0400175 fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400176 storageSize:sizeof(GPBInt64Value__storage_)
Protobuf Team Bot4a122472022-11-15 11:22:51 -0800177 flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown | GPBDescriptorInitializationFlag_ClosedEnumSupportKnown)];
Thomas Van Lenten6c4ab102023-07-11 07:49:55 -0700178 #if defined(DEBUG) && DEBUG
Dave MacLachlanb6311762018-12-11 16:32:48 -0800179 NSAssert(descriptor == nil, @"Startup recursed!");
Thomas Van Lenten6c4ab102023-07-11 07:49:55 -0700180 #endif // DEBUG
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400181 descriptor = localDescriptor;
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400182 }
183 return descriptor;
184}
185
186@end
187
188#pragma mark - GPBUInt64Value
189
190@implementation GPBUInt64Value
191
192@dynamic value;
193
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400194typedef struct GPBUInt64Value__storage_ {
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400195 uint32_t _has_storage_[1];
196 uint64_t value;
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400197} GPBUInt64Value__storage_;
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400198
199// This method is threadsafe because it is initially called
200// in +initialize for each subclass.
201+ (GPBDescriptor *)descriptor {
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400202 static GPBDescriptor *descriptor = nil;
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400203 if (!descriptor) {
Protobuf Team Bot78376c32023-01-31 11:29:07 -0800204 GPB_DEBUG_CHECK_RUNTIME_VERSIONS();
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400205 static GPBMessageFieldDescription fields[] = {
206 {
207 .name = "value",
Dave MacLachlan74956e12019-12-17 17:32:09 -0800208 .dataTypeSpecific.clazz = Nil,
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400209 .number = GPBUInt64Value_FieldNumber_Value,
210 .hasIndex = 0,
Thomas Van Lenten79a23c42016-03-17 10:04:21 -0400211 .offset = (uint32_t)offsetof(GPBUInt64Value__storage_, value),
Thomas Van Lentenb0e27922020-04-13 13:36:56 -0400212 .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400213 .dataType = GPBDataTypeUInt64,
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400214 },
215 };
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400216 GPBDescriptor *localDescriptor =
Protobuf Team Botbf7de742023-02-02 11:29:54 -0800217 [GPBDescriptor allocDescriptorForClass:GPBObjCClass(GPBUInt64Value)
Protobuf Team Bot4ed02cc2023-02-08 06:31:58 -0800218 messageName:@"UInt64Value"
219 fileDescription:&GPBWrappersRoot_FileDescription
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400220 fields:fields
Thomas Van Lenten79a23c42016-03-17 10:04:21 -0400221 fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400222 storageSize:sizeof(GPBUInt64Value__storage_)
Protobuf Team Bot4a122472022-11-15 11:22:51 -0800223 flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown | GPBDescriptorInitializationFlag_ClosedEnumSupportKnown)];
Thomas Van Lenten6c4ab102023-07-11 07:49:55 -0700224 #if defined(DEBUG) && DEBUG
Dave MacLachlanb6311762018-12-11 16:32:48 -0800225 NSAssert(descriptor == nil, @"Startup recursed!");
Thomas Van Lenten6c4ab102023-07-11 07:49:55 -0700226 #endif // DEBUG
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400227 descriptor = localDescriptor;
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400228 }
229 return descriptor;
230}
231
232@end
233
234#pragma mark - GPBInt32Value
235
236@implementation GPBInt32Value
237
238@dynamic value;
239
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400240typedef struct GPBInt32Value__storage_ {
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400241 uint32_t _has_storage_[1];
242 int32_t value;
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400243} GPBInt32Value__storage_;
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400244
245// This method is threadsafe because it is initially called
246// in +initialize for each subclass.
247+ (GPBDescriptor *)descriptor {
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400248 static GPBDescriptor *descriptor = nil;
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400249 if (!descriptor) {
Protobuf Team Bot78376c32023-01-31 11:29:07 -0800250 GPB_DEBUG_CHECK_RUNTIME_VERSIONS();
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400251 static GPBMessageFieldDescription fields[] = {
252 {
253 .name = "value",
Dave MacLachlan74956e12019-12-17 17:32:09 -0800254 .dataTypeSpecific.clazz = Nil,
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400255 .number = GPBInt32Value_FieldNumber_Value,
256 .hasIndex = 0,
Thomas Van Lenten79a23c42016-03-17 10:04:21 -0400257 .offset = (uint32_t)offsetof(GPBInt32Value__storage_, value),
Thomas Van Lentenb0e27922020-04-13 13:36:56 -0400258 .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400259 .dataType = GPBDataTypeInt32,
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400260 },
261 };
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400262 GPBDescriptor *localDescriptor =
Protobuf Team Botbf7de742023-02-02 11:29:54 -0800263 [GPBDescriptor allocDescriptorForClass:GPBObjCClass(GPBInt32Value)
Protobuf Team Bot4ed02cc2023-02-08 06:31:58 -0800264 messageName:@"Int32Value"
265 fileDescription:&GPBWrappersRoot_FileDescription
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400266 fields:fields
Thomas Van Lenten79a23c42016-03-17 10:04:21 -0400267 fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400268 storageSize:sizeof(GPBInt32Value__storage_)
Protobuf Team Bot4a122472022-11-15 11:22:51 -0800269 flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown | GPBDescriptorInitializationFlag_ClosedEnumSupportKnown)];
Thomas Van Lenten6c4ab102023-07-11 07:49:55 -0700270 #if defined(DEBUG) && DEBUG
Dave MacLachlanb6311762018-12-11 16:32:48 -0800271 NSAssert(descriptor == nil, @"Startup recursed!");
Thomas Van Lenten6c4ab102023-07-11 07:49:55 -0700272 #endif // DEBUG
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400273 descriptor = localDescriptor;
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400274 }
275 return descriptor;
276}
277
278@end
279
280#pragma mark - GPBUInt32Value
281
282@implementation GPBUInt32Value
283
284@dynamic value;
285
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400286typedef struct GPBUInt32Value__storage_ {
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400287 uint32_t _has_storage_[1];
288 uint32_t value;
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400289} GPBUInt32Value__storage_;
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400290
291// This method is threadsafe because it is initially called
292// in +initialize for each subclass.
293+ (GPBDescriptor *)descriptor {
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400294 static GPBDescriptor *descriptor = nil;
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400295 if (!descriptor) {
Protobuf Team Bot78376c32023-01-31 11:29:07 -0800296 GPB_DEBUG_CHECK_RUNTIME_VERSIONS();
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400297 static GPBMessageFieldDescription fields[] = {
298 {
299 .name = "value",
Dave MacLachlan74956e12019-12-17 17:32:09 -0800300 .dataTypeSpecific.clazz = Nil,
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400301 .number = GPBUInt32Value_FieldNumber_Value,
302 .hasIndex = 0,
Thomas Van Lenten79a23c42016-03-17 10:04:21 -0400303 .offset = (uint32_t)offsetof(GPBUInt32Value__storage_, value),
Thomas Van Lentenb0e27922020-04-13 13:36:56 -0400304 .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400305 .dataType = GPBDataTypeUInt32,
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400306 },
307 };
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400308 GPBDescriptor *localDescriptor =
Protobuf Team Botbf7de742023-02-02 11:29:54 -0800309 [GPBDescriptor allocDescriptorForClass:GPBObjCClass(GPBUInt32Value)
Protobuf Team Bot4ed02cc2023-02-08 06:31:58 -0800310 messageName:@"UInt32Value"
311 fileDescription:&GPBWrappersRoot_FileDescription
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400312 fields:fields
Thomas Van Lenten79a23c42016-03-17 10:04:21 -0400313 fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400314 storageSize:sizeof(GPBUInt32Value__storage_)
Protobuf Team Bot4a122472022-11-15 11:22:51 -0800315 flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown | GPBDescriptorInitializationFlag_ClosedEnumSupportKnown)];
Thomas Van Lenten6c4ab102023-07-11 07:49:55 -0700316 #if defined(DEBUG) && DEBUG
Dave MacLachlanb6311762018-12-11 16:32:48 -0800317 NSAssert(descriptor == nil, @"Startup recursed!");
Thomas Van Lenten6c4ab102023-07-11 07:49:55 -0700318 #endif // DEBUG
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400319 descriptor = localDescriptor;
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400320 }
321 return descriptor;
322}
323
324@end
325
326#pragma mark - GPBBoolValue
327
328@implementation GPBBoolValue
329
330@dynamic value;
331
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400332typedef struct GPBBoolValue__storage_ {
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400333 uint32_t _has_storage_[1];
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400334} GPBBoolValue__storage_;
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400335
336// This method is threadsafe because it is initially called
337// in +initialize for each subclass.
338+ (GPBDescriptor *)descriptor {
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400339 static GPBDescriptor *descriptor = nil;
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400340 if (!descriptor) {
Protobuf Team Bot78376c32023-01-31 11:29:07 -0800341 GPB_DEBUG_CHECK_RUNTIME_VERSIONS();
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400342 static GPBMessageFieldDescription fields[] = {
343 {
344 .name = "value",
Dave MacLachlan74956e12019-12-17 17:32:09 -0800345 .dataTypeSpecific.clazz = Nil,
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400346 .number = GPBBoolValue_FieldNumber_Value,
347 .hasIndex = 0,
Thomas Van Lenten79a23c42016-03-17 10:04:21 -0400348 .offset = 1, // Stored in _has_storage_ to save space.
Thomas Van Lentenb0e27922020-04-13 13:36:56 -0400349 .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400350 .dataType = GPBDataTypeBool,
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400351 },
352 };
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400353 GPBDescriptor *localDescriptor =
Protobuf Team Botbf7de742023-02-02 11:29:54 -0800354 [GPBDescriptor allocDescriptorForClass:GPBObjCClass(GPBBoolValue)
Protobuf Team Bot4ed02cc2023-02-08 06:31:58 -0800355 messageName:@"BoolValue"
356 fileDescription:&GPBWrappersRoot_FileDescription
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400357 fields:fields
Thomas Van Lenten79a23c42016-03-17 10:04:21 -0400358 fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400359 storageSize:sizeof(GPBBoolValue__storage_)
Protobuf Team Bot4a122472022-11-15 11:22:51 -0800360 flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown | GPBDescriptorInitializationFlag_ClosedEnumSupportKnown)];
Thomas Van Lenten6c4ab102023-07-11 07:49:55 -0700361 #if defined(DEBUG) && DEBUG
Dave MacLachlanb6311762018-12-11 16:32:48 -0800362 NSAssert(descriptor == nil, @"Startup recursed!");
Thomas Van Lenten6c4ab102023-07-11 07:49:55 -0700363 #endif // DEBUG
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400364 descriptor = localDescriptor;
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400365 }
366 return descriptor;
367}
368
369@end
370
371#pragma mark - GPBStringValue
372
373@implementation GPBStringValue
374
375@dynamic value;
376
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400377typedef struct GPBStringValue__storage_ {
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400378 uint32_t _has_storage_[1];
379 NSString *value;
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400380} GPBStringValue__storage_;
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400381
382// This method is threadsafe because it is initially called
383// in +initialize for each subclass.
384+ (GPBDescriptor *)descriptor {
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400385 static GPBDescriptor *descriptor = nil;
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400386 if (!descriptor) {
Protobuf Team Bot78376c32023-01-31 11:29:07 -0800387 GPB_DEBUG_CHECK_RUNTIME_VERSIONS();
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400388 static GPBMessageFieldDescription fields[] = {
389 {
390 .name = "value",
Dave MacLachlan74956e12019-12-17 17:32:09 -0800391 .dataTypeSpecific.clazz = Nil,
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400392 .number = GPBStringValue_FieldNumber_Value,
393 .hasIndex = 0,
Thomas Van Lenten79a23c42016-03-17 10:04:21 -0400394 .offset = (uint32_t)offsetof(GPBStringValue__storage_, value),
Thomas Van Lentenb0e27922020-04-13 13:36:56 -0400395 .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400396 .dataType = GPBDataTypeString,
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400397 },
398 };
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400399 GPBDescriptor *localDescriptor =
Protobuf Team Botbf7de742023-02-02 11:29:54 -0800400 [GPBDescriptor allocDescriptorForClass:GPBObjCClass(GPBStringValue)
Protobuf Team Bot4ed02cc2023-02-08 06:31:58 -0800401 messageName:@"StringValue"
402 fileDescription:&GPBWrappersRoot_FileDescription
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400403 fields:fields
Thomas Van Lenten79a23c42016-03-17 10:04:21 -0400404 fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400405 storageSize:sizeof(GPBStringValue__storage_)
Protobuf Team Bot4a122472022-11-15 11:22:51 -0800406 flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown | GPBDescriptorInitializationFlag_ClosedEnumSupportKnown)];
Thomas Van Lenten6c4ab102023-07-11 07:49:55 -0700407 #if defined(DEBUG) && DEBUG
Dave MacLachlanb6311762018-12-11 16:32:48 -0800408 NSAssert(descriptor == nil, @"Startup recursed!");
Thomas Van Lenten6c4ab102023-07-11 07:49:55 -0700409 #endif // DEBUG
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400410 descriptor = localDescriptor;
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400411 }
412 return descriptor;
413}
414
415@end
416
417#pragma mark - GPBBytesValue
418
419@implementation GPBBytesValue
420
421@dynamic value;
422
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400423typedef struct GPBBytesValue__storage_ {
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400424 uint32_t _has_storage_[1];
425 NSData *value;
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400426} GPBBytesValue__storage_;
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400427
428// This method is threadsafe because it is initially called
429// in +initialize for each subclass.
430+ (GPBDescriptor *)descriptor {
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400431 static GPBDescriptor *descriptor = nil;
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400432 if (!descriptor) {
Protobuf Team Bot78376c32023-01-31 11:29:07 -0800433 GPB_DEBUG_CHECK_RUNTIME_VERSIONS();
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400434 static GPBMessageFieldDescription fields[] = {
435 {
436 .name = "value",
Dave MacLachlan74956e12019-12-17 17:32:09 -0800437 .dataTypeSpecific.clazz = Nil,
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400438 .number = GPBBytesValue_FieldNumber_Value,
439 .hasIndex = 0,
Thomas Van Lenten79a23c42016-03-17 10:04:21 -0400440 .offset = (uint32_t)offsetof(GPBBytesValue__storage_, value),
Thomas Van Lentenb0e27922020-04-13 13:36:56 -0400441 .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400442 .dataType = GPBDataTypeBytes,
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400443 },
444 };
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400445 GPBDescriptor *localDescriptor =
Protobuf Team Botbf7de742023-02-02 11:29:54 -0800446 [GPBDescriptor allocDescriptorForClass:GPBObjCClass(GPBBytesValue)
Protobuf Team Bot4ed02cc2023-02-08 06:31:58 -0800447 messageName:@"BytesValue"
448 fileDescription:&GPBWrappersRoot_FileDescription
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400449 fields:fields
Thomas Van Lenten79a23c42016-03-17 10:04:21 -0400450 fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400451 storageSize:sizeof(GPBBytesValue__storage_)
Protobuf Team Bot4a122472022-11-15 11:22:51 -0800452 flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown | GPBDescriptorInitializationFlag_ClosedEnumSupportKnown)];
Thomas Van Lenten6c4ab102023-07-11 07:49:55 -0700453 #if defined(DEBUG) && DEBUG
Dave MacLachlanb6311762018-12-11 16:32:48 -0800454 NSAssert(descriptor == nil, @"Startup recursed!");
Thomas Van Lenten6c4ab102023-07-11 07:49:55 -0700455 #endif // DEBUG
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400456 descriptor = localDescriptor;
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400457 }
458 return descriptor;
459}
460
461@end
462
463
Thomas Van Lentene664aa62016-04-19 13:13:04 -0400464#pragma clang diagnostic pop
465
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400466// @@protoc_insertion_point(global_scope)
Thomas Van Lenten7c646282022-09-19 13:19:31 -0400467
Thomas Van Lenten672adeb2022-10-06 16:16:07 -0400468// clang-format on