SourceContext.pbobjc.h 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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. /// Exposes the extension registry for this file.
  23. ///
  24. /// The base class provides:
  25. /// @code
  26. /// + (GPBExtensionRegistry *)extensionRegistry;
  27. /// @endcode
  28. /// which is a @c GPBExtensionRegistry that includes all the extensions defined by
  29. /// this file and all files that it depends on.
  30. @interface GPBSourceContextRoot : GPBRootObject
  31. @end
  32. #pragma mark - GPBSourceContext
  33. typedef GPB_ENUM(GPBSourceContext_FieldNumber) {
  34. GPBSourceContext_FieldNumber_FileName = 1,
  35. };
  36. /// `SourceContext` represents information about the source of a
  37. /// protobuf element, like the file in which it is defined.
  38. @interface GPBSourceContext : GPBMessage
  39. /// The path-qualified name of the .proto file that contained the associated
  40. /// protobuf element. For example: `"google/protobuf/source.proto"`.
  41. @property(nonatomic, readwrite, copy, null_resettable) NSString *fileName;
  42. @end
  43. NS_ASSUME_NONNULL_END
  44. CF_EXTERN_C_END
  45. #pragma clang diagnostic pop
  46. // @@protoc_insertion_point(global_scope)