xref: /aosp_15_r20/external/cronet/third_party/protobuf/objectivec/GPBEmpty.pbobjc.h (revision 6777b5387eb2ff775bb5750e3f5d96f37fb7352b)
1 // Generated by the protocol buffer compiler.  DO NOT EDIT!
2 // source: google/protobuf/empty.proto
3 
4 #import "GPBDescriptor.h"
5 #import "GPBMessage.h"
6 #import "GPBRootObject.h"
7 
8 #if GOOGLE_PROTOBUF_OBJC_VERSION < 30004
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 30004 < 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 
15 // @@protoc_insertion_point(imports)
16 
17 #pragma clang diagnostic push
18 #pragma clang diagnostic ignored "-Wdeprecated-declarations"
19 
20 CF_EXTERN_C_BEGIN
21 
22 NS_ASSUME_NONNULL_BEGIN
23 
24 #pragma mark - GPBEmptyRoot
25 
26 /**
27  * Exposes the extension registry for this file.
28  *
29  * The base class provides:
30  * @code
31  *   + (GPBExtensionRegistry *)extensionRegistry;
32  * @endcode
33  * which is a @c GPBExtensionRegistry that includes all the extensions defined by
34  * this file and all files that it depends on.
35  **/
36 GPB_FINAL @interface GPBEmptyRoot : GPBRootObject
37 @end
38 
39 #pragma mark - GPBEmpty
40 
41 /**
42  * A generic empty message that you can re-use to avoid defining duplicated
43  * empty messages in your APIs. A typical example is to use it as the request
44  * or the response type of an API method. For instance:
45  *
46  *     service Foo {
47  *       rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
48  *     }
49  **/
50 GPB_FINAL @interface GPBEmpty : GPBMessage
51 
52 @end
53 
54 NS_ASSUME_NONNULL_END
55 
56 CF_EXTERN_C_END
57 
58 #pragma clang diagnostic pop
59 
60 // @@protoc_insertion_point(global_scope)
61