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