Fix small typo (#19993)
[google-protobuf.git] / objectivec / GPBEmpty.pbobjc.h
blobd1233ae0e8efe4b1ff7b5c94e0ada0296aee1135
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
6 #import "GPBDescriptor.h"
7 #import "GPBMessage.h"
8 #import "GPBRootObject.h"
10 #if GOOGLE_PROTOBUF_OBJC_VERSION < 30007
11 #error This file was generated by a newer version of protoc which is incompatible with your Protocol Buffer library sources.
12 #endif
13 #if 30007 < GOOGLE_PROTOBUF_OBJC_MIN_SUPPORTED_VERSION
14 #error This file was generated by an older version of protoc which is incompatible with your Protocol Buffer library sources.
15 #endif
17 // @@protoc_insertion_point(imports)
19 #pragma clang diagnostic push
20 #pragma clang diagnostic ignored "-Wdeprecated-declarations"
22 CF_EXTERN_C_BEGIN
24 NS_ASSUME_NONNULL_BEGIN
26 #pragma mark - GPBEmptyRoot
28 /**
29 * Exposes the extension registry for this file.
31 * The base class provides:
32 * @code
33 * + (GPBExtensionRegistry *)extensionRegistry;
34 * @endcode
35 * which is a @c GPBExtensionRegistry that includes all the extensions defined by
36 * this file and all files that it depends on.
37 **/
38 GPB_FINAL @interface GPBEmptyRoot : GPBRootObject
39 @end
41 #pragma mark - GPBEmpty
43 /**
44 * A generic empty message that you can re-use to avoid defining duplicated
45 * empty messages in your APIs. A typical example is to use it as the request
46 * or the response type of an API method. For instance:
48 * service Foo {
49 * rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
50 * }
51 **/
52 GPB_FINAL @interface GPBEmpty : GPBMessage
54 @end
56 NS_ASSUME_NONNULL_END
58 CF_EXTERN_C_END
60 #pragma clang diagnostic pop
62 // @@protoc_insertion_point(global_scope)
64 // clang-format on