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