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