GPBEmpty.pbobjc.h 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // clang-format off
  3. // source: google/protobuf/empty.proto
  4. #import "GPBDescriptor.h"
  5. #import "GPBMessage.h"
  6. #import "GPBRootObject.h"
  7. #if GOOGLE_PROTOBUF_OBJC_VERSION < 30007
  8. #error This file was generated by a newer version of protoc which is incompatible with your Protocol Buffer library sources.
  9. #endif
  10. #if 30007 < GOOGLE_PROTOBUF_OBJC_MIN_SUPPORTED_VERSION
  11. #error This file was generated by an older version of protoc which is incompatible with your Protocol Buffer library sources.
  12. #endif
  13. // @@protoc_insertion_point(imports)
  14. #pragma clang diagnostic push
  15. #pragma clang diagnostic ignored "-Wdeprecated-declarations"
  16. CF_EXTERN_C_BEGIN
  17. NS_ASSUME_NONNULL_BEGIN
  18. #pragma mark - GPBEmptyRoot
  19. /**
  20. * Exposes the extension registry for this file.
  21. *
  22. * The base class provides:
  23. * @code
  24. * + (GPBExtensionRegistry *)extensionRegistry;
  25. * @endcode
  26. * which is a @c GPBExtensionRegistry that includes all the extensions defined by
  27. * this file and all files that it depends on.
  28. **/
  29. GPB_FINAL @interface GPBEmptyRoot : GPBRootObject
  30. @end
  31. #pragma mark - GPBEmpty
  32. /**
  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. GPB_FINAL @interface GPBEmpty : GPBMessage
  42. @end
  43. NS_ASSUME_NONNULL_END
  44. CF_EXTERN_C_END
  45. #pragma clang diagnostic pop
  46. // @@protoc_insertion_point(global_scope)
  47. // clang-format on