blob: 8c241afc3072d7a1255afa741b93714d4aa3256c [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/field_mask.proto
3
4#import "GPBProtocolBuffers_RuntimeSupport.h"
5#import "google/protobuf/FieldMask.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 - GPBFieldMaskRoot
12
13@implementation GPBFieldMaskRoot
14
15@end
16
Thomas Van Lentend846b0b2015-06-08 16:24:57 -040017#pragma mark - GPBFieldMaskRoot_FileDescriptor
18
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040019static GPBFileDescriptor *GPBFieldMaskRoot_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 - GPBFieldMask
32
33@implementation GPBFieldMask
34
Thomas Van Lentend846b0b2015-06-08 16:24:57 -040035@dynamic pathsArray, pathsArray_Count;
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040036
Thomas Van Lentend846b0b2015-06-08 16:24:57 -040037typedef struct GPBFieldMask__storage_ {
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040038 uint32_t _has_storage_[1];
39 NSMutableArray *pathsArray;
Thomas Van Lentend846b0b2015-06-08 16:24:57 -040040} GPBFieldMask__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 = "pathsArray",
Thomas Van Lenten79a23c42016-03-17 10:04:21 -040050 .dataTypeSpecific.className = NULL,
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040051 .number = GPBFieldMask_FieldNumber_PathsArray,
52 .hasIndex = GPBNoHasBit,
Thomas Van Lenten79a23c42016-03-17 10:04:21 -040053 .offset = (uint32_t)offsetof(GPBFieldMask__storage_, pathsArray),
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040054 .flags = GPBFieldRepeated,
Thomas Van Lentend846b0b2015-06-08 16:24:57 -040055 .dataType = GPBDataTypeString,
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040056 },
57 };
Thomas Van Lentend846b0b2015-06-08 16:24:57 -040058 GPBDescriptor *localDescriptor =
59 [GPBDescriptor allocDescriptorForClass:[GPBFieldMask class]
60 rootClass:[GPBFieldMaskRoot class]
61 file:GPBFieldMaskRoot_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(GPBFieldMask__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
Thomas Van Lentene664aa62016-04-19 13:13:04 -040075#pragma clang diagnostic pop
76
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040077// @@protoc_insertion_point(global_scope)