GPBSourceContext.pbobjc.h 1.8 KB

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