blob: e4923959ea6a421b4f96d9ffcbe4872cc81516c1 [file] [log] [blame]
Brian Silverman9c614bc2016-02-15 20:20:02 -05001// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: google/protobuf/source_context.proto
3
Austin Schuh40c16522018-10-28 20:27:54 -07004// 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
Brian Silverman9c614bc2016-02-15 20:20:02 -05009
Austin Schuh40c16522018-10-28 20:27:54 -070010#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 < 30002
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 30002 < 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.
Brian Silverman9c614bc2016-02-15 20:20:02 -050025#endif
26
27// @@protoc_insertion_point(imports)
28
Austin Schuh40c16522018-10-28 20:27:54 -070029#pragma clang diagnostic push
30#pragma clang diagnostic ignored "-Wdeprecated-declarations"
31
Brian Silverman9c614bc2016-02-15 20:20:02 -050032CF_EXTERN_C_BEGIN
33
34NS_ASSUME_NONNULL_BEGIN
35
36#pragma mark - GPBSourceContextRoot
37
Austin Schuh40c16522018-10-28 20:27:54 -070038/**
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 **/
Brian Silverman9c614bc2016-02-15 20:20:02 -050048@interface GPBSourceContextRoot : GPBRootObject
Brian Silverman9c614bc2016-02-15 20:20:02 -050049@end
50
51#pragma mark - GPBSourceContext
52
53typedef GPB_ENUM(GPBSourceContext_FieldNumber) {
54 GPBSourceContext_FieldNumber_FileName = 1,
55};
56
Austin Schuh40c16522018-10-28 20:27:54 -070057/**
58 * `SourceContext` represents information about the source of a
59 * protobuf element, like the file in which it is defined.
60 **/
Brian Silverman9c614bc2016-02-15 20:20:02 -050061@interface GPBSourceContext : GPBMessage
62
Austin Schuh40c16522018-10-28 20:27:54 -070063/**
64 * The path-qualified name of the .proto file that contained the associated
65 * protobuf element. For example: `"google/protobuf/source_context.proto"`.
66 **/
Brian Silverman9c614bc2016-02-15 20:20:02 -050067@property(nonatomic, readwrite, copy, null_resettable) NSString *fileName;
68
69@end
70
71NS_ASSUME_NONNULL_END
72
73CF_EXTERN_C_END
74
Austin Schuh40c16522018-10-28 20:27:54 -070075#pragma clang diagnostic pop
76
Brian Silverman9c614bc2016-02-15 20:20:02 -050077// @@protoc_insertion_point(global_scope)