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