blob: 506b500e0490cfba4c2a9010d36cc7fbe5c24295 [file] [log] [blame]
Brian Silverman9c614bc2016-02-15 20:20:02 -05001// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: google/protobuf/empty.proto
3
Austin Schuh40c16522018-10-28 20:27:54 -07004// 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
11 #import <Protobuf/GPBProtocolBuffers_RuntimeSupport.h>
12#else
13 #import "GPBProtocolBuffers_RuntimeSupport.h"
14#endif
15
16#if GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS
17 #import <Protobuf/Empty.pbobjc.h>
18#else
19 #import "google/protobuf/Empty.pbobjc.h"
20#endif
Brian Silverman9c614bc2016-02-15 20:20:02 -050021// @@protoc_insertion_point(imports)
22
Austin Schuh40c16522018-10-28 20:27:54 -070023#pragma clang diagnostic push
24#pragma clang diagnostic ignored "-Wdeprecated-declarations"
25
Brian Silverman9c614bc2016-02-15 20:20:02 -050026#pragma mark - GPBEmptyRoot
27
28@implementation GPBEmptyRoot
29
Austin Schuh40c16522018-10-28 20:27:54 -070030// No extensions in the file and no imports, so no need to generate
31// +extensionRegistry.
32
Brian Silverman9c614bc2016-02-15 20:20:02 -050033@end
34
35#pragma mark - GPBEmptyRoot_FileDescriptor
36
37static 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) {
Austin Schuh40c16522018-10-28 20:27:54 -070042 GPB_DEBUG_CHECK_RUNTIME_VERSIONS();
Brian Silverman9c614bc2016-02-15 20:20:02 -050043 descriptor = [[GPBFileDescriptor alloc] initWithPackage:@"google.protobuf"
Austin Schuh40c16522018-10-28 20:27:54 -070044 objcPrefix:@"GPB"
Brian Silverman9c614bc2016-02-15 20:20:02 -050045 syntax:GPBFileSyntaxProto3];
46 }
47 return descriptor;
48}
49
50#pragma mark - GPBEmpty
51
52@implementation GPBEmpty
53
54
55typedef struct GPBEmpty__storage_ {
Austin Schuh40c16522018-10-28 20:27:54 -070056 uint32_t _has_storage_[1];
Brian Silverman9c614bc2016-02-15 20:20:02 -050057} GPBEmpty__storage_;
58
59// This method is threadsafe because it is initially called
60// in +initialize for each subclass.
61+ (GPBDescriptor *)descriptor {
62 static GPBDescriptor *descriptor = nil;
63 if (!descriptor) {
64 GPBDescriptor *localDescriptor =
65 [GPBDescriptor allocDescriptorForClass:[GPBEmpty class]
66 rootClass:[GPBEmptyRoot class]
67 file:GPBEmptyRoot_FileDescriptor()
68 fields:NULL
69 fieldCount:0
Brian Silverman9c614bc2016-02-15 20:20:02 -050070 storageSize:sizeof(GPBEmpty__storage_)
Austin Schuh40c16522018-10-28 20:27:54 -070071 flags:GPBDescriptorInitializationFlag_None];
Brian Silverman9c614bc2016-02-15 20:20:02 -050072 NSAssert(descriptor == nil, @"Startup recursed!");
73 descriptor = localDescriptor;
74 }
75 return descriptor;
76}
77
78@end
79
80
Austin Schuh40c16522018-10-28 20:27:54 -070081#pragma clang diagnostic pop
82
Brian Silverman9c614bc2016-02-15 20:20:02 -050083// @@protoc_insertion_point(global_scope)