123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457 |
- // Generated by the protocol buffer compiler. DO NOT EDIT!
- // source: google/protobuf/wrappers.proto
- // This CPP symbol can be defined to use imports that match up to the framework
- // imports needed when using CocoaPods.
- #if !defined(GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS)
- #define GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS 0
- #endif
- #if GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS
- #import <Protobuf/GPBProtocolBuffers_RuntimeSupport.h>
- #else
- #import "GPBProtocolBuffers_RuntimeSupport.h"
- #endif
- #if GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS
- #import <Protobuf/GPBWrappers.pbobjc.h>
- #else
- #import "GPBWrappers.pbobjc.h"
- #endif
- // @@protoc_insertion_point(imports)
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Wdeprecated-declarations"
- #pragma mark - GPBWrappersRoot
- @implementation GPBWrappersRoot
- // No extensions in the file and no imports, so no need to generate
- // +extensionRegistry.
- @end
- #pragma mark - GPBWrappersRoot_FileDescriptor
- static GPBFileDescriptor *GPBWrappersRoot_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) {
- GPB_DEBUG_CHECK_RUNTIME_VERSIONS();
- descriptor = [[GPBFileDescriptor alloc] initWithPackage:@"google.protobuf"
- objcPrefix:@"GPB"
- syntax:GPBFileSyntaxProto3];
- }
- return descriptor;
- }
- #pragma mark - GPBDoubleValue
- @implementation GPBDoubleValue
- @dynamic value;
- typedef struct GPBDoubleValue__storage_ {
- uint32_t _has_storage_[1];
- double value;
- } GPBDoubleValue__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 = "value",
- .dataTypeSpecific.clazz = Nil,
- .number = GPBDoubleValue_FieldNumber_Value,
- .hasIndex = 0,
- .offset = (uint32_t)offsetof(GPBDoubleValue__storage_, value),
- .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
- .dataType = GPBDataTypeDouble,
- },
- };
- GPBDescriptor *localDescriptor =
- [GPBDescriptor allocDescriptorForClass:[GPBDoubleValue class]
- rootClass:[GPBWrappersRoot class]
- file:GPBWrappersRoot_FileDescriptor()
- fields:fields
- fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
- storageSize:sizeof(GPBDoubleValue__storage_)
- flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown)];
- #if defined(DEBUG) && DEBUG
- NSAssert(descriptor == nil, @"Startup recursed!");
- #endif // DEBUG
- descriptor = localDescriptor;
- }
- return descriptor;
- }
- @end
- #pragma mark - GPBFloatValue
- @implementation GPBFloatValue
- @dynamic value;
- typedef struct GPBFloatValue__storage_ {
- uint32_t _has_storage_[1];
- float value;
- } GPBFloatValue__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 = "value",
- .dataTypeSpecific.clazz = Nil,
- .number = GPBFloatValue_FieldNumber_Value,
- .hasIndex = 0,
- .offset = (uint32_t)offsetof(GPBFloatValue__storage_, value),
- .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
- .dataType = GPBDataTypeFloat,
- },
- };
- GPBDescriptor *localDescriptor =
- [GPBDescriptor allocDescriptorForClass:[GPBFloatValue class]
- rootClass:[GPBWrappersRoot class]
- file:GPBWrappersRoot_FileDescriptor()
- fields:fields
- fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
- storageSize:sizeof(GPBFloatValue__storage_)
- flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown)];
- #if defined(DEBUG) && DEBUG
- NSAssert(descriptor == nil, @"Startup recursed!");
- #endif // DEBUG
- descriptor = localDescriptor;
- }
- return descriptor;
- }
- @end
- #pragma mark - GPBInt64Value
- @implementation GPBInt64Value
- @dynamic value;
- typedef struct GPBInt64Value__storage_ {
- uint32_t _has_storage_[1];
- int64_t value;
- } GPBInt64Value__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 = "value",
- .dataTypeSpecific.clazz = Nil,
- .number = GPBInt64Value_FieldNumber_Value,
- .hasIndex = 0,
- .offset = (uint32_t)offsetof(GPBInt64Value__storage_, value),
- .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
- .dataType = GPBDataTypeInt64,
- },
- };
- GPBDescriptor *localDescriptor =
- [GPBDescriptor allocDescriptorForClass:[GPBInt64Value class]
- rootClass:[GPBWrappersRoot class]
- file:GPBWrappersRoot_FileDescriptor()
- fields:fields
- fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
- storageSize:sizeof(GPBInt64Value__storage_)
- flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown)];
- #if defined(DEBUG) && DEBUG
- NSAssert(descriptor == nil, @"Startup recursed!");
- #endif // DEBUG
- descriptor = localDescriptor;
- }
- return descriptor;
- }
- @end
- #pragma mark - GPBUInt64Value
- @implementation GPBUInt64Value
- @dynamic value;
- typedef struct GPBUInt64Value__storage_ {
- uint32_t _has_storage_[1];
- uint64_t value;
- } GPBUInt64Value__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 = "value",
- .dataTypeSpecific.clazz = Nil,
- .number = GPBUInt64Value_FieldNumber_Value,
- .hasIndex = 0,
- .offset = (uint32_t)offsetof(GPBUInt64Value__storage_, value),
- .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
- .dataType = GPBDataTypeUInt64,
- },
- };
- GPBDescriptor *localDescriptor =
- [GPBDescriptor allocDescriptorForClass:[GPBUInt64Value class]
- rootClass:[GPBWrappersRoot class]
- file:GPBWrappersRoot_FileDescriptor()
- fields:fields
- fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
- storageSize:sizeof(GPBUInt64Value__storage_)
- flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown)];
- #if defined(DEBUG) && DEBUG
- NSAssert(descriptor == nil, @"Startup recursed!");
- #endif // DEBUG
- descriptor = localDescriptor;
- }
- return descriptor;
- }
- @end
- #pragma mark - GPBInt32Value
- @implementation GPBInt32Value
- @dynamic value;
- typedef struct GPBInt32Value__storage_ {
- uint32_t _has_storage_[1];
- int32_t value;
- } GPBInt32Value__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 = "value",
- .dataTypeSpecific.clazz = Nil,
- .number = GPBInt32Value_FieldNumber_Value,
- .hasIndex = 0,
- .offset = (uint32_t)offsetof(GPBInt32Value__storage_, value),
- .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
- .dataType = GPBDataTypeInt32,
- },
- };
- GPBDescriptor *localDescriptor =
- [GPBDescriptor allocDescriptorForClass:[GPBInt32Value class]
- rootClass:[GPBWrappersRoot class]
- file:GPBWrappersRoot_FileDescriptor()
- fields:fields
- fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
- storageSize:sizeof(GPBInt32Value__storage_)
- flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown)];
- #if defined(DEBUG) && DEBUG
- NSAssert(descriptor == nil, @"Startup recursed!");
- #endif // DEBUG
- descriptor = localDescriptor;
- }
- return descriptor;
- }
- @end
- #pragma mark - GPBUInt32Value
- @implementation GPBUInt32Value
- @dynamic value;
- typedef struct GPBUInt32Value__storage_ {
- uint32_t _has_storage_[1];
- uint32_t value;
- } GPBUInt32Value__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 = "value",
- .dataTypeSpecific.clazz = Nil,
- .number = GPBUInt32Value_FieldNumber_Value,
- .hasIndex = 0,
- .offset = (uint32_t)offsetof(GPBUInt32Value__storage_, value),
- .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
- .dataType = GPBDataTypeUInt32,
- },
- };
- GPBDescriptor *localDescriptor =
- [GPBDescriptor allocDescriptorForClass:[GPBUInt32Value class]
- rootClass:[GPBWrappersRoot class]
- file:GPBWrappersRoot_FileDescriptor()
- fields:fields
- fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
- storageSize:sizeof(GPBUInt32Value__storage_)
- flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown)];
- #if defined(DEBUG) && DEBUG
- NSAssert(descriptor == nil, @"Startup recursed!");
- #endif // DEBUG
- descriptor = localDescriptor;
- }
- return descriptor;
- }
- @end
- #pragma mark - GPBBoolValue
- @implementation GPBBoolValue
- @dynamic value;
- typedef struct GPBBoolValue__storage_ {
- uint32_t _has_storage_[1];
- } GPBBoolValue__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 = "value",
- .dataTypeSpecific.clazz = Nil,
- .number = GPBBoolValue_FieldNumber_Value,
- .hasIndex = 0,
- .offset = 1, // Stored in _has_storage_ to save space.
- .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
- .dataType = GPBDataTypeBool,
- },
- };
- GPBDescriptor *localDescriptor =
- [GPBDescriptor allocDescriptorForClass:[GPBBoolValue class]
- rootClass:[GPBWrappersRoot class]
- file:GPBWrappersRoot_FileDescriptor()
- fields:fields
- fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
- storageSize:sizeof(GPBBoolValue__storage_)
- flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown)];
- #if defined(DEBUG) && DEBUG
- NSAssert(descriptor == nil, @"Startup recursed!");
- #endif // DEBUG
- descriptor = localDescriptor;
- }
- return descriptor;
- }
- @end
- #pragma mark - GPBStringValue
- @implementation GPBStringValue
- @dynamic value;
- typedef struct GPBStringValue__storage_ {
- uint32_t _has_storage_[1];
- NSString *value;
- } GPBStringValue__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 = "value",
- .dataTypeSpecific.clazz = Nil,
- .number = GPBStringValue_FieldNumber_Value,
- .hasIndex = 0,
- .offset = (uint32_t)offsetof(GPBStringValue__storage_, value),
- .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
- .dataType = GPBDataTypeString,
- },
- };
- GPBDescriptor *localDescriptor =
- [GPBDescriptor allocDescriptorForClass:[GPBStringValue class]
- rootClass:[GPBWrappersRoot class]
- file:GPBWrappersRoot_FileDescriptor()
- fields:fields
- fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
- storageSize:sizeof(GPBStringValue__storage_)
- flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown)];
- #if defined(DEBUG) && DEBUG
- NSAssert(descriptor == nil, @"Startup recursed!");
- #endif // DEBUG
- descriptor = localDescriptor;
- }
- return descriptor;
- }
- @end
- #pragma mark - GPBBytesValue
- @implementation GPBBytesValue
- @dynamic value;
- typedef struct GPBBytesValue__storage_ {
- uint32_t _has_storage_[1];
- NSData *value;
- } GPBBytesValue__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 = "value",
- .dataTypeSpecific.clazz = Nil,
- .number = GPBBytesValue_FieldNumber_Value,
- .hasIndex = 0,
- .offset = (uint32_t)offsetof(GPBBytesValue__storage_, value),
- .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero),
- .dataType = GPBDataTypeBytes,
- },
- };
- GPBDescriptor *localDescriptor =
- [GPBDescriptor allocDescriptorForClass:[GPBBytesValue class]
- rootClass:[GPBWrappersRoot class]
- file:GPBWrappersRoot_FileDescriptor()
- fields:fields
- fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
- storageSize:sizeof(GPBBytesValue__storage_)
- flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown)];
- #if defined(DEBUG) && DEBUG
- NSAssert(descriptor == nil, @"Startup recursed!");
- #endif // DEBUG
- descriptor = localDescriptor;
- }
- return descriptor;
- }
- @end
- #pragma clang diagnostic pop
- // @@protoc_insertion_point(global_scope)
|