GPBSourceContext.pbobjc.h 1.7 KB

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