• 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 // 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
9 
10 #if GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS
11  #import <Protobuf/GPBProtocolBuffers.h>
12 #else
13  #import "GPBProtocolBuffers.h"
14 #endif
15 
16 #if GOOGLE_PROTOBUF_OBJC_GEN_VERSION != 30001
17 #error This file was generated by a different version of protoc which is incompatible with your Protocol Buffer library sources.
18 #endif
19 
20 // @@protoc_insertion_point(imports)
21 
22 #pragma clang diagnostic push
23 #pragma clang diagnostic ignored "-Wdeprecated-declarations"
24 
25 CF_EXTERN_C_BEGIN
26 
27 NS_ASSUME_NONNULL_BEGIN
28 
29 #pragma mark - GPBSourceContextRoot
30 
31 /// Exposes the extension registry for this file.
32 ///
33 /// The base class provides:
34 /// @code
35 ///   + (GPBExtensionRegistry *)extensionRegistry;
36 /// @endcode
37 /// which is a @c GPBExtensionRegistry that includes all the extensions defined by
38 /// this file and all files that it depends on.
39 @interface GPBSourceContextRoot : GPBRootObject
40 @end
41 
42 #pragma mark - GPBSourceContext
43 
44 typedef GPB_ENUM(GPBSourceContext_FieldNumber) {
45   GPBSourceContext_FieldNumber_FileName = 1,
46 };
47 
48 /// `SourceContext` represents information about the source of a
49 /// protobuf element, like the file in which it is defined.
50 @interface GPBSourceContext : GPBMessage
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 @property(nonatomic, readwrite, copy, null_resettable) NSString *fileName;
55 
56 @end
57 
58 NS_ASSUME_NONNULL_END
59 
60 CF_EXTERN_C_END
61 
62 #pragma clang diagnostic pop
63 
64 // @@protoc_insertion_point(global_scope)
65