GPBSourceContext.pbobjc.h 2.1 KB

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