| 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/wrappers.proto | 2 // source: google/protobuf/wrappers.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 - GPBWrappersRoot | 19 #pragma mark - GPBWrappersRoot |
| 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 GPBWrappersRoot : GPBRootObject | 29 @interface GPBWrappersRoot : GPBRootObject |
| 45 @end | 30 @end |
| 46 | 31 |
| 47 #pragma mark - GPBDoubleValue | 32 #pragma mark - GPBDoubleValue |
| 48 | 33 |
| 49 typedef GPB_ENUM(GPBDoubleValue_FieldNumber) { | 34 typedef GPB_ENUM(GPBDoubleValue_FieldNumber) { |
| 50 GPBDoubleValue_FieldNumber_Value = 1, | 35 GPBDoubleValue_FieldNumber_Value = 1, |
| 51 }; | 36 }; |
| 52 | 37 |
| 53 /** | 38 /// Wrapper message for `double`. |
| 54 * Wrapper message for `double`. | 39 /// |
| 55 * | 40 /// The JSON representation for `DoubleValue` is JSON number. |
| 56 * The JSON representation for `DoubleValue` is JSON number. | |
| 57 **/ | |
| 58 @interface GPBDoubleValue : GPBMessage | 41 @interface GPBDoubleValue : GPBMessage |
| 59 | 42 |
| 60 /** The double value. */ | 43 /// The double value. |
| 61 @property(nonatomic, readwrite) double value; | 44 @property(nonatomic, readwrite) double value; |
| 62 | 45 |
| 63 @end | 46 @end |
| 64 | 47 |
| 65 #pragma mark - GPBFloatValue | 48 #pragma mark - GPBFloatValue |
| 66 | 49 |
| 67 typedef GPB_ENUM(GPBFloatValue_FieldNumber) { | 50 typedef GPB_ENUM(GPBFloatValue_FieldNumber) { |
| 68 GPBFloatValue_FieldNumber_Value = 1, | 51 GPBFloatValue_FieldNumber_Value = 1, |
| 69 }; | 52 }; |
| 70 | 53 |
| 71 /** | 54 /// Wrapper message for `float`. |
| 72 * Wrapper message for `float`. | 55 /// |
| 73 * | 56 /// The JSON representation for `FloatValue` is JSON number. |
| 74 * The JSON representation for `FloatValue` is JSON number. | |
| 75 **/ | |
| 76 @interface GPBFloatValue : GPBMessage | 57 @interface GPBFloatValue : GPBMessage |
| 77 | 58 |
| 78 /** The float value. */ | 59 /// The float value. |
| 79 @property(nonatomic, readwrite) float value; | 60 @property(nonatomic, readwrite) float value; |
| 80 | 61 |
| 81 @end | 62 @end |
| 82 | 63 |
| 83 #pragma mark - GPBInt64Value | 64 #pragma mark - GPBInt64Value |
| 84 | 65 |
| 85 typedef GPB_ENUM(GPBInt64Value_FieldNumber) { | 66 typedef GPB_ENUM(GPBInt64Value_FieldNumber) { |
| 86 GPBInt64Value_FieldNumber_Value = 1, | 67 GPBInt64Value_FieldNumber_Value = 1, |
| 87 }; | 68 }; |
| 88 | 69 |
| 89 /** | 70 /// Wrapper message for `int64`. |
| 90 * Wrapper message for `int64`. | 71 /// |
| 91 * | 72 /// The JSON representation for `Int64Value` is JSON string. |
| 92 * The JSON representation for `Int64Value` is JSON string. | |
| 93 **/ | |
| 94 @interface GPBInt64Value : GPBMessage | 73 @interface GPBInt64Value : GPBMessage |
| 95 | 74 |
| 96 /** The int64 value. */ | 75 /// The int64 value. |
| 97 @property(nonatomic, readwrite) int64_t value; | 76 @property(nonatomic, readwrite) int64_t value; |
| 98 | 77 |
| 99 @end | 78 @end |
| 100 | 79 |
| 101 #pragma mark - GPBUInt64Value | 80 #pragma mark - GPBUInt64Value |
| 102 | 81 |
| 103 typedef GPB_ENUM(GPBUInt64Value_FieldNumber) { | 82 typedef GPB_ENUM(GPBUInt64Value_FieldNumber) { |
| 104 GPBUInt64Value_FieldNumber_Value = 1, | 83 GPBUInt64Value_FieldNumber_Value = 1, |
| 105 }; | 84 }; |
| 106 | 85 |
| 107 /** | 86 /// Wrapper message for `uint64`. |
| 108 * Wrapper message for `uint64`. | 87 /// |
| 109 * | 88 /// The JSON representation for `UInt64Value` is JSON string. |
| 110 * The JSON representation for `UInt64Value` is JSON string. | |
| 111 **/ | |
| 112 @interface GPBUInt64Value : GPBMessage | 89 @interface GPBUInt64Value : GPBMessage |
| 113 | 90 |
| 114 /** The uint64 value. */ | 91 /// The uint64 value. |
| 115 @property(nonatomic, readwrite) uint64_t value; | 92 @property(nonatomic, readwrite) uint64_t value; |
| 116 | 93 |
| 117 @end | 94 @end |
| 118 | 95 |
| 119 #pragma mark - GPBInt32Value | 96 #pragma mark - GPBInt32Value |
| 120 | 97 |
| 121 typedef GPB_ENUM(GPBInt32Value_FieldNumber) { | 98 typedef GPB_ENUM(GPBInt32Value_FieldNumber) { |
| 122 GPBInt32Value_FieldNumber_Value = 1, | 99 GPBInt32Value_FieldNumber_Value = 1, |
| 123 }; | 100 }; |
| 124 | 101 |
| 125 /** | 102 /// Wrapper message for `int32`. |
| 126 * Wrapper message for `int32`. | 103 /// |
| 127 * | 104 /// The JSON representation for `Int32Value` is JSON number. |
| 128 * The JSON representation for `Int32Value` is JSON number. | |
| 129 **/ | |
| 130 @interface GPBInt32Value : GPBMessage | 105 @interface GPBInt32Value : GPBMessage |
| 131 | 106 |
| 132 /** The int32 value. */ | 107 /// The int32 value. |
| 133 @property(nonatomic, readwrite) int32_t value; | 108 @property(nonatomic, readwrite) int32_t value; |
| 134 | 109 |
| 135 @end | 110 @end |
| 136 | 111 |
| 137 #pragma mark - GPBUInt32Value | 112 #pragma mark - GPBUInt32Value |
| 138 | 113 |
| 139 typedef GPB_ENUM(GPBUInt32Value_FieldNumber) { | 114 typedef GPB_ENUM(GPBUInt32Value_FieldNumber) { |
| 140 GPBUInt32Value_FieldNumber_Value = 1, | 115 GPBUInt32Value_FieldNumber_Value = 1, |
| 141 }; | 116 }; |
| 142 | 117 |
| 143 /** | 118 /// Wrapper message for `uint32`. |
| 144 * Wrapper message for `uint32`. | 119 /// |
| 145 * | 120 /// The JSON representation for `UInt32Value` is JSON number. |
| 146 * The JSON representation for `UInt32Value` is JSON number. | |
| 147 **/ | |
| 148 @interface GPBUInt32Value : GPBMessage | 121 @interface GPBUInt32Value : GPBMessage |
| 149 | 122 |
| 150 /** The uint32 value. */ | 123 /// The uint32 value. |
| 151 @property(nonatomic, readwrite) uint32_t value; | 124 @property(nonatomic, readwrite) uint32_t value; |
| 152 | 125 |
| 153 @end | 126 @end |
| 154 | 127 |
| 155 #pragma mark - GPBBoolValue | 128 #pragma mark - GPBBoolValue |
| 156 | 129 |
| 157 typedef GPB_ENUM(GPBBoolValue_FieldNumber) { | 130 typedef GPB_ENUM(GPBBoolValue_FieldNumber) { |
| 158 GPBBoolValue_FieldNumber_Value = 1, | 131 GPBBoolValue_FieldNumber_Value = 1, |
| 159 }; | 132 }; |
| 160 | 133 |
| 161 /** | 134 /// Wrapper message for `bool`. |
| 162 * Wrapper message for `bool`. | 135 /// |
| 163 * | 136 /// The JSON representation for `BoolValue` is JSON `true` and `false`. |
| 164 * The JSON representation for `BoolValue` is JSON `true` and `false`. | |
| 165 **/ | |
| 166 @interface GPBBoolValue : GPBMessage | 137 @interface GPBBoolValue : GPBMessage |
| 167 | 138 |
| 168 /** The bool value. */ | 139 /// The bool value. |
| 169 @property(nonatomic, readwrite) BOOL value; | 140 @property(nonatomic, readwrite) BOOL value; |
| 170 | 141 |
| 171 @end | 142 @end |
| 172 | 143 |
| 173 #pragma mark - GPBStringValue | 144 #pragma mark - GPBStringValue |
| 174 | 145 |
| 175 typedef GPB_ENUM(GPBStringValue_FieldNumber) { | 146 typedef GPB_ENUM(GPBStringValue_FieldNumber) { |
| 176 GPBStringValue_FieldNumber_Value = 1, | 147 GPBStringValue_FieldNumber_Value = 1, |
| 177 }; | 148 }; |
| 178 | 149 |
| 179 /** | 150 /// Wrapper message for `string`. |
| 180 * Wrapper message for `string`. | 151 /// |
| 181 * | 152 /// The JSON representation for `StringValue` is JSON string. |
| 182 * The JSON representation for `StringValue` is JSON string. | |
| 183 **/ | |
| 184 @interface GPBStringValue : GPBMessage | 153 @interface GPBStringValue : GPBMessage |
| 185 | 154 |
| 186 /** The string value. */ | 155 /// The string value. |
| 187 @property(nonatomic, readwrite, copy, null_resettable) NSString *value; | 156 @property(nonatomic, readwrite, copy, null_resettable) NSString *value; |
| 188 | 157 |
| 189 @end | 158 @end |
| 190 | 159 |
| 191 #pragma mark - GPBBytesValue | 160 #pragma mark - GPBBytesValue |
| 192 | 161 |
| 193 typedef GPB_ENUM(GPBBytesValue_FieldNumber) { | 162 typedef GPB_ENUM(GPBBytesValue_FieldNumber) { |
| 194 GPBBytesValue_FieldNumber_Value = 1, | 163 GPBBytesValue_FieldNumber_Value = 1, |
| 195 }; | 164 }; |
| 196 | 165 |
| 197 /** | 166 /// Wrapper message for `bytes`. |
| 198 * Wrapper message for `bytes`. | 167 /// |
| 199 * | 168 /// The JSON representation for `BytesValue` is JSON string. |
| 200 * The JSON representation for `BytesValue` is JSON string. | |
| 201 **/ | |
| 202 @interface GPBBytesValue : GPBMessage | 169 @interface GPBBytesValue : GPBMessage |
| 203 | 170 |
| 204 /** The bytes value. */ | 171 /// The bytes value. |
| 205 @property(nonatomic, readwrite, copy, null_resettable) NSData *value; | 172 @property(nonatomic, readwrite, copy, null_resettable) NSData *value; |
| 206 | 173 |
| 207 @end | 174 @end |
| 208 | 175 |
| 209 NS_ASSUME_NONNULL_END | 176 NS_ASSUME_NONNULL_END |
| 210 | 177 |
| 211 CF_EXTERN_C_END | 178 CF_EXTERN_C_END |
| 212 | 179 |
| 213 #pragma clang diagnostic pop | 180 #pragma clang diagnostic pop |
| 214 | 181 |
| 215 // @@protoc_insertion_point(global_scope) | 182 // @@protoc_insertion_point(global_scope) |
| OLD | NEW |