blob: 36fc758e4861dfb492c61464e2637286f9d189bb [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
8#pragma mark - GPBFieldMaskRoot
9
10@implementation GPBFieldMaskRoot
11
12@end
13
Thomas Van Lentend846b0b2015-06-08 16:24:57 -040014#pragma mark - GPBFieldMaskRoot_FileDescriptor
15
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040016static GPBFileDescriptor *GPBFieldMaskRoot_FileDescriptor(void) {
17 // This is called by +initialize so there is no need to worry
18 // about thread safety of the singleton.
19 static GPBFileDescriptor *descriptor = NULL;
20 if (!descriptor) {
Thomas Van Lentend846b0b2015-06-08 16:24:57 -040021 GPBDebugCheckRuntimeVersion();
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040022 descriptor = [[GPBFileDescriptor alloc] initWithPackage:@"google.protobuf"
23 syntax:GPBFileSyntaxProto3];
24 }
25 return descriptor;
26}
27
28#pragma mark - GPBFieldMask
29
30@implementation GPBFieldMask
31
Thomas Van Lentend846b0b2015-06-08 16:24:57 -040032@dynamic pathsArray, pathsArray_Count;
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040033
Thomas Van Lentend846b0b2015-06-08 16:24:57 -040034typedef struct GPBFieldMask__storage_ {
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040035 uint32_t _has_storage_[1];
36 NSMutableArray *pathsArray;
Thomas Van Lentend846b0b2015-06-08 16:24:57 -040037} GPBFieldMask__storage_;
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040038
39// This method is threadsafe because it is initially called
40// in +initialize for each subclass.
41+ (GPBDescriptor *)descriptor {
Thomas Van Lentend846b0b2015-06-08 16:24:57 -040042 static GPBDescriptor *descriptor = nil;
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040043 if (!descriptor) {
44 static GPBMessageFieldDescription fields[] = {
45 {
46 .name = "pathsArray",
Thomas Van Lenten79a23c42016-03-17 10:04:21 -040047 .dataTypeSpecific.className = NULL,
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040048 .number = GPBFieldMask_FieldNumber_PathsArray,
49 .hasIndex = GPBNoHasBit,
Thomas Van Lenten79a23c42016-03-17 10:04:21 -040050 .offset = (uint32_t)offsetof(GPBFieldMask__storage_, pathsArray),
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040051 .flags = GPBFieldRepeated,
Thomas Van Lentend846b0b2015-06-08 16:24:57 -040052 .dataType = GPBDataTypeString,
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040053 },
54 };
Thomas Van Lentend846b0b2015-06-08 16:24:57 -040055 GPBDescriptor *localDescriptor =
56 [GPBDescriptor allocDescriptorForClass:[GPBFieldMask class]
57 rootClass:[GPBFieldMaskRoot class]
58 file:GPBFieldMaskRoot_FileDescriptor()
59 fields:fields
Thomas Van Lenten79a23c42016-03-17 10:04:21 -040060 fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
Thomas Van Lentend846b0b2015-06-08 16:24:57 -040061 storageSize:sizeof(GPBFieldMask__storage_)
Thomas Van Lenten79a23c42016-03-17 10:04:21 -040062 flags:0];
Thomas Van Lentend846b0b2015-06-08 16:24:57 -040063 NSAssert(descriptor == nil, @"Startup recursed!");
64 descriptor = localDescriptor;
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040065 }
66 return descriptor;
67}
68
69@end
70
71
72// @@protoc_insertion_point(global_scope)