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