Brian Silverman | 9c614bc | 2016-02-15 20:20:02 -0500 | [diff] [blame^] | 1 | // 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 | |
| 14 | #pragma mark - GPBFieldMaskRoot_FileDescriptor |
| 15 | |
| 16 | static 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) { |
| 21 | GPBDebugCheckRuntimeVersion(); |
| 22 | descriptor = [[GPBFileDescriptor alloc] initWithPackage:@"google.protobuf" |
| 23 | syntax:GPBFileSyntaxProto3]; |
| 24 | } |
| 25 | return descriptor; |
| 26 | } |
| 27 | |
| 28 | #pragma mark - GPBFieldMask |
| 29 | |
| 30 | @implementation GPBFieldMask |
| 31 | |
| 32 | @dynamic pathsArray, pathsArray_Count; |
| 33 | |
| 34 | typedef struct GPBFieldMask__storage_ { |
| 35 | uint32_t _has_storage_[1]; |
| 36 | NSMutableArray *pathsArray; |
| 37 | } GPBFieldMask__storage_; |
| 38 | |
| 39 | // This method is threadsafe because it is initially called |
| 40 | // in +initialize for each subclass. |
| 41 | + (GPBDescriptor *)descriptor { |
| 42 | static GPBDescriptor *descriptor = nil; |
| 43 | if (!descriptor) { |
| 44 | static GPBMessageFieldDescription fields[] = { |
| 45 | { |
| 46 | .name = "pathsArray", |
| 47 | .number = GPBFieldMask_FieldNumber_PathsArray, |
| 48 | .hasIndex = GPBNoHasBit, |
| 49 | .flags = GPBFieldRepeated, |
| 50 | .dataType = GPBDataTypeString, |
| 51 | .offset = offsetof(GPBFieldMask__storage_, pathsArray), |
| 52 | .defaultValue.valueMessage = nil, |
| 53 | .dataTypeSpecific.className = NULL, |
| 54 | .fieldOptions = NULL, |
| 55 | }, |
| 56 | }; |
| 57 | GPBDescriptor *localDescriptor = |
| 58 | [GPBDescriptor allocDescriptorForClass:[GPBFieldMask class] |
| 59 | rootClass:[GPBFieldMaskRoot class] |
| 60 | file:GPBFieldMaskRoot_FileDescriptor() |
| 61 | fields:fields |
| 62 | fieldCount:sizeof(fields) / sizeof(GPBMessageFieldDescription) |
| 63 | oneofs:NULL |
| 64 | oneofCount:0 |
| 65 | enums:NULL |
| 66 | enumCount:0 |
| 67 | ranges:NULL |
| 68 | rangeCount:0 |
| 69 | storageSize:sizeof(GPBFieldMask__storage_) |
| 70 | wireFormat:NO]; |
| 71 | NSAssert(descriptor == nil, @"Startup recursed!"); |
| 72 | descriptor = localDescriptor; |
| 73 | } |
| 74 | return descriptor; |
| 75 | } |
| 76 | |
| 77 | @end |
| 78 | |
| 79 | |
| 80 | // @@protoc_insertion_point(global_scope) |