Thomas Van Lenten | 1dcc329 | 2015-05-21 17:14:52 -0400 | [diff] [blame] | 1 | // Generated by the protocol buffer compiler. DO NOT EDIT! |
| 2 | // source: google/protobuf/field_mask.proto |
| 3 | |
Thomas Van Lenten | 020e4e3 | 2022-03-01 14:16:50 -0500 | [diff] [blame] | 4 | #import "GPBProtocolBuffers_RuntimeSupport.h" |
| 5 | #import "GPBFieldMask.pbobjc.h" |
Thomas Van Lenten | 7da023b | 2016-05-09 13:53:20 -0400 | [diff] [blame] | 6 | |
Thomas Van Lenten | 1dcc329 | 2015-05-21 17:14:52 -0400 | [diff] [blame] | 7 | // @@protoc_insertion_point(imports) |
| 8 | |
Thomas Van Lenten | e664aa6 | 2016-04-19 13:13:04 -0400 | [diff] [blame] | 9 | #pragma clang diagnostic push |
| 10 | #pragma clang diagnostic ignored "-Wdeprecated-declarations" |
| 11 | |
Thomas Van Lenten | 1dcc329 | 2015-05-21 17:14:52 -0400 | [diff] [blame] | 12 | #pragma mark - GPBFieldMaskRoot |
| 13 | |
| 14 | @implementation GPBFieldMaskRoot |
| 15 | |
Thomas Van Lenten | 13a4124 | 2016-09-01 11:45:50 -0400 | [diff] [blame] | 16 | // No extensions in the file and no imports, so no need to generate |
| 17 | // +extensionRegistry. |
| 18 | |
Thomas Van Lenten | 1dcc329 | 2015-05-21 17:14:52 -0400 | [diff] [blame] | 19 | @end |
| 20 | |
Thomas Van Lenten | d846b0b | 2015-06-08 16:24:57 -0400 | [diff] [blame] | 21 | #pragma mark - GPBFieldMaskRoot_FileDescriptor |
| 22 | |
Thomas Van Lenten | 1dcc329 | 2015-05-21 17:14:52 -0400 | [diff] [blame] | 23 | static GPBFileDescriptor *GPBFieldMaskRoot_FileDescriptor(void) { |
| 24 | // This is called by +initialize so there is no need to worry |
| 25 | // about thread safety of the singleton. |
| 26 | static GPBFileDescriptor *descriptor = NULL; |
| 27 | if (!descriptor) { |
Thomas Van Lenten | 1aa6500 | 2016-09-15 13:27:17 -0400 | [diff] [blame] | 28 | GPB_DEBUG_CHECK_RUNTIME_VERSIONS(); |
Thomas Van Lenten | 1dcc329 | 2015-05-21 17:14:52 -0400 | [diff] [blame] | 29 | descriptor = [[GPBFileDescriptor alloc] initWithPackage:@"google.protobuf" |
Thomas Van Lenten | 337ec30 | 2016-08-16 11:26:49 -0400 | [diff] [blame] | 30 | objcPrefix:@"GPB" |
Thomas Van Lenten | 1dcc329 | 2015-05-21 17:14:52 -0400 | [diff] [blame] | 31 | syntax:GPBFileSyntaxProto3]; |
| 32 | } |
| 33 | return descriptor; |
| 34 | } |
| 35 | |
| 36 | #pragma mark - GPBFieldMask |
| 37 | |
| 38 | @implementation GPBFieldMask |
| 39 | |
Thomas Van Lenten | d846b0b | 2015-06-08 16:24:57 -0400 | [diff] [blame] | 40 | @dynamic pathsArray, pathsArray_Count; |
Thomas Van Lenten | 1dcc329 | 2015-05-21 17:14:52 -0400 | [diff] [blame] | 41 | |
Thomas Van Lenten | d846b0b | 2015-06-08 16:24:57 -0400 | [diff] [blame] | 42 | typedef struct GPBFieldMask__storage_ { |
Thomas Van Lenten | 1dcc329 | 2015-05-21 17:14:52 -0400 | [diff] [blame] | 43 | uint32_t _has_storage_[1]; |
| 44 | NSMutableArray *pathsArray; |
Thomas Van Lenten | d846b0b | 2015-06-08 16:24:57 -0400 | [diff] [blame] | 45 | } GPBFieldMask__storage_; |
Thomas Van Lenten | 1dcc329 | 2015-05-21 17:14:52 -0400 | [diff] [blame] | 46 | |
| 47 | // This method is threadsafe because it is initially called |
| 48 | // in +initialize for each subclass. |
| 49 | + (GPBDescriptor *)descriptor { |
Thomas Van Lenten | d846b0b | 2015-06-08 16:24:57 -0400 | [diff] [blame] | 50 | static GPBDescriptor *descriptor = nil; |
Thomas Van Lenten | 1dcc329 | 2015-05-21 17:14:52 -0400 | [diff] [blame] | 51 | if (!descriptor) { |
| 52 | static GPBMessageFieldDescription fields[] = { |
| 53 | { |
| 54 | .name = "pathsArray", |
Dave MacLachlan | 74956e1 | 2019-12-17 17:32:09 -0800 | [diff] [blame] | 55 | .dataTypeSpecific.clazz = Nil, |
Thomas Van Lenten | 1dcc329 | 2015-05-21 17:14:52 -0400 | [diff] [blame] | 56 | .number = GPBFieldMask_FieldNumber_PathsArray, |
| 57 | .hasIndex = GPBNoHasBit, |
Thomas Van Lenten | 79a23c4 | 2016-03-17 10:04:21 -0400 | [diff] [blame] | 58 | .offset = (uint32_t)offsetof(GPBFieldMask__storage_, pathsArray), |
Thomas Van Lenten | 1dcc329 | 2015-05-21 17:14:52 -0400 | [diff] [blame] | 59 | .flags = GPBFieldRepeated, |
Thomas Van Lenten | d846b0b | 2015-06-08 16:24:57 -0400 | [diff] [blame] | 60 | .dataType = GPBDataTypeString, |
Thomas Van Lenten | 1dcc329 | 2015-05-21 17:14:52 -0400 | [diff] [blame] | 61 | }, |
| 62 | }; |
Thomas Van Lenten | d846b0b | 2015-06-08 16:24:57 -0400 | [diff] [blame] | 63 | GPBDescriptor *localDescriptor = |
| 64 | [GPBDescriptor allocDescriptorForClass:[GPBFieldMask class] |
| 65 | rootClass:[GPBFieldMaskRoot class] |
| 66 | file:GPBFieldMaskRoot_FileDescriptor() |
| 67 | fields:fields |
Thomas Van Lenten | 79a23c4 | 2016-03-17 10:04:21 -0400 | [diff] [blame] | 68 | fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription)) |
Thomas Van Lenten | d846b0b | 2015-06-08 16:24:57 -0400 | [diff] [blame] | 69 | storageSize:sizeof(GPBFieldMask__storage_) |
Thomas Van Lenten | b0e2792 | 2020-04-13 13:36:56 -0400 | [diff] [blame] | 70 | flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown)]; |
Dave MacLachlan | b631176 | 2018-12-11 16:32:48 -0800 | [diff] [blame] | 71 | #if defined(DEBUG) && DEBUG |
| 72 | NSAssert(descriptor == nil, @"Startup recursed!"); |
| 73 | #endif // DEBUG |
Thomas Van Lenten | d846b0b | 2015-06-08 16:24:57 -0400 | [diff] [blame] | 74 | descriptor = localDescriptor; |
Thomas Van Lenten | 1dcc329 | 2015-05-21 17:14:52 -0400 | [diff] [blame] | 75 | } |
| 76 | return descriptor; |
| 77 | } |
| 78 | |
| 79 | @end |
| 80 | |
| 81 | |
Thomas Van Lenten | e664aa6 | 2016-04-19 13:13:04 -0400 | [diff] [blame] | 82 | #pragma clang diagnostic pop |
| 83 | |
Thomas Van Lenten | 1dcc329 | 2015-05-21 17:14:52 -0400 | [diff] [blame] | 84 | // @@protoc_insertion_point(global_scope) |