Home | History | Annotate | Download | only in protobuf
      1 // Generated by the protocol buffer compiler.  DO NOT EDIT!
      2 // source: google/protobuf/wrappers.proto
      3 
      4 #import "GPBProtocolBuffers.h"
      5 
      6 #if GOOGLE_PROTOBUF_OBJC_GEN_VERSION != 30001
      7 #error This file was generated by a different version of protoc which is incompatible with your Protocol Buffer library sources.
      8 #endif
      9 
     10 // @@protoc_insertion_point(imports)
     11 
     12 #pragma clang diagnostic push
     13 #pragma clang diagnostic ignored "-Wdeprecated-declarations"
     14 
     15 CF_EXTERN_C_BEGIN
     16 
     17 NS_ASSUME_NONNULL_BEGIN
     18 
     19 #pragma mark - GPBWrappersRoot
     20 
     21 /// Exposes the extension registry for this file.
     22 ///
     23 /// The base class provides:
     24 /// @code
     25 ///   + (GPBExtensionRegistry *)extensionRegistry;
     26 /// @endcode
     27 /// which is a @c GPBExtensionRegistry that includes all the extensions defined by
     28 /// this file and all files that it depends on.
     29 @interface GPBWrappersRoot : GPBRootObject
     30 @end
     31 
     32 #pragma mark - GPBDoubleValue
     33 
     34 typedef GPB_ENUM(GPBDoubleValue_FieldNumber) {
     35   GPBDoubleValue_FieldNumber_Value = 1,
     36 };
     37 
     38 /// Wrapper message for `double`.
     39 ///
     40 /// The JSON representation for `DoubleValue` is JSON number.
     41 @interface GPBDoubleValue : GPBMessage
     42 
     43 /// The double value.
     44 @property(nonatomic, readwrite) double value;
     45 
     46 @end
     47 
     48 #pragma mark - GPBFloatValue
     49 
     50 typedef GPB_ENUM(GPBFloatValue_FieldNumber) {
     51   GPBFloatValue_FieldNumber_Value = 1,
     52 };
     53 
     54 /// Wrapper message for `float`.
     55 ///
     56 /// The JSON representation for `FloatValue` is JSON number.
     57 @interface GPBFloatValue : GPBMessage
     58 
     59 /// The float value.
     60 @property(nonatomic, readwrite) float value;
     61 
     62 @end
     63 
     64 #pragma mark - GPBInt64Value
     65 
     66 typedef GPB_ENUM(GPBInt64Value_FieldNumber) {
     67   GPBInt64Value_FieldNumber_Value = 1,
     68 };
     69 
     70 /// Wrapper message for `int64`.
     71 ///
     72 /// The JSON representation for `Int64Value` is JSON string.
     73 @interface GPBInt64Value : GPBMessage
     74 
     75 /// The int64 value.
     76 @property(nonatomic, readwrite) int64_t value;
     77 
     78 @end
     79 
     80 #pragma mark - GPBUInt64Value
     81 
     82 typedef GPB_ENUM(GPBUInt64Value_FieldNumber) {
     83   GPBUInt64Value_FieldNumber_Value = 1,
     84 };
     85 
     86 /// Wrapper message for `uint64`.
     87 ///
     88 /// The JSON representation for `UInt64Value` is JSON string.
     89 @interface GPBUInt64Value : GPBMessage
     90 
     91 /// The uint64 value.
     92 @property(nonatomic, readwrite) uint64_t value;
     93 
     94 @end
     95 
     96 #pragma mark - GPBInt32Value
     97 
     98 typedef GPB_ENUM(GPBInt32Value_FieldNumber) {
     99   GPBInt32Value_FieldNumber_Value = 1,
    100 };
    101 
    102 /// Wrapper message for `int32`.
    103 ///
    104 /// The JSON representation for `Int32Value` is JSON number.
    105 @interface GPBInt32Value : GPBMessage
    106 
    107 /// The int32 value.
    108 @property(nonatomic, readwrite) int32_t value;
    109 
    110 @end
    111 
    112 #pragma mark - GPBUInt32Value
    113 
    114 typedef GPB_ENUM(GPBUInt32Value_FieldNumber) {
    115   GPBUInt32Value_FieldNumber_Value = 1,
    116 };
    117 
    118 /// Wrapper message for `uint32`.
    119 ///
    120 /// The JSON representation for `UInt32Value` is JSON number.
    121 @interface GPBUInt32Value : GPBMessage
    122 
    123 /// The uint32 value.
    124 @property(nonatomic, readwrite) uint32_t value;
    125 
    126 @end
    127 
    128 #pragma mark - GPBBoolValue
    129 
    130 typedef GPB_ENUM(GPBBoolValue_FieldNumber) {
    131   GPBBoolValue_FieldNumber_Value = 1,
    132 };
    133 
    134 /// Wrapper message for `bool`.
    135 ///
    136 /// The JSON representation for `BoolValue` is JSON `true` and `false`.
    137 @interface GPBBoolValue : GPBMessage
    138 
    139 /// The bool value.
    140 @property(nonatomic, readwrite) BOOL value;
    141 
    142 @end
    143 
    144 #pragma mark - GPBStringValue
    145 
    146 typedef GPB_ENUM(GPBStringValue_FieldNumber) {
    147   GPBStringValue_FieldNumber_Value = 1,
    148 };
    149 
    150 /// Wrapper message for `string`.
    151 ///
    152 /// The JSON representation for `StringValue` is JSON string.
    153 @interface GPBStringValue : GPBMessage
    154 
    155 /// The string value.
    156 @property(nonatomic, readwrite, copy, null_resettable) NSString *value;
    157 
    158 @end
    159 
    160 #pragma mark - GPBBytesValue
    161 
    162 typedef GPB_ENUM(GPBBytesValue_FieldNumber) {
    163   GPBBytesValue_FieldNumber_Value = 1,
    164 };
    165 
    166 /// Wrapper message for `bytes`.
    167 ///
    168 /// The JSON representation for `BytesValue` is JSON string.
    169 @interface GPBBytesValue : GPBMessage
    170 
    171 /// The bytes value.
    172 @property(nonatomic, readwrite, copy, null_resettable) NSData *value;
    173 
    174 @end
    175 
    176 NS_ASSUME_NONNULL_END
    177 
    178 CF_EXTERN_C_END
    179 
    180 #pragma clang diagnostic pop
    181 
    182 // @@protoc_insertion_point(global_scope)
    183