Thomas Van Lenten | 1dcc329 | 2015-05-21 17:14:52 -0400 | [diff] [blame] | 1 | // Generated by the protocol buffer compiler. DO NOT EDIT! |
| 2 | // source: google/protobuf/source_context.proto |
| 3 | |
| 4 | #import "GPBProtocolBuffers.h" |
| 5 | |
Thomas Van Lenten | 79a23c4 | 2016-03-17 10:04:21 -0400 | [diff] [blame] | 6 | #if GOOGLE_PROTOBUF_OBJC_GEN_VERSION != 30001 |
Thomas Van Lenten | 536059e | 2015-12-02 14:43:05 -0500 | [diff] [blame] | 7 | #error This file was generated by a different version of protoc which is incompatible with your Protocol Buffer library sources. |
Thomas Van Lenten | 1dcc329 | 2015-05-21 17:14:52 -0400 | [diff] [blame] | 8 | #endif |
| 9 | |
| 10 | // @@protoc_insertion_point(imports) |
| 11 | |
Thomas Van Lenten | e664aa6 | 2016-04-19 13:13:04 -0400 | [diff] [blame] | 12 | #pragma clang diagnostic push |
| 13 | #pragma clang diagnostic ignored "-Wdeprecated-declarations" |
| 14 | |
Thomas Van Lenten | 1dcc329 | 2015-05-21 17:14:52 -0400 | [diff] [blame] | 15 | CF_EXTERN_C_BEGIN |
| 16 | |
Thomas Van Lenten | 8c88957 | 2015-06-16 16:45:14 -0400 | [diff] [blame] | 17 | NS_ASSUME_NONNULL_BEGIN |
Thomas Van Lenten | 1dcc329 | 2015-05-21 17:14:52 -0400 | [diff] [blame] | 18 | |
| 19 | #pragma mark - GPBSourceContextRoot |
| 20 | |
Thomas Van Lenten | 36650a0 | 2016-03-07 12:07:03 -0500 | [diff] [blame] | 21 | /// Exposes the extension registry for this file. |
| 22 | /// |
| 23 | /// The base class provides: |
| 24 | /// @code |
| 25 | /// + (GPBExtensionRegistry *)extensionRegistry; |
| 26 | /// @endcode |
| 27 | /// which is a @c GPBExtensionRegistry that includes all the extensions defined by |
| 28 | /// this file and all files that it depends on. |
Thomas Van Lenten | 1dcc329 | 2015-05-21 17:14:52 -0400 | [diff] [blame] | 29 | @interface GPBSourceContextRoot : GPBRootObject |
Thomas Van Lenten | 1dcc329 | 2015-05-21 17:14:52 -0400 | [diff] [blame] | 30 | @end |
| 31 | |
| 32 | #pragma mark - GPBSourceContext |
| 33 | |
| 34 | typedef GPB_ENUM(GPBSourceContext_FieldNumber) { |
| 35 | GPBSourceContext_FieldNumber_FileName = 1, |
| 36 | }; |
| 37 | |
Thomas Van Lenten | 36650a0 | 2016-03-07 12:07:03 -0500 | [diff] [blame] | 38 | /// `SourceContext` represents information about the source of a |
| 39 | /// protobuf element, like the file in which it is defined. |
Thomas Van Lenten | 1dcc329 | 2015-05-21 17:14:52 -0400 | [diff] [blame] | 40 | @interface GPBSourceContext : GPBMessage |
| 41 | |
Thomas Van Lenten | 36650a0 | 2016-03-07 12:07:03 -0500 | [diff] [blame] | 42 | /// The path-qualified name of the .proto file that contained the associated |
| 43 | /// protobuf element. For example: `"google/protobuf/source.proto"`. |
Thomas Van Lenten | 8c88957 | 2015-06-16 16:45:14 -0400 | [diff] [blame] | 44 | @property(nonatomic, readwrite, copy, null_resettable) NSString *fileName; |
Thomas Van Lenten | 1dcc329 | 2015-05-21 17:14:52 -0400 | [diff] [blame] | 45 | |
| 46 | @end |
| 47 | |
Thomas Van Lenten | 8c88957 | 2015-06-16 16:45:14 -0400 | [diff] [blame] | 48 | NS_ASSUME_NONNULL_END |
| 49 | |
Thomas Van Lenten | 1dcc329 | 2015-05-21 17:14:52 -0400 | [diff] [blame] | 50 | CF_EXTERN_C_END |
| 51 | |
Thomas Van Lenten | e664aa6 | 2016-04-19 13:13:04 -0400 | [diff] [blame] | 52 | #pragma clang diagnostic pop |
| 53 | |
Thomas Van Lenten | 1dcc329 | 2015-05-21 17:14:52 -0400 | [diff] [blame] | 54 | // @@protoc_insertion_point(global_scope) |