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