blob: 8775348e953e3e62b116a027f182c3dff85bda26 [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
Thomas Van Lenten79a23c42016-03-17 10:04:21 -04006#if GOOGLE_PROTOBUF_OBJC_GEN_VERSION != 30001
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
Thomas Van Lentene664aa62016-04-19 13:13:04 -040012#pragma clang diagnostic push
13#pragma clang diagnostic ignored "-Wdeprecated-declarations"
14
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040015CF_EXTERN_C_BEGIN
16
Thomas Van Lenten8c889572015-06-16 16:45:14 -040017NS_ASSUME_NONNULL_BEGIN
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040018
19#pragma mark - GPBSourceContextRoot
20
Thomas Van Lenten36650a02016-03-07 12:07:03 -050021/// 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.
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040029@interface GPBSourceContextRoot : GPBRootObject
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040030@end
31
32#pragma mark - GPBSourceContext
33
34typedef GPB_ENUM(GPBSourceContext_FieldNumber) {
35 GPBSourceContext_FieldNumber_FileName = 1,
36};
37
Thomas Van Lenten36650a02016-03-07 12:07:03 -050038/// `SourceContext` represents information about the source of a
39/// protobuf element, like the file in which it is defined.
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040040@interface GPBSourceContext : GPBMessage
41
Thomas Van Lenten36650a02016-03-07 12:07:03 -050042/// The path-qualified name of the .proto file that contained the associated
43/// protobuf element. For example: `"google/protobuf/source.proto"`.
Thomas Van Lenten8c889572015-06-16 16:45:14 -040044@property(nonatomic, readwrite, copy, null_resettable) NSString *fileName;
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040045
46@end
47
Thomas Van Lenten8c889572015-06-16 16:45:14 -040048NS_ASSUME_NONNULL_END
49
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040050CF_EXTERN_C_END
51
Thomas Van Lentene664aa62016-04-19 13:13:04 -040052#pragma clang diagnostic pop
53
Thomas Van Lenten1dcc3292015-05-21 17:14:52 -040054// @@protoc_insertion_point(global_scope)