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