1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: google/protobuf/wrappers.proto
3
4 #include <google/protobuf/wrappers.pb.h>
5
6 #include <algorithm>
7
8 #include <google/protobuf/io/coded_stream.h>
9 #include <google/protobuf/extension_set.h>
10 #include <google/protobuf/wire_format_lite.h>
11 #include <google/protobuf/descriptor.h>
12 #include <google/protobuf/generated_message_reflection.h>
13 #include <google/protobuf/reflection_ops.h>
14 #include <google/protobuf/wire_format.h>
15 // @@protoc_insertion_point(includes)
16 #include <google/protobuf/port_def.inc>
17
18 PROTOBUF_PRAGMA_INIT_SEG
19 PROTOBUF_NAMESPACE_OPEN
DoubleValue(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)20 constexpr DoubleValue::DoubleValue(
21 ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
22 : value_(0){}
23 struct DoubleValueDefaultTypeInternal {
DoubleValueDefaultTypeInternalDoubleValueDefaultTypeInternal24 constexpr DoubleValueDefaultTypeInternal()
25 : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
~DoubleValueDefaultTypeInternalDoubleValueDefaultTypeInternal26 ~DoubleValueDefaultTypeInternal() {}
27 union {
28 DoubleValue _instance;
29 };
30 };
31 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT DoubleValueDefaultTypeInternal _DoubleValue_default_instance_;
FloatValue(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)32 constexpr FloatValue::FloatValue(
33 ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
34 : value_(0){}
35 struct FloatValueDefaultTypeInternal {
FloatValueDefaultTypeInternalFloatValueDefaultTypeInternal36 constexpr FloatValueDefaultTypeInternal()
37 : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
~FloatValueDefaultTypeInternalFloatValueDefaultTypeInternal38 ~FloatValueDefaultTypeInternal() {}
39 union {
40 FloatValue _instance;
41 };
42 };
43 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT FloatValueDefaultTypeInternal _FloatValue_default_instance_;
Int64Value(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)44 constexpr Int64Value::Int64Value(
45 ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
46 : value_(int64_t{0}){}
47 struct Int64ValueDefaultTypeInternal {
Int64ValueDefaultTypeInternalInt64ValueDefaultTypeInternal48 constexpr Int64ValueDefaultTypeInternal()
49 : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
~Int64ValueDefaultTypeInternalInt64ValueDefaultTypeInternal50 ~Int64ValueDefaultTypeInternal() {}
51 union {
52 Int64Value _instance;
53 };
54 };
55 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT Int64ValueDefaultTypeInternal _Int64Value_default_instance_;
UInt64Value(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)56 constexpr UInt64Value::UInt64Value(
57 ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
58 : value_(uint64_t{0u}){}
59 struct UInt64ValueDefaultTypeInternal {
UInt64ValueDefaultTypeInternalUInt64ValueDefaultTypeInternal60 constexpr UInt64ValueDefaultTypeInternal()
61 : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
~UInt64ValueDefaultTypeInternalUInt64ValueDefaultTypeInternal62 ~UInt64ValueDefaultTypeInternal() {}
63 union {
64 UInt64Value _instance;
65 };
66 };
67 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT UInt64ValueDefaultTypeInternal _UInt64Value_default_instance_;
Int32Value(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)68 constexpr Int32Value::Int32Value(
69 ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
70 : value_(0){}
71 struct Int32ValueDefaultTypeInternal {
Int32ValueDefaultTypeInternalInt32ValueDefaultTypeInternal72 constexpr Int32ValueDefaultTypeInternal()
73 : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
~Int32ValueDefaultTypeInternalInt32ValueDefaultTypeInternal74 ~Int32ValueDefaultTypeInternal() {}
75 union {
76 Int32Value _instance;
77 };
78 };
79 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT Int32ValueDefaultTypeInternal _Int32Value_default_instance_;
UInt32Value(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)80 constexpr UInt32Value::UInt32Value(
81 ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
82 : value_(0u){}
83 struct UInt32ValueDefaultTypeInternal {
UInt32ValueDefaultTypeInternalUInt32ValueDefaultTypeInternal84 constexpr UInt32ValueDefaultTypeInternal()
85 : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
~UInt32ValueDefaultTypeInternalUInt32ValueDefaultTypeInternal86 ~UInt32ValueDefaultTypeInternal() {}
87 union {
88 UInt32Value _instance;
89 };
90 };
91 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT UInt32ValueDefaultTypeInternal _UInt32Value_default_instance_;
BoolValue(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)92 constexpr BoolValue::BoolValue(
93 ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
94 : value_(false){}
95 struct BoolValueDefaultTypeInternal {
BoolValueDefaultTypeInternalBoolValueDefaultTypeInternal96 constexpr BoolValueDefaultTypeInternal()
97 : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
~BoolValueDefaultTypeInternalBoolValueDefaultTypeInternal98 ~BoolValueDefaultTypeInternal() {}
99 union {
100 BoolValue _instance;
101 };
102 };
103 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT BoolValueDefaultTypeInternal _BoolValue_default_instance_;
StringValue(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)104 constexpr StringValue::StringValue(
105 ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
106 : value_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string){}
107 struct StringValueDefaultTypeInternal {
StringValueDefaultTypeInternalStringValueDefaultTypeInternal108 constexpr StringValueDefaultTypeInternal()
109 : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
~StringValueDefaultTypeInternalStringValueDefaultTypeInternal110 ~StringValueDefaultTypeInternal() {}
111 union {
112 StringValue _instance;
113 };
114 };
115 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT StringValueDefaultTypeInternal _StringValue_default_instance_;
BytesValue(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)116 constexpr BytesValue::BytesValue(
117 ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
118 : value_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string){}
119 struct BytesValueDefaultTypeInternal {
BytesValueDefaultTypeInternalBytesValueDefaultTypeInternal120 constexpr BytesValueDefaultTypeInternal()
121 : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
~BytesValueDefaultTypeInternalBytesValueDefaultTypeInternal122 ~BytesValueDefaultTypeInternal() {}
123 union {
124 BytesValue _instance;
125 };
126 };
127 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT BytesValueDefaultTypeInternal _BytesValue_default_instance_;
128 PROTOBUF_NAMESPACE_CLOSE
129 static ::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_google_2fprotobuf_2fwrappers_2eproto[9];
130 static constexpr ::PROTOBUF_NAMESPACE_ID::EnumDescriptor const** file_level_enum_descriptors_google_2fprotobuf_2fwrappers_2eproto = nullptr;
131 static constexpr ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor const** file_level_service_descriptors_google_2fprotobuf_2fwrappers_2eproto = nullptr;
132
133 const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_google_2fprotobuf_2fwrappers_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
134 ~0u, // no _has_bits_
135 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::DoubleValue, _internal_metadata_),
136 ~0u, // no _extensions_
137 ~0u, // no _oneof_case_
138 ~0u, // no _weak_field_map_
139 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::DoubleValue, value_),
140 ~0u, // no _has_bits_
141 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FloatValue, _internal_metadata_),
142 ~0u, // no _extensions_
143 ~0u, // no _oneof_case_
144 ~0u, // no _weak_field_map_
145 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::FloatValue, value_),
146 ~0u, // no _has_bits_
147 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::Int64Value, _internal_metadata_),
148 ~0u, // no _extensions_
149 ~0u, // no _oneof_case_
150 ~0u, // no _weak_field_map_
151 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::Int64Value, value_),
152 ~0u, // no _has_bits_
153 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::UInt64Value, _internal_metadata_),
154 ~0u, // no _extensions_
155 ~0u, // no _oneof_case_
156 ~0u, // no _weak_field_map_
157 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::UInt64Value, value_),
158 ~0u, // no _has_bits_
159 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::Int32Value, _internal_metadata_),
160 ~0u, // no _extensions_
161 ~0u, // no _oneof_case_
162 ~0u, // no _weak_field_map_
163 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::Int32Value, value_),
164 ~0u, // no _has_bits_
165 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::UInt32Value, _internal_metadata_),
166 ~0u, // no _extensions_
167 ~0u, // no _oneof_case_
168 ~0u, // no _weak_field_map_
169 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::UInt32Value, value_),
170 ~0u, // no _has_bits_
171 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::BoolValue, _internal_metadata_),
172 ~0u, // no _extensions_
173 ~0u, // no _oneof_case_
174 ~0u, // no _weak_field_map_
175 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::BoolValue, value_),
176 ~0u, // no _has_bits_
177 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::StringValue, _internal_metadata_),
178 ~0u, // no _extensions_
179 ~0u, // no _oneof_case_
180 ~0u, // no _weak_field_map_
181 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::StringValue, value_),
182 ~0u, // no _has_bits_
183 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::BytesValue, _internal_metadata_),
184 ~0u, // no _extensions_
185 ~0u, // no _oneof_case_
186 ~0u, // no _weak_field_map_
187 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::BytesValue, value_),
188 };
189 static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
190 { 0, -1, sizeof(PROTOBUF_NAMESPACE_ID::DoubleValue)},
191 { 6, -1, sizeof(PROTOBUF_NAMESPACE_ID::FloatValue)},
192 { 12, -1, sizeof(PROTOBUF_NAMESPACE_ID::Int64Value)},
193 { 18, -1, sizeof(PROTOBUF_NAMESPACE_ID::UInt64Value)},
194 { 24, -1, sizeof(PROTOBUF_NAMESPACE_ID::Int32Value)},
195 { 30, -1, sizeof(PROTOBUF_NAMESPACE_ID::UInt32Value)},
196 { 36, -1, sizeof(PROTOBUF_NAMESPACE_ID::BoolValue)},
197 { 42, -1, sizeof(PROTOBUF_NAMESPACE_ID::StringValue)},
198 { 48, -1, sizeof(PROTOBUF_NAMESPACE_ID::BytesValue)},
199 };
200
201 static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = {
202 reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&PROTOBUF_NAMESPACE_ID::_DoubleValue_default_instance_),
203 reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&PROTOBUF_NAMESPACE_ID::_FloatValue_default_instance_),
204 reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&PROTOBUF_NAMESPACE_ID::_Int64Value_default_instance_),
205 reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&PROTOBUF_NAMESPACE_ID::_UInt64Value_default_instance_),
206 reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&PROTOBUF_NAMESPACE_ID::_Int32Value_default_instance_),
207 reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&PROTOBUF_NAMESPACE_ID::_UInt32Value_default_instance_),
208 reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&PROTOBUF_NAMESPACE_ID::_BoolValue_default_instance_),
209 reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&PROTOBUF_NAMESPACE_ID::_StringValue_default_instance_),
210 reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&PROTOBUF_NAMESPACE_ID::_BytesValue_default_instance_),
211 };
212
213 const char descriptor_table_protodef_google_2fprotobuf_2fwrappers_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) =
214 "\n\036google/protobuf/wrappers.proto\022\017google"
215 ".protobuf\"\034\n\013DoubleValue\022\r\n\005value\030\001 \001(\001\""
216 "\033\n\nFloatValue\022\r\n\005value\030\001 \001(\002\"\033\n\nInt64Val"
217 "ue\022\r\n\005value\030\001 \001(\003\"\034\n\013UInt64Value\022\r\n\005valu"
218 "e\030\001 \001(\004\"\033\n\nInt32Value\022\r\n\005value\030\001 \001(\005\"\034\n\013"
219 "UInt32Value\022\r\n\005value\030\001 \001(\r\"\032\n\tBoolValue\022"
220 "\r\n\005value\030\001 \001(\010\"\034\n\013StringValue\022\r\n\005value\030\001"
221 " \001(\t\"\033\n\nBytesValue\022\r\n\005value\030\001 \001(\014B\203\001\n\023co"
222 "m.google.protobufB\rWrappersProtoP\001Z1goog"
223 "le.golang.org/protobuf/types/known/wrapp"
224 "erspb\370\001\001\242\002\003GPB\252\002\036Google.Protobuf.WellKno"
225 "wnTypesb\006proto3"
226 ;
227 static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_google_2fprotobuf_2fwrappers_2eproto_once;
228 const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_google_2fprotobuf_2fwrappers_2eproto = {
229 false, false, 455, descriptor_table_protodef_google_2fprotobuf_2fwrappers_2eproto, "google/protobuf/wrappers.proto",
230 &descriptor_table_google_2fprotobuf_2fwrappers_2eproto_once, nullptr, 0, 9,
231 schemas, file_default_instances, TableStruct_google_2fprotobuf_2fwrappers_2eproto::offsets,
232 file_level_metadata_google_2fprotobuf_2fwrappers_2eproto, file_level_enum_descriptors_google_2fprotobuf_2fwrappers_2eproto, file_level_service_descriptors_google_2fprotobuf_2fwrappers_2eproto,
233 };
descriptor_table_google_2fprotobuf_2fwrappers_2eproto_getter()234 PROTOBUF_ATTRIBUTE_WEAK const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable* descriptor_table_google_2fprotobuf_2fwrappers_2eproto_getter() {
235 return &descriptor_table_google_2fprotobuf_2fwrappers_2eproto;
236 }
237
238 // Force running AddDescriptors() at dynamic initialization time.
239 PROTOBUF_ATTRIBUTE_INIT_PRIORITY static ::PROTOBUF_NAMESPACE_ID::internal::AddDescriptorsRunner dynamic_init_dummy_google_2fprotobuf_2fwrappers_2eproto(&descriptor_table_google_2fprotobuf_2fwrappers_2eproto);
240 PROTOBUF_NAMESPACE_OPEN
241
242 // ===================================================================
243
244 class DoubleValue::_Internal {
245 public:
246 };
247
DoubleValue(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)248 DoubleValue::DoubleValue(::PROTOBUF_NAMESPACE_ID::Arena* arena,
249 bool is_message_owned)
250 : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
251 SharedCtor();
252 if (!is_message_owned) {
253 RegisterArenaDtor(arena);
254 }
255 // @@protoc_insertion_point(arena_constructor:google.protobuf.DoubleValue)
256 }
DoubleValue(const DoubleValue & from)257 DoubleValue::DoubleValue(const DoubleValue& from)
258 : ::PROTOBUF_NAMESPACE_ID::Message() {
259 _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
260 value_ = from.value_;
261 // @@protoc_insertion_point(copy_constructor:google.protobuf.DoubleValue)
262 }
263
SharedCtor()264 inline void DoubleValue::SharedCtor() {
265 value_ = 0;
266 }
267
~DoubleValue()268 DoubleValue::~DoubleValue() {
269 // @@protoc_insertion_point(destructor:google.protobuf.DoubleValue)
270 if (GetArenaForAllocation() != nullptr) return;
271 SharedDtor();
272 _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
273 }
274
SharedDtor()275 inline void DoubleValue::SharedDtor() {
276 GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
277 }
278
ArenaDtor(void * object)279 void DoubleValue::ArenaDtor(void* object) {
280 DoubleValue* _this = reinterpret_cast< DoubleValue* >(object);
281 (void)_this;
282 }
RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena *)283 void DoubleValue::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
284 }
SetCachedSize(int size) const285 void DoubleValue::SetCachedSize(int size) const {
286 _cached_size_.Set(size);
287 }
288
Clear()289 void DoubleValue::Clear() {
290 // @@protoc_insertion_point(message_clear_start:google.protobuf.DoubleValue)
291 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
292 // Prevent compiler warnings about cached_has_bits being unused
293 (void) cached_has_bits;
294
295 value_ = 0;
296 _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
297 }
298
_InternalParse(const char * ptr,::PROTOBUF_NAMESPACE_ID::internal::ParseContext * ctx)299 const char* DoubleValue::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
300 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
301 while (!ctx->Done(&ptr)) {
302 ::PROTOBUF_NAMESPACE_ID::uint32 tag;
303 ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
304 switch (tag >> 3) {
305 // double value = 1;
306 case 1:
307 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 9)) {
308 value_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<double>(ptr);
309 ptr += sizeof(double);
310 } else goto handle_unusual;
311 continue;
312 default: {
313 handle_unusual:
314 if ((tag == 0) || ((tag & 7) == 4)) {
315 CHK_(ptr);
316 ctx->SetLastTag(tag);
317 goto success;
318 }
319 ptr = UnknownFieldParse(tag,
320 _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
321 ptr, ctx);
322 CHK_(ptr != nullptr);
323 continue;
324 }
325 } // switch
326 } // while
327 success:
328 return ptr;
329 failure:
330 ptr = nullptr;
331 goto success;
332 #undef CHK_
333 }
334
_InternalSerialize(::PROTOBUF_NAMESPACE_ID::uint8 * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const335 ::PROTOBUF_NAMESPACE_ID::uint8* DoubleValue::_InternalSerialize(
336 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
337 // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.DoubleValue)
338 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
339 (void) cached_has_bits;
340
341 // double value = 1;
342 if (!(this->_internal_value() <= 0 && this->_internal_value() >= 0)) {
343 target = stream->EnsureSpace(target);
344 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteDoubleToArray(1, this->_internal_value(), target);
345 }
346
347 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
348 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
349 _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
350 }
351 // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.DoubleValue)
352 return target;
353 }
354
ByteSizeLong() const355 size_t DoubleValue::ByteSizeLong() const {
356 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.DoubleValue)
357 size_t total_size = 0;
358
359 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
360 // Prevent compiler warnings about cached_has_bits being unused
361 (void) cached_has_bits;
362
363 // double value = 1;
364 if (!(this->_internal_value() <= 0 && this->_internal_value() >= 0)) {
365 total_size += 1 + 8;
366 }
367
368 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
369 return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
370 _internal_metadata_, total_size, &_cached_size_);
371 }
372 int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
373 SetCachedSize(cached_size);
374 return total_size;
375 }
376
377 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData DoubleValue::_class_data_ = {
378 ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
379 DoubleValue::MergeImpl
380 };
GetClassData() const381 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DoubleValue::GetClassData() const { return &_class_data_; }
382
MergeImpl(::PROTOBUF_NAMESPACE_ID::Message * to,const::PROTOBUF_NAMESPACE_ID::Message & from)383 void DoubleValue::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message*to,
384 const ::PROTOBUF_NAMESPACE_ID::Message&from) {
385 static_cast<DoubleValue *>(to)->MergeFrom(
386 static_cast<const DoubleValue &>(from));
387 }
388
389
MergeFrom(const DoubleValue & from)390 void DoubleValue::MergeFrom(const DoubleValue& from) {
391 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.DoubleValue)
392 GOOGLE_DCHECK_NE(&from, this);
393 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
394 (void) cached_has_bits;
395
396 if (!(from._internal_value() <= 0 && from._internal_value() >= 0)) {
397 _internal_set_value(from._internal_value());
398 }
399 _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
400 }
401
CopyFrom(const DoubleValue & from)402 void DoubleValue::CopyFrom(const DoubleValue& from) {
403 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.DoubleValue)
404 if (&from == this) return;
405 Clear();
406 MergeFrom(from);
407 }
408
IsInitialized() const409 bool DoubleValue::IsInitialized() const {
410 return true;
411 }
412
InternalSwap(DoubleValue * other)413 void DoubleValue::InternalSwap(DoubleValue* other) {
414 using std::swap;
415 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
416 swap(value_, other->value_);
417 }
418
GetMetadata() const419 ::PROTOBUF_NAMESPACE_ID::Metadata DoubleValue::GetMetadata() const {
420 return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
421 &descriptor_table_google_2fprotobuf_2fwrappers_2eproto_getter, &descriptor_table_google_2fprotobuf_2fwrappers_2eproto_once,
422 file_level_metadata_google_2fprotobuf_2fwrappers_2eproto[0]);
423 }
424
425 // ===================================================================
426
427 class FloatValue::_Internal {
428 public:
429 };
430
FloatValue(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)431 FloatValue::FloatValue(::PROTOBUF_NAMESPACE_ID::Arena* arena,
432 bool is_message_owned)
433 : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
434 SharedCtor();
435 if (!is_message_owned) {
436 RegisterArenaDtor(arena);
437 }
438 // @@protoc_insertion_point(arena_constructor:google.protobuf.FloatValue)
439 }
FloatValue(const FloatValue & from)440 FloatValue::FloatValue(const FloatValue& from)
441 : ::PROTOBUF_NAMESPACE_ID::Message() {
442 _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
443 value_ = from.value_;
444 // @@protoc_insertion_point(copy_constructor:google.protobuf.FloatValue)
445 }
446
SharedCtor()447 inline void FloatValue::SharedCtor() {
448 value_ = 0;
449 }
450
~FloatValue()451 FloatValue::~FloatValue() {
452 // @@protoc_insertion_point(destructor:google.protobuf.FloatValue)
453 if (GetArenaForAllocation() != nullptr) return;
454 SharedDtor();
455 _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
456 }
457
SharedDtor()458 inline void FloatValue::SharedDtor() {
459 GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
460 }
461
ArenaDtor(void * object)462 void FloatValue::ArenaDtor(void* object) {
463 FloatValue* _this = reinterpret_cast< FloatValue* >(object);
464 (void)_this;
465 }
RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena *)466 void FloatValue::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
467 }
SetCachedSize(int size) const468 void FloatValue::SetCachedSize(int size) const {
469 _cached_size_.Set(size);
470 }
471
Clear()472 void FloatValue::Clear() {
473 // @@protoc_insertion_point(message_clear_start:google.protobuf.FloatValue)
474 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
475 // Prevent compiler warnings about cached_has_bits being unused
476 (void) cached_has_bits;
477
478 value_ = 0;
479 _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
480 }
481
_InternalParse(const char * ptr,::PROTOBUF_NAMESPACE_ID::internal::ParseContext * ctx)482 const char* FloatValue::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
483 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
484 while (!ctx->Done(&ptr)) {
485 ::PROTOBUF_NAMESPACE_ID::uint32 tag;
486 ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
487 switch (tag >> 3) {
488 // float value = 1;
489 case 1:
490 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 13)) {
491 value_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr);
492 ptr += sizeof(float);
493 } else goto handle_unusual;
494 continue;
495 default: {
496 handle_unusual:
497 if ((tag == 0) || ((tag & 7) == 4)) {
498 CHK_(ptr);
499 ctx->SetLastTag(tag);
500 goto success;
501 }
502 ptr = UnknownFieldParse(tag,
503 _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
504 ptr, ctx);
505 CHK_(ptr != nullptr);
506 continue;
507 }
508 } // switch
509 } // while
510 success:
511 return ptr;
512 failure:
513 ptr = nullptr;
514 goto success;
515 #undef CHK_
516 }
517
_InternalSerialize(::PROTOBUF_NAMESPACE_ID::uint8 * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const518 ::PROTOBUF_NAMESPACE_ID::uint8* FloatValue::_InternalSerialize(
519 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
520 // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.FloatValue)
521 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
522 (void) cached_has_bits;
523
524 // float value = 1;
525 if (!(this->_internal_value() <= 0 && this->_internal_value() >= 0)) {
526 target = stream->EnsureSpace(target);
527 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(1, this->_internal_value(), target);
528 }
529
530 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
531 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
532 _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
533 }
534 // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.FloatValue)
535 return target;
536 }
537
ByteSizeLong() const538 size_t FloatValue::ByteSizeLong() const {
539 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.FloatValue)
540 size_t total_size = 0;
541
542 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
543 // Prevent compiler warnings about cached_has_bits being unused
544 (void) cached_has_bits;
545
546 // float value = 1;
547 if (!(this->_internal_value() <= 0 && this->_internal_value() >= 0)) {
548 total_size += 1 + 4;
549 }
550
551 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
552 return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
553 _internal_metadata_, total_size, &_cached_size_);
554 }
555 int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
556 SetCachedSize(cached_size);
557 return total_size;
558 }
559
560 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData FloatValue::_class_data_ = {
561 ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
562 FloatValue::MergeImpl
563 };
GetClassData() const564 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*FloatValue::GetClassData() const { return &_class_data_; }
565
MergeImpl(::PROTOBUF_NAMESPACE_ID::Message * to,const::PROTOBUF_NAMESPACE_ID::Message & from)566 void FloatValue::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message*to,
567 const ::PROTOBUF_NAMESPACE_ID::Message&from) {
568 static_cast<FloatValue *>(to)->MergeFrom(
569 static_cast<const FloatValue &>(from));
570 }
571
572
MergeFrom(const FloatValue & from)573 void FloatValue::MergeFrom(const FloatValue& from) {
574 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.FloatValue)
575 GOOGLE_DCHECK_NE(&from, this);
576 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
577 (void) cached_has_bits;
578
579 if (!(from._internal_value() <= 0 && from._internal_value() >= 0)) {
580 _internal_set_value(from._internal_value());
581 }
582 _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
583 }
584
CopyFrom(const FloatValue & from)585 void FloatValue::CopyFrom(const FloatValue& from) {
586 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.FloatValue)
587 if (&from == this) return;
588 Clear();
589 MergeFrom(from);
590 }
591
IsInitialized() const592 bool FloatValue::IsInitialized() const {
593 return true;
594 }
595
InternalSwap(FloatValue * other)596 void FloatValue::InternalSwap(FloatValue* other) {
597 using std::swap;
598 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
599 swap(value_, other->value_);
600 }
601
GetMetadata() const602 ::PROTOBUF_NAMESPACE_ID::Metadata FloatValue::GetMetadata() const {
603 return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
604 &descriptor_table_google_2fprotobuf_2fwrappers_2eproto_getter, &descriptor_table_google_2fprotobuf_2fwrappers_2eproto_once,
605 file_level_metadata_google_2fprotobuf_2fwrappers_2eproto[1]);
606 }
607
608 // ===================================================================
609
610 class Int64Value::_Internal {
611 public:
612 };
613
Int64Value(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)614 Int64Value::Int64Value(::PROTOBUF_NAMESPACE_ID::Arena* arena,
615 bool is_message_owned)
616 : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
617 SharedCtor();
618 if (!is_message_owned) {
619 RegisterArenaDtor(arena);
620 }
621 // @@protoc_insertion_point(arena_constructor:google.protobuf.Int64Value)
622 }
Int64Value(const Int64Value & from)623 Int64Value::Int64Value(const Int64Value& from)
624 : ::PROTOBUF_NAMESPACE_ID::Message() {
625 _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
626 value_ = from.value_;
627 // @@protoc_insertion_point(copy_constructor:google.protobuf.Int64Value)
628 }
629
SharedCtor()630 inline void Int64Value::SharedCtor() {
631 value_ = int64_t{0};
632 }
633
~Int64Value()634 Int64Value::~Int64Value() {
635 // @@protoc_insertion_point(destructor:google.protobuf.Int64Value)
636 if (GetArenaForAllocation() != nullptr) return;
637 SharedDtor();
638 _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
639 }
640
SharedDtor()641 inline void Int64Value::SharedDtor() {
642 GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
643 }
644
ArenaDtor(void * object)645 void Int64Value::ArenaDtor(void* object) {
646 Int64Value* _this = reinterpret_cast< Int64Value* >(object);
647 (void)_this;
648 }
RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena *)649 void Int64Value::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
650 }
SetCachedSize(int size) const651 void Int64Value::SetCachedSize(int size) const {
652 _cached_size_.Set(size);
653 }
654
Clear()655 void Int64Value::Clear() {
656 // @@protoc_insertion_point(message_clear_start:google.protobuf.Int64Value)
657 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
658 // Prevent compiler warnings about cached_has_bits being unused
659 (void) cached_has_bits;
660
661 value_ = int64_t{0};
662 _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
663 }
664
_InternalParse(const char * ptr,::PROTOBUF_NAMESPACE_ID::internal::ParseContext * ctx)665 const char* Int64Value::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
666 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
667 while (!ctx->Done(&ptr)) {
668 ::PROTOBUF_NAMESPACE_ID::uint32 tag;
669 ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
670 switch (tag >> 3) {
671 // int64 value = 1;
672 case 1:
673 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) {
674 value_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
675 CHK_(ptr);
676 } else goto handle_unusual;
677 continue;
678 default: {
679 handle_unusual:
680 if ((tag == 0) || ((tag & 7) == 4)) {
681 CHK_(ptr);
682 ctx->SetLastTag(tag);
683 goto success;
684 }
685 ptr = UnknownFieldParse(tag,
686 _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
687 ptr, ctx);
688 CHK_(ptr != nullptr);
689 continue;
690 }
691 } // switch
692 } // while
693 success:
694 return ptr;
695 failure:
696 ptr = nullptr;
697 goto success;
698 #undef CHK_
699 }
700
_InternalSerialize(::PROTOBUF_NAMESPACE_ID::uint8 * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const701 ::PROTOBUF_NAMESPACE_ID::uint8* Int64Value::_InternalSerialize(
702 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
703 // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Int64Value)
704 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
705 (void) cached_has_bits;
706
707 // int64 value = 1;
708 if (this->_internal_value() != 0) {
709 target = stream->EnsureSpace(target);
710 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64ToArray(1, this->_internal_value(), target);
711 }
712
713 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
714 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
715 _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
716 }
717 // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.Int64Value)
718 return target;
719 }
720
ByteSizeLong() const721 size_t Int64Value::ByteSizeLong() const {
722 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.Int64Value)
723 size_t total_size = 0;
724
725 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
726 // Prevent compiler warnings about cached_has_bits being unused
727 (void) cached_has_bits;
728
729 // int64 value = 1;
730 if (this->_internal_value() != 0) {
731 total_size += 1 +
732 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int64Size(
733 this->_internal_value());
734 }
735
736 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
737 return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
738 _internal_metadata_, total_size, &_cached_size_);
739 }
740 int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
741 SetCachedSize(cached_size);
742 return total_size;
743 }
744
745 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Int64Value::_class_data_ = {
746 ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
747 Int64Value::MergeImpl
748 };
GetClassData() const749 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Int64Value::GetClassData() const { return &_class_data_; }
750
MergeImpl(::PROTOBUF_NAMESPACE_ID::Message * to,const::PROTOBUF_NAMESPACE_ID::Message & from)751 void Int64Value::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message*to,
752 const ::PROTOBUF_NAMESPACE_ID::Message&from) {
753 static_cast<Int64Value *>(to)->MergeFrom(
754 static_cast<const Int64Value &>(from));
755 }
756
757
MergeFrom(const Int64Value & from)758 void Int64Value::MergeFrom(const Int64Value& from) {
759 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.Int64Value)
760 GOOGLE_DCHECK_NE(&from, this);
761 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
762 (void) cached_has_bits;
763
764 if (from._internal_value() != 0) {
765 _internal_set_value(from._internal_value());
766 }
767 _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
768 }
769
CopyFrom(const Int64Value & from)770 void Int64Value::CopyFrom(const Int64Value& from) {
771 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.Int64Value)
772 if (&from == this) return;
773 Clear();
774 MergeFrom(from);
775 }
776
IsInitialized() const777 bool Int64Value::IsInitialized() const {
778 return true;
779 }
780
InternalSwap(Int64Value * other)781 void Int64Value::InternalSwap(Int64Value* other) {
782 using std::swap;
783 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
784 swap(value_, other->value_);
785 }
786
GetMetadata() const787 ::PROTOBUF_NAMESPACE_ID::Metadata Int64Value::GetMetadata() const {
788 return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
789 &descriptor_table_google_2fprotobuf_2fwrappers_2eproto_getter, &descriptor_table_google_2fprotobuf_2fwrappers_2eproto_once,
790 file_level_metadata_google_2fprotobuf_2fwrappers_2eproto[2]);
791 }
792
793 // ===================================================================
794
795 class UInt64Value::_Internal {
796 public:
797 };
798
UInt64Value(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)799 UInt64Value::UInt64Value(::PROTOBUF_NAMESPACE_ID::Arena* arena,
800 bool is_message_owned)
801 : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
802 SharedCtor();
803 if (!is_message_owned) {
804 RegisterArenaDtor(arena);
805 }
806 // @@protoc_insertion_point(arena_constructor:google.protobuf.UInt64Value)
807 }
UInt64Value(const UInt64Value & from)808 UInt64Value::UInt64Value(const UInt64Value& from)
809 : ::PROTOBUF_NAMESPACE_ID::Message() {
810 _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
811 value_ = from.value_;
812 // @@protoc_insertion_point(copy_constructor:google.protobuf.UInt64Value)
813 }
814
SharedCtor()815 inline void UInt64Value::SharedCtor() {
816 value_ = uint64_t{0u};
817 }
818
~UInt64Value()819 UInt64Value::~UInt64Value() {
820 // @@protoc_insertion_point(destructor:google.protobuf.UInt64Value)
821 if (GetArenaForAllocation() != nullptr) return;
822 SharedDtor();
823 _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
824 }
825
SharedDtor()826 inline void UInt64Value::SharedDtor() {
827 GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
828 }
829
ArenaDtor(void * object)830 void UInt64Value::ArenaDtor(void* object) {
831 UInt64Value* _this = reinterpret_cast< UInt64Value* >(object);
832 (void)_this;
833 }
RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena *)834 void UInt64Value::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
835 }
SetCachedSize(int size) const836 void UInt64Value::SetCachedSize(int size) const {
837 _cached_size_.Set(size);
838 }
839
Clear()840 void UInt64Value::Clear() {
841 // @@protoc_insertion_point(message_clear_start:google.protobuf.UInt64Value)
842 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
843 // Prevent compiler warnings about cached_has_bits being unused
844 (void) cached_has_bits;
845
846 value_ = uint64_t{0u};
847 _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
848 }
849
_InternalParse(const char * ptr,::PROTOBUF_NAMESPACE_ID::internal::ParseContext * ctx)850 const char* UInt64Value::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
851 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
852 while (!ctx->Done(&ptr)) {
853 ::PROTOBUF_NAMESPACE_ID::uint32 tag;
854 ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
855 switch (tag >> 3) {
856 // uint64 value = 1;
857 case 1:
858 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) {
859 value_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
860 CHK_(ptr);
861 } else goto handle_unusual;
862 continue;
863 default: {
864 handle_unusual:
865 if ((tag == 0) || ((tag & 7) == 4)) {
866 CHK_(ptr);
867 ctx->SetLastTag(tag);
868 goto success;
869 }
870 ptr = UnknownFieldParse(tag,
871 _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
872 ptr, ctx);
873 CHK_(ptr != nullptr);
874 continue;
875 }
876 } // switch
877 } // while
878 success:
879 return ptr;
880 failure:
881 ptr = nullptr;
882 goto success;
883 #undef CHK_
884 }
885
_InternalSerialize(::PROTOBUF_NAMESPACE_ID::uint8 * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const886 ::PROTOBUF_NAMESPACE_ID::uint8* UInt64Value::_InternalSerialize(
887 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
888 // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.UInt64Value)
889 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
890 (void) cached_has_bits;
891
892 // uint64 value = 1;
893 if (this->_internal_value() != 0) {
894 target = stream->EnsureSpace(target);
895 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt64ToArray(1, this->_internal_value(), target);
896 }
897
898 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
899 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
900 _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
901 }
902 // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.UInt64Value)
903 return target;
904 }
905
ByteSizeLong() const906 size_t UInt64Value::ByteSizeLong() const {
907 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.UInt64Value)
908 size_t total_size = 0;
909
910 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
911 // Prevent compiler warnings about cached_has_bits being unused
912 (void) cached_has_bits;
913
914 // uint64 value = 1;
915 if (this->_internal_value() != 0) {
916 total_size += 1 +
917 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt64Size(
918 this->_internal_value());
919 }
920
921 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
922 return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
923 _internal_metadata_, total_size, &_cached_size_);
924 }
925 int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
926 SetCachedSize(cached_size);
927 return total_size;
928 }
929
930 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData UInt64Value::_class_data_ = {
931 ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
932 UInt64Value::MergeImpl
933 };
GetClassData() const934 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*UInt64Value::GetClassData() const { return &_class_data_; }
935
MergeImpl(::PROTOBUF_NAMESPACE_ID::Message * to,const::PROTOBUF_NAMESPACE_ID::Message & from)936 void UInt64Value::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message*to,
937 const ::PROTOBUF_NAMESPACE_ID::Message&from) {
938 static_cast<UInt64Value *>(to)->MergeFrom(
939 static_cast<const UInt64Value &>(from));
940 }
941
942
MergeFrom(const UInt64Value & from)943 void UInt64Value::MergeFrom(const UInt64Value& from) {
944 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.UInt64Value)
945 GOOGLE_DCHECK_NE(&from, this);
946 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
947 (void) cached_has_bits;
948
949 if (from._internal_value() != 0) {
950 _internal_set_value(from._internal_value());
951 }
952 _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
953 }
954
CopyFrom(const UInt64Value & from)955 void UInt64Value::CopyFrom(const UInt64Value& from) {
956 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.UInt64Value)
957 if (&from == this) return;
958 Clear();
959 MergeFrom(from);
960 }
961
IsInitialized() const962 bool UInt64Value::IsInitialized() const {
963 return true;
964 }
965
InternalSwap(UInt64Value * other)966 void UInt64Value::InternalSwap(UInt64Value* other) {
967 using std::swap;
968 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
969 swap(value_, other->value_);
970 }
971
GetMetadata() const972 ::PROTOBUF_NAMESPACE_ID::Metadata UInt64Value::GetMetadata() const {
973 return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
974 &descriptor_table_google_2fprotobuf_2fwrappers_2eproto_getter, &descriptor_table_google_2fprotobuf_2fwrappers_2eproto_once,
975 file_level_metadata_google_2fprotobuf_2fwrappers_2eproto[3]);
976 }
977
978 // ===================================================================
979
980 class Int32Value::_Internal {
981 public:
982 };
983
Int32Value(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)984 Int32Value::Int32Value(::PROTOBUF_NAMESPACE_ID::Arena* arena,
985 bool is_message_owned)
986 : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
987 SharedCtor();
988 if (!is_message_owned) {
989 RegisterArenaDtor(arena);
990 }
991 // @@protoc_insertion_point(arena_constructor:google.protobuf.Int32Value)
992 }
Int32Value(const Int32Value & from)993 Int32Value::Int32Value(const Int32Value& from)
994 : ::PROTOBUF_NAMESPACE_ID::Message() {
995 _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
996 value_ = from.value_;
997 // @@protoc_insertion_point(copy_constructor:google.protobuf.Int32Value)
998 }
999
SharedCtor()1000 inline void Int32Value::SharedCtor() {
1001 value_ = 0;
1002 }
1003
~Int32Value()1004 Int32Value::~Int32Value() {
1005 // @@protoc_insertion_point(destructor:google.protobuf.Int32Value)
1006 if (GetArenaForAllocation() != nullptr) return;
1007 SharedDtor();
1008 _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1009 }
1010
SharedDtor()1011 inline void Int32Value::SharedDtor() {
1012 GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
1013 }
1014
ArenaDtor(void * object)1015 void Int32Value::ArenaDtor(void* object) {
1016 Int32Value* _this = reinterpret_cast< Int32Value* >(object);
1017 (void)_this;
1018 }
RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena *)1019 void Int32Value::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
1020 }
SetCachedSize(int size) const1021 void Int32Value::SetCachedSize(int size) const {
1022 _cached_size_.Set(size);
1023 }
1024
Clear()1025 void Int32Value::Clear() {
1026 // @@protoc_insertion_point(message_clear_start:google.protobuf.Int32Value)
1027 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
1028 // Prevent compiler warnings about cached_has_bits being unused
1029 (void) cached_has_bits;
1030
1031 value_ = 0;
1032 _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1033 }
1034
_InternalParse(const char * ptr,::PROTOBUF_NAMESPACE_ID::internal::ParseContext * ctx)1035 const char* Int32Value::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
1036 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
1037 while (!ctx->Done(&ptr)) {
1038 ::PROTOBUF_NAMESPACE_ID::uint32 tag;
1039 ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
1040 switch (tag >> 3) {
1041 // int32 value = 1;
1042 case 1:
1043 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) {
1044 value_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
1045 CHK_(ptr);
1046 } else goto handle_unusual;
1047 continue;
1048 default: {
1049 handle_unusual:
1050 if ((tag == 0) || ((tag & 7) == 4)) {
1051 CHK_(ptr);
1052 ctx->SetLastTag(tag);
1053 goto success;
1054 }
1055 ptr = UnknownFieldParse(tag,
1056 _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
1057 ptr, ctx);
1058 CHK_(ptr != nullptr);
1059 continue;
1060 }
1061 } // switch
1062 } // while
1063 success:
1064 return ptr;
1065 failure:
1066 ptr = nullptr;
1067 goto success;
1068 #undef CHK_
1069 }
1070
_InternalSerialize(::PROTOBUF_NAMESPACE_ID::uint8 * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const1071 ::PROTOBUF_NAMESPACE_ID::uint8* Int32Value::_InternalSerialize(
1072 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
1073 // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Int32Value)
1074 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
1075 (void) cached_has_bits;
1076
1077 // int32 value = 1;
1078 if (this->_internal_value() != 0) {
1079 target = stream->EnsureSpace(target);
1080 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(1, this->_internal_value(), target);
1081 }
1082
1083 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
1084 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
1085 _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
1086 }
1087 // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.Int32Value)
1088 return target;
1089 }
1090
ByteSizeLong() const1091 size_t Int32Value::ByteSizeLong() const {
1092 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.Int32Value)
1093 size_t total_size = 0;
1094
1095 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
1096 // Prevent compiler warnings about cached_has_bits being unused
1097 (void) cached_has_bits;
1098
1099 // int32 value = 1;
1100 if (this->_internal_value() != 0) {
1101 total_size += 1 +
1102 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size(
1103 this->_internal_value());
1104 }
1105
1106 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
1107 return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
1108 _internal_metadata_, total_size, &_cached_size_);
1109 }
1110 int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
1111 SetCachedSize(cached_size);
1112 return total_size;
1113 }
1114
1115 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Int32Value::_class_data_ = {
1116 ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
1117 Int32Value::MergeImpl
1118 };
GetClassData() const1119 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Int32Value::GetClassData() const { return &_class_data_; }
1120
MergeImpl(::PROTOBUF_NAMESPACE_ID::Message * to,const::PROTOBUF_NAMESPACE_ID::Message & from)1121 void Int32Value::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message*to,
1122 const ::PROTOBUF_NAMESPACE_ID::Message&from) {
1123 static_cast<Int32Value *>(to)->MergeFrom(
1124 static_cast<const Int32Value &>(from));
1125 }
1126
1127
MergeFrom(const Int32Value & from)1128 void Int32Value::MergeFrom(const Int32Value& from) {
1129 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.Int32Value)
1130 GOOGLE_DCHECK_NE(&from, this);
1131 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
1132 (void) cached_has_bits;
1133
1134 if (from._internal_value() != 0) {
1135 _internal_set_value(from._internal_value());
1136 }
1137 _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
1138 }
1139
CopyFrom(const Int32Value & from)1140 void Int32Value::CopyFrom(const Int32Value& from) {
1141 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.Int32Value)
1142 if (&from == this) return;
1143 Clear();
1144 MergeFrom(from);
1145 }
1146
IsInitialized() const1147 bool Int32Value::IsInitialized() const {
1148 return true;
1149 }
1150
InternalSwap(Int32Value * other)1151 void Int32Value::InternalSwap(Int32Value* other) {
1152 using std::swap;
1153 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1154 swap(value_, other->value_);
1155 }
1156
GetMetadata() const1157 ::PROTOBUF_NAMESPACE_ID::Metadata Int32Value::GetMetadata() const {
1158 return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
1159 &descriptor_table_google_2fprotobuf_2fwrappers_2eproto_getter, &descriptor_table_google_2fprotobuf_2fwrappers_2eproto_once,
1160 file_level_metadata_google_2fprotobuf_2fwrappers_2eproto[4]);
1161 }
1162
1163 // ===================================================================
1164
1165 class UInt32Value::_Internal {
1166 public:
1167 };
1168
UInt32Value(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)1169 UInt32Value::UInt32Value(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1170 bool is_message_owned)
1171 : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
1172 SharedCtor();
1173 if (!is_message_owned) {
1174 RegisterArenaDtor(arena);
1175 }
1176 // @@protoc_insertion_point(arena_constructor:google.protobuf.UInt32Value)
1177 }
UInt32Value(const UInt32Value & from)1178 UInt32Value::UInt32Value(const UInt32Value& from)
1179 : ::PROTOBUF_NAMESPACE_ID::Message() {
1180 _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
1181 value_ = from.value_;
1182 // @@protoc_insertion_point(copy_constructor:google.protobuf.UInt32Value)
1183 }
1184
SharedCtor()1185 inline void UInt32Value::SharedCtor() {
1186 value_ = 0u;
1187 }
1188
~UInt32Value()1189 UInt32Value::~UInt32Value() {
1190 // @@protoc_insertion_point(destructor:google.protobuf.UInt32Value)
1191 if (GetArenaForAllocation() != nullptr) return;
1192 SharedDtor();
1193 _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1194 }
1195
SharedDtor()1196 inline void UInt32Value::SharedDtor() {
1197 GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
1198 }
1199
ArenaDtor(void * object)1200 void UInt32Value::ArenaDtor(void* object) {
1201 UInt32Value* _this = reinterpret_cast< UInt32Value* >(object);
1202 (void)_this;
1203 }
RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena *)1204 void UInt32Value::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
1205 }
SetCachedSize(int size) const1206 void UInt32Value::SetCachedSize(int size) const {
1207 _cached_size_.Set(size);
1208 }
1209
Clear()1210 void UInt32Value::Clear() {
1211 // @@protoc_insertion_point(message_clear_start:google.protobuf.UInt32Value)
1212 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
1213 // Prevent compiler warnings about cached_has_bits being unused
1214 (void) cached_has_bits;
1215
1216 value_ = 0u;
1217 _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1218 }
1219
_InternalParse(const char * ptr,::PROTOBUF_NAMESPACE_ID::internal::ParseContext * ctx)1220 const char* UInt32Value::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
1221 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
1222 while (!ctx->Done(&ptr)) {
1223 ::PROTOBUF_NAMESPACE_ID::uint32 tag;
1224 ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
1225 switch (tag >> 3) {
1226 // uint32 value = 1;
1227 case 1:
1228 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) {
1229 value_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
1230 CHK_(ptr);
1231 } else goto handle_unusual;
1232 continue;
1233 default: {
1234 handle_unusual:
1235 if ((tag == 0) || ((tag & 7) == 4)) {
1236 CHK_(ptr);
1237 ctx->SetLastTag(tag);
1238 goto success;
1239 }
1240 ptr = UnknownFieldParse(tag,
1241 _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
1242 ptr, ctx);
1243 CHK_(ptr != nullptr);
1244 continue;
1245 }
1246 } // switch
1247 } // while
1248 success:
1249 return ptr;
1250 failure:
1251 ptr = nullptr;
1252 goto success;
1253 #undef CHK_
1254 }
1255
_InternalSerialize(::PROTOBUF_NAMESPACE_ID::uint8 * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const1256 ::PROTOBUF_NAMESPACE_ID::uint8* UInt32Value::_InternalSerialize(
1257 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
1258 // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.UInt32Value)
1259 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
1260 (void) cached_has_bits;
1261
1262 // uint32 value = 1;
1263 if (this->_internal_value() != 0) {
1264 target = stream->EnsureSpace(target);
1265 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_value(), target);
1266 }
1267
1268 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
1269 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
1270 _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
1271 }
1272 // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.UInt32Value)
1273 return target;
1274 }
1275
ByteSizeLong() const1276 size_t UInt32Value::ByteSizeLong() const {
1277 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.UInt32Value)
1278 size_t total_size = 0;
1279
1280 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
1281 // Prevent compiler warnings about cached_has_bits being unused
1282 (void) cached_has_bits;
1283
1284 // uint32 value = 1;
1285 if (this->_internal_value() != 0) {
1286 total_size += 1 +
1287 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size(
1288 this->_internal_value());
1289 }
1290
1291 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
1292 return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
1293 _internal_metadata_, total_size, &_cached_size_);
1294 }
1295 int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
1296 SetCachedSize(cached_size);
1297 return total_size;
1298 }
1299
1300 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData UInt32Value::_class_data_ = {
1301 ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
1302 UInt32Value::MergeImpl
1303 };
GetClassData() const1304 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*UInt32Value::GetClassData() const { return &_class_data_; }
1305
MergeImpl(::PROTOBUF_NAMESPACE_ID::Message * to,const::PROTOBUF_NAMESPACE_ID::Message & from)1306 void UInt32Value::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message*to,
1307 const ::PROTOBUF_NAMESPACE_ID::Message&from) {
1308 static_cast<UInt32Value *>(to)->MergeFrom(
1309 static_cast<const UInt32Value &>(from));
1310 }
1311
1312
MergeFrom(const UInt32Value & from)1313 void UInt32Value::MergeFrom(const UInt32Value& from) {
1314 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.UInt32Value)
1315 GOOGLE_DCHECK_NE(&from, this);
1316 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
1317 (void) cached_has_bits;
1318
1319 if (from._internal_value() != 0) {
1320 _internal_set_value(from._internal_value());
1321 }
1322 _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
1323 }
1324
CopyFrom(const UInt32Value & from)1325 void UInt32Value::CopyFrom(const UInt32Value& from) {
1326 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.UInt32Value)
1327 if (&from == this) return;
1328 Clear();
1329 MergeFrom(from);
1330 }
1331
IsInitialized() const1332 bool UInt32Value::IsInitialized() const {
1333 return true;
1334 }
1335
InternalSwap(UInt32Value * other)1336 void UInt32Value::InternalSwap(UInt32Value* other) {
1337 using std::swap;
1338 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1339 swap(value_, other->value_);
1340 }
1341
GetMetadata() const1342 ::PROTOBUF_NAMESPACE_ID::Metadata UInt32Value::GetMetadata() const {
1343 return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
1344 &descriptor_table_google_2fprotobuf_2fwrappers_2eproto_getter, &descriptor_table_google_2fprotobuf_2fwrappers_2eproto_once,
1345 file_level_metadata_google_2fprotobuf_2fwrappers_2eproto[5]);
1346 }
1347
1348 // ===================================================================
1349
1350 class BoolValue::_Internal {
1351 public:
1352 };
1353
BoolValue(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)1354 BoolValue::BoolValue(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1355 bool is_message_owned)
1356 : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
1357 SharedCtor();
1358 if (!is_message_owned) {
1359 RegisterArenaDtor(arena);
1360 }
1361 // @@protoc_insertion_point(arena_constructor:google.protobuf.BoolValue)
1362 }
BoolValue(const BoolValue & from)1363 BoolValue::BoolValue(const BoolValue& from)
1364 : ::PROTOBUF_NAMESPACE_ID::Message() {
1365 _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
1366 value_ = from.value_;
1367 // @@protoc_insertion_point(copy_constructor:google.protobuf.BoolValue)
1368 }
1369
SharedCtor()1370 inline void BoolValue::SharedCtor() {
1371 value_ = false;
1372 }
1373
~BoolValue()1374 BoolValue::~BoolValue() {
1375 // @@protoc_insertion_point(destructor:google.protobuf.BoolValue)
1376 if (GetArenaForAllocation() != nullptr) return;
1377 SharedDtor();
1378 _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1379 }
1380
SharedDtor()1381 inline void BoolValue::SharedDtor() {
1382 GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
1383 }
1384
ArenaDtor(void * object)1385 void BoolValue::ArenaDtor(void* object) {
1386 BoolValue* _this = reinterpret_cast< BoolValue* >(object);
1387 (void)_this;
1388 }
RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena *)1389 void BoolValue::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
1390 }
SetCachedSize(int size) const1391 void BoolValue::SetCachedSize(int size) const {
1392 _cached_size_.Set(size);
1393 }
1394
Clear()1395 void BoolValue::Clear() {
1396 // @@protoc_insertion_point(message_clear_start:google.protobuf.BoolValue)
1397 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
1398 // Prevent compiler warnings about cached_has_bits being unused
1399 (void) cached_has_bits;
1400
1401 value_ = false;
1402 _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1403 }
1404
_InternalParse(const char * ptr,::PROTOBUF_NAMESPACE_ID::internal::ParseContext * ctx)1405 const char* BoolValue::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
1406 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
1407 while (!ctx->Done(&ptr)) {
1408 ::PROTOBUF_NAMESPACE_ID::uint32 tag;
1409 ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
1410 switch (tag >> 3) {
1411 // bool value = 1;
1412 case 1:
1413 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) {
1414 value_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
1415 CHK_(ptr);
1416 } else goto handle_unusual;
1417 continue;
1418 default: {
1419 handle_unusual:
1420 if ((tag == 0) || ((tag & 7) == 4)) {
1421 CHK_(ptr);
1422 ctx->SetLastTag(tag);
1423 goto success;
1424 }
1425 ptr = UnknownFieldParse(tag,
1426 _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
1427 ptr, ctx);
1428 CHK_(ptr != nullptr);
1429 continue;
1430 }
1431 } // switch
1432 } // while
1433 success:
1434 return ptr;
1435 failure:
1436 ptr = nullptr;
1437 goto success;
1438 #undef CHK_
1439 }
1440
_InternalSerialize(::PROTOBUF_NAMESPACE_ID::uint8 * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const1441 ::PROTOBUF_NAMESPACE_ID::uint8* BoolValue::_InternalSerialize(
1442 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
1443 // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.BoolValue)
1444 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
1445 (void) cached_has_bits;
1446
1447 // bool value = 1;
1448 if (this->_internal_value() != 0) {
1449 target = stream->EnsureSpace(target);
1450 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_value(), target);
1451 }
1452
1453 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
1454 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
1455 _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
1456 }
1457 // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.BoolValue)
1458 return target;
1459 }
1460
ByteSizeLong() const1461 size_t BoolValue::ByteSizeLong() const {
1462 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.BoolValue)
1463 size_t total_size = 0;
1464
1465 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
1466 // Prevent compiler warnings about cached_has_bits being unused
1467 (void) cached_has_bits;
1468
1469 // bool value = 1;
1470 if (this->_internal_value() != 0) {
1471 total_size += 1 + 1;
1472 }
1473
1474 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
1475 return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
1476 _internal_metadata_, total_size, &_cached_size_);
1477 }
1478 int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
1479 SetCachedSize(cached_size);
1480 return total_size;
1481 }
1482
1483 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData BoolValue::_class_data_ = {
1484 ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
1485 BoolValue::MergeImpl
1486 };
GetClassData() const1487 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*BoolValue::GetClassData() const { return &_class_data_; }
1488
MergeImpl(::PROTOBUF_NAMESPACE_ID::Message * to,const::PROTOBUF_NAMESPACE_ID::Message & from)1489 void BoolValue::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message*to,
1490 const ::PROTOBUF_NAMESPACE_ID::Message&from) {
1491 static_cast<BoolValue *>(to)->MergeFrom(
1492 static_cast<const BoolValue &>(from));
1493 }
1494
1495
MergeFrom(const BoolValue & from)1496 void BoolValue::MergeFrom(const BoolValue& from) {
1497 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.BoolValue)
1498 GOOGLE_DCHECK_NE(&from, this);
1499 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
1500 (void) cached_has_bits;
1501
1502 if (from._internal_value() != 0) {
1503 _internal_set_value(from._internal_value());
1504 }
1505 _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
1506 }
1507
CopyFrom(const BoolValue & from)1508 void BoolValue::CopyFrom(const BoolValue& from) {
1509 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.BoolValue)
1510 if (&from == this) return;
1511 Clear();
1512 MergeFrom(from);
1513 }
1514
IsInitialized() const1515 bool BoolValue::IsInitialized() const {
1516 return true;
1517 }
1518
InternalSwap(BoolValue * other)1519 void BoolValue::InternalSwap(BoolValue* other) {
1520 using std::swap;
1521 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1522 swap(value_, other->value_);
1523 }
1524
GetMetadata() const1525 ::PROTOBUF_NAMESPACE_ID::Metadata BoolValue::GetMetadata() const {
1526 return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
1527 &descriptor_table_google_2fprotobuf_2fwrappers_2eproto_getter, &descriptor_table_google_2fprotobuf_2fwrappers_2eproto_once,
1528 file_level_metadata_google_2fprotobuf_2fwrappers_2eproto[6]);
1529 }
1530
1531 // ===================================================================
1532
1533 class StringValue::_Internal {
1534 public:
1535 };
1536
StringValue(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)1537 StringValue::StringValue(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1538 bool is_message_owned)
1539 : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
1540 SharedCtor();
1541 if (!is_message_owned) {
1542 RegisterArenaDtor(arena);
1543 }
1544 // @@protoc_insertion_point(arena_constructor:google.protobuf.StringValue)
1545 }
StringValue(const StringValue & from)1546 StringValue::StringValue(const StringValue& from)
1547 : ::PROTOBUF_NAMESPACE_ID::Message() {
1548 _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
1549 value_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1550 if (!from._internal_value().empty()) {
1551 value_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_value(),
1552 GetArenaForAllocation());
1553 }
1554 // @@protoc_insertion_point(copy_constructor:google.protobuf.StringValue)
1555 }
1556
SharedCtor()1557 inline void StringValue::SharedCtor() {
1558 value_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1559 }
1560
~StringValue()1561 StringValue::~StringValue() {
1562 // @@protoc_insertion_point(destructor:google.protobuf.StringValue)
1563 if (GetArenaForAllocation() != nullptr) return;
1564 SharedDtor();
1565 _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1566 }
1567
SharedDtor()1568 inline void StringValue::SharedDtor() {
1569 GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
1570 value_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1571 }
1572
ArenaDtor(void * object)1573 void StringValue::ArenaDtor(void* object) {
1574 StringValue* _this = reinterpret_cast< StringValue* >(object);
1575 (void)_this;
1576 }
RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena *)1577 void StringValue::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
1578 }
SetCachedSize(int size) const1579 void StringValue::SetCachedSize(int size) const {
1580 _cached_size_.Set(size);
1581 }
1582
Clear()1583 void StringValue::Clear() {
1584 // @@protoc_insertion_point(message_clear_start:google.protobuf.StringValue)
1585 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
1586 // Prevent compiler warnings about cached_has_bits being unused
1587 (void) cached_has_bits;
1588
1589 value_.ClearToEmpty();
1590 _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1591 }
1592
_InternalParse(const char * ptr,::PROTOBUF_NAMESPACE_ID::internal::ParseContext * ctx)1593 const char* StringValue::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
1594 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
1595 while (!ctx->Done(&ptr)) {
1596 ::PROTOBUF_NAMESPACE_ID::uint32 tag;
1597 ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
1598 switch (tag >> 3) {
1599 // string value = 1;
1600 case 1:
1601 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
1602 auto str = _internal_mutable_value();
1603 ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
1604 CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "google.protobuf.StringValue.value"));
1605 CHK_(ptr);
1606 } else goto handle_unusual;
1607 continue;
1608 default: {
1609 handle_unusual:
1610 if ((tag == 0) || ((tag & 7) == 4)) {
1611 CHK_(ptr);
1612 ctx->SetLastTag(tag);
1613 goto success;
1614 }
1615 ptr = UnknownFieldParse(tag,
1616 _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
1617 ptr, ctx);
1618 CHK_(ptr != nullptr);
1619 continue;
1620 }
1621 } // switch
1622 } // while
1623 success:
1624 return ptr;
1625 failure:
1626 ptr = nullptr;
1627 goto success;
1628 #undef CHK_
1629 }
1630
_InternalSerialize(::PROTOBUF_NAMESPACE_ID::uint8 * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const1631 ::PROTOBUF_NAMESPACE_ID::uint8* StringValue::_InternalSerialize(
1632 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
1633 // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.StringValue)
1634 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
1635 (void) cached_has_bits;
1636
1637 // string value = 1;
1638 if (!this->_internal_value().empty()) {
1639 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
1640 this->_internal_value().data(), static_cast<int>(this->_internal_value().length()),
1641 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
1642 "google.protobuf.StringValue.value");
1643 target = stream->WriteStringMaybeAliased(
1644 1, this->_internal_value(), target);
1645 }
1646
1647 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
1648 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
1649 _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
1650 }
1651 // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.StringValue)
1652 return target;
1653 }
1654
ByteSizeLong() const1655 size_t StringValue::ByteSizeLong() const {
1656 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.StringValue)
1657 size_t total_size = 0;
1658
1659 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
1660 // Prevent compiler warnings about cached_has_bits being unused
1661 (void) cached_has_bits;
1662
1663 // string value = 1;
1664 if (!this->_internal_value().empty()) {
1665 total_size += 1 +
1666 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
1667 this->_internal_value());
1668 }
1669
1670 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
1671 return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
1672 _internal_metadata_, total_size, &_cached_size_);
1673 }
1674 int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
1675 SetCachedSize(cached_size);
1676 return total_size;
1677 }
1678
1679 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData StringValue::_class_data_ = {
1680 ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
1681 StringValue::MergeImpl
1682 };
GetClassData() const1683 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*StringValue::GetClassData() const { return &_class_data_; }
1684
MergeImpl(::PROTOBUF_NAMESPACE_ID::Message * to,const::PROTOBUF_NAMESPACE_ID::Message & from)1685 void StringValue::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message*to,
1686 const ::PROTOBUF_NAMESPACE_ID::Message&from) {
1687 static_cast<StringValue *>(to)->MergeFrom(
1688 static_cast<const StringValue &>(from));
1689 }
1690
1691
MergeFrom(const StringValue & from)1692 void StringValue::MergeFrom(const StringValue& from) {
1693 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.StringValue)
1694 GOOGLE_DCHECK_NE(&from, this);
1695 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
1696 (void) cached_has_bits;
1697
1698 if (!from._internal_value().empty()) {
1699 _internal_set_value(from._internal_value());
1700 }
1701 _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
1702 }
1703
CopyFrom(const StringValue & from)1704 void StringValue::CopyFrom(const StringValue& from) {
1705 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.StringValue)
1706 if (&from == this) return;
1707 Clear();
1708 MergeFrom(from);
1709 }
1710
IsInitialized() const1711 bool StringValue::IsInitialized() const {
1712 return true;
1713 }
1714
InternalSwap(StringValue * other)1715 void StringValue::InternalSwap(StringValue* other) {
1716 using std::swap;
1717 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1718 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
1719 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1720 &value_, GetArenaForAllocation(),
1721 &other->value_, other->GetArenaForAllocation()
1722 );
1723 }
1724
GetMetadata() const1725 ::PROTOBUF_NAMESPACE_ID::Metadata StringValue::GetMetadata() const {
1726 return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
1727 &descriptor_table_google_2fprotobuf_2fwrappers_2eproto_getter, &descriptor_table_google_2fprotobuf_2fwrappers_2eproto_once,
1728 file_level_metadata_google_2fprotobuf_2fwrappers_2eproto[7]);
1729 }
1730
1731 // ===================================================================
1732
1733 class BytesValue::_Internal {
1734 public:
1735 };
1736
BytesValue(::PROTOBUF_NAMESPACE_ID::Arena * arena,bool is_message_owned)1737 BytesValue::BytesValue(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1738 bool is_message_owned)
1739 : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
1740 SharedCtor();
1741 if (!is_message_owned) {
1742 RegisterArenaDtor(arena);
1743 }
1744 // @@protoc_insertion_point(arena_constructor:google.protobuf.BytesValue)
1745 }
BytesValue(const BytesValue & from)1746 BytesValue::BytesValue(const BytesValue& from)
1747 : ::PROTOBUF_NAMESPACE_ID::Message() {
1748 _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
1749 value_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1750 if (!from._internal_value().empty()) {
1751 value_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_value(),
1752 GetArenaForAllocation());
1753 }
1754 // @@protoc_insertion_point(copy_constructor:google.protobuf.BytesValue)
1755 }
1756
SharedCtor()1757 inline void BytesValue::SharedCtor() {
1758 value_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1759 }
1760
~BytesValue()1761 BytesValue::~BytesValue() {
1762 // @@protoc_insertion_point(destructor:google.protobuf.BytesValue)
1763 if (GetArenaForAllocation() != nullptr) return;
1764 SharedDtor();
1765 _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1766 }
1767
SharedDtor()1768 inline void BytesValue::SharedDtor() {
1769 GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
1770 value_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1771 }
1772
ArenaDtor(void * object)1773 void BytesValue::ArenaDtor(void* object) {
1774 BytesValue* _this = reinterpret_cast< BytesValue* >(object);
1775 (void)_this;
1776 }
RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena *)1777 void BytesValue::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
1778 }
SetCachedSize(int size) const1779 void BytesValue::SetCachedSize(int size) const {
1780 _cached_size_.Set(size);
1781 }
1782
Clear()1783 void BytesValue::Clear() {
1784 // @@protoc_insertion_point(message_clear_start:google.protobuf.BytesValue)
1785 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
1786 // Prevent compiler warnings about cached_has_bits being unused
1787 (void) cached_has_bits;
1788
1789 value_.ClearToEmpty();
1790 _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1791 }
1792
_InternalParse(const char * ptr,::PROTOBUF_NAMESPACE_ID::internal::ParseContext * ctx)1793 const char* BytesValue::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
1794 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
1795 while (!ctx->Done(&ptr)) {
1796 ::PROTOBUF_NAMESPACE_ID::uint32 tag;
1797 ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
1798 switch (tag >> 3) {
1799 // bytes value = 1;
1800 case 1:
1801 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
1802 auto str = _internal_mutable_value();
1803 ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
1804 CHK_(ptr);
1805 } else goto handle_unusual;
1806 continue;
1807 default: {
1808 handle_unusual:
1809 if ((tag == 0) || ((tag & 7) == 4)) {
1810 CHK_(ptr);
1811 ctx->SetLastTag(tag);
1812 goto success;
1813 }
1814 ptr = UnknownFieldParse(tag,
1815 _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
1816 ptr, ctx);
1817 CHK_(ptr != nullptr);
1818 continue;
1819 }
1820 } // switch
1821 } // while
1822 success:
1823 return ptr;
1824 failure:
1825 ptr = nullptr;
1826 goto success;
1827 #undef CHK_
1828 }
1829
_InternalSerialize(::PROTOBUF_NAMESPACE_ID::uint8 * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const1830 ::PROTOBUF_NAMESPACE_ID::uint8* BytesValue::_InternalSerialize(
1831 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
1832 // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.BytesValue)
1833 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
1834 (void) cached_has_bits;
1835
1836 // bytes value = 1;
1837 if (!this->_internal_value().empty()) {
1838 target = stream->WriteBytesMaybeAliased(
1839 1, this->_internal_value(), target);
1840 }
1841
1842 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
1843 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
1844 _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
1845 }
1846 // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.BytesValue)
1847 return target;
1848 }
1849
ByteSizeLong() const1850 size_t BytesValue::ByteSizeLong() const {
1851 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.BytesValue)
1852 size_t total_size = 0;
1853
1854 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
1855 // Prevent compiler warnings about cached_has_bits being unused
1856 (void) cached_has_bits;
1857
1858 // bytes value = 1;
1859 if (!this->_internal_value().empty()) {
1860 total_size += 1 +
1861 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize(
1862 this->_internal_value());
1863 }
1864
1865 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
1866 return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
1867 _internal_metadata_, total_size, &_cached_size_);
1868 }
1869 int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
1870 SetCachedSize(cached_size);
1871 return total_size;
1872 }
1873
1874 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData BytesValue::_class_data_ = {
1875 ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
1876 BytesValue::MergeImpl
1877 };
GetClassData() const1878 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*BytesValue::GetClassData() const { return &_class_data_; }
1879
MergeImpl(::PROTOBUF_NAMESPACE_ID::Message * to,const::PROTOBUF_NAMESPACE_ID::Message & from)1880 void BytesValue::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message*to,
1881 const ::PROTOBUF_NAMESPACE_ID::Message&from) {
1882 static_cast<BytesValue *>(to)->MergeFrom(
1883 static_cast<const BytesValue &>(from));
1884 }
1885
1886
MergeFrom(const BytesValue & from)1887 void BytesValue::MergeFrom(const BytesValue& from) {
1888 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.BytesValue)
1889 GOOGLE_DCHECK_NE(&from, this);
1890 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
1891 (void) cached_has_bits;
1892
1893 if (!from._internal_value().empty()) {
1894 _internal_set_value(from._internal_value());
1895 }
1896 _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
1897 }
1898
CopyFrom(const BytesValue & from)1899 void BytesValue::CopyFrom(const BytesValue& from) {
1900 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.BytesValue)
1901 if (&from == this) return;
1902 Clear();
1903 MergeFrom(from);
1904 }
1905
IsInitialized() const1906 bool BytesValue::IsInitialized() const {
1907 return true;
1908 }
1909
InternalSwap(BytesValue * other)1910 void BytesValue::InternalSwap(BytesValue* other) {
1911 using std::swap;
1912 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1913 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
1914 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1915 &value_, GetArenaForAllocation(),
1916 &other->value_, other->GetArenaForAllocation()
1917 );
1918 }
1919
GetMetadata() const1920 ::PROTOBUF_NAMESPACE_ID::Metadata BytesValue::GetMetadata() const {
1921 return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
1922 &descriptor_table_google_2fprotobuf_2fwrappers_2eproto_getter, &descriptor_table_google_2fprotobuf_2fwrappers_2eproto_once,
1923 file_level_metadata_google_2fprotobuf_2fwrappers_2eproto[8]);
1924 }
1925
1926 // @@protoc_insertion_point(namespace_scope)
1927 PROTOBUF_NAMESPACE_CLOSE
1928 PROTOBUF_NAMESPACE_OPEN
CreateMaybeMessage(Arena * arena)1929 template<> PROTOBUF_NOINLINE PROTOBUF_NAMESPACE_ID::DoubleValue* Arena::CreateMaybeMessage< PROTOBUF_NAMESPACE_ID::DoubleValue >(Arena* arena) {
1930 return Arena::CreateMessageInternal< PROTOBUF_NAMESPACE_ID::DoubleValue >(arena);
1931 }
CreateMaybeMessage(Arena * arena)1932 template<> PROTOBUF_NOINLINE PROTOBUF_NAMESPACE_ID::FloatValue* Arena::CreateMaybeMessage< PROTOBUF_NAMESPACE_ID::FloatValue >(Arena* arena) {
1933 return Arena::CreateMessageInternal< PROTOBUF_NAMESPACE_ID::FloatValue >(arena);
1934 }
CreateMaybeMessage(Arena * arena)1935 template<> PROTOBUF_NOINLINE PROTOBUF_NAMESPACE_ID::Int64Value* Arena::CreateMaybeMessage< PROTOBUF_NAMESPACE_ID::Int64Value >(Arena* arena) {
1936 return Arena::CreateMessageInternal< PROTOBUF_NAMESPACE_ID::Int64Value >(arena);
1937 }
CreateMaybeMessage(Arena * arena)1938 template<> PROTOBUF_NOINLINE PROTOBUF_NAMESPACE_ID::UInt64Value* Arena::CreateMaybeMessage< PROTOBUF_NAMESPACE_ID::UInt64Value >(Arena* arena) {
1939 return Arena::CreateMessageInternal< PROTOBUF_NAMESPACE_ID::UInt64Value >(arena);
1940 }
CreateMaybeMessage(Arena * arena)1941 template<> PROTOBUF_NOINLINE PROTOBUF_NAMESPACE_ID::Int32Value* Arena::CreateMaybeMessage< PROTOBUF_NAMESPACE_ID::Int32Value >(Arena* arena) {
1942 return Arena::CreateMessageInternal< PROTOBUF_NAMESPACE_ID::Int32Value >(arena);
1943 }
CreateMaybeMessage(Arena * arena)1944 template<> PROTOBUF_NOINLINE PROTOBUF_NAMESPACE_ID::UInt32Value* Arena::CreateMaybeMessage< PROTOBUF_NAMESPACE_ID::UInt32Value >(Arena* arena) {
1945 return Arena::CreateMessageInternal< PROTOBUF_NAMESPACE_ID::UInt32Value >(arena);
1946 }
CreateMaybeMessage(Arena * arena)1947 template<> PROTOBUF_NOINLINE PROTOBUF_NAMESPACE_ID::BoolValue* Arena::CreateMaybeMessage< PROTOBUF_NAMESPACE_ID::BoolValue >(Arena* arena) {
1948 return Arena::CreateMessageInternal< PROTOBUF_NAMESPACE_ID::BoolValue >(arena);
1949 }
CreateMaybeMessage(Arena * arena)1950 template<> PROTOBUF_NOINLINE PROTOBUF_NAMESPACE_ID::StringValue* Arena::CreateMaybeMessage< PROTOBUF_NAMESPACE_ID::StringValue >(Arena* arena) {
1951 return Arena::CreateMessageInternal< PROTOBUF_NAMESPACE_ID::StringValue >(arena);
1952 }
CreateMaybeMessage(Arena * arena)1953 template<> PROTOBUF_NOINLINE PROTOBUF_NAMESPACE_ID::BytesValue* Arena::CreateMaybeMessage< PROTOBUF_NAMESPACE_ID::BytesValue >(Arena* arena) {
1954 return Arena::CreateMessageInternal< PROTOBUF_NAMESPACE_ID::BytesValue >(arena);
1955 }
1956 PROTOBUF_NAMESPACE_CLOSE
1957
1958 // @@protoc_insertion_point(global_scope)
1959 #include <google/protobuf/port_undef.inc>
1960