blob: 83edddfe54ba9f95a722ab61b5da7594857dced9 [file] [log] [blame]
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -04001// Generated by the protocol buffer compiler. DO NOT EDIT!
Thomas Van Lenten7c646282022-09-19 13:19:31 -04002// clang-format off
Thomas Van Lenten672adeb2022-10-06 16:16:07 -04003// source: google/protobuf/field_mask.proto
Thomas Van Lenten7c646282022-09-19 13:19:31 -04004
Thomas Van Lenten020e4e32022-03-01 14:16:50 -05005#import "GPBProtocolBuffers_RuntimeSupport.h"
6#import "GPBFieldMask.pbobjc.h"
Thomas Van Lenten7da023b2016-05-09 13:53:20 -04007
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -04008// @@protoc_insertion_point(imports)
9
Thomas Van Lentene664aa62016-04-19 13:13:04 -040010#pragma clang diagnostic push
11#pragma clang diagnostic ignored "-Wdeprecated-declarations"
12
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040013#pragma mark - GPBFieldMaskRoot
14
15@implementation GPBFieldMaskRoot
16
Thomas Van Lenten13a41242016-09-01 11:45:50 -040017// No extensions in the file and no imports, so no need to generate
18// +extensionRegistry.
19
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040020@end
21
Thomas Van Lentend846b0b2015-06-08 16:24:57 -040022#pragma mark - GPBFieldMaskRoot_FileDescriptor
23
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040024static 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 Lenten1aa65002016-09-15 13:27:17 -040029 GPB_DEBUG_CHECK_RUNTIME_VERSIONS();
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040030 descriptor = [[GPBFileDescriptor alloc] initWithPackage:@"google.protobuf"
Thomas Van Lenten337ec302016-08-16 11:26:49 -040031 objcPrefix:@"GPB"
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040032 syntax:GPBFileSyntaxProto3];
33 }
34 return descriptor;
35}
36
37#pragma mark - GPBFieldMask
38
39@implementation GPBFieldMask
40
Thomas Van Lentend846b0b2015-06-08 16:24:57 -040041@dynamic pathsArray, pathsArray_Count;
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040042
Thomas Van Lentend846b0b2015-06-08 16:24:57 -040043typedef struct GPBFieldMask__storage_ {
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040044 uint32_t _has_storage_[1];
45 NSMutableArray *pathsArray;
Thomas Van Lentend846b0b2015-06-08 16:24:57 -040046} GPBFieldMask__storage_;
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040047
48// This method is threadsafe because it is initially called
49// in +initialize for each subclass.
50+ (GPBDescriptor *)descriptor {
Thomas Van Lentend846b0b2015-06-08 16:24:57 -040051 static GPBDescriptor *descriptor = nil;
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040052 if (!descriptor) {
53 static GPBMessageFieldDescription fields[] = {
54 {
55 .name = "pathsArray",
Dave MacLachlan74956e12019-12-17 17:32:09 -080056 .dataTypeSpecific.clazz = Nil,
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040057 .number = GPBFieldMask_FieldNumber_PathsArray,
58 .hasIndex = GPBNoHasBit,
Thomas Van Lenten79a23c42016-03-17 10:04:21 -040059 .offset = (uint32_t)offsetof(GPBFieldMask__storage_, pathsArray),
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040060 .flags = GPBFieldRepeated,
Thomas Van Lentend846b0b2015-06-08 16:24:57 -040061 .dataType = GPBDataTypeString,
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040062 },
63 };
Thomas Van Lentend846b0b2015-06-08 16:24:57 -040064 GPBDescriptor *localDescriptor =
65 [GPBDescriptor allocDescriptorForClass:[GPBFieldMask class]
66 rootClass:[GPBFieldMaskRoot class]
67 file:GPBFieldMaskRoot_FileDescriptor()
68 fields:fields
Thomas Van Lenten79a23c42016-03-17 10:04:21 -040069 fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
Thomas Van Lentend846b0b2015-06-08 16:24:57 -040070 storageSize:sizeof(GPBFieldMask__storage_)
Protobuf Team Bot4a122472022-11-15 11:22:51 -080071 flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown | GPBDescriptorInitializationFlag_ClosedEnumSupportKnown)];
Dave MacLachlanb6311762018-12-11 16:32:48 -080072 #if defined(DEBUG) && DEBUG
73 NSAssert(descriptor == nil, @"Startup recursed!");
74 #endif // DEBUG
Thomas Van Lentend846b0b2015-06-08 16:24:57 -040075 descriptor = localDescriptor;
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040076 }
77 return descriptor;
78}
79
80@end
81
82
Thomas Van Lentene664aa62016-04-19 13:13:04 -040083#pragma clang diagnostic pop
84
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040085// @@protoc_insertion_point(global_scope)
Thomas Van Lenten7c646282022-09-19 13:19:31 -040086
Thomas Van Lenten672adeb2022-10-06 16:16:07 -040087// clang-format on