• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 != 30001
7 #error This file was generated by a different version of protoc which is incompatible with your Protocol Buffer library sources.
8 #endif
9 
10 // @@protoc_insertion_point(imports)
11 
12 #pragma clang diagnostic push
13 #pragma clang diagnostic ignored "-Wdeprecated-declarations"
14 
15 CF_EXTERN_C_BEGIN
16 
17 NS_ASSUME_NONNULL_BEGIN
18 
19 #pragma mark - GPBSourceContextRoot
20 
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.
29 @interface GPBSourceContextRoot : GPBRootObject
30 @end
31 
32 #pragma mark - GPBSourceContext
33 
34 typedef GPB_ENUM(GPBSourceContext_FieldNumber) {
35   GPBSourceContext_FieldNumber_FileName = 1,
36 };
37 
38 /// `SourceContext` represents information about the source of a
39 /// protobuf element, like the file in which it is defined.
40 @interface GPBSourceContext : GPBMessage
41 
42 /// The path-qualified name of the .proto file that contained the associated
43 /// protobuf element.  For example: `"google/protobuf/source.proto"`.
44 @property(nonatomic, readwrite, copy, null_resettable) NSString *fileName;
45 
46 @end
47 
48 NS_ASSUME_NONNULL_END
49 
50 CF_EXTERN_C_END
51 
52 #pragma clang diagnostic pop
53 
54 // @@protoc_insertion_point(global_scope)
55