OLD | NEW |
1 // Generated by the protocol buffer compiler. DO NOT EDIT! | 1 // Generated by the protocol buffer compiler. DO NOT EDIT! |
2 // source: google/protobuf/timestamp.proto | 2 // source: google/protobuf/timestamp.proto |
3 | 3 |
4 // This CPP symbol can be defined to use imports that match up to the framework | 4 #import "GPBProtocolBuffers_RuntimeSupport.h" |
5 // imports needed when using CocoaPods. | 5 #import "google/protobuf/Timestamp.pbobjc.h" |
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/Timestamp.pbobjc.h> | |
18 #else | |
19 #import "google/protobuf/Timestamp.pbobjc.h" | |
20 #endif | |
21 // @@protoc_insertion_point(imports) | 6 // @@protoc_insertion_point(imports) |
22 | 7 |
23 #pragma clang diagnostic push | 8 #pragma clang diagnostic push |
24 #pragma clang diagnostic ignored "-Wdeprecated-declarations" | 9 #pragma clang diagnostic ignored "-Wdeprecated-declarations" |
25 | 10 |
26 #pragma mark - GPBTimestampRoot | 11 #pragma mark - GPBTimestampRoot |
27 | 12 |
28 @implementation GPBTimestampRoot | 13 @implementation GPBTimestampRoot |
29 | 14 |
30 // No extensions in the file and no imports, so no need to generate | |
31 // +extensionRegistry. | |
32 | |
33 @end | 15 @end |
34 | 16 |
35 #pragma mark - GPBTimestampRoot_FileDescriptor | 17 #pragma mark - GPBTimestampRoot_FileDescriptor |
36 | 18 |
37 static GPBFileDescriptor *GPBTimestampRoot_FileDescriptor(void) { | 19 static GPBFileDescriptor *GPBTimestampRoot_FileDescriptor(void) { |
38 // This is called by +initialize so there is no need to worry | 20 // This is called by +initialize so there is no need to worry |
39 // about thread safety of the singleton. | 21 // about thread safety of the singleton. |
40 static GPBFileDescriptor *descriptor = NULL; | 22 static GPBFileDescriptor *descriptor = NULL; |
41 if (!descriptor) { | 23 if (!descriptor) { |
42 GPB_DEBUG_CHECK_RUNTIME_VERSIONS(); | 24 GPBDebugCheckRuntimeVersion(); |
43 descriptor = [[GPBFileDescriptor alloc] initWithPackage:@"google.protobuf" | 25 descriptor = [[GPBFileDescriptor alloc] initWithPackage:@"google.protobuf" |
44 objcPrefix:@"GPB" | |
45 syntax:GPBFileSyntaxProto3]
; | 26 syntax:GPBFileSyntaxProto3]
; |
46 } | 27 } |
47 return descriptor; | 28 return descriptor; |
48 } | 29 } |
49 | 30 |
50 #pragma mark - GPBTimestamp | 31 #pragma mark - GPBTimestamp |
51 | 32 |
52 @implementation GPBTimestamp | 33 @implementation GPBTimestamp |
53 | 34 |
54 @dynamic seconds; | 35 @dynamic seconds; |
(...skipping 30 matching lines...) Expand all Loading... |
85 .dataType = GPBDataTypeInt32, | 66 .dataType = GPBDataTypeInt32, |
86 }, | 67 }, |
87 }; | 68 }; |
88 GPBDescriptor *localDescriptor = | 69 GPBDescriptor *localDescriptor = |
89 [GPBDescriptor allocDescriptorForClass:[GPBTimestamp class] | 70 [GPBDescriptor allocDescriptorForClass:[GPBTimestamp class] |
90 rootClass:[GPBTimestampRoot class] | 71 rootClass:[GPBTimestampRoot class] |
91 file:GPBTimestampRoot_FileDescriptor() | 72 file:GPBTimestampRoot_FileDescriptor() |
92 fields:fields | 73 fields:fields |
93 fieldCount:(uint32_t)(sizeof(fields) / sizeo
f(GPBMessageFieldDescription)) | 74 fieldCount:(uint32_t)(sizeof(fields) / sizeo
f(GPBMessageFieldDescription)) |
94 storageSize:sizeof(GPBTimestamp__storage_) | 75 storageSize:sizeof(GPBTimestamp__storage_) |
95 flags:GPBDescriptorInitializationFlag_N
one]; | 76 flags:0]; |
96 NSAssert(descriptor == nil, @"Startup recursed!"); | 77 NSAssert(descriptor == nil, @"Startup recursed!"); |
97 descriptor = localDescriptor; | 78 descriptor = localDescriptor; |
98 } | 79 } |
99 return descriptor; | 80 return descriptor; |
100 } | 81 } |
101 | 82 |
102 @end | 83 @end |
103 | 84 |
104 | 85 |
105 #pragma clang diagnostic pop | 86 #pragma clang diagnostic pop |
106 | 87 |
107 // @@protoc_insertion_point(global_scope) | 88 // @@protoc_insertion_point(global_scope) |
OLD | NEW |