1 // Generated by the protocol buffer compiler. DO NOT EDIT! 2 // NO CHECKED-IN PROTOBUF GENCODE 3 // clang-format off 4 // source: google/protobuf/source_context.proto 5 6 #import "GPBDescriptor.h" 7 #import "GPBMessage.h" 8 #import "GPBRootObject.h" 9 10 #if GOOGLE_PROTOBUF_OBJC_VERSION < 30007 11 #error This file was generated by a newer version of protoc which is incompatible with your Protocol Buffer library sources. 12 #endif 13 #if 30007 < GOOGLE_PROTOBUF_OBJC_MIN_SUPPORTED_VERSION 14 #error This file was generated by an older version of protoc which is incompatible with your Protocol Buffer library sources. 15 #endif 16 17 // @@protoc_insertion_point(imports) 18 19 #pragma clang diagnostic push 20 #pragma clang diagnostic ignored "-Wdeprecated-declarations" 21 22 CF_EXTERN_C_BEGIN 23 24 NS_ASSUME_NONNULL_BEGIN 25 26 #pragma mark - GPBSourceContextRoot 27 28 /** 29 * Exposes the extension registry for this file. 30 * 31 * The base class provides: 32 * @code 33 * + (GPBExtensionRegistry *)extensionRegistry; 34 * @endcode 35 * which is a @c GPBExtensionRegistry that includes all the extensions defined by 36 * this file and all files that it depends on. 37 **/ 38 GPB_FINAL @interface GPBSourceContextRoot : GPBRootObject 39 @end 40 41 #pragma mark - GPBSourceContext 42 43 typedef GPB_ENUM(GPBSourceContext_FieldNumber) { 44 GPBSourceContext_FieldNumber_FileName = 1, 45 }; 46 47 /** 48 * `SourceContext` represents information about the source of a 49 * protobuf element, like the file in which it is defined. 50 **/ 51 GPB_FINAL @interface GPBSourceContext : GPBMessage 52 53 /** 54 * The path-qualified name of the .proto file that contained the associated 55 * protobuf element. For example: `"google/protobuf/source_context.proto"`. 56 **/ 57 @property(nonatomic, readwrite, copy, null_resettable) NSString *fileName; 58 59 @end 60 61 NS_ASSUME_NONNULL_END 62 63 CF_EXTERN_C_END 64 65 #pragma clang diagnostic pop 66 67 // @@protoc_insertion_point(global_scope) 68 69 // clang-format on 70