OLD | NEW |
1 // Generated by the protocol buffer compiler. DO NOT EDIT! | 1 // Generated by the protocol buffer compiler. DO NOT EDIT! |
2 // source: google/protobuf/empty.proto | 2 // source: google/protobuf/empty.proto |
3 | 3 |
4 #import "GPBProtocolBuffers.h" | 4 // This CPP symbol can be defined to use imports that match up to the framework |
| 5 // imports needed when using CocoaPods. |
| 6 #if !defined(GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS) |
| 7 #define GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS 0 |
| 8 #endif |
5 | 9 |
6 #if GOOGLE_PROTOBUF_OBJC_GEN_VERSION != 30001 | 10 #if GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS |
7 #error This file was generated by a different version of protoc which is incompa
tible with your Protocol Buffer library sources. | 11 #import <Protobuf/GPBProtocolBuffers.h> |
| 12 #else |
| 13 #import "GPBProtocolBuffers.h" |
| 14 #endif |
| 15 |
| 16 #if GOOGLE_PROTOBUF_OBJC_VERSION < 30002 |
| 17 #error This file was generated by a newer version of protoc which is incompatibl
e with your Protocol Buffer library sources. |
| 18 #endif |
| 19 #if 30002 < GOOGLE_PROTOBUF_OBJC_MIN_SUPPORTED_VERSION |
| 20 #error This file was generated by an older version of protoc which is incompatib
le with your Protocol Buffer library sources. |
8 #endif | 21 #endif |
9 | 22 |
10 // @@protoc_insertion_point(imports) | 23 // @@protoc_insertion_point(imports) |
11 | 24 |
12 #pragma clang diagnostic push | 25 #pragma clang diagnostic push |
13 #pragma clang diagnostic ignored "-Wdeprecated-declarations" | 26 #pragma clang diagnostic ignored "-Wdeprecated-declarations" |
14 | 27 |
15 CF_EXTERN_C_BEGIN | 28 CF_EXTERN_C_BEGIN |
16 | 29 |
17 NS_ASSUME_NONNULL_BEGIN | 30 NS_ASSUME_NONNULL_BEGIN |
18 | 31 |
19 #pragma mark - GPBEmptyRoot | 32 #pragma mark - GPBEmptyRoot |
20 | 33 |
21 /// Exposes the extension registry for this file. | 34 /** |
22 /// | 35 * Exposes the extension registry for this file. |
23 /// The base class provides: | 36 * |
24 /// @code | 37 * The base class provides: |
25 /// + (GPBExtensionRegistry *)extensionRegistry; | 38 * @code |
26 /// @endcode | 39 * + (GPBExtensionRegistry *)extensionRegistry; |
27 /// which is a @c GPBExtensionRegistry that includes all the extensions defined
by | 40 * @endcode |
28 /// this file and all files that it depends on. | 41 * which is a @c GPBExtensionRegistry that includes all the extensions defined b
y |
| 42 * this file and all files that it depends on. |
| 43 **/ |
29 @interface GPBEmptyRoot : GPBRootObject | 44 @interface GPBEmptyRoot : GPBRootObject |
30 @end | 45 @end |
31 | 46 |
32 #pragma mark - GPBEmpty | 47 #pragma mark - GPBEmpty |
33 | 48 |
34 /// A generic empty message that you can re-use to avoid defining duplicated | 49 /** |
35 /// empty messages in your APIs. A typical example is to use it as the request | 50 * A generic empty message that you can re-use to avoid defining duplicated |
36 /// or the response type of an API method. For instance: | 51 * empty messages in your APIs. A typical example is to use it as the request |
37 /// | 52 * or the response type of an API method. For instance: |
38 /// service Foo { | 53 * |
39 /// rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); | 54 * service Foo { |
40 /// } | 55 * rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); |
41 /// | 56 * } |
42 /// The JSON representation for `Empty` is empty JSON object `{}`. | 57 * |
| 58 * The JSON representation for `Empty` is empty JSON object `{}`. |
| 59 **/ |
43 @interface GPBEmpty : GPBMessage | 60 @interface GPBEmpty : GPBMessage |
44 | 61 |
45 @end | 62 @end |
46 | 63 |
47 NS_ASSUME_NONNULL_END | 64 NS_ASSUME_NONNULL_END |
48 | 65 |
49 CF_EXTERN_C_END | 66 CF_EXTERN_C_END |
50 | 67 |
51 #pragma clang diagnostic pop | 68 #pragma clang diagnostic pop |
52 | 69 |
53 // @@protoc_insertion_point(global_scope) | 70 // @@protoc_insertion_point(global_scope) |
OLD | NEW |