SourceContext.pbobjc.h 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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_GEN_VERSION != 30001
  14. #error This file was generated by a different version of protoc which is incompatible with your Protocol Buffer library sources.
  15. #endif
  16. // @@protoc_insertion_point(imports)
  17. #pragma clang diagnostic push
  18. #pragma clang diagnostic ignored "-Wdeprecated-declarations"
  19. CF_EXTERN_C_BEGIN
  20. NS_ASSUME_NONNULL_BEGIN
  21. #pragma mark - GPBSourceContextRoot
  22. /**
  23. * Exposes the extension registry for this file.
  24. *
  25. * The base class provides:
  26. * @code
  27. * + (GPBExtensionRegistry *)extensionRegistry;
  28. * @endcode
  29. * which is a @c GPBExtensionRegistry that includes all the extensions defined by
  30. * this file and all files that it depends on.
  31. **/
  32. @interface GPBSourceContextRoot : GPBRootObject
  33. @end
  34. #pragma mark - GPBSourceContext
  35. typedef GPB_ENUM(GPBSourceContext_FieldNumber) {
  36. GPBSourceContext_FieldNumber_FileName = 1,
  37. };
  38. /**
  39. * `SourceContext` represents information about the source of a
  40. * protobuf element, like the file in which it is defined.
  41. **/
  42. @interface GPBSourceContext : GPBMessage
  43. /**
  44. * The path-qualified name of the .proto file that contained the associated
  45. * protobuf element. For example: `"google/protobuf/source_context.proto"`.
  46. **/
  47. @property(nonatomic, readwrite, copy, null_resettable) NSString *fileName;
  48. @end
  49. NS_ASSUME_NONNULL_END
  50. CF_EXTERN_C_END
  51. #pragma clang diagnostic pop
  52. // @@protoc_insertion_point(global_scope)