1ffe3c632Sopenharmony_ci// Generated by the protocol buffer compiler. DO NOT EDIT! 2ffe3c632Sopenharmony_ci// source: google/protobuf/source_context.proto 3ffe3c632Sopenharmony_ci 4ffe3c632Sopenharmony_ci// This CPP symbol can be defined to use imports that match up to the framework 5ffe3c632Sopenharmony_ci// imports needed when using CocoaPods. 6ffe3c632Sopenharmony_ci#if !defined(GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS) 7ffe3c632Sopenharmony_ci #define GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS 0 8ffe3c632Sopenharmony_ci#endif 9ffe3c632Sopenharmony_ci 10ffe3c632Sopenharmony_ci#if GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS 11ffe3c632Sopenharmony_ci #import <Protobuf/GPBProtocolBuffers_RuntimeSupport.h> 12ffe3c632Sopenharmony_ci#else 13ffe3c632Sopenharmony_ci #import "GPBProtocolBuffers_RuntimeSupport.h" 14ffe3c632Sopenharmony_ci#endif 15ffe3c632Sopenharmony_ci 16ffe3c632Sopenharmony_ci#if GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS 17ffe3c632Sopenharmony_ci #import <Protobuf/GPBSourceContext.pbobjc.h> 18ffe3c632Sopenharmony_ci#else 19ffe3c632Sopenharmony_ci #import "GPBSourceContext.pbobjc.h" 20ffe3c632Sopenharmony_ci#endif 21ffe3c632Sopenharmony_ci// @@protoc_insertion_point(imports) 22ffe3c632Sopenharmony_ci 23ffe3c632Sopenharmony_ci#pragma clang diagnostic push 24ffe3c632Sopenharmony_ci#pragma clang diagnostic ignored "-Wdeprecated-declarations" 25ffe3c632Sopenharmony_ci 26ffe3c632Sopenharmony_ci#pragma mark - GPBSourceContextRoot 27ffe3c632Sopenharmony_ci 28ffe3c632Sopenharmony_ci@implementation GPBSourceContextRoot 29ffe3c632Sopenharmony_ci 30ffe3c632Sopenharmony_ci// No extensions in the file and no imports, so no need to generate 31ffe3c632Sopenharmony_ci// +extensionRegistry. 32ffe3c632Sopenharmony_ci 33ffe3c632Sopenharmony_ci@end 34ffe3c632Sopenharmony_ci 35ffe3c632Sopenharmony_ci#pragma mark - GPBSourceContextRoot_FileDescriptor 36ffe3c632Sopenharmony_ci 37ffe3c632Sopenharmony_cistatic GPBFileDescriptor *GPBSourceContextRoot_FileDescriptor(void) { 38ffe3c632Sopenharmony_ci // This is called by +initialize so there is no need to worry 39ffe3c632Sopenharmony_ci // about thread safety of the singleton. 40ffe3c632Sopenharmony_ci static GPBFileDescriptor *descriptor = NULL; 41ffe3c632Sopenharmony_ci if (!descriptor) { 42ffe3c632Sopenharmony_ci GPB_DEBUG_CHECK_RUNTIME_VERSIONS(); 43ffe3c632Sopenharmony_ci descriptor = [[GPBFileDescriptor alloc] initWithPackage:@"google.protobuf" 44ffe3c632Sopenharmony_ci objcPrefix:@"GPB" 45ffe3c632Sopenharmony_ci syntax:GPBFileSyntaxProto3]; 46ffe3c632Sopenharmony_ci } 47ffe3c632Sopenharmony_ci return descriptor; 48ffe3c632Sopenharmony_ci} 49ffe3c632Sopenharmony_ci 50ffe3c632Sopenharmony_ci#pragma mark - GPBSourceContext 51ffe3c632Sopenharmony_ci 52ffe3c632Sopenharmony_ci@implementation GPBSourceContext 53ffe3c632Sopenharmony_ci 54ffe3c632Sopenharmony_ci@dynamic fileName; 55ffe3c632Sopenharmony_ci 56ffe3c632Sopenharmony_citypedef struct GPBSourceContext__storage_ { 57ffe3c632Sopenharmony_ci uint32_t _has_storage_[1]; 58ffe3c632Sopenharmony_ci NSString *fileName; 59ffe3c632Sopenharmony_ci} GPBSourceContext__storage_; 60ffe3c632Sopenharmony_ci 61ffe3c632Sopenharmony_ci// This method is threadsafe because it is initially called 62ffe3c632Sopenharmony_ci// in +initialize for each subclass. 63ffe3c632Sopenharmony_ci+ (GPBDescriptor *)descriptor { 64ffe3c632Sopenharmony_ci static GPBDescriptor *descriptor = nil; 65ffe3c632Sopenharmony_ci if (!descriptor) { 66ffe3c632Sopenharmony_ci static GPBMessageFieldDescription fields[] = { 67ffe3c632Sopenharmony_ci { 68ffe3c632Sopenharmony_ci .name = "fileName", 69ffe3c632Sopenharmony_ci .dataTypeSpecific.clazz = Nil, 70ffe3c632Sopenharmony_ci .number = GPBSourceContext_FieldNumber_FileName, 71ffe3c632Sopenharmony_ci .hasIndex = 0, 72ffe3c632Sopenharmony_ci .offset = (uint32_t)offsetof(GPBSourceContext__storage_, fileName), 73ffe3c632Sopenharmony_ci .flags = (GPBFieldFlags)(GPBFieldOptional | GPBFieldClearHasIvarOnZero), 74ffe3c632Sopenharmony_ci .dataType = GPBDataTypeString, 75ffe3c632Sopenharmony_ci }, 76ffe3c632Sopenharmony_ci }; 77ffe3c632Sopenharmony_ci GPBDescriptor *localDescriptor = 78ffe3c632Sopenharmony_ci [GPBDescriptor allocDescriptorForClass:[GPBSourceContext class] 79ffe3c632Sopenharmony_ci rootClass:[GPBSourceContextRoot class] 80ffe3c632Sopenharmony_ci file:GPBSourceContextRoot_FileDescriptor() 81ffe3c632Sopenharmony_ci fields:fields 82ffe3c632Sopenharmony_ci fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription)) 83ffe3c632Sopenharmony_ci storageSize:sizeof(GPBSourceContext__storage_) 84ffe3c632Sopenharmony_ci flags:(GPBDescriptorInitializationFlags)(GPBDescriptorInitializationFlag_UsesClassRefs | GPBDescriptorInitializationFlag_Proto3OptionalKnown)]; 85ffe3c632Sopenharmony_ci #if defined(DEBUG) && DEBUG 86ffe3c632Sopenharmony_ci NSAssert(descriptor == nil, @"Startup recursed!"); 87ffe3c632Sopenharmony_ci #endif // DEBUG 88ffe3c632Sopenharmony_ci descriptor = localDescriptor; 89ffe3c632Sopenharmony_ci } 90ffe3c632Sopenharmony_ci return descriptor; 91ffe3c632Sopenharmony_ci} 92ffe3c632Sopenharmony_ci 93ffe3c632Sopenharmony_ci@end 94ffe3c632Sopenharmony_ci 95ffe3c632Sopenharmony_ci 96ffe3c632Sopenharmony_ci#pragma clang diagnostic pop 97ffe3c632Sopenharmony_ci 98ffe3c632Sopenharmony_ci// @@protoc_insertion_point(global_scope) 99