blob: 5cc6c2e409208cd33510260a5d8539a86495eda5 [file] [log] [blame]
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -04001// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: google/protobuf/wrappers.proto
3
4#import "GPBProtocolBuffers_RuntimeSupport.h"
5#import "google/protobuf/Wrappers.pbobjc.h"
6// @@protoc_insertion_point(imports)
7
Thomas Van Lentene664aa62016-04-19 13:13:04 -04008#pragma clang diagnostic push
9#pragma clang diagnostic ignored "-Wdeprecated-declarations"
10
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040011#pragma mark - GPBWrappersRoot
12
13@implementation GPBWrappersRoot
14
15@end
16
Thomas Van Lentend846b0b2015-06-08 16:24:57 -040017#pragma mark - GPBWrappersRoot_FileDescriptor
18
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040019static GPBFileDescriptor *GPBWrappersRoot_FileDescriptor(void) {
20 // This is called by +initialize so there is no need to worry
21 // about thread safety of the singleton.
22 static GPBFileDescriptor *descriptor = NULL;
23 if (!descriptor) {
Thomas Van Lentend846b0b2015-06-08 16:24:57 -040024 GPBDebugCheckRuntimeVersion();
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040025 descriptor = [[GPBFileDescriptor alloc] initWithPackage:@"google.protobuf"
26 syntax:GPBFileSyntaxProto3];
27 }
28 return descriptor;
29}
30
31#pragma mark - GPBDoubleValue
32
33@implementation GPBDoubleValue
34
35@dynamic value;
36
Thomas Van Lentend846b0b2015-06-08 16:24:57 -040037typedef struct GPBDoubleValue__storage_ {
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040038 uint32_t _has_storage_[1];
39 double value;
Thomas Van Lentend846b0b2015-06-08 16:24:57 -040040} GPBDoubleValue__storage_;
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040041
42// This method is threadsafe because it is initially called
43// in +initialize for each subclass.
44+ (GPBDescriptor *)descriptor {
Thomas Van Lentend846b0b2015-06-08 16:24:57 -040045 static GPBDescriptor *descriptor = nil;
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040046 if (!descriptor) {
47 static GPBMessageFieldDescription fields[] = {
48 {
49 .name = "value",
Thomas Van Lenten79a23c42016-03-17 10:04:21 -040050 .dataTypeSpecific.className = NULL,
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040051 .number = GPBDoubleValue_FieldNumber_Value,
52 .hasIndex = 0,
Thomas Van Lenten79a23c42016-03-17 10:04:21 -040053 .offset = (uint32_t)offsetof(GPBDoubleValue__storage_, value),
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040054 .flags = GPBFieldOptional,
Thomas Van Lentend846b0b2015-06-08 16:24:57 -040055 .dataType = GPBDataTypeDouble,
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040056 },
57 };
Thomas Van Lentend846b0b2015-06-08 16:24:57 -040058 GPBDescriptor *localDescriptor =
59 [GPBDescriptor allocDescriptorForClass:[GPBDoubleValue class]
60 rootClass:[GPBWrappersRoot class]
61 file:GPBWrappersRoot_FileDescriptor()
62 fields:fields
Thomas Van Lenten79a23c42016-03-17 10:04:21 -040063 fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
Thomas Van Lentend846b0b2015-06-08 16:24:57 -040064 storageSize:sizeof(GPBDoubleValue__storage_)
Thomas Van Lenten79a23c42016-03-17 10:04:21 -040065 flags:0];
Thomas Van Lentend846b0b2015-06-08 16:24:57 -040066 NSAssert(descriptor == nil, @"Startup recursed!");
67 descriptor = localDescriptor;
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040068 }
69 return descriptor;
70}
71
72@end
73
74#pragma mark - GPBFloatValue
75
76@implementation GPBFloatValue
77
78@dynamic value;
79
Thomas Van Lentend846b0b2015-06-08 16:24:57 -040080typedef struct GPBFloatValue__storage_ {
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040081 uint32_t _has_storage_[1];
82 float value;
Thomas Van Lentend846b0b2015-06-08 16:24:57 -040083} GPBFloatValue__storage_;
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040084
85// This method is threadsafe because it is initially called
86// in +initialize for each subclass.
87+ (GPBDescriptor *)descriptor {
Thomas Van Lentend846b0b2015-06-08 16:24:57 -040088 static GPBDescriptor *descriptor = nil;
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040089 if (!descriptor) {
90 static GPBMessageFieldDescription fields[] = {
91 {
92 .name = "value",
Thomas Van Lenten79a23c42016-03-17 10:04:21 -040093 .dataTypeSpecific.className = NULL,
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040094 .number = GPBFloatValue_FieldNumber_Value,
95 .hasIndex = 0,
Thomas Van Lenten79a23c42016-03-17 10:04:21 -040096 .offset = (uint32_t)offsetof(GPBFloatValue__storage_, value),
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040097 .flags = GPBFieldOptional,
Thomas Van Lentend846b0b2015-06-08 16:24:57 -040098 .dataType = GPBDataTypeFloat,
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040099 },
100 };
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400101 GPBDescriptor *localDescriptor =
102 [GPBDescriptor allocDescriptorForClass:[GPBFloatValue class]
103 rootClass:[GPBWrappersRoot class]
104 file:GPBWrappersRoot_FileDescriptor()
105 fields:fields
Thomas Van Lenten79a23c42016-03-17 10:04:21 -0400106 fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400107 storageSize:sizeof(GPBFloatValue__storage_)
Thomas Van Lenten79a23c42016-03-17 10:04:21 -0400108 flags:0];
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400109 NSAssert(descriptor == nil, @"Startup recursed!");
110 descriptor = localDescriptor;
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400111 }
112 return descriptor;
113}
114
115@end
116
117#pragma mark - GPBInt64Value
118
119@implementation GPBInt64Value
120
121@dynamic value;
122
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400123typedef struct GPBInt64Value__storage_ {
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400124 uint32_t _has_storage_[1];
125 int64_t value;
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400126} GPBInt64Value__storage_;
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400127
128// This method is threadsafe because it is initially called
129// in +initialize for each subclass.
130+ (GPBDescriptor *)descriptor {
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400131 static GPBDescriptor *descriptor = nil;
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400132 if (!descriptor) {
133 static GPBMessageFieldDescription fields[] = {
134 {
135 .name = "value",
Thomas Van Lenten79a23c42016-03-17 10:04:21 -0400136 .dataTypeSpecific.className = NULL,
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400137 .number = GPBInt64Value_FieldNumber_Value,
138 .hasIndex = 0,
Thomas Van Lenten79a23c42016-03-17 10:04:21 -0400139 .offset = (uint32_t)offsetof(GPBInt64Value__storage_, value),
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400140 .flags = GPBFieldOptional,
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400141 .dataType = GPBDataTypeInt64,
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400142 },
143 };
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400144 GPBDescriptor *localDescriptor =
145 [GPBDescriptor allocDescriptorForClass:[GPBInt64Value class]
146 rootClass:[GPBWrappersRoot class]
147 file:GPBWrappersRoot_FileDescriptor()
148 fields:fields
Thomas Van Lenten79a23c42016-03-17 10:04:21 -0400149 fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400150 storageSize:sizeof(GPBInt64Value__storage_)
Thomas Van Lenten79a23c42016-03-17 10:04:21 -0400151 flags:0];
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400152 NSAssert(descriptor == nil, @"Startup recursed!");
153 descriptor = localDescriptor;
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400154 }
155 return descriptor;
156}
157
158@end
159
160#pragma mark - GPBUInt64Value
161
162@implementation GPBUInt64Value
163
164@dynamic value;
165
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400166typedef struct GPBUInt64Value__storage_ {
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400167 uint32_t _has_storage_[1];
168 uint64_t value;
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400169} GPBUInt64Value__storage_;
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400170
171// This method is threadsafe because it is initially called
172// in +initialize for each subclass.
173+ (GPBDescriptor *)descriptor {
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400174 static GPBDescriptor *descriptor = nil;
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400175 if (!descriptor) {
176 static GPBMessageFieldDescription fields[] = {
177 {
178 .name = "value",
Thomas Van Lenten79a23c42016-03-17 10:04:21 -0400179 .dataTypeSpecific.className = NULL,
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400180 .number = GPBUInt64Value_FieldNumber_Value,
181 .hasIndex = 0,
Thomas Van Lenten79a23c42016-03-17 10:04:21 -0400182 .offset = (uint32_t)offsetof(GPBUInt64Value__storage_, value),
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400183 .flags = GPBFieldOptional,
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400184 .dataType = GPBDataTypeUInt64,
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400185 },
186 };
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400187 GPBDescriptor *localDescriptor =
188 [GPBDescriptor allocDescriptorForClass:[GPBUInt64Value class]
189 rootClass:[GPBWrappersRoot class]
190 file:GPBWrappersRoot_FileDescriptor()
191 fields:fields
Thomas Van Lenten79a23c42016-03-17 10:04:21 -0400192 fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400193 storageSize:sizeof(GPBUInt64Value__storage_)
Thomas Van Lenten79a23c42016-03-17 10:04:21 -0400194 flags:0];
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400195 NSAssert(descriptor == nil, @"Startup recursed!");
196 descriptor = localDescriptor;
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400197 }
198 return descriptor;
199}
200
201@end
202
203#pragma mark - GPBInt32Value
204
205@implementation GPBInt32Value
206
207@dynamic value;
208
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400209typedef struct GPBInt32Value__storage_ {
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400210 uint32_t _has_storage_[1];
211 int32_t value;
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400212} GPBInt32Value__storage_;
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400213
214// This method is threadsafe because it is initially called
215// in +initialize for each subclass.
216+ (GPBDescriptor *)descriptor {
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400217 static GPBDescriptor *descriptor = nil;
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400218 if (!descriptor) {
219 static GPBMessageFieldDescription fields[] = {
220 {
221 .name = "value",
Thomas Van Lenten79a23c42016-03-17 10:04:21 -0400222 .dataTypeSpecific.className = NULL,
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400223 .number = GPBInt32Value_FieldNumber_Value,
224 .hasIndex = 0,
Thomas Van Lenten79a23c42016-03-17 10:04:21 -0400225 .offset = (uint32_t)offsetof(GPBInt32Value__storage_, value),
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400226 .flags = GPBFieldOptional,
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400227 .dataType = GPBDataTypeInt32,
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400228 },
229 };
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400230 GPBDescriptor *localDescriptor =
231 [GPBDescriptor allocDescriptorForClass:[GPBInt32Value class]
232 rootClass:[GPBWrappersRoot class]
233 file:GPBWrappersRoot_FileDescriptor()
234 fields:fields
Thomas Van Lenten79a23c42016-03-17 10:04:21 -0400235 fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400236 storageSize:sizeof(GPBInt32Value__storage_)
Thomas Van Lenten79a23c42016-03-17 10:04:21 -0400237 flags:0];
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400238 NSAssert(descriptor == nil, @"Startup recursed!");
239 descriptor = localDescriptor;
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400240 }
241 return descriptor;
242}
243
244@end
245
246#pragma mark - GPBUInt32Value
247
248@implementation GPBUInt32Value
249
250@dynamic value;
251
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400252typedef struct GPBUInt32Value__storage_ {
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400253 uint32_t _has_storage_[1];
254 uint32_t value;
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400255} GPBUInt32Value__storage_;
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400256
257// This method is threadsafe because it is initially called
258// in +initialize for each subclass.
259+ (GPBDescriptor *)descriptor {
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400260 static GPBDescriptor *descriptor = nil;
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400261 if (!descriptor) {
262 static GPBMessageFieldDescription fields[] = {
263 {
264 .name = "value",
Thomas Van Lenten79a23c42016-03-17 10:04:21 -0400265 .dataTypeSpecific.className = NULL,
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400266 .number = GPBUInt32Value_FieldNumber_Value,
267 .hasIndex = 0,
Thomas Van Lenten79a23c42016-03-17 10:04:21 -0400268 .offset = (uint32_t)offsetof(GPBUInt32Value__storage_, value),
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400269 .flags = GPBFieldOptional,
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400270 .dataType = GPBDataTypeUInt32,
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400271 },
272 };
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400273 GPBDescriptor *localDescriptor =
274 [GPBDescriptor allocDescriptorForClass:[GPBUInt32Value class]
275 rootClass:[GPBWrappersRoot class]
276 file:GPBWrappersRoot_FileDescriptor()
277 fields:fields
Thomas Van Lenten79a23c42016-03-17 10:04:21 -0400278 fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400279 storageSize:sizeof(GPBUInt32Value__storage_)
Thomas Van Lenten79a23c42016-03-17 10:04:21 -0400280 flags:0];
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400281 NSAssert(descriptor == nil, @"Startup recursed!");
282 descriptor = localDescriptor;
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400283 }
284 return descriptor;
285}
286
287@end
288
289#pragma mark - GPBBoolValue
290
291@implementation GPBBoolValue
292
293@dynamic value;
294
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400295typedef struct GPBBoolValue__storage_ {
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400296 uint32_t _has_storage_[1];
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400297} GPBBoolValue__storage_;
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400298
299// This method is threadsafe because it is initially called
300// in +initialize for each subclass.
301+ (GPBDescriptor *)descriptor {
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400302 static GPBDescriptor *descriptor = nil;
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400303 if (!descriptor) {
304 static GPBMessageFieldDescription fields[] = {
305 {
306 .name = "value",
Thomas Van Lenten79a23c42016-03-17 10:04:21 -0400307 .dataTypeSpecific.className = NULL,
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400308 .number = GPBBoolValue_FieldNumber_Value,
309 .hasIndex = 0,
Thomas Van Lenten79a23c42016-03-17 10:04:21 -0400310 .offset = 1, // Stored in _has_storage_ to save space.
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400311 .flags = GPBFieldOptional,
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400312 .dataType = GPBDataTypeBool,
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400313 },
314 };
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400315 GPBDescriptor *localDescriptor =
316 [GPBDescriptor allocDescriptorForClass:[GPBBoolValue class]
317 rootClass:[GPBWrappersRoot class]
318 file:GPBWrappersRoot_FileDescriptor()
319 fields:fields
Thomas Van Lenten79a23c42016-03-17 10:04:21 -0400320 fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400321 storageSize:sizeof(GPBBoolValue__storage_)
Thomas Van Lenten79a23c42016-03-17 10:04:21 -0400322 flags:0];
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400323 NSAssert(descriptor == nil, @"Startup recursed!");
324 descriptor = localDescriptor;
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400325 }
326 return descriptor;
327}
328
329@end
330
331#pragma mark - GPBStringValue
332
333@implementation GPBStringValue
334
335@dynamic value;
336
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400337typedef struct GPBStringValue__storage_ {
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400338 uint32_t _has_storage_[1];
339 NSString *value;
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400340} GPBStringValue__storage_;
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400341
342// This method is threadsafe because it is initially called
343// in +initialize for each subclass.
344+ (GPBDescriptor *)descriptor {
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400345 static GPBDescriptor *descriptor = nil;
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400346 if (!descriptor) {
347 static GPBMessageFieldDescription fields[] = {
348 {
349 .name = "value",
Thomas Van Lenten79a23c42016-03-17 10:04:21 -0400350 .dataTypeSpecific.className = NULL,
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400351 .number = GPBStringValue_FieldNumber_Value,
352 .hasIndex = 0,
Thomas Van Lenten79a23c42016-03-17 10:04:21 -0400353 .offset = (uint32_t)offsetof(GPBStringValue__storage_, value),
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400354 .flags = GPBFieldOptional,
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400355 .dataType = GPBDataTypeString,
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400356 },
357 };
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400358 GPBDescriptor *localDescriptor =
359 [GPBDescriptor allocDescriptorForClass:[GPBStringValue class]
360 rootClass:[GPBWrappersRoot class]
361 file:GPBWrappersRoot_FileDescriptor()
362 fields:fields
Thomas Van Lenten79a23c42016-03-17 10:04:21 -0400363 fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400364 storageSize:sizeof(GPBStringValue__storage_)
Thomas Van Lenten79a23c42016-03-17 10:04:21 -0400365 flags:0];
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400366 NSAssert(descriptor == nil, @"Startup recursed!");
367 descriptor = localDescriptor;
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400368 }
369 return descriptor;
370}
371
372@end
373
374#pragma mark - GPBBytesValue
375
376@implementation GPBBytesValue
377
378@dynamic value;
379
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400380typedef struct GPBBytesValue__storage_ {
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400381 uint32_t _has_storage_[1];
382 NSData *value;
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400383} GPBBytesValue__storage_;
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400384
385// This method is threadsafe because it is initially called
386// in +initialize for each subclass.
387+ (GPBDescriptor *)descriptor {
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400388 static GPBDescriptor *descriptor = nil;
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400389 if (!descriptor) {
390 static GPBMessageFieldDescription fields[] = {
391 {
392 .name = "value",
Thomas Van Lenten79a23c42016-03-17 10:04:21 -0400393 .dataTypeSpecific.className = NULL,
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400394 .number = GPBBytesValue_FieldNumber_Value,
395 .hasIndex = 0,
Thomas Van Lenten79a23c42016-03-17 10:04:21 -0400396 .offset = (uint32_t)offsetof(GPBBytesValue__storage_, value),
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400397 .flags = GPBFieldOptional,
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400398 .dataType = GPBDataTypeBytes,
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400399 },
400 };
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400401 GPBDescriptor *localDescriptor =
402 [GPBDescriptor allocDescriptorForClass:[GPBBytesValue class]
403 rootClass:[GPBWrappersRoot class]
404 file:GPBWrappersRoot_FileDescriptor()
405 fields:fields
Thomas Van Lenten79a23c42016-03-17 10:04:21 -0400406 fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400407 storageSize:sizeof(GPBBytesValue__storage_)
Thomas Van Lenten79a23c42016-03-17 10:04:21 -0400408 flags:0];
Thomas Van Lentend846b0b2015-06-08 16:24:57 -0400409 NSAssert(descriptor == nil, @"Startup recursed!");
410 descriptor = localDescriptor;
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400411 }
412 return descriptor;
413}
414
415@end
416
417
Thomas Van Lentene664aa62016-04-19 13:13:04 -0400418#pragma clang diagnostic pop
419
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -0400420// @@protoc_insertion_point(global_scope)