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