You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

85 lines
2.5 KiB

6 years ago
6 years ago
6 years ago
6 years ago
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: google/protobuf/empty.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/GPBProtocolBuffers_RuntimeSupport.h>
  10. #else
  11. #import "GPBProtocolBuffers_RuntimeSupport.h"
  12. #endif
  13. #if GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS
  14. #import <protobuf/Empty.pbobjc.h>
  15. #else
  16. #import "google/protobuf/Empty.pbobjc.h"
  17. #endif
  18. // @@protoc_insertion_point(imports)
  19. #pragma clang diagnostic push
  20. #pragma clang diagnostic ignored "-Wdeprecated-declarations"
  21. #pragma mark - GPBEmptyRoot
  22. @implementation GPBEmptyRoot
  23. // No extensions in the file and no imports, so no need to generate
  24. // +extensionRegistry.
  25. @end
  26. #pragma mark - GPBEmptyRoot_FileDescriptor
  27. static GPBFileDescriptor *GPBEmptyRoot_FileDescriptor(void) {
  28. // This is called by +initialize so there is no need to worry
  29. // about thread safety of the singleton.
  30. static GPBFileDescriptor *descriptor = NULL;
  31. if (!descriptor) {
  32. GPB_DEBUG_CHECK_RUNTIME_VERSIONS();
  33. descriptor = [[GPBFileDescriptor alloc] initWithPackage:@"google.protobuf"
  34. objcPrefix:@"GPB"
  35. syntax:GPBFileSyntaxProto3];
  36. }
  37. return descriptor;
  38. }
  39. #pragma mark - GPBEmpty
  40. @implementation GPBEmpty
  41. typedef struct GPBEmpty__storage_ {
  42. uint32_t _has_storage_[1];
  43. } GPBEmpty__storage_;
  44. // This method is threadsafe because it is initially called
  45. // in +initialize for each subclass.
  46. + (GPBDescriptor *)descriptor {
  47. static GPBDescriptor *descriptor = nil;
  48. if (!descriptor) {
  49. GPBDescriptor *localDescriptor =
  50. [GPBDescriptor allocDescriptorForClass:[GPBEmpty class]
  51. rootClass:[GPBEmptyRoot class]
  52. file:GPBEmptyRoot_FileDescriptor()
  53. fields:NULL
  54. fieldCount:0
  55. storageSize:sizeof(GPBEmpty__storage_)
  56. flags:GPBDescriptorInitializationFlag_None];
  57. #if defined(DEBUG) && DEBUG
  58. NSAssert(descriptor == nil, @"Startup recursed!");
  59. #endif // DEBUG
  60. descriptor = localDescriptor;
  61. }
  62. return descriptor;
  63. }
  64. @end
  65. #pragma clang diagnostic pop
  66. // @@protoc_insertion_point(global_scope)