2015-05-21 21:14:52 +00:00
|
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
|
|
// source: google/protobuf/source_context.proto
|
|
|
|
|
2016-05-09 17:53:20 +00:00
|
|
|
// 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
|
2020-01-22 20:50:52 +00:00
|
|
|
#import <Protobuf/GPBProtocolBuffers_RuntimeSupport.h>
|
2016-05-09 17:53:20 +00:00
|
|
|
#else
|
|
|
|
#import "GPBProtocolBuffers_RuntimeSupport.h"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS
|
2020-01-22 20:50:52 +00:00
|
|
|
#import <Protobuf/GPBSourceContext.pbobjc.h>
|
2016-05-09 17:53:20 +00:00
|
|
|
#else
|
2020-01-22 20:50:52 +00:00
|
|
|
#import "GPBSourceContext.pbobjc.h"
|
2016-05-09 17:53:20 +00:00
|
|
|
#endif
|
2015-05-21 21:14:52 +00:00
|
|
|
// @@protoc_insertion_point(imports)
|
|
|
|
|
2016-04-19 17:13:04 +00:00
|
|
|
#pragma clang diagnostic push
|
|
|
|
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
|
2015-05-21 21:14:52 +00:00
|
|
|
#pragma mark - GPBSourceContextRoot
|
|
|
|
|
|
|
|
@implementation GPBSourceContextRoot
|
|
|
|
|
2016-09-01 15:45:50 +00:00
|
|
|
// No extensions in the file and no imports, so no need to generate
|
|
|
|
// +extensionRegistry.
|
|
|
|
|
2015-05-21 21:14:52 +00:00
|
|
|
@end
|
|
|
|
|
2015-06-08 20:24:57 +00:00
|
|
|
#pragma mark - GPBSourceContextRoot_FileDescriptor
|
|
|
|
|
2015-05-21 21:14:52 +00:00
|
|
|
static GPBFileDescriptor *GPBSourceContextRoot_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) {
|
2016-09-15 17:27:17 +00:00
|
|
|
GPB_DEBUG_CHECK_RUNTIME_VERSIONS();
|
2015-05-21 21:14:52 +00:00
|
|
|
descriptor = [[GPBFileDescriptor alloc] initWithPackage:@"google.protobuf"
|
2016-08-16 15:26:49 +00:00
|
|
|
objcPrefix:@"GPB"
|
2015-05-21 21:14:52 +00:00
|
|
|
syntax:GPBFileSyntaxProto3];
|
|
|
|
}
|
|
|
|
return descriptor;
|
|
|
|
}
|
|
|
|
|
|
|
|
#pragma mark - GPBSourceContext
|
|
|
|
|
|
|
|
@implementation GPBSourceContext
|
|
|
|
|
|
|
|
@dynamic fileName;
|
|
|
|
|
2015-06-08 20:24:57 +00:00
|
|
|
typedef struct GPBSourceContext__storage_ {
|
2015-05-21 21:14:52 +00:00
|
|
|
uint32_t _has_storage_[1];
|
|
|
|
NSString *fileName;
|
2015-06-08 20:24:57 +00:00
|
|
|
} GPBSourceContext__storage_;
|
2015-05-21 21:14:52 +00:00
|
|
|
|
|
|
|
// This method is threadsafe because it is initially called
|
|
|
|
// in +initialize for each subclass.
|
|
|
|
+ (GPBDescriptor *)descriptor {
|
2015-06-08 20:24:57 +00:00
|
|
|
static GPBDescriptor *descriptor = nil;
|
2015-05-21 21:14:52 +00:00
|
|
|
if (!descriptor) {
|
|
|
|
static GPBMessageFieldDescription fields[] = {
|
|
|
|
{
|
|
|
|
.name = "fileName",
|
2019-12-18 01:32:09 +00:00
|
|
|
.dataTypeSpecific.clazz = Nil,
|
2015-05-21 21:14:52 +00:00
|
|
|
.number = GPBSourceContext_FieldNumber_FileName,
|
|
|
|
.hasIndex = 0,
|
2016-03-17 14:04:21 +00:00
|
|
|
.offset = (uint32_t)offsetof(GPBSourceContext__storage_, fileName),
|
2015-05-21 21:14:52 +00:00
|
|
|
.flags = GPBFieldOptional,
|
2015-06-08 20:24:57 +00:00
|
|
|
.dataType = GPBDataTypeString,
|
2015-05-21 21:14:52 +00:00
|
|
|
},
|
|
|
|
};
|
2015-06-08 20:24:57 +00:00
|
|
|
GPBDescriptor *localDescriptor =
|
|
|
|
[GPBDescriptor allocDescriptorForClass:[GPBSourceContext class]
|
|
|
|
rootClass:[GPBSourceContextRoot class]
|
|
|
|
file:GPBSourceContextRoot_FileDescriptor()
|
|
|
|
fields:fields
|
2016-03-17 14:04:21 +00:00
|
|
|
fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
|
2015-06-08 20:24:57 +00:00
|
|
|
storageSize:sizeof(GPBSourceContext__storage_)
|
2019-12-18 01:32:09 +00:00
|
|
|
flags:GPBDescriptorInitializationFlag_UsesClassRefs];
|
2018-12-12 00:32:48 +00:00
|
|
|
#if defined(DEBUG) && DEBUG
|
|
|
|
NSAssert(descriptor == nil, @"Startup recursed!");
|
|
|
|
#endif // DEBUG
|
2015-06-08 20:24:57 +00:00
|
|
|
descriptor = localDescriptor;
|
2015-05-21 21:14:52 +00:00
|
|
|
}
|
|
|
|
return descriptor;
|
|
|
|
}
|
|
|
|
|
|
|
|
@end
|
|
|
|
|
|
|
|
|
2016-04-19 17:13:04 +00:00
|
|
|
#pragma clang diagnostic pop
|
|
|
|
|
2015-05-21 21:14:52 +00:00
|
|
|
// @@protoc_insertion_point(global_scope)
|