GPBEmpty.pbobjc.h 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // NO CHECKED-IN PROTOBUF GENCODE
  3. // clang-format off
  4. // source: google/protobuf/empty.proto
  5. #import "GPBDescriptor.h"
  6. #import "GPBMessage.h"
  7. #import "GPBRootObject.h"
  8. #if GOOGLE_PROTOBUF_OBJC_VERSION < 30007
  9. #error This file was generated by a newer version of protoc which is incompatible with your Protocol Buffer library sources.
  10. #endif
  11. #if 30007 < GOOGLE_PROTOBUF_OBJC_MIN_SUPPORTED_VERSION
  12. #error This file was generated by an older version of protoc which is incompatible with your Protocol Buffer library sources.
  13. #endif
  14. // @@protoc_insertion_point(imports)
  15. #pragma clang diagnostic push
  16. #pragma clang diagnostic ignored "-Wdeprecated-declarations"
  17. CF_EXTERN_C_BEGIN
  18. NS_ASSUME_NONNULL_BEGIN
  19. #pragma mark - GPBEmptyRoot
  20. /**
  21. * Exposes the extension registry for this file.
  22. *
  23. * The base class provides:
  24. * @code
  25. * + (GPBExtensionRegistry *)extensionRegistry;
  26. * @endcode
  27. * which is a @c GPBExtensionRegistry that includes all the extensions defined by
  28. * this file and all files that it depends on.
  29. **/
  30. GPB_FINAL @interface GPBEmptyRoot : GPBRootObject
  31. @end
  32. #pragma mark - GPBEmpty
  33. /**
  34. * A generic empty message that you can re-use to avoid defining duplicated
  35. * empty messages in your APIs. A typical example is to use it as the request
  36. * or the response type of an API method. For instance:
  37. *
  38. * service Foo {
  39. * rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
  40. * }
  41. **/
  42. GPB_FINAL @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)
  48. // clang-format on