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/empty.proto |
| 3 | |
Thomas Van Lenten | 7da023b | 2016-05-09 13:53:20 -0400 | [diff] [blame] | 4 | // 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 Lenten | 56c48ae | 2020-01-22 15:50:52 -0500 | [diff] [blame] | 11 | #import <Protobuf/GPBProtocolBuffers_RuntimeSupport.h> |
Thomas Van Lenten | 7da023b | 2016-05-09 13:53:20 -0400 | [diff] [blame] | 12 | #else |
| 13 | #import "GPBProtocolBuffers_RuntimeSupport.h" |
| 14 | #endif |
| 15 | |
| 16 | #if GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS |
Thomas Van Lenten | 56c48ae | 2020-01-22 15:50:52 -0500 | [diff] [blame] | 17 | #import <Protobuf/GPBEmpty.pbobjc.h> |
Thomas Van Lenten | 7da023b | 2016-05-09 13:53:20 -0400 | [diff] [blame] | 18 | #else |
Thomas Van Lenten | 56c48ae | 2020-01-22 15:50:52 -0500 | [diff] [blame] | 19 | #import "GPBEmpty.pbobjc.h" |
Thomas Van Lenten | 7da023b | 2016-05-09 13:53:20 -0400 | [diff] [blame] | 20 | #endif |
Thomas Van Lenten | 1dcc329 | 2015-05-21 17:14:52 -0400 | [diff] [blame] | 21 | // @@protoc_insertion_point(imports) |
| 22 | |
Thomas Van Lenten | e664aa6 | 2016-04-19 13:13:04 -0400 | [diff] [blame] | 23 | #pragma clang diagnostic push |
| 24 | #pragma clang diagnostic ignored "-Wdeprecated-declarations" |
| 25 | |
Thomas Van Lenten | 1dcc329 | 2015-05-21 17:14:52 -0400 | [diff] [blame] | 26 | #pragma mark - GPBEmptyRoot |
| 27 | |
| 28 | @implementation GPBEmptyRoot |
| 29 | |
Thomas Van Lenten | 13a4124 | 2016-09-01 11:45:50 -0400 | [diff] [blame] | 30 | // No extensions in the file and no imports, so no need to generate |
| 31 | // +extensionRegistry. |
| 32 | |
Thomas Van Lenten | 1dcc329 | 2015-05-21 17:14:52 -0400 | [diff] [blame] | 33 | @end |
| 34 | |
Thomas Van Lenten | d846b0b | 2015-06-08 16:24:57 -0400 | [diff] [blame] | 35 | #pragma mark - GPBEmptyRoot_FileDescriptor |
| 36 | |
Thomas Van Lenten | 1dcc329 | 2015-05-21 17:14:52 -0400 | [diff] [blame] | 37 | static 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 Lenten | 1aa6500 | 2016-09-15 13:27:17 -0400 | [diff] [blame] | 42 | GPB_DEBUG_CHECK_RUNTIME_VERSIONS(); |
Thomas Van Lenten | 1dcc329 | 2015-05-21 17:14:52 -0400 | [diff] [blame] | 43 | descriptor = [[GPBFileDescriptor alloc] initWithPackage:@"google.protobuf" |
Thomas Van Lenten | 337ec30 | 2016-08-16 11:26:49 -0400 | [diff] [blame] | 44 | objcPrefix:@"GPB" |
Thomas Van Lenten | 1dcc329 | 2015-05-21 17:14:52 -0400 | [diff] [blame] | 45 | syntax:GPBFileSyntaxProto3]; |
| 46 | } |
| 47 | return descriptor; |
| 48 | } |
| 49 | |
| 50 | #pragma mark - GPBEmpty |
| 51 | |
| 52 | @implementation GPBEmpty |
| 53 | |
| 54 | |
Thomas Van Lenten | d846b0b | 2015-06-08 16:24:57 -0400 | [diff] [blame] | 55 | typedef struct GPBEmpty__storage_ { |
Thomas Van Lenten | 79a23c4 | 2016-03-17 10:04:21 -0400 | [diff] [blame] | 56 | uint32_t _has_storage_[1]; |
Thomas Van Lenten | d846b0b | 2015-06-08 16:24:57 -0400 | [diff] [blame] | 57 | } GPBEmpty__storage_; |
Thomas Van Lenten | 1dcc329 | 2015-05-21 17:14:52 -0400 | [diff] [blame] | 58 | |
| 59 | // This method is threadsafe because it is initially called |
| 60 | // in +initialize for each subclass. |
| 61 | + (GPBDescriptor *)descriptor { |
Thomas Van Lenten | d846b0b | 2015-06-08 16:24:57 -0400 | [diff] [blame] | 62 | static GPBDescriptor *descriptor = nil; |
Thomas Van Lenten | 1dcc329 | 2015-05-21 17:14:52 -0400 | [diff] [blame] | 63 | if (!descriptor) { |
Thomas Van Lenten | d846b0b | 2015-06-08 16:24:57 -0400 | [diff] [blame] | 64 | GPBDescriptor *localDescriptor = |
| 65 | [GPBDescriptor allocDescriptorForClass:[GPBEmpty class] |
| 66 | rootClass:[GPBEmptyRoot class] |
| 67 | file:GPBEmptyRoot_FileDescriptor() |
| 68 | fields:NULL |
| 69 | fieldCount:0 |
Thomas Van Lenten | d846b0b | 2015-06-08 16:24:57 -0400 | [diff] [blame] | 70 | storageSize:sizeof(GPBEmpty__storage_) |
Thomas Van Lenten | b0e2792 | 2020-04-13 13:36:56 -0400 | [diff] [blame] | 71 | flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown)]; |
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) |