GPBEmpty.pbobjc.h 1.6 KB

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