Empty.pbobjc.h 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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.h>
  10. #else
  11. #import "GPBProtocolBuffers.h"
  12. #endif
  13. #if GOOGLE_PROTOBUF_OBJC_GEN_VERSION != 30001
  14. #error This file was generated by a different version of protoc which is incompatible with your Protocol Buffer library sources.
  15. #endif
  16. // @@protoc_insertion_point(imports)
  17. #pragma clang diagnostic push
  18. #pragma clang diagnostic ignored "-Wdeprecated-declarations"
  19. CF_EXTERN_C_BEGIN
  20. NS_ASSUME_NONNULL_BEGIN
  21. #pragma mark - GPBEmptyRoot
  22. /// Exposes the extension registry for this file.
  23. ///
  24. /// The base class provides:
  25. /// @code
  26. /// + (GPBExtensionRegistry *)extensionRegistry;
  27. /// @endcode
  28. /// which is a @c GPBExtensionRegistry that includes all the extensions defined by
  29. /// this file and all files that it depends on.
  30. @interface GPBEmptyRoot : GPBRootObject
  31. @end
  32. #pragma mark - GPBEmpty
  33. /// A generic empty message that you can re-use to avoid defining duplicated
  34. /// empty messages in your APIs. A typical example is to use it as the request
  35. /// or the response type of an API method. For instance:
  36. ///
  37. /// service Foo {
  38. /// rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
  39. /// }
  40. ///
  41. /// The JSON representation for `Empty` is empty JSON object `{}`.
  42. @interface GPBEmpty : GPBMessage
  43. @end
  44. NS_ASSUME_NONNULL_END
  45. CF_EXTERN_C_END
  46. #pragma clang diagnostic pop
  47. // @@protoc_insertion_point(global_scope)