You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

73 lines
2.0 KiB

6 years ago
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: google/protobuf/source_context.proto
  3. // This CPP symbol can be defined to use imports that match up to the framework
  4. // imports needed when using CocoaPods.
  5. #if !defined(GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS)
  6. #define GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS 0
  7. #endif
  8. #if GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS
  9. #import <Protobuf/GPBProtocolBuffers.h>
  10. #else
  11. #import "GPBProtocolBuffers.h"
  12. #endif
  13. #if GOOGLE_PROTOBUF_OBJC_VERSION < 30002
  14. #error This file was generated by a newer version of protoc which is incompatible with your Protocol Buffer library sources.
  15. #endif
  16. #if 30002 < GOOGLE_PROTOBUF_OBJC_MIN_SUPPORTED_VERSION
  17. #error This file was generated by an older version of protoc which is incompatible with your Protocol Buffer library sources.
  18. #endif
  19. // @@protoc_insertion_point(imports)
  20. #pragma clang diagnostic push
  21. #pragma clang diagnostic ignored "-Wdeprecated-declarations"
  22. CF_EXTERN_C_BEGIN
  23. NS_ASSUME_NONNULL_BEGIN
  24. #pragma mark - GPBSourceContextRoot
  25. /**
  26. * Exposes the extension registry for this file.
  27. *
  28. * The base class provides:
  29. * @code
  30. * + (GPBExtensionRegistry *)extensionRegistry;
  31. * @endcode
  32. * which is a @c GPBExtensionRegistry that includes all the extensions defined by
  33. * this file and all files that it depends on.
  34. **/
  35. @interface GPBSourceContextRoot : GPBRootObject
  36. @end
  37. #pragma mark - GPBSourceContext
  38. typedef GPB_ENUM(GPBSourceContext_FieldNumber) {
  39. GPBSourceContext_FieldNumber_FileName = 1,
  40. };
  41. /**
  42. * `SourceContext` represents information about the source of a
  43. * protobuf element, like the file in which it is defined.
  44. **/
  45. @interface GPBSourceContext : GPBMessage
  46. /**
  47. * The path-qualified name of the .proto file that contained the associated
  48. * protobuf element. For example: `"google/protobuf/source_context.proto"`.
  49. **/
  50. @property(nonatomic, readwrite, copy, null_resettable) NSString *fileName;
  51. @end
  52. NS_ASSUME_NONNULL_END
  53. CF_EXTERN_C_END
  54. #pragma clang diagnostic pop
  55. // @@protoc_insertion_point(global_scope)