SourceContext.pbobjc.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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 != 30000
  5. #error This file was generated by a different version of protoc-gen-objc which is incompatible with your Protocol Buffer sources.
  6. #endif
  7. // @@protoc_insertion_point(imports)
  8. CF_EXTERN_C_BEGIN
  9. NS_ASSUME_NONNULL_BEGIN
  10. #pragma mark - GPBSourceContextRoot
  11. @interface GPBSourceContextRoot : GPBRootObject
  12. // The base class provides:
  13. // + (GPBExtensionRegistry *)extensionRegistry;
  14. // which is an GPBExtensionRegistry that includes all the extensions defined by
  15. // this file and all files that it depends on.
  16. @end
  17. #pragma mark - GPBSourceContext
  18. typedef GPB_ENUM(GPBSourceContext_FieldNumber) {
  19. GPBSourceContext_FieldNumber_FileName = 1,
  20. };
  21. // `SourceContext` represents information about the source of a
  22. // protobuf element, like the file in which it is defined.
  23. @interface GPBSourceContext : GPBMessage
  24. // The path-qualified name of the .proto file that contained the associated
  25. // protobuf element. For example: `"google/protobuf/source.proto"`.
  26. @property(nonatomic, readwrite, copy, null_resettable) NSString *fileName;
  27. @end
  28. NS_ASSUME_NONNULL_END
  29. CF_EXTERN_C_END
  30. // @@protoc_insertion_point(global_scope)