wrappers.pb.h 59 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735
  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 < 3019000
  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 3019004 < 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_table_driven.h>
  23. #include <google/protobuf/generated_message_util.h>
  24. #include <google/protobuf/metadata_lite.h>
  25. #include <google/protobuf/generated_message_reflection.h>
  26. #include <google/protobuf/message.h>
  27. #include <google/protobuf/repeated_field.h> // IWYU pragma: export
  28. #include <google/protobuf/extension_set.h> // IWYU pragma: export
  29. #include <google/protobuf/unknown_field_set.h>
  30. // @@protoc_insertion_point(includes)
  31. #include <google/protobuf/port_def.inc>
  32. #define PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fwrappers_2eproto PROTOBUF_EXPORT
  33. PROTOBUF_NAMESPACE_OPEN
  34. namespace internal {
  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. static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
  41. PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  42. static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
  43. PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  44. static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[9]
  45. PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  46. static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
  47. static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
  48. static const uint32_t offsets[];
  49. };
  50. PROTOBUF_EXPORT extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_google_2fprotobuf_2fwrappers_2eproto;
  51. PROTOBUF_NAMESPACE_OPEN
  52. class BoolValue;
  53. struct BoolValueDefaultTypeInternal;
  54. PROTOBUF_EXPORT extern BoolValueDefaultTypeInternal _BoolValue_default_instance_;
  55. class BytesValue;
  56. struct BytesValueDefaultTypeInternal;
  57. PROTOBUF_EXPORT extern BytesValueDefaultTypeInternal _BytesValue_default_instance_;
  58. class DoubleValue;
  59. struct DoubleValueDefaultTypeInternal;
  60. PROTOBUF_EXPORT extern DoubleValueDefaultTypeInternal _DoubleValue_default_instance_;
  61. class FloatValue;
  62. struct FloatValueDefaultTypeInternal;
  63. PROTOBUF_EXPORT extern FloatValueDefaultTypeInternal _FloatValue_default_instance_;
  64. class Int32Value;
  65. struct Int32ValueDefaultTypeInternal;
  66. PROTOBUF_EXPORT extern Int32ValueDefaultTypeInternal _Int32Value_default_instance_;
  67. class Int64Value;
  68. struct Int64ValueDefaultTypeInternal;
  69. PROTOBUF_EXPORT extern Int64ValueDefaultTypeInternal _Int64Value_default_instance_;
  70. class StringValue;
  71. struct StringValueDefaultTypeInternal;
  72. PROTOBUF_EXPORT extern StringValueDefaultTypeInternal _StringValue_default_instance_;
  73. class UInt32Value;
  74. struct UInt32ValueDefaultTypeInternal;
  75. PROTOBUF_EXPORT extern UInt32ValueDefaultTypeInternal _UInt32Value_default_instance_;
  76. class UInt64Value;
  77. struct UInt64ValueDefaultTypeInternal;
  78. PROTOBUF_EXPORT extern UInt64ValueDefaultTypeInternal _UInt64Value_default_instance_;
  79. PROTOBUF_NAMESPACE_CLOSE
  80. PROTOBUF_NAMESPACE_OPEN
  81. template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::BoolValue* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::BoolValue>(Arena*);
  82. template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::BytesValue* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::BytesValue>(Arena*);
  83. template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::DoubleValue* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::DoubleValue>(Arena*);
  84. template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::FloatValue* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::FloatValue>(Arena*);
  85. template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::Int32Value* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::Int32Value>(Arena*);
  86. template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::Int64Value* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::Int64Value>(Arena*);
  87. template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::StringValue* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::StringValue>(Arena*);
  88. template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::UInt32Value* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::UInt32Value>(Arena*);
  89. template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::UInt64Value* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::UInt64Value>(Arena*);
  90. PROTOBUF_NAMESPACE_CLOSE
  91. PROTOBUF_NAMESPACE_OPEN
  92. // ===================================================================
  93. class PROTOBUF_EXPORT DoubleValue final :
  94. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.DoubleValue) */ {
  95. public:
  96. inline DoubleValue() : DoubleValue(nullptr) {}
  97. ~DoubleValue() override;
  98. explicit constexpr DoubleValue(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  99. DoubleValue(const DoubleValue& from);
  100. DoubleValue(DoubleValue&& from) noexcept
  101. : DoubleValue() {
  102. *this = ::std::move(from);
  103. }
  104. inline DoubleValue& operator=(const DoubleValue& from) {
  105. CopyFrom(from);
  106. return *this;
  107. }
  108. inline DoubleValue& operator=(DoubleValue&& from) noexcept {
  109. if (this == &from) return *this;
  110. if (GetOwningArena() == from.GetOwningArena()
  111. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  112. && GetOwningArena() != nullptr
  113. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  114. ) {
  115. InternalSwap(&from);
  116. } else {
  117. CopyFrom(from);
  118. }
  119. return *this;
  120. }
  121. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  122. return GetDescriptor();
  123. }
  124. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  125. return default_instance().GetMetadata().descriptor;
  126. }
  127. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  128. return default_instance().GetMetadata().reflection;
  129. }
  130. static const DoubleValue& default_instance() {
  131. return *internal_default_instance();
  132. }
  133. static inline const DoubleValue* internal_default_instance() {
  134. return reinterpret_cast<const DoubleValue*>(
  135. &_DoubleValue_default_instance_);
  136. }
  137. static constexpr int kIndexInFileMessages =
  138. 0;
  139. friend void swap(DoubleValue& a, DoubleValue& b) {
  140. a.Swap(&b);
  141. }
  142. inline void Swap(DoubleValue* other) {
  143. if (other == this) return;
  144. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  145. if (GetOwningArena() != nullptr &&
  146. GetOwningArena() == other->GetOwningArena()) {
  147. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  148. if (GetOwningArena() == other->GetOwningArena()) {
  149. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  150. InternalSwap(other);
  151. } else {
  152. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  153. }
  154. }
  155. void UnsafeArenaSwap(DoubleValue* other) {
  156. if (other == this) return;
  157. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  158. InternalSwap(other);
  159. }
  160. // implements Message ----------------------------------------------
  161. DoubleValue* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  162. return CreateMaybeMessage<DoubleValue>(arena);
  163. }
  164. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  165. void CopyFrom(const DoubleValue& from);
  166. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  167. void MergeFrom(const DoubleValue& from);
  168. private:
  169. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  170. public:
  171. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  172. bool IsInitialized() const final;
  173. size_t ByteSizeLong() const final;
  174. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  175. uint8_t* _InternalSerialize(
  176. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  177. int GetCachedSize() const final { return _cached_size_.Get(); }
  178. private:
  179. void SharedCtor();
  180. void SharedDtor();
  181. void SetCachedSize(int size) const final;
  182. void InternalSwap(DoubleValue* other);
  183. private:
  184. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  185. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  186. return "google.protobuf.DoubleValue";
  187. }
  188. protected:
  189. explicit DoubleValue(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  190. bool is_message_owned = false);
  191. private:
  192. static void ArenaDtor(void* object);
  193. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  194. public:
  195. static const ClassData _class_data_;
  196. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  197. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  198. // nested types ----------------------------------------------------
  199. // accessors -------------------------------------------------------
  200. enum : int {
  201. kValueFieldNumber = 1,
  202. };
  203. // double value = 1;
  204. void clear_value();
  205. double value() const;
  206. void set_value(double value);
  207. private:
  208. double _internal_value() const;
  209. void _internal_set_value(double value);
  210. public:
  211. // @@protoc_insertion_point(class_scope:google.protobuf.DoubleValue)
  212. private:
  213. class _Internal;
  214. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  215. typedef void InternalArenaConstructable_;
  216. typedef void DestructorSkippable_;
  217. double value_;
  218. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  219. friend struct ::TableStruct_google_2fprotobuf_2fwrappers_2eproto;
  220. };
  221. // -------------------------------------------------------------------
  222. class PROTOBUF_EXPORT FloatValue final :
  223. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.FloatValue) */ {
  224. public:
  225. inline FloatValue() : FloatValue(nullptr) {}
  226. ~FloatValue() override;
  227. explicit constexpr FloatValue(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  228. FloatValue(const FloatValue& from);
  229. FloatValue(FloatValue&& from) noexcept
  230. : FloatValue() {
  231. *this = ::std::move(from);
  232. }
  233. inline FloatValue& operator=(const FloatValue& from) {
  234. CopyFrom(from);
  235. return *this;
  236. }
  237. inline FloatValue& operator=(FloatValue&& from) noexcept {
  238. if (this == &from) return *this;
  239. if (GetOwningArena() == from.GetOwningArena()
  240. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  241. && GetOwningArena() != nullptr
  242. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  243. ) {
  244. InternalSwap(&from);
  245. } else {
  246. CopyFrom(from);
  247. }
  248. return *this;
  249. }
  250. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  251. return GetDescriptor();
  252. }
  253. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  254. return default_instance().GetMetadata().descriptor;
  255. }
  256. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  257. return default_instance().GetMetadata().reflection;
  258. }
  259. static const FloatValue& default_instance() {
  260. return *internal_default_instance();
  261. }
  262. static inline const FloatValue* internal_default_instance() {
  263. return reinterpret_cast<const FloatValue*>(
  264. &_FloatValue_default_instance_);
  265. }
  266. static constexpr int kIndexInFileMessages =
  267. 1;
  268. friend void swap(FloatValue& a, FloatValue& b) {
  269. a.Swap(&b);
  270. }
  271. inline void Swap(FloatValue* other) {
  272. if (other == this) return;
  273. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  274. if (GetOwningArena() != nullptr &&
  275. GetOwningArena() == other->GetOwningArena()) {
  276. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  277. if (GetOwningArena() == other->GetOwningArena()) {
  278. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  279. InternalSwap(other);
  280. } else {
  281. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  282. }
  283. }
  284. void UnsafeArenaSwap(FloatValue* other) {
  285. if (other == this) return;
  286. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  287. InternalSwap(other);
  288. }
  289. // implements Message ----------------------------------------------
  290. FloatValue* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  291. return CreateMaybeMessage<FloatValue>(arena);
  292. }
  293. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  294. void CopyFrom(const FloatValue& from);
  295. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  296. void MergeFrom(const FloatValue& from);
  297. private:
  298. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  299. public:
  300. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  301. bool IsInitialized() const final;
  302. size_t ByteSizeLong() const final;
  303. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  304. uint8_t* _InternalSerialize(
  305. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  306. int GetCachedSize() const final { return _cached_size_.Get(); }
  307. private:
  308. void SharedCtor();
  309. void SharedDtor();
  310. void SetCachedSize(int size) const final;
  311. void InternalSwap(FloatValue* other);
  312. private:
  313. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  314. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  315. return "google.protobuf.FloatValue";
  316. }
  317. protected:
  318. explicit FloatValue(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  319. bool is_message_owned = false);
  320. private:
  321. static void ArenaDtor(void* object);
  322. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  323. public:
  324. static const ClassData _class_data_;
  325. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  326. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  327. // nested types ----------------------------------------------------
  328. // accessors -------------------------------------------------------
  329. enum : int {
  330. kValueFieldNumber = 1,
  331. };
  332. // float value = 1;
  333. void clear_value();
  334. float value() const;
  335. void set_value(float value);
  336. private:
  337. float _internal_value() const;
  338. void _internal_set_value(float value);
  339. public:
  340. // @@protoc_insertion_point(class_scope:google.protobuf.FloatValue)
  341. private:
  342. class _Internal;
  343. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  344. typedef void InternalArenaConstructable_;
  345. typedef void DestructorSkippable_;
  346. float value_;
  347. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  348. friend struct ::TableStruct_google_2fprotobuf_2fwrappers_2eproto;
  349. };
  350. // -------------------------------------------------------------------
  351. class PROTOBUF_EXPORT Int64Value final :
  352. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.Int64Value) */ {
  353. public:
  354. inline Int64Value() : Int64Value(nullptr) {}
  355. ~Int64Value() override;
  356. explicit constexpr Int64Value(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  357. Int64Value(const Int64Value& from);
  358. Int64Value(Int64Value&& from) noexcept
  359. : Int64Value() {
  360. *this = ::std::move(from);
  361. }
  362. inline Int64Value& operator=(const Int64Value& from) {
  363. CopyFrom(from);
  364. return *this;
  365. }
  366. inline Int64Value& operator=(Int64Value&& from) noexcept {
  367. if (this == &from) return *this;
  368. if (GetOwningArena() == from.GetOwningArena()
  369. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  370. && GetOwningArena() != nullptr
  371. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  372. ) {
  373. InternalSwap(&from);
  374. } else {
  375. CopyFrom(from);
  376. }
  377. return *this;
  378. }
  379. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  380. return GetDescriptor();
  381. }
  382. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  383. return default_instance().GetMetadata().descriptor;
  384. }
  385. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  386. return default_instance().GetMetadata().reflection;
  387. }
  388. static const Int64Value& default_instance() {
  389. return *internal_default_instance();
  390. }
  391. static inline const Int64Value* internal_default_instance() {
  392. return reinterpret_cast<const Int64Value*>(
  393. &_Int64Value_default_instance_);
  394. }
  395. static constexpr int kIndexInFileMessages =
  396. 2;
  397. friend void swap(Int64Value& a, Int64Value& b) {
  398. a.Swap(&b);
  399. }
  400. inline void Swap(Int64Value* other) {
  401. if (other == this) return;
  402. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  403. if (GetOwningArena() != nullptr &&
  404. GetOwningArena() == other->GetOwningArena()) {
  405. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  406. if (GetOwningArena() == other->GetOwningArena()) {
  407. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  408. InternalSwap(other);
  409. } else {
  410. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  411. }
  412. }
  413. void UnsafeArenaSwap(Int64Value* other) {
  414. if (other == this) return;
  415. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  416. InternalSwap(other);
  417. }
  418. // implements Message ----------------------------------------------
  419. Int64Value* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  420. return CreateMaybeMessage<Int64Value>(arena);
  421. }
  422. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  423. void CopyFrom(const Int64Value& from);
  424. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  425. void MergeFrom(const Int64Value& from);
  426. private:
  427. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  428. public:
  429. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  430. bool IsInitialized() const final;
  431. size_t ByteSizeLong() const final;
  432. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  433. uint8_t* _InternalSerialize(
  434. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  435. int GetCachedSize() const final { return _cached_size_.Get(); }
  436. private:
  437. void SharedCtor();
  438. void SharedDtor();
  439. void SetCachedSize(int size) const final;
  440. void InternalSwap(Int64Value* other);
  441. private:
  442. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  443. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  444. return "google.protobuf.Int64Value";
  445. }
  446. protected:
  447. explicit Int64Value(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  448. bool is_message_owned = false);
  449. private:
  450. static void ArenaDtor(void* object);
  451. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  452. public:
  453. static const ClassData _class_data_;
  454. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  455. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  456. // nested types ----------------------------------------------------
  457. // accessors -------------------------------------------------------
  458. enum : int {
  459. kValueFieldNumber = 1,
  460. };
  461. // int64 value = 1;
  462. void clear_value();
  463. int64_t value() const;
  464. void set_value(int64_t value);
  465. private:
  466. int64_t _internal_value() const;
  467. void _internal_set_value(int64_t value);
  468. public:
  469. // @@protoc_insertion_point(class_scope:google.protobuf.Int64Value)
  470. private:
  471. class _Internal;
  472. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  473. typedef void InternalArenaConstructable_;
  474. typedef void DestructorSkippable_;
  475. int64_t value_;
  476. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  477. friend struct ::TableStruct_google_2fprotobuf_2fwrappers_2eproto;
  478. };
  479. // -------------------------------------------------------------------
  480. class PROTOBUF_EXPORT UInt64Value final :
  481. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.UInt64Value) */ {
  482. public:
  483. inline UInt64Value() : UInt64Value(nullptr) {}
  484. ~UInt64Value() override;
  485. explicit constexpr UInt64Value(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  486. UInt64Value(const UInt64Value& from);
  487. UInt64Value(UInt64Value&& from) noexcept
  488. : UInt64Value() {
  489. *this = ::std::move(from);
  490. }
  491. inline UInt64Value& operator=(const UInt64Value& from) {
  492. CopyFrom(from);
  493. return *this;
  494. }
  495. inline UInt64Value& operator=(UInt64Value&& from) noexcept {
  496. if (this == &from) return *this;
  497. if (GetOwningArena() == from.GetOwningArena()
  498. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  499. && GetOwningArena() != nullptr
  500. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  501. ) {
  502. InternalSwap(&from);
  503. } else {
  504. CopyFrom(from);
  505. }
  506. return *this;
  507. }
  508. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  509. return GetDescriptor();
  510. }
  511. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  512. return default_instance().GetMetadata().descriptor;
  513. }
  514. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  515. return default_instance().GetMetadata().reflection;
  516. }
  517. static const UInt64Value& default_instance() {
  518. return *internal_default_instance();
  519. }
  520. static inline const UInt64Value* internal_default_instance() {
  521. return reinterpret_cast<const UInt64Value*>(
  522. &_UInt64Value_default_instance_);
  523. }
  524. static constexpr int kIndexInFileMessages =
  525. 3;
  526. friend void swap(UInt64Value& a, UInt64Value& b) {
  527. a.Swap(&b);
  528. }
  529. inline void Swap(UInt64Value* other) {
  530. if (other == this) return;
  531. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  532. if (GetOwningArena() != nullptr &&
  533. GetOwningArena() == other->GetOwningArena()) {
  534. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  535. if (GetOwningArena() == other->GetOwningArena()) {
  536. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  537. InternalSwap(other);
  538. } else {
  539. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  540. }
  541. }
  542. void UnsafeArenaSwap(UInt64Value* other) {
  543. if (other == this) return;
  544. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  545. InternalSwap(other);
  546. }
  547. // implements Message ----------------------------------------------
  548. UInt64Value* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  549. return CreateMaybeMessage<UInt64Value>(arena);
  550. }
  551. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  552. void CopyFrom(const UInt64Value& from);
  553. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  554. void MergeFrom(const UInt64Value& from);
  555. private:
  556. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  557. public:
  558. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  559. bool IsInitialized() const final;
  560. size_t ByteSizeLong() const final;
  561. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  562. uint8_t* _InternalSerialize(
  563. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  564. int GetCachedSize() const final { return _cached_size_.Get(); }
  565. private:
  566. void SharedCtor();
  567. void SharedDtor();
  568. void SetCachedSize(int size) const final;
  569. void InternalSwap(UInt64Value* other);
  570. private:
  571. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  572. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  573. return "google.protobuf.UInt64Value";
  574. }
  575. protected:
  576. explicit UInt64Value(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  577. bool is_message_owned = false);
  578. private:
  579. static void ArenaDtor(void* object);
  580. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  581. public:
  582. static const ClassData _class_data_;
  583. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  584. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  585. // nested types ----------------------------------------------------
  586. // accessors -------------------------------------------------------
  587. enum : int {
  588. kValueFieldNumber = 1,
  589. };
  590. // uint64 value = 1;
  591. void clear_value();
  592. uint64_t value() const;
  593. void set_value(uint64_t value);
  594. private:
  595. uint64_t _internal_value() const;
  596. void _internal_set_value(uint64_t value);
  597. public:
  598. // @@protoc_insertion_point(class_scope:google.protobuf.UInt64Value)
  599. private:
  600. class _Internal;
  601. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  602. typedef void InternalArenaConstructable_;
  603. typedef void DestructorSkippable_;
  604. uint64_t value_;
  605. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  606. friend struct ::TableStruct_google_2fprotobuf_2fwrappers_2eproto;
  607. };
  608. // -------------------------------------------------------------------
  609. class PROTOBUF_EXPORT Int32Value final :
  610. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.Int32Value) */ {
  611. public:
  612. inline Int32Value() : Int32Value(nullptr) {}
  613. ~Int32Value() override;
  614. explicit constexpr Int32Value(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  615. Int32Value(const Int32Value& from);
  616. Int32Value(Int32Value&& from) noexcept
  617. : Int32Value() {
  618. *this = ::std::move(from);
  619. }
  620. inline Int32Value& operator=(const Int32Value& from) {
  621. CopyFrom(from);
  622. return *this;
  623. }
  624. inline Int32Value& operator=(Int32Value&& from) noexcept {
  625. if (this == &from) return *this;
  626. if (GetOwningArena() == from.GetOwningArena()
  627. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  628. && GetOwningArena() != nullptr
  629. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  630. ) {
  631. InternalSwap(&from);
  632. } else {
  633. CopyFrom(from);
  634. }
  635. return *this;
  636. }
  637. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  638. return GetDescriptor();
  639. }
  640. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  641. return default_instance().GetMetadata().descriptor;
  642. }
  643. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  644. return default_instance().GetMetadata().reflection;
  645. }
  646. static const Int32Value& default_instance() {
  647. return *internal_default_instance();
  648. }
  649. static inline const Int32Value* internal_default_instance() {
  650. return reinterpret_cast<const Int32Value*>(
  651. &_Int32Value_default_instance_);
  652. }
  653. static constexpr int kIndexInFileMessages =
  654. 4;
  655. friend void swap(Int32Value& a, Int32Value& b) {
  656. a.Swap(&b);
  657. }
  658. inline void Swap(Int32Value* other) {
  659. if (other == this) return;
  660. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  661. if (GetOwningArena() != nullptr &&
  662. GetOwningArena() == other->GetOwningArena()) {
  663. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  664. if (GetOwningArena() == other->GetOwningArena()) {
  665. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  666. InternalSwap(other);
  667. } else {
  668. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  669. }
  670. }
  671. void UnsafeArenaSwap(Int32Value* other) {
  672. if (other == this) return;
  673. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  674. InternalSwap(other);
  675. }
  676. // implements Message ----------------------------------------------
  677. Int32Value* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  678. return CreateMaybeMessage<Int32Value>(arena);
  679. }
  680. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  681. void CopyFrom(const Int32Value& from);
  682. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  683. void MergeFrom(const Int32Value& from);
  684. private:
  685. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  686. public:
  687. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  688. bool IsInitialized() const final;
  689. size_t ByteSizeLong() const final;
  690. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  691. uint8_t* _InternalSerialize(
  692. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  693. int GetCachedSize() const final { return _cached_size_.Get(); }
  694. private:
  695. void SharedCtor();
  696. void SharedDtor();
  697. void SetCachedSize(int size) const final;
  698. void InternalSwap(Int32Value* other);
  699. private:
  700. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  701. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  702. return "google.protobuf.Int32Value";
  703. }
  704. protected:
  705. explicit Int32Value(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  706. bool is_message_owned = false);
  707. private:
  708. static void ArenaDtor(void* object);
  709. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  710. public:
  711. static const ClassData _class_data_;
  712. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  713. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  714. // nested types ----------------------------------------------------
  715. // accessors -------------------------------------------------------
  716. enum : int {
  717. kValueFieldNumber = 1,
  718. };
  719. // int32 value = 1;
  720. void clear_value();
  721. int32_t value() const;
  722. void set_value(int32_t value);
  723. private:
  724. int32_t _internal_value() const;
  725. void _internal_set_value(int32_t value);
  726. public:
  727. // @@protoc_insertion_point(class_scope:google.protobuf.Int32Value)
  728. private:
  729. class _Internal;
  730. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  731. typedef void InternalArenaConstructable_;
  732. typedef void DestructorSkippable_;
  733. int32_t value_;
  734. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  735. friend struct ::TableStruct_google_2fprotobuf_2fwrappers_2eproto;
  736. };
  737. // -------------------------------------------------------------------
  738. class PROTOBUF_EXPORT UInt32Value final :
  739. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.UInt32Value) */ {
  740. public:
  741. inline UInt32Value() : UInt32Value(nullptr) {}
  742. ~UInt32Value() override;
  743. explicit constexpr UInt32Value(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  744. UInt32Value(const UInt32Value& from);
  745. UInt32Value(UInt32Value&& from) noexcept
  746. : UInt32Value() {
  747. *this = ::std::move(from);
  748. }
  749. inline UInt32Value& operator=(const UInt32Value& from) {
  750. CopyFrom(from);
  751. return *this;
  752. }
  753. inline UInt32Value& operator=(UInt32Value&& from) noexcept {
  754. if (this == &from) return *this;
  755. if (GetOwningArena() == from.GetOwningArena()
  756. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  757. && GetOwningArena() != nullptr
  758. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  759. ) {
  760. InternalSwap(&from);
  761. } else {
  762. CopyFrom(from);
  763. }
  764. return *this;
  765. }
  766. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  767. return GetDescriptor();
  768. }
  769. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  770. return default_instance().GetMetadata().descriptor;
  771. }
  772. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  773. return default_instance().GetMetadata().reflection;
  774. }
  775. static const UInt32Value& default_instance() {
  776. return *internal_default_instance();
  777. }
  778. static inline const UInt32Value* internal_default_instance() {
  779. return reinterpret_cast<const UInt32Value*>(
  780. &_UInt32Value_default_instance_);
  781. }
  782. static constexpr int kIndexInFileMessages =
  783. 5;
  784. friend void swap(UInt32Value& a, UInt32Value& b) {
  785. a.Swap(&b);
  786. }
  787. inline void Swap(UInt32Value* other) {
  788. if (other == this) return;
  789. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  790. if (GetOwningArena() != nullptr &&
  791. GetOwningArena() == other->GetOwningArena()) {
  792. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  793. if (GetOwningArena() == other->GetOwningArena()) {
  794. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  795. InternalSwap(other);
  796. } else {
  797. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  798. }
  799. }
  800. void UnsafeArenaSwap(UInt32Value* other) {
  801. if (other == this) return;
  802. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  803. InternalSwap(other);
  804. }
  805. // implements Message ----------------------------------------------
  806. UInt32Value* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  807. return CreateMaybeMessage<UInt32Value>(arena);
  808. }
  809. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  810. void CopyFrom(const UInt32Value& from);
  811. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  812. void MergeFrom(const UInt32Value& from);
  813. private:
  814. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  815. public:
  816. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  817. bool IsInitialized() const final;
  818. size_t ByteSizeLong() const final;
  819. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  820. uint8_t* _InternalSerialize(
  821. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  822. int GetCachedSize() const final { return _cached_size_.Get(); }
  823. private:
  824. void SharedCtor();
  825. void SharedDtor();
  826. void SetCachedSize(int size) const final;
  827. void InternalSwap(UInt32Value* other);
  828. private:
  829. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  830. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  831. return "google.protobuf.UInt32Value";
  832. }
  833. protected:
  834. explicit UInt32Value(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  835. bool is_message_owned = false);
  836. private:
  837. static void ArenaDtor(void* object);
  838. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  839. public:
  840. static const ClassData _class_data_;
  841. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  842. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  843. // nested types ----------------------------------------------------
  844. // accessors -------------------------------------------------------
  845. enum : int {
  846. kValueFieldNumber = 1,
  847. };
  848. // uint32 value = 1;
  849. void clear_value();
  850. uint32_t value() const;
  851. void set_value(uint32_t value);
  852. private:
  853. uint32_t _internal_value() const;
  854. void _internal_set_value(uint32_t value);
  855. public:
  856. // @@protoc_insertion_point(class_scope:google.protobuf.UInt32Value)
  857. private:
  858. class _Internal;
  859. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  860. typedef void InternalArenaConstructable_;
  861. typedef void DestructorSkippable_;
  862. uint32_t value_;
  863. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  864. friend struct ::TableStruct_google_2fprotobuf_2fwrappers_2eproto;
  865. };
  866. // -------------------------------------------------------------------
  867. class PROTOBUF_EXPORT BoolValue final :
  868. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.BoolValue) */ {
  869. public:
  870. inline BoolValue() : BoolValue(nullptr) {}
  871. ~BoolValue() override;
  872. explicit constexpr BoolValue(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  873. BoolValue(const BoolValue& from);
  874. BoolValue(BoolValue&& from) noexcept
  875. : BoolValue() {
  876. *this = ::std::move(from);
  877. }
  878. inline BoolValue& operator=(const BoolValue& from) {
  879. CopyFrom(from);
  880. return *this;
  881. }
  882. inline BoolValue& operator=(BoolValue&& from) noexcept {
  883. if (this == &from) return *this;
  884. if (GetOwningArena() == from.GetOwningArena()
  885. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  886. && GetOwningArena() != nullptr
  887. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  888. ) {
  889. InternalSwap(&from);
  890. } else {
  891. CopyFrom(from);
  892. }
  893. return *this;
  894. }
  895. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  896. return GetDescriptor();
  897. }
  898. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  899. return default_instance().GetMetadata().descriptor;
  900. }
  901. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  902. return default_instance().GetMetadata().reflection;
  903. }
  904. static const BoolValue& default_instance() {
  905. return *internal_default_instance();
  906. }
  907. static inline const BoolValue* internal_default_instance() {
  908. return reinterpret_cast<const BoolValue*>(
  909. &_BoolValue_default_instance_);
  910. }
  911. static constexpr int kIndexInFileMessages =
  912. 6;
  913. friend void swap(BoolValue& a, BoolValue& b) {
  914. a.Swap(&b);
  915. }
  916. inline void Swap(BoolValue* other) {
  917. if (other == this) return;
  918. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  919. if (GetOwningArena() != nullptr &&
  920. GetOwningArena() == other->GetOwningArena()) {
  921. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  922. if (GetOwningArena() == other->GetOwningArena()) {
  923. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  924. InternalSwap(other);
  925. } else {
  926. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  927. }
  928. }
  929. void UnsafeArenaSwap(BoolValue* other) {
  930. if (other == this) return;
  931. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  932. InternalSwap(other);
  933. }
  934. // implements Message ----------------------------------------------
  935. BoolValue* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  936. return CreateMaybeMessage<BoolValue>(arena);
  937. }
  938. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  939. void CopyFrom(const BoolValue& from);
  940. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  941. void MergeFrom(const BoolValue& from);
  942. private:
  943. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  944. public:
  945. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  946. bool IsInitialized() const final;
  947. size_t ByteSizeLong() const final;
  948. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  949. uint8_t* _InternalSerialize(
  950. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  951. int GetCachedSize() const final { return _cached_size_.Get(); }
  952. private:
  953. void SharedCtor();
  954. void SharedDtor();
  955. void SetCachedSize(int size) const final;
  956. void InternalSwap(BoolValue* other);
  957. private:
  958. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  959. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  960. return "google.protobuf.BoolValue";
  961. }
  962. protected:
  963. explicit BoolValue(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  964. bool is_message_owned = false);
  965. private:
  966. static void ArenaDtor(void* object);
  967. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  968. public:
  969. static const ClassData _class_data_;
  970. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  971. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  972. // nested types ----------------------------------------------------
  973. // accessors -------------------------------------------------------
  974. enum : int {
  975. kValueFieldNumber = 1,
  976. };
  977. // bool value = 1;
  978. void clear_value();
  979. bool value() const;
  980. void set_value(bool value);
  981. private:
  982. bool _internal_value() const;
  983. void _internal_set_value(bool value);
  984. public:
  985. // @@protoc_insertion_point(class_scope:google.protobuf.BoolValue)
  986. private:
  987. class _Internal;
  988. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  989. typedef void InternalArenaConstructable_;
  990. typedef void DestructorSkippable_;
  991. bool value_;
  992. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  993. friend struct ::TableStruct_google_2fprotobuf_2fwrappers_2eproto;
  994. };
  995. // -------------------------------------------------------------------
  996. class PROTOBUF_EXPORT StringValue final :
  997. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.StringValue) */ {
  998. public:
  999. inline StringValue() : StringValue(nullptr) {}
  1000. ~StringValue() override;
  1001. explicit constexpr StringValue(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1002. StringValue(const StringValue& from);
  1003. StringValue(StringValue&& from) noexcept
  1004. : StringValue() {
  1005. *this = ::std::move(from);
  1006. }
  1007. inline StringValue& operator=(const StringValue& from) {
  1008. CopyFrom(from);
  1009. return *this;
  1010. }
  1011. inline StringValue& operator=(StringValue&& from) noexcept {
  1012. if (this == &from) return *this;
  1013. if (GetOwningArena() == from.GetOwningArena()
  1014. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1015. && GetOwningArena() != nullptr
  1016. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1017. ) {
  1018. InternalSwap(&from);
  1019. } else {
  1020. CopyFrom(from);
  1021. }
  1022. return *this;
  1023. }
  1024. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1025. return GetDescriptor();
  1026. }
  1027. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1028. return default_instance().GetMetadata().descriptor;
  1029. }
  1030. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1031. return default_instance().GetMetadata().reflection;
  1032. }
  1033. static const StringValue& default_instance() {
  1034. return *internal_default_instance();
  1035. }
  1036. static inline const StringValue* internal_default_instance() {
  1037. return reinterpret_cast<const StringValue*>(
  1038. &_StringValue_default_instance_);
  1039. }
  1040. static constexpr int kIndexInFileMessages =
  1041. 7;
  1042. friend void swap(StringValue& a, StringValue& b) {
  1043. a.Swap(&b);
  1044. }
  1045. inline void Swap(StringValue* other) {
  1046. if (other == this) return;
  1047. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  1048. if (GetOwningArena() != nullptr &&
  1049. GetOwningArena() == other->GetOwningArena()) {
  1050. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  1051. if (GetOwningArena() == other->GetOwningArena()) {
  1052. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  1053. InternalSwap(other);
  1054. } else {
  1055. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1056. }
  1057. }
  1058. void UnsafeArenaSwap(StringValue* other) {
  1059. if (other == this) return;
  1060. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  1061. InternalSwap(other);
  1062. }
  1063. // implements Message ----------------------------------------------
  1064. StringValue* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  1065. return CreateMaybeMessage<StringValue>(arena);
  1066. }
  1067. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  1068. void CopyFrom(const StringValue& from);
  1069. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  1070. void MergeFrom(const StringValue& from);
  1071. private:
  1072. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  1073. public:
  1074. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1075. bool IsInitialized() const final;
  1076. size_t ByteSizeLong() const final;
  1077. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1078. uint8_t* _InternalSerialize(
  1079. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  1080. int GetCachedSize() const final { return _cached_size_.Get(); }
  1081. private:
  1082. void SharedCtor();
  1083. void SharedDtor();
  1084. void SetCachedSize(int size) const final;
  1085. void InternalSwap(StringValue* other);
  1086. private:
  1087. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1088. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1089. return "google.protobuf.StringValue";
  1090. }
  1091. protected:
  1092. explicit StringValue(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  1093. bool is_message_owned = false);
  1094. private:
  1095. static void ArenaDtor(void* object);
  1096. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1097. public:
  1098. static const ClassData _class_data_;
  1099. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  1100. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1101. // nested types ----------------------------------------------------
  1102. // accessors -------------------------------------------------------
  1103. enum : int {
  1104. kValueFieldNumber = 1,
  1105. };
  1106. // string value = 1;
  1107. void clear_value();
  1108. const std::string& value() const;
  1109. template <typename ArgT0 = const std::string&, typename... ArgT>
  1110. void set_value(ArgT0&& arg0, ArgT... args);
  1111. std::string* mutable_value();
  1112. PROTOBUF_NODISCARD std::string* release_value();
  1113. void set_allocated_value(std::string* value);
  1114. private:
  1115. const std::string& _internal_value() const;
  1116. inline PROTOBUF_ALWAYS_INLINE void _internal_set_value(const std::string& value);
  1117. std::string* _internal_mutable_value();
  1118. public:
  1119. // @@protoc_insertion_point(class_scope:google.protobuf.StringValue)
  1120. private:
  1121. class _Internal;
  1122. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1123. typedef void InternalArenaConstructable_;
  1124. typedef void DestructorSkippable_;
  1125. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr value_;
  1126. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1127. friend struct ::TableStruct_google_2fprotobuf_2fwrappers_2eproto;
  1128. };
  1129. // -------------------------------------------------------------------
  1130. class PROTOBUF_EXPORT BytesValue final :
  1131. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.BytesValue) */ {
  1132. public:
  1133. inline BytesValue() : BytesValue(nullptr) {}
  1134. ~BytesValue() override;
  1135. explicit constexpr BytesValue(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1136. BytesValue(const BytesValue& from);
  1137. BytesValue(BytesValue&& from) noexcept
  1138. : BytesValue() {
  1139. *this = ::std::move(from);
  1140. }
  1141. inline BytesValue& operator=(const BytesValue& from) {
  1142. CopyFrom(from);
  1143. return *this;
  1144. }
  1145. inline BytesValue& operator=(BytesValue&& from) noexcept {
  1146. if (this == &from) return *this;
  1147. if (GetOwningArena() == from.GetOwningArena()
  1148. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1149. && GetOwningArena() != nullptr
  1150. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1151. ) {
  1152. InternalSwap(&from);
  1153. } else {
  1154. CopyFrom(from);
  1155. }
  1156. return *this;
  1157. }
  1158. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1159. return GetDescriptor();
  1160. }
  1161. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1162. return default_instance().GetMetadata().descriptor;
  1163. }
  1164. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1165. return default_instance().GetMetadata().reflection;
  1166. }
  1167. static const BytesValue& default_instance() {
  1168. return *internal_default_instance();
  1169. }
  1170. static inline const BytesValue* internal_default_instance() {
  1171. return reinterpret_cast<const BytesValue*>(
  1172. &_BytesValue_default_instance_);
  1173. }
  1174. static constexpr int kIndexInFileMessages =
  1175. 8;
  1176. friend void swap(BytesValue& a, BytesValue& b) {
  1177. a.Swap(&b);
  1178. }
  1179. inline void Swap(BytesValue* other) {
  1180. if (other == this) return;
  1181. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  1182. if (GetOwningArena() != nullptr &&
  1183. GetOwningArena() == other->GetOwningArena()) {
  1184. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  1185. if (GetOwningArena() == other->GetOwningArena()) {
  1186. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  1187. InternalSwap(other);
  1188. } else {
  1189. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1190. }
  1191. }
  1192. void UnsafeArenaSwap(BytesValue* other) {
  1193. if (other == this) return;
  1194. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  1195. InternalSwap(other);
  1196. }
  1197. // implements Message ----------------------------------------------
  1198. BytesValue* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  1199. return CreateMaybeMessage<BytesValue>(arena);
  1200. }
  1201. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  1202. void CopyFrom(const BytesValue& from);
  1203. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  1204. void MergeFrom(const BytesValue& from);
  1205. private:
  1206. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  1207. public:
  1208. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1209. bool IsInitialized() const final;
  1210. size_t ByteSizeLong() const final;
  1211. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1212. uint8_t* _InternalSerialize(
  1213. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  1214. int GetCachedSize() const final { return _cached_size_.Get(); }
  1215. private:
  1216. void SharedCtor();
  1217. void SharedDtor();
  1218. void SetCachedSize(int size) const final;
  1219. void InternalSwap(BytesValue* other);
  1220. private:
  1221. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1222. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1223. return "google.protobuf.BytesValue";
  1224. }
  1225. protected:
  1226. explicit BytesValue(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  1227. bool is_message_owned = false);
  1228. private:
  1229. static void ArenaDtor(void* object);
  1230. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1231. public:
  1232. static const ClassData _class_data_;
  1233. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  1234. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1235. // nested types ----------------------------------------------------
  1236. // accessors -------------------------------------------------------
  1237. enum : int {
  1238. kValueFieldNumber = 1,
  1239. };
  1240. // bytes value = 1;
  1241. void clear_value();
  1242. const std::string& value() const;
  1243. template <typename ArgT0 = const std::string&, typename... ArgT>
  1244. void set_value(ArgT0&& arg0, ArgT... args);
  1245. std::string* mutable_value();
  1246. PROTOBUF_NODISCARD std::string* release_value();
  1247. void set_allocated_value(std::string* value);
  1248. private:
  1249. const std::string& _internal_value() const;
  1250. inline PROTOBUF_ALWAYS_INLINE void _internal_set_value(const std::string& value);
  1251. std::string* _internal_mutable_value();
  1252. public:
  1253. // @@protoc_insertion_point(class_scope:google.protobuf.BytesValue)
  1254. private:
  1255. class _Internal;
  1256. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1257. typedef void InternalArenaConstructable_;
  1258. typedef void DestructorSkippable_;
  1259. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr value_;
  1260. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1261. friend struct ::TableStruct_google_2fprotobuf_2fwrappers_2eproto;
  1262. };
  1263. // ===================================================================
  1264. // ===================================================================
  1265. #ifdef __GNUC__
  1266. #pragma GCC diagnostic push
  1267. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  1268. #endif // __GNUC__
  1269. // DoubleValue
  1270. // double value = 1;
  1271. inline void DoubleValue::clear_value() {
  1272. value_ = 0;
  1273. }
  1274. inline double DoubleValue::_internal_value() const {
  1275. return value_;
  1276. }
  1277. inline double DoubleValue::value() const {
  1278. // @@protoc_insertion_point(field_get:google.protobuf.DoubleValue.value)
  1279. return _internal_value();
  1280. }
  1281. inline void DoubleValue::_internal_set_value(double value) {
  1282. value_ = value;
  1283. }
  1284. inline void DoubleValue::set_value(double value) {
  1285. _internal_set_value(value);
  1286. // @@protoc_insertion_point(field_set:google.protobuf.DoubleValue.value)
  1287. }
  1288. // -------------------------------------------------------------------
  1289. // FloatValue
  1290. // float value = 1;
  1291. inline void FloatValue::clear_value() {
  1292. value_ = 0;
  1293. }
  1294. inline float FloatValue::_internal_value() const {
  1295. return value_;
  1296. }
  1297. inline float FloatValue::value() const {
  1298. // @@protoc_insertion_point(field_get:google.protobuf.FloatValue.value)
  1299. return _internal_value();
  1300. }
  1301. inline void FloatValue::_internal_set_value(float value) {
  1302. value_ = value;
  1303. }
  1304. inline void FloatValue::set_value(float value) {
  1305. _internal_set_value(value);
  1306. // @@protoc_insertion_point(field_set:google.protobuf.FloatValue.value)
  1307. }
  1308. // -------------------------------------------------------------------
  1309. // Int64Value
  1310. // int64 value = 1;
  1311. inline void Int64Value::clear_value() {
  1312. value_ = int64_t{0};
  1313. }
  1314. inline int64_t Int64Value::_internal_value() const {
  1315. return value_;
  1316. }
  1317. inline int64_t Int64Value::value() const {
  1318. // @@protoc_insertion_point(field_get:google.protobuf.Int64Value.value)
  1319. return _internal_value();
  1320. }
  1321. inline void Int64Value::_internal_set_value(int64_t value) {
  1322. value_ = value;
  1323. }
  1324. inline void Int64Value::set_value(int64_t value) {
  1325. _internal_set_value(value);
  1326. // @@protoc_insertion_point(field_set:google.protobuf.Int64Value.value)
  1327. }
  1328. // -------------------------------------------------------------------
  1329. // UInt64Value
  1330. // uint64 value = 1;
  1331. inline void UInt64Value::clear_value() {
  1332. value_ = uint64_t{0u};
  1333. }
  1334. inline uint64_t UInt64Value::_internal_value() const {
  1335. return value_;
  1336. }
  1337. inline uint64_t UInt64Value::value() const {
  1338. // @@protoc_insertion_point(field_get:google.protobuf.UInt64Value.value)
  1339. return _internal_value();
  1340. }
  1341. inline void UInt64Value::_internal_set_value(uint64_t value) {
  1342. value_ = value;
  1343. }
  1344. inline void UInt64Value::set_value(uint64_t value) {
  1345. _internal_set_value(value);
  1346. // @@protoc_insertion_point(field_set:google.protobuf.UInt64Value.value)
  1347. }
  1348. // -------------------------------------------------------------------
  1349. // Int32Value
  1350. // int32 value = 1;
  1351. inline void Int32Value::clear_value() {
  1352. value_ = 0;
  1353. }
  1354. inline int32_t Int32Value::_internal_value() const {
  1355. return value_;
  1356. }
  1357. inline int32_t Int32Value::value() const {
  1358. // @@protoc_insertion_point(field_get:google.protobuf.Int32Value.value)
  1359. return _internal_value();
  1360. }
  1361. inline void Int32Value::_internal_set_value(int32_t value) {
  1362. value_ = value;
  1363. }
  1364. inline void Int32Value::set_value(int32_t value) {
  1365. _internal_set_value(value);
  1366. // @@protoc_insertion_point(field_set:google.protobuf.Int32Value.value)
  1367. }
  1368. // -------------------------------------------------------------------
  1369. // UInt32Value
  1370. // uint32 value = 1;
  1371. inline void UInt32Value::clear_value() {
  1372. value_ = 0u;
  1373. }
  1374. inline uint32_t UInt32Value::_internal_value() const {
  1375. return value_;
  1376. }
  1377. inline uint32_t UInt32Value::value() const {
  1378. // @@protoc_insertion_point(field_get:google.protobuf.UInt32Value.value)
  1379. return _internal_value();
  1380. }
  1381. inline void UInt32Value::_internal_set_value(uint32_t value) {
  1382. value_ = value;
  1383. }
  1384. inline void UInt32Value::set_value(uint32_t value) {
  1385. _internal_set_value(value);
  1386. // @@protoc_insertion_point(field_set:google.protobuf.UInt32Value.value)
  1387. }
  1388. // -------------------------------------------------------------------
  1389. // BoolValue
  1390. // bool value = 1;
  1391. inline void BoolValue::clear_value() {
  1392. value_ = false;
  1393. }
  1394. inline bool BoolValue::_internal_value() const {
  1395. return value_;
  1396. }
  1397. inline bool BoolValue::value() const {
  1398. // @@protoc_insertion_point(field_get:google.protobuf.BoolValue.value)
  1399. return _internal_value();
  1400. }
  1401. inline void BoolValue::_internal_set_value(bool value) {
  1402. value_ = value;
  1403. }
  1404. inline void BoolValue::set_value(bool value) {
  1405. _internal_set_value(value);
  1406. // @@protoc_insertion_point(field_set:google.protobuf.BoolValue.value)
  1407. }
  1408. // -------------------------------------------------------------------
  1409. // StringValue
  1410. // string value = 1;
  1411. inline void StringValue::clear_value() {
  1412. value_.ClearToEmpty();
  1413. }
  1414. inline const std::string& StringValue::value() const {
  1415. // @@protoc_insertion_point(field_get:google.protobuf.StringValue.value)
  1416. return _internal_value();
  1417. }
  1418. template <typename ArgT0, typename... ArgT>
  1419. inline PROTOBUF_ALWAYS_INLINE
  1420. void StringValue::set_value(ArgT0&& arg0, ArgT... args) {
  1421. value_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  1422. // @@protoc_insertion_point(field_set:google.protobuf.StringValue.value)
  1423. }
  1424. inline std::string* StringValue::mutable_value() {
  1425. std::string* _s = _internal_mutable_value();
  1426. // @@protoc_insertion_point(field_mutable:google.protobuf.StringValue.value)
  1427. return _s;
  1428. }
  1429. inline const std::string& StringValue::_internal_value() const {
  1430. return value_.Get();
  1431. }
  1432. inline void StringValue::_internal_set_value(const std::string& value) {
  1433. value_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  1434. }
  1435. inline std::string* StringValue::_internal_mutable_value() {
  1436. return value_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  1437. }
  1438. inline std::string* StringValue::release_value() {
  1439. // @@protoc_insertion_point(field_release:google.protobuf.StringValue.value)
  1440. return value_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  1441. }
  1442. inline void StringValue::set_allocated_value(std::string* value) {
  1443. if (value != nullptr) {
  1444. } else {
  1445. }
  1446. value_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value,
  1447. GetArenaForAllocation());
  1448. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  1449. if (value_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  1450. value_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  1451. }
  1452. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  1453. // @@protoc_insertion_point(field_set_allocated:google.protobuf.StringValue.value)
  1454. }
  1455. // -------------------------------------------------------------------
  1456. // BytesValue
  1457. // bytes value = 1;
  1458. inline void BytesValue::clear_value() {
  1459. value_.ClearToEmpty();
  1460. }
  1461. inline const std::string& BytesValue::value() const {
  1462. // @@protoc_insertion_point(field_get:google.protobuf.BytesValue.value)
  1463. return _internal_value();
  1464. }
  1465. template <typename ArgT0, typename... ArgT>
  1466. inline PROTOBUF_ALWAYS_INLINE
  1467. void BytesValue::set_value(ArgT0&& arg0, ArgT... args) {
  1468. value_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  1469. // @@protoc_insertion_point(field_set:google.protobuf.BytesValue.value)
  1470. }
  1471. inline std::string* BytesValue::mutable_value() {
  1472. std::string* _s = _internal_mutable_value();
  1473. // @@protoc_insertion_point(field_mutable:google.protobuf.BytesValue.value)
  1474. return _s;
  1475. }
  1476. inline const std::string& BytesValue::_internal_value() const {
  1477. return value_.Get();
  1478. }
  1479. inline void BytesValue::_internal_set_value(const std::string& value) {
  1480. value_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  1481. }
  1482. inline std::string* BytesValue::_internal_mutable_value() {
  1483. return value_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  1484. }
  1485. inline std::string* BytesValue::release_value() {
  1486. // @@protoc_insertion_point(field_release:google.protobuf.BytesValue.value)
  1487. return value_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  1488. }
  1489. inline void BytesValue::set_allocated_value(std::string* value) {
  1490. if (value != nullptr) {
  1491. } else {
  1492. }
  1493. value_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value,
  1494. GetArenaForAllocation());
  1495. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  1496. if (value_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  1497. value_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  1498. }
  1499. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  1500. // @@protoc_insertion_point(field_set_allocated:google.protobuf.BytesValue.value)
  1501. }
  1502. #ifdef __GNUC__
  1503. #pragma GCC diagnostic pop
  1504. #endif // __GNUC__
  1505. // -------------------------------------------------------------------
  1506. // -------------------------------------------------------------------
  1507. // -------------------------------------------------------------------
  1508. // -------------------------------------------------------------------
  1509. // -------------------------------------------------------------------
  1510. // -------------------------------------------------------------------
  1511. // -------------------------------------------------------------------
  1512. // -------------------------------------------------------------------
  1513. // @@protoc_insertion_point(namespace_scope)
  1514. PROTOBUF_NAMESPACE_CLOSE
  1515. // @@protoc_insertion_point(global_scope)
  1516. #include <google/protobuf/port_undef.inc>
  1517. #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2fwrappers_2eproto