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 59 kB

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