You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

wrappers.pb.h 64 kB

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