• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// 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 clang diagnostic push
9#pragma clang diagnostic ignored "-Wdeprecated-declarations"
10
11#pragma mark - GPBEmptyRoot
12
13@implementation GPBEmptyRoot
14
15@end
16
17#pragma mark - GPBEmptyRoot_FileDescriptor
18
19static GPBFileDescriptor *GPBEmptyRoot_FileDescriptor(void) {
20  // This is called by +initialize so there is no need to worry
21  // about thread safety of the singleton.
22  static GPBFileDescriptor *descriptor = NULL;
23  if (!descriptor) {
24    GPBDebugCheckRuntimeVersion();
25    descriptor = [[GPBFileDescriptor alloc] initWithPackage:@"google.protobuf"
26                                                     syntax:GPBFileSyntaxProto3];
27  }
28  return descriptor;
29}
30
31#pragma mark - GPBEmpty
32
33@implementation GPBEmpty
34
35
36typedef struct GPBEmpty__storage_ {
37  uint32_t _has_storage_[1];
38} GPBEmpty__storage_;
39
40// This method is threadsafe because it is initially called
41// in +initialize for each subclass.
42+ (GPBDescriptor *)descriptor {
43  static GPBDescriptor *descriptor = nil;
44  if (!descriptor) {
45    GPBDescriptor *localDescriptor =
46        [GPBDescriptor allocDescriptorForClass:[GPBEmpty class]
47                                     rootClass:[GPBEmptyRoot class]
48                                          file:GPBEmptyRoot_FileDescriptor()
49                                        fields:NULL
50                                    fieldCount:0
51                                   storageSize:sizeof(GPBEmpty__storage_)
52                                         flags:0];
53    NSAssert(descriptor == nil, @"Startup recursed!");
54    descriptor = localDescriptor;
55  }
56  return descriptor;
57}
58
59@end
60
61
62#pragma clang diagnostic pop
63
64// @@protoc_insertion_point(global_scope)
65