blob: 90263b1070143274c434bc92dcfa6981594f96b5 [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
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/GPBDescriptor.h>
12 #import <Protobuf/GPBMessage.h>
13 #import <Protobuf/GPBRootObject.h>
14#else
15 #import "GPBDescriptor.h"
16 #import "GPBMessage.h"
17 #import "GPBRootObject.h"
18#endif
19
20#if GOOGLE_PROTOBUF_OBJC_VERSION < 30003
21#error This file was generated by a newer version of protoc which is incompatible with your Protocol Buffer library sources.
22#endif
23#if 30003 < GOOGLE_PROTOBUF_OBJC_MIN_SUPPORTED_VERSION
24#error This file was generated by an older version of protoc which is incompatible with your Protocol Buffer library sources.
25#endif
26
27// @@protoc_insertion_point(imports)
28
29#pragma clang diagnostic push
30#pragma clang diagnostic ignored "-Wdeprecated-declarations"
31
32CF_EXTERN_C_BEGIN
33
34NS_ASSUME_NONNULL_BEGIN
35
36#pragma mark - GPBSourceContextRoot
37
38/**
39 * Exposes the extension registry for this file.
40 *
41 * The base class provides:
42 * @code
43 * + (GPBExtensionRegistry *)extensionRegistry;
44 * @endcode
45 * which is a @c GPBExtensionRegistry that includes all the extensions defined by
46 * this file and all files that it depends on.
47 **/
48GPB_FINAL @interface GPBSourceContextRoot : GPBRootObject
49@end
50
51#pragma mark - GPBSourceContext
52
53typedef GPB_ENUM(GPBSourceContext_FieldNumber) {
54 GPBSourceContext_FieldNumber_FileName = 1,
55};
56
57/**
58 * `SourceContext` represents information about the source of a
59 * protobuf element, like the file in which it is defined.
60 **/
61GPB_FINAL @interface GPBSourceContext : GPBMessage
62
63/**
64 * The path-qualified name of the .proto file that contained the associated
65 * protobuf element. For example: `"google/protobuf/source_context.proto"`.
66 **/
67@property(nonatomic, readwrite, copy, null_resettable) NSString *fileName;
68
69@end
70
71NS_ASSUME_NONNULL_END
72
73CF_EXTERN_C_END
74
75#pragma clang diagnostic pop
76
77// @@protoc_insertion_point(global_scope)