blob: df3e398170afb5a5e35021c5529519937423efb0 [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/empty.proto
3
Thomas Van Lenten7da023b2016-05-09 13:53:20 -04004// This CPP symbol can be defined to use imports that match up to the framework
5// imports needed when using CocoaPods.
6#if !defined(GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS)
7 #define GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS 0
8#endif
9
10#if GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS
Thomas Van Lenten56c48ae2020-01-22 15:50:52 -050011 #import <Protobuf/GPBProtocolBuffers_RuntimeSupport.h>
Thomas Van Lenten7da023b2016-05-09 13:53:20 -040012#else
13 #import "GPBProtocolBuffers_RuntimeSupport.h"
14#endif
15
16#if GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS
Thomas Van Lenten56c48ae2020-01-22 15:50:52 -050017 #import <Protobuf/GPBEmpty.pbobjc.h>
Thomas Van Lenten7da023b2016-05-09 13:53:20 -040018#else
Thomas Van Lenten56c48ae2020-01-22 15:50:52 -050019 #import "GPBEmpty.pbobjc.h"
Thomas Van Lenten7da023b2016-05-09 13:53:20 -040020#endif
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040021// @@protoc_insertion_point(imports)
22
Thomas Van Lentene664aa62016-04-19 13:13:04 -040023#pragma clang diagnostic push
24#pragma clang diagnostic ignored "-Wdeprecated-declarations"
25
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040026#pragma mark - GPBEmptyRoot
27
28@implementation GPBEmptyRoot
29
Thomas Van Lenten13a41242016-09-01 11:45:50 -040030// No extensions in the file and no imports, so no need to generate
31// +extensionRegistry.
32
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040033@end
34
Thomas Van Lentend846b0b2015-06-08 16:24:57 -040035#pragma mark - GPBEmptyRoot_FileDescriptor
36
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040037static GPBFileDescriptor *GPBEmptyRoot_FileDescriptor(void) {
38 // This is called by +initialize so there is no need to worry
39 // about thread safety of the singleton.
40 static GPBFileDescriptor *descriptor = NULL;
41 if (!descriptor) {
Thomas Van Lenten1aa65002016-09-15 13:27:17 -040042 GPB_DEBUG_CHECK_RUNTIME_VERSIONS();
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040043 descriptor = [[GPBFileDescriptor alloc] initWithPackage:@"google.protobuf"
Thomas Van Lenten337ec302016-08-16 11:26:49 -040044 objcPrefix:@"GPB"
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040045 syntax:GPBFileSyntaxProto3];
46 }
47 return descriptor;
48}
49
50#pragma mark - GPBEmpty
51
52@implementation GPBEmpty
53
54
Thomas Van Lentend846b0b2015-06-08 16:24:57 -040055typedef struct GPBEmpty__storage_ {
Thomas Van Lenten79a23c42016-03-17 10:04:21 -040056 uint32_t _has_storage_[1];
Thomas Van Lentend846b0b2015-06-08 16:24:57 -040057} GPBEmpty__storage_;
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040058
59// This method is threadsafe because it is initially called
60// in +initialize for each subclass.
61+ (GPBDescriptor *)descriptor {
Thomas Van Lentend846b0b2015-06-08 16:24:57 -040062 static GPBDescriptor *descriptor = nil;
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040063 if (!descriptor) {
Thomas Van Lentend846b0b2015-06-08 16:24:57 -040064 GPBDescriptor *localDescriptor =
65 [GPBDescriptor allocDescriptorForClass:[GPBEmpty class]
66 rootClass:[GPBEmptyRoot class]
67 file:GPBEmptyRoot_FileDescriptor()
68 fields:NULL
69 fieldCount:0
Thomas Van Lentend846b0b2015-06-08 16:24:57 -040070 storageSize:sizeof(GPBEmpty__storage_)
Thomas Van Lentenb0e27922020-04-13 13:36:56 -040071 flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown)];
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)