1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: google/protobuf/empty.proto
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
10 #if GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS
11 #import <Protobuf/GPBProtocolBuffers_RuntimeSupport.h>
13 #import "GPBProtocolBuffers_RuntimeSupport.h"
16 #if GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS
17 #import <Protobuf/Empty.pbobjc.h>
19 #import "google/protobuf/Empty.pbobjc.h"
21 // @@protoc_insertion_point(imports)
23 #pragma clang diagnostic push
24 #pragma clang diagnostic ignored "-Wdeprecated-declarations"
26 #pragma mark - GPBEmptyRoot
28 @implementation GPBEmptyRoot
30 // No extensions in the file and no imports, so no need to generate
31 // +extensionRegistry.
35 #pragma mark - GPBEmptyRoot_FileDescriptor
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;
42 GPB_DEBUG_CHECK_RUNTIME_VERSIONS();
43 descriptor = [[GPBFileDescriptor alloc] initWithPackage:@"google.protobuf"
45 syntax:GPBFileSyntaxProto3];
50 #pragma mark - GPBEmpty
52 @implementation GPBEmpty
55 typedef struct GPBEmpty__storage_ {
56 uint32_t _has_storage_[1];
59 // This method is threadsafe because it is initially called
60 // in +initialize for each subclass.
61 + (GPBDescriptor *)descriptor {
62 static GPBDescriptor *descriptor = nil;
64 GPBDescriptor *localDescriptor =
65 [GPBDescriptor allocDescriptorForClass:[GPBEmpty class]
66 rootClass:[GPBEmptyRoot class]
67 file:GPBEmptyRoot_FileDescriptor()
70 storageSize:sizeof(GPBEmpty__storage_)
71 flags:GPBDescriptorInitializationFlag_None];
72 NSAssert(descriptor == nil, @"Startup recursed!");
73 descriptor = localDescriptor;
81 #pragma clang diagnostic pop
83 // @@protoc_insertion_point(global_scope)