blob: 5d7f8f195b42de8af28b4b8f3fce1dd065b920a3 [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
4#import "GPBProtocolBuffers_RuntimeSupport.h"
5#import "google/protobuf/Empty.pbobjc.h"
6// @@protoc_insertion_point(imports)
7
8#pragma mark - GPBEmptyRoot
9
10@implementation GPBEmptyRoot
11
12@end
13
Thomas Van Lentend846b0b2015-06-08 16:24:57 -040014#pragma mark - GPBEmptyRoot_FileDescriptor
15
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040016static GPBFileDescriptor *GPBEmptyRoot_FileDescriptor(void) {
17 // This is called by +initialize so there is no need to worry
18 // about thread safety of the singleton.
19 static GPBFileDescriptor *descriptor = NULL;
20 if (!descriptor) {
Thomas Van Lentend846b0b2015-06-08 16:24:57 -040021 GPBDebugCheckRuntimeVersion();
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040022 descriptor = [[GPBFileDescriptor alloc] initWithPackage:@"google.protobuf"
23 syntax:GPBFileSyntaxProto3];
24 }
25 return descriptor;
26}
27
28#pragma mark - GPBEmpty
29
30@implementation GPBEmpty
31
32
Thomas Van Lentend846b0b2015-06-08 16:24:57 -040033typedef struct GPBEmpty__storage_ {
Thomas Van Lenten79a23c42016-03-17 10:04:21 -040034 uint32_t _has_storage_[1];
Thomas Van Lentend846b0b2015-06-08 16:24:57 -040035} GPBEmpty__storage_;
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040036
37// This method is threadsafe because it is initially called
38// in +initialize for each subclass.
39+ (GPBDescriptor *)descriptor {
Thomas Van Lentend846b0b2015-06-08 16:24:57 -040040 static GPBDescriptor *descriptor = nil;
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040041 if (!descriptor) {
Thomas Van Lentend846b0b2015-06-08 16:24:57 -040042 GPBDescriptor *localDescriptor =
43 [GPBDescriptor allocDescriptorForClass:[GPBEmpty class]
44 rootClass:[GPBEmptyRoot class]
45 file:GPBEmptyRoot_FileDescriptor()
46 fields:NULL
47 fieldCount:0
Thomas Van Lentend846b0b2015-06-08 16:24:57 -040048 storageSize:sizeof(GPBEmpty__storage_)
Thomas Van Lenten79a23c42016-03-17 10:04:21 -040049 flags:0];
Thomas Van Lentend846b0b2015-06-08 16:24:57 -040050 NSAssert(descriptor == nil, @"Startup recursed!");
51 descriptor = localDescriptor;
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040052 }
53 return descriptor;
54}
55
56@end
57
58
59// @@protoc_insertion_point(global_scope)