SourceContext.pbobjc.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. #pragma mark - GPBSourceContextRoot
  10. @interface GPBSourceContextRoot : GPBRootObject
  11. // The base class provides:
  12. // + (GPBExtensionRegistry *)extensionRegistry;
  13. // which is an GPBExtensionRegistry that includes all the extensions defined by
  14. // this file and all files that it depends on.
  15. @end
  16. #pragma mark - GPBSourceContext
  17. typedef GPB_ENUM(GPBSourceContext_FieldNumber) {
  18. GPBSourceContext_FieldNumber_FileName = 1,
  19. };
  20. // `SourceContext` represents information about the source of a
  21. // protobuf element, like the file in which it is defined.
  22. @interface GPBSourceContext : GPBMessage
  23. // The path-qualified name of the .proto file that contained the associated
  24. // protobuf element. For example: `"google/protobuf/source.proto"`.
  25. @property(nonatomic, readwrite, copy) NSString *fileName;
  26. @end
  27. CF_EXTERN_C_END
  28. // @@protoc_insertion_point(global_scope)