| Index: third_party/protobuf/objectivec/google/protobuf/Duration.pbobjc.m
|
| diff --git a/third_party/protobuf/objectivec/google/protobuf/Duration.pbobjc.m b/third_party/protobuf/objectivec/google/protobuf/Duration.pbobjc.m
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..e4fd4951c54a5515f062f2f201e5b3bf33fb64c9
|
| --- /dev/null
|
| +++ b/third_party/protobuf/objectivec/google/protobuf/Duration.pbobjc.m
|
| @@ -0,0 +1,93 @@
|
| +// Generated by the protocol buffer compiler. DO NOT EDIT!
|
| +// source: google/protobuf/duration.proto
|
| +
|
| +#import "GPBProtocolBuffers_RuntimeSupport.h"
|
| +#import "google/protobuf/Duration.pbobjc.h"
|
| +// @@protoc_insertion_point(imports)
|
| +
|
| +#pragma mark - GPBDurationRoot
|
| +
|
| +@implementation GPBDurationRoot
|
| +
|
| +@end
|
| +
|
| +#pragma mark - GPBDurationRoot_FileDescriptor
|
| +
|
| +static GPBFileDescriptor *GPBDurationRoot_FileDescriptor(void) {
|
| + // This is called by +initialize so there is no need to worry
|
| + // about thread safety of the singleton.
|
| + static GPBFileDescriptor *descriptor = NULL;
|
| + if (!descriptor) {
|
| + GPBDebugCheckRuntimeVersion();
|
| + descriptor = [[GPBFileDescriptor alloc] initWithPackage:@"google.protobuf"
|
| + syntax:GPBFileSyntaxProto3];
|
| + }
|
| + return descriptor;
|
| +}
|
| +
|
| +#pragma mark - GPBDuration
|
| +
|
| +@implementation GPBDuration
|
| +
|
| +@dynamic seconds;
|
| +@dynamic nanos;
|
| +
|
| +typedef struct GPBDuration__storage_ {
|
| + uint32_t _has_storage_[1];
|
| + int32_t nanos;
|
| + int64_t seconds;
|
| +} GPBDuration__storage_;
|
| +
|
| +// This method is threadsafe because it is initially called
|
| +// in +initialize for each subclass.
|
| ++ (GPBDescriptor *)descriptor {
|
| + static GPBDescriptor *descriptor = nil;
|
| + if (!descriptor) {
|
| + static GPBMessageFieldDescription fields[] = {
|
| + {
|
| + .name = "seconds",
|
| + .number = GPBDuration_FieldNumber_Seconds,
|
| + .hasIndex = 0,
|
| + .flags = GPBFieldOptional,
|
| + .dataType = GPBDataTypeInt64,
|
| + .offset = offsetof(GPBDuration__storage_, seconds),
|
| + .defaultValue.valueInt64 = 0LL,
|
| + .dataTypeSpecific.className = NULL,
|
| + .fieldOptions = NULL,
|
| + },
|
| + {
|
| + .name = "nanos",
|
| + .number = GPBDuration_FieldNumber_Nanos,
|
| + .hasIndex = 1,
|
| + .flags = GPBFieldOptional,
|
| + .dataType = GPBDataTypeInt32,
|
| + .offset = offsetof(GPBDuration__storage_, nanos),
|
| + .defaultValue.valueInt32 = 0,
|
| + .dataTypeSpecific.className = NULL,
|
| + .fieldOptions = NULL,
|
| + },
|
| + };
|
| + GPBDescriptor *localDescriptor =
|
| + [GPBDescriptor allocDescriptorForClass:[GPBDuration class]
|
| + rootClass:[GPBDurationRoot class]
|
| + file:GPBDurationRoot_FileDescriptor()
|
| + fields:fields
|
| + fieldCount:sizeof(fields) / sizeof(GPBMessageFieldDescription)
|
| + oneofs:NULL
|
| + oneofCount:0
|
| + enums:NULL
|
| + enumCount:0
|
| + ranges:NULL
|
| + rangeCount:0
|
| + storageSize:sizeof(GPBDuration__storage_)
|
| + wireFormat:NO];
|
| + NSAssert(descriptor == nil, @"Startup recursed!");
|
| + descriptor = localDescriptor;
|
| + }
|
| + return descriptor;
|
| +}
|
| +
|
| +@end
|
| +
|
| +
|
| +// @@protoc_insertion_point(global_scope)
|
|
|