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 | |
| 6 | #if GOOGLE_PROTOBUF_OBJC_GEN_VERSION != 30000 |
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 | |
| 12 | CF_EXTERN_C_BEGIN |
| 13 | |
Thomas Van Lenten | 8c88957 | 2015-06-16 16:45:14 -0400 | [diff] [blame] | 14 | NS_ASSUME_NONNULL_BEGIN |
Thomas Van Lenten | 1dcc329 | 2015-05-21 17:14:52 -0400 | [diff] [blame] | 15 | |
| 16 | #pragma mark - GPBSourceContextRoot |
| 17 | |
Thomas Van Lenten | 36650a0 | 2016-03-07 12:07:03 -0500 | [diff] [blame] | 18 | /// Exposes the extension registry for this file. |
| 19 | /// |
| 20 | /// The base class provides: |
| 21 | /// @code |
| 22 | /// + (GPBExtensionRegistry *)extensionRegistry; |
| 23 | /// @endcode |
| 24 | /// which is a @c GPBExtensionRegistry that includes all the extensions defined by |
| 25 | /// this file and all files that it depends on. |
Thomas Van Lenten | 1dcc329 | 2015-05-21 17:14:52 -0400 | [diff] [blame] | 26 | @interface GPBSourceContextRoot : GPBRootObject |
Thomas Van Lenten | 1dcc329 | 2015-05-21 17:14:52 -0400 | [diff] [blame] | 27 | @end |
| 28 | |
| 29 | #pragma mark - GPBSourceContext |
| 30 | |
| 31 | typedef GPB_ENUM(GPBSourceContext_FieldNumber) { |
| 32 | GPBSourceContext_FieldNumber_FileName = 1, |
| 33 | }; |
| 34 | |
Thomas Van Lenten | 36650a0 | 2016-03-07 12:07:03 -0500 | [diff] [blame] | 35 | /// `SourceContext` represents information about the source of a |
| 36 | /// protobuf element, like the file in which it is defined. |
Thomas Van Lenten | 1dcc329 | 2015-05-21 17:14:52 -0400 | [diff] [blame] | 37 | @interface GPBSourceContext : GPBMessage |
| 38 | |
Thomas Van Lenten | 36650a0 | 2016-03-07 12:07:03 -0500 | [diff] [blame] | 39 | /// The path-qualified name of the .proto file that contained the associated |
| 40 | /// protobuf element. For example: `"google/protobuf/source.proto"`. |
Thomas Van Lenten | 8c88957 | 2015-06-16 16:45:14 -0400 | [diff] [blame] | 41 | @property(nonatomic, readwrite, copy, null_resettable) NSString *fileName; |
Thomas Van Lenten | 1dcc329 | 2015-05-21 17:14:52 -0400 | [diff] [blame] | 42 | |
| 43 | @end |
| 44 | |
Thomas Van Lenten | 8c88957 | 2015-06-16 16:45:14 -0400 | [diff] [blame] | 45 | NS_ASSUME_NONNULL_END |
| 46 | |
Thomas Van Lenten | 1dcc329 | 2015-05-21 17:14:52 -0400 | [diff] [blame] | 47 | CF_EXTERN_C_END |
| 48 | |
| 49 | // @@protoc_insertion_point(global_scope) |