GPBSourceContext.pbobjc.h 1.8 KB

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