SourceContext.pbobjc.h 1.5 KB

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