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