blob: b17fec0b788c5ee54610048467fab25a0afd9bf2 [file] [log] [blame]
Thomas Van Lenten56c48ae2020-01-22 15:50:52 -05001// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: google/protobuf/source_context.proto
3
Thomas Van Lenten020e4e32022-03-01 14:16:50 -05004#import "GPBDescriptor.h"
5#import "GPBMessage.h"
6#import "GPBRootObject.h"
Thomas Van Lenten56c48ae2020-01-22 15:50:52 -05007
Thomas Van Lentenb0e27922020-04-13 13:36:56 -04008#if GOOGLE_PROTOBUF_OBJC_VERSION < 30004
Thomas Van Lenten56c48ae2020-01-22 15:50:52 -05009#error This file was generated by a newer version of protoc which is incompatible with your Protocol Buffer library sources.
10#endif
Thomas Van Lentenb0e27922020-04-13 13:36:56 -040011#if 30004 < GOOGLE_PROTOBUF_OBJC_MIN_SUPPORTED_VERSION
Thomas Van Lenten56c48ae2020-01-22 15:50:52 -050012#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
20CF_EXTERN_C_BEGIN
21
22NS_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 **/
36GPB_FINAL @interface GPBSourceContextRoot : GPBRootObject
37@end
38
39#pragma mark - GPBSourceContext
40
41typedef 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 **/
49GPB_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
59NS_ASSUME_NONNULL_END
60
61CF_EXTERN_C_END
62
63#pragma clang diagnostic pop
64
65// @@protoc_insertion_point(global_scope)