blob: 546db6749522c1bc6f6ecfb0eb56153824a6baba [file] [log] [blame]
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -04001// 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 Lenten536059e2015-12-02 14:43:05 -05007#error This file was generated by a different version of protoc which is incompatible with your Protocol Buffer library sources.
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -04008#endif
9
10// @@protoc_insertion_point(imports)
11
12CF_EXTERN_C_BEGIN
13
Thomas Van Lenten8c889572015-06-16 16:45:14 -040014NS_ASSUME_NONNULL_BEGIN
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040015
16#pragma mark - GPBSourceContextRoot
17
Thomas Van Lenten36650a02016-03-07 12:07:03 -050018/// 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 Lenten1dcc3292015-05-21 17:14:52 -040026@interface GPBSourceContextRoot : GPBRootObject
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040027@end
28
29#pragma mark - GPBSourceContext
30
31typedef GPB_ENUM(GPBSourceContext_FieldNumber) {
32 GPBSourceContext_FieldNumber_FileName = 1,
33};
34
Thomas Van Lenten36650a02016-03-07 12:07:03 -050035/// `SourceContext` represents information about the source of a
36/// protobuf element, like the file in which it is defined.
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040037@interface GPBSourceContext : GPBMessage
38
Thomas Van Lenten36650a02016-03-07 12:07:03 -050039/// The path-qualified name of the .proto file that contained the associated
40/// protobuf element. For example: `"google/protobuf/source.proto"`.
Thomas Van Lenten8c889572015-06-16 16:45:14 -040041@property(nonatomic, readwrite, copy, null_resettable) NSString *fileName;
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040042
43@end
44
Thomas Van Lenten8c889572015-06-16 16:45:14 -040045NS_ASSUME_NONNULL_END
46
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040047CF_EXTERN_C_END
48
49// @@protoc_insertion_point(global_scope)