blob: ab25d3f9b1eac6f75b7c9450e98d9bd78bafbaf1 [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
Thomas Van Lenten020e4e32022-03-01 14:16:50 -05004#import "GPBProtocolBuffers_RuntimeSupport.h"
5#import "GPBFieldMask.pbobjc.h"
Thomas Van Lenten7da023b2016-05-09 13:53:20 -04006
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -04007// @@protoc_insertion_point(imports)
8
Thomas Van Lentene664aa62016-04-19 13:13:04 -04009#pragma clang diagnostic push
10#pragma clang diagnostic ignored "-Wdeprecated-declarations"
11
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040012#pragma mark - GPBFieldMaskRoot
13
14@implementation GPBFieldMaskRoot
15
Thomas Van Lenten13a41242016-09-01 11:45:50 -040016// No extensions in the file and no imports, so no need to generate
17// +extensionRegistry.
18
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040019@end
20
Thomas Van Lentend846b0b2015-06-08 16:24:57 -040021#pragma mark - GPBFieldMaskRoot_FileDescriptor
22
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040023static 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 Lenten1aa65002016-09-15 13:27:17 -040028 GPB_DEBUG_CHECK_RUNTIME_VERSIONS();
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040029 descriptor = [[GPBFileDescriptor alloc] initWithPackage:@"google.protobuf"
Thomas Van Lenten337ec302016-08-16 11:26:49 -040030 objcPrefix:@"GPB"
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040031 syntax:GPBFileSyntaxProto3];
32 }
33 return descriptor;
34}
35
36#pragma mark - GPBFieldMask
37
38@implementation GPBFieldMask
39
Thomas Van Lentend846b0b2015-06-08 16:24:57 -040040@dynamic pathsArray, pathsArray_Count;
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040041
Thomas Van Lentend846b0b2015-06-08 16:24:57 -040042typedef struct GPBFieldMask__storage_ {
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040043 uint32_t _has_storage_[1];
44 NSMutableArray *pathsArray;
Thomas Van Lentend846b0b2015-06-08 16:24:57 -040045} GPBFieldMask__storage_;
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040046
47// This method is threadsafe because it is initially called
48// in +initialize for each subclass.
49+ (GPBDescriptor *)descriptor {
Thomas Van Lentend846b0b2015-06-08 16:24:57 -040050 static GPBDescriptor *descriptor = nil;
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040051 if (!descriptor) {
52 static GPBMessageFieldDescription fields[] = {
53 {
54 .name = "pathsArray",
Dave MacLachlan74956e12019-12-17 17:32:09 -080055 .dataTypeSpecific.clazz = Nil,
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040056 .number = GPBFieldMask_FieldNumber_PathsArray,
57 .hasIndex = GPBNoHasBit,
Thomas Van Lenten79a23c42016-03-17 10:04:21 -040058 .offset = (uint32_t)offsetof(GPBFieldMask__storage_, pathsArray),
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040059 .flags = GPBFieldRepeated,
Thomas Van Lentend846b0b2015-06-08 16:24:57 -040060 .dataType = GPBDataTypeString,
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040061 },
62 };
Thomas Van Lentend846b0b2015-06-08 16:24:57 -040063 GPBDescriptor *localDescriptor =
64 [GPBDescriptor allocDescriptorForClass:[GPBFieldMask class]
65 rootClass:[GPBFieldMaskRoot class]
66 file:GPBFieldMaskRoot_FileDescriptor()
67 fields:fields
Thomas Van Lenten79a23c42016-03-17 10:04:21 -040068 fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
Thomas Van Lentend846b0b2015-06-08 16:24:57 -040069 storageSize:sizeof(GPBFieldMask__storage_)
Thomas Van Lentenb0e27922020-04-13 13:36:56 -040070 flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown)];
Dave MacLachlanb6311762018-12-11 16:32:48 -080071 #if defined(DEBUG) && DEBUG
72 NSAssert(descriptor == nil, @"Startup recursed!");
73 #endif // DEBUG
Thomas Van Lentend846b0b2015-06-08 16:24:57 -040074 descriptor = localDescriptor;
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040075 }
76 return descriptor;
77}
78
79@end
80
81
Thomas Van Lentene664aa62016-04-19 13:13:04 -040082#pragma clang diagnostic pop
83
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040084// @@protoc_insertion_point(global_scope)