wrappers.pb.h 51 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: google/protobuf/wrappers.proto
  3. #ifndef PROTOBUF_INCLUDED_google_2fprotobuf_2fwrappers_2eproto
  4. #define PROTOBUF_INCLUDED_google_2fprotobuf_2fwrappers_2eproto
  5. #include <string>
  6. #include <google/protobuf/stubs/common.h>
  7. #if GOOGLE_PROTOBUF_VERSION < 3006001
  8. #error This file was generated by a newer version of protoc which is
  9. #error incompatible with your Protocol Buffer headers. Please update
  10. #error your headers.
  11. #endif
  12. #if 3006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
  13. #error This file was generated by an older version of protoc which is
  14. #error incompatible with your Protocol Buffer headers. Please
  15. #error regenerate this file with a newer version of protoc.
  16. #endif
  17. #include <google/protobuf/io/coded_stream.h>
  18. #include <google/protobuf/arena.h>
  19. #include <google/protobuf/arenastring.h>
  20. #include <google/protobuf/generated_message_table_driven.h>
  21. #include <google/protobuf/generated_message_util.h>
  22. #include <google/protobuf/inlined_string_field.h>
  23. #include <google/protobuf/metadata.h>
  24. #include <google/protobuf/message.h>
  25. #include <google/protobuf/repeated_field.h> // IWYU pragma: export
  26. #include <google/protobuf/extension_set.h> // IWYU pragma: export
  27. #include <google/protobuf/unknown_field_set.h>
  28. // @@protoc_insertion_point(includes)
  29. #define PROTOBUF_INTERNAL_EXPORT_protobuf_google_2fprotobuf_2fwrappers_2eproto LIBPROTOBUF_EXPORT
  30. namespace protobuf_google_2fprotobuf_2fwrappers_2eproto {
  31. // Internal implementation detail -- do not use these members.
  32. struct LIBPROTOBUF_EXPORT TableStruct {
  33. static const ::google::protobuf::internal::ParseTableField entries[];
  34. static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
  35. static const ::google::protobuf::internal::ParseTable schema[9];
  36. static const ::google::protobuf::internal::FieldMetadata field_metadata[];
  37. static const ::google::protobuf::internal::SerializationTable serialization_table[];
  38. static const ::google::protobuf::uint32 offsets[];
  39. };
  40. void LIBPROTOBUF_EXPORT AddDescriptors();
  41. } // namespace protobuf_google_2fprotobuf_2fwrappers_2eproto
  42. namespace google {
  43. namespace protobuf {
  44. class BoolValue;
  45. class BoolValueDefaultTypeInternal;
  46. LIBPROTOBUF_EXPORT extern BoolValueDefaultTypeInternal _BoolValue_default_instance_;
  47. class BytesValue;
  48. class BytesValueDefaultTypeInternal;
  49. LIBPROTOBUF_EXPORT extern BytesValueDefaultTypeInternal _BytesValue_default_instance_;
  50. class DoubleValue;
  51. class DoubleValueDefaultTypeInternal;
  52. LIBPROTOBUF_EXPORT extern DoubleValueDefaultTypeInternal _DoubleValue_default_instance_;
  53. class FloatValue;
  54. class FloatValueDefaultTypeInternal;
  55. LIBPROTOBUF_EXPORT extern FloatValueDefaultTypeInternal _FloatValue_default_instance_;
  56. class Int32Value;
  57. class Int32ValueDefaultTypeInternal;
  58. LIBPROTOBUF_EXPORT extern Int32ValueDefaultTypeInternal _Int32Value_default_instance_;
  59. class Int64Value;
  60. class Int64ValueDefaultTypeInternal;
  61. LIBPROTOBUF_EXPORT extern Int64ValueDefaultTypeInternal _Int64Value_default_instance_;
  62. class StringValue;
  63. class StringValueDefaultTypeInternal;
  64. LIBPROTOBUF_EXPORT extern StringValueDefaultTypeInternal _StringValue_default_instance_;
  65. class UInt32Value;
  66. class UInt32ValueDefaultTypeInternal;
  67. LIBPROTOBUF_EXPORT extern UInt32ValueDefaultTypeInternal _UInt32Value_default_instance_;
  68. class UInt64Value;
  69. class UInt64ValueDefaultTypeInternal;
  70. LIBPROTOBUF_EXPORT extern UInt64ValueDefaultTypeInternal _UInt64Value_default_instance_;
  71. } // namespace protobuf
  72. } // namespace google
  73. namespace google {
  74. namespace protobuf {
  75. template<> LIBPROTOBUF_EXPORT ::google::protobuf::BoolValue* Arena::CreateMaybeMessage<::google::protobuf::BoolValue>(Arena*);
  76. template<> LIBPROTOBUF_EXPORT ::google::protobuf::BytesValue* Arena::CreateMaybeMessage<::google::protobuf::BytesValue>(Arena*);
  77. template<> LIBPROTOBUF_EXPORT ::google::protobuf::DoubleValue* Arena::CreateMaybeMessage<::google::protobuf::DoubleValue>(Arena*);
  78. template<> LIBPROTOBUF_EXPORT ::google::protobuf::FloatValue* Arena::CreateMaybeMessage<::google::protobuf::FloatValue>(Arena*);
  79. template<> LIBPROTOBUF_EXPORT ::google::protobuf::Int32Value* Arena::CreateMaybeMessage<::google::protobuf::Int32Value>(Arena*);
  80. template<> LIBPROTOBUF_EXPORT ::google::protobuf::Int64Value* Arena::CreateMaybeMessage<::google::protobuf::Int64Value>(Arena*);
  81. template<> LIBPROTOBUF_EXPORT ::google::protobuf::StringValue* Arena::CreateMaybeMessage<::google::protobuf::StringValue>(Arena*);
  82. template<> LIBPROTOBUF_EXPORT ::google::protobuf::UInt32Value* Arena::CreateMaybeMessage<::google::protobuf::UInt32Value>(Arena*);
  83. template<> LIBPROTOBUF_EXPORT ::google::protobuf::UInt64Value* Arena::CreateMaybeMessage<::google::protobuf::UInt64Value>(Arena*);
  84. } // namespace protobuf
  85. } // namespace google
  86. namespace google {
  87. namespace protobuf {
  88. // ===================================================================
  89. class LIBPROTOBUF_EXPORT DoubleValue : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.DoubleValue) */ {
  90. public:
  91. DoubleValue();
  92. virtual ~DoubleValue();
  93. DoubleValue(const DoubleValue& from);
  94. inline DoubleValue& operator=(const DoubleValue& from) {
  95. CopyFrom(from);
  96. return *this;
  97. }
  98. #if LANG_CXX11
  99. DoubleValue(DoubleValue&& from) noexcept
  100. : DoubleValue() {
  101. *this = ::std::move(from);
  102. }
  103. inline DoubleValue& operator=(DoubleValue&& from) noexcept {
  104. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  105. if (this != &from) InternalSwap(&from);
  106. } else {
  107. CopyFrom(from);
  108. }
  109. return *this;
  110. }
  111. #endif
  112. inline ::google::protobuf::Arena* GetArena() const final {
  113. return GetArenaNoVirtual();
  114. }
  115. inline void* GetMaybeArenaPointer() const final {
  116. return MaybeArenaPtr();
  117. }
  118. static const ::google::protobuf::Descriptor* descriptor();
  119. static const DoubleValue& default_instance();
  120. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  121. static inline const DoubleValue* internal_default_instance() {
  122. return reinterpret_cast<const DoubleValue*>(
  123. &_DoubleValue_default_instance_);
  124. }
  125. static constexpr int kIndexInFileMessages =
  126. 0;
  127. void UnsafeArenaSwap(DoubleValue* other);
  128. void Swap(DoubleValue* other);
  129. friend void swap(DoubleValue& a, DoubleValue& b) {
  130. a.Swap(&b);
  131. }
  132. // implements Message ----------------------------------------------
  133. inline DoubleValue* New() const final {
  134. return CreateMaybeMessage<DoubleValue>(NULL);
  135. }
  136. DoubleValue* New(::google::protobuf::Arena* arena) const final {
  137. return CreateMaybeMessage<DoubleValue>(arena);
  138. }
  139. void CopyFrom(const ::google::protobuf::Message& from) final;
  140. void MergeFrom(const ::google::protobuf::Message& from) final;
  141. void CopyFrom(const DoubleValue& from);
  142. void MergeFrom(const DoubleValue& from);
  143. void Clear() final;
  144. bool IsInitialized() const final;
  145. size_t ByteSizeLong() const final;
  146. bool MergePartialFromCodedStream(
  147. ::google::protobuf::io::CodedInputStream* input) final;
  148. void SerializeWithCachedSizes(
  149. ::google::protobuf::io::CodedOutputStream* output) const final;
  150. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  151. bool deterministic, ::google::protobuf::uint8* target) const final;
  152. int GetCachedSize() const final { return _cached_size_.Get(); }
  153. private:
  154. void SharedCtor();
  155. void SharedDtor();
  156. void SetCachedSize(int size) const final;
  157. void InternalSwap(DoubleValue* other);
  158. protected:
  159. explicit DoubleValue(::google::protobuf::Arena* arena);
  160. private:
  161. static void ArenaDtor(void* object);
  162. inline void RegisterArenaDtor(::google::protobuf::Arena* arena);
  163. private:
  164. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  165. return _internal_metadata_.arena();
  166. }
  167. inline void* MaybeArenaPtr() const {
  168. return _internal_metadata_.raw_arena_ptr();
  169. }
  170. public:
  171. ::google::protobuf::Metadata GetMetadata() const final;
  172. // nested types ----------------------------------------------------
  173. // accessors -------------------------------------------------------
  174. // double value = 1;
  175. void clear_value();
  176. static const int kValueFieldNumber = 1;
  177. double value() const;
  178. void set_value(double value);
  179. // @@protoc_insertion_point(class_scope:google.protobuf.DoubleValue)
  180. private:
  181. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  182. template <typename T> friend class ::google::protobuf::Arena::InternalHelper;
  183. typedef void InternalArenaConstructable_;
  184. typedef void DestructorSkippable_;
  185. double value_;
  186. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  187. friend struct ::protobuf_google_2fprotobuf_2fwrappers_2eproto::TableStruct;
  188. };
  189. // -------------------------------------------------------------------
  190. class LIBPROTOBUF_EXPORT FloatValue : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.FloatValue) */ {
  191. public:
  192. FloatValue();
  193. virtual ~FloatValue();
  194. FloatValue(const FloatValue& from);
  195. inline FloatValue& operator=(const FloatValue& from) {
  196. CopyFrom(from);
  197. return *this;
  198. }
  199. #if LANG_CXX11
  200. FloatValue(FloatValue&& from) noexcept
  201. : FloatValue() {
  202. *this = ::std::move(from);
  203. }
  204. inline FloatValue& operator=(FloatValue&& from) noexcept {
  205. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  206. if (this != &from) InternalSwap(&from);
  207. } else {
  208. CopyFrom(from);
  209. }
  210. return *this;
  211. }
  212. #endif
  213. inline ::google::protobuf::Arena* GetArena() const final {
  214. return GetArenaNoVirtual();
  215. }
  216. inline void* GetMaybeArenaPointer() const final {
  217. return MaybeArenaPtr();
  218. }
  219. static const ::google::protobuf::Descriptor* descriptor();
  220. static const FloatValue& default_instance();
  221. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  222. static inline const FloatValue* internal_default_instance() {
  223. return reinterpret_cast<const FloatValue*>(
  224. &_FloatValue_default_instance_);
  225. }
  226. static constexpr int kIndexInFileMessages =
  227. 1;
  228. void UnsafeArenaSwap(FloatValue* other);
  229. void Swap(FloatValue* other);
  230. friend void swap(FloatValue& a, FloatValue& b) {
  231. a.Swap(&b);
  232. }
  233. // implements Message ----------------------------------------------
  234. inline FloatValue* New() const final {
  235. return CreateMaybeMessage<FloatValue>(NULL);
  236. }
  237. FloatValue* New(::google::protobuf::Arena* arena) const final {
  238. return CreateMaybeMessage<FloatValue>(arena);
  239. }
  240. void CopyFrom(const ::google::protobuf::Message& from) final;
  241. void MergeFrom(const ::google::protobuf::Message& from) final;
  242. void CopyFrom(const FloatValue& from);
  243. void MergeFrom(const FloatValue& from);
  244. void Clear() final;
  245. bool IsInitialized() const final;
  246. size_t ByteSizeLong() const final;
  247. bool MergePartialFromCodedStream(
  248. ::google::protobuf::io::CodedInputStream* input) final;
  249. void SerializeWithCachedSizes(
  250. ::google::protobuf::io::CodedOutputStream* output) const final;
  251. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  252. bool deterministic, ::google::protobuf::uint8* target) const final;
  253. int GetCachedSize() const final { return _cached_size_.Get(); }
  254. private:
  255. void SharedCtor();
  256. void SharedDtor();
  257. void SetCachedSize(int size) const final;
  258. void InternalSwap(FloatValue* other);
  259. protected:
  260. explicit FloatValue(::google::protobuf::Arena* arena);
  261. private:
  262. static void ArenaDtor(void* object);
  263. inline void RegisterArenaDtor(::google::protobuf::Arena* arena);
  264. private:
  265. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  266. return _internal_metadata_.arena();
  267. }
  268. inline void* MaybeArenaPtr() const {
  269. return _internal_metadata_.raw_arena_ptr();
  270. }
  271. public:
  272. ::google::protobuf::Metadata GetMetadata() const final;
  273. // nested types ----------------------------------------------------
  274. // accessors -------------------------------------------------------
  275. // float value = 1;
  276. void clear_value();
  277. static const int kValueFieldNumber = 1;
  278. float value() const;
  279. void set_value(float value);
  280. // @@protoc_insertion_point(class_scope:google.protobuf.FloatValue)
  281. private:
  282. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  283. template <typename T> friend class ::google::protobuf::Arena::InternalHelper;
  284. typedef void InternalArenaConstructable_;
  285. typedef void DestructorSkippable_;
  286. float value_;
  287. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  288. friend struct ::protobuf_google_2fprotobuf_2fwrappers_2eproto::TableStruct;
  289. };
  290. // -------------------------------------------------------------------
  291. class LIBPROTOBUF_EXPORT Int64Value : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.Int64Value) */ {
  292. public:
  293. Int64Value();
  294. virtual ~Int64Value();
  295. Int64Value(const Int64Value& from);
  296. inline Int64Value& operator=(const Int64Value& from) {
  297. CopyFrom(from);
  298. return *this;
  299. }
  300. #if LANG_CXX11
  301. Int64Value(Int64Value&& from) noexcept
  302. : Int64Value() {
  303. *this = ::std::move(from);
  304. }
  305. inline Int64Value& operator=(Int64Value&& from) noexcept {
  306. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  307. if (this != &from) InternalSwap(&from);
  308. } else {
  309. CopyFrom(from);
  310. }
  311. return *this;
  312. }
  313. #endif
  314. inline ::google::protobuf::Arena* GetArena() const final {
  315. return GetArenaNoVirtual();
  316. }
  317. inline void* GetMaybeArenaPointer() const final {
  318. return MaybeArenaPtr();
  319. }
  320. static const ::google::protobuf::Descriptor* descriptor();
  321. static const Int64Value& default_instance();
  322. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  323. static inline const Int64Value* internal_default_instance() {
  324. return reinterpret_cast<const Int64Value*>(
  325. &_Int64Value_default_instance_);
  326. }
  327. static constexpr int kIndexInFileMessages =
  328. 2;
  329. void UnsafeArenaSwap(Int64Value* other);
  330. void Swap(Int64Value* other);
  331. friend void swap(Int64Value& a, Int64Value& b) {
  332. a.Swap(&b);
  333. }
  334. // implements Message ----------------------------------------------
  335. inline Int64Value* New() const final {
  336. return CreateMaybeMessage<Int64Value>(NULL);
  337. }
  338. Int64Value* New(::google::protobuf::Arena* arena) const final {
  339. return CreateMaybeMessage<Int64Value>(arena);
  340. }
  341. void CopyFrom(const ::google::protobuf::Message& from) final;
  342. void MergeFrom(const ::google::protobuf::Message& from) final;
  343. void CopyFrom(const Int64Value& from);
  344. void MergeFrom(const Int64Value& from);
  345. void Clear() final;
  346. bool IsInitialized() const final;
  347. size_t ByteSizeLong() const final;
  348. bool MergePartialFromCodedStream(
  349. ::google::protobuf::io::CodedInputStream* input) final;
  350. void SerializeWithCachedSizes(
  351. ::google::protobuf::io::CodedOutputStream* output) const final;
  352. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  353. bool deterministic, ::google::protobuf::uint8* target) const final;
  354. int GetCachedSize() const final { return _cached_size_.Get(); }
  355. private:
  356. void SharedCtor();
  357. void SharedDtor();
  358. void SetCachedSize(int size) const final;
  359. void InternalSwap(Int64Value* other);
  360. protected:
  361. explicit Int64Value(::google::protobuf::Arena* arena);
  362. private:
  363. static void ArenaDtor(void* object);
  364. inline void RegisterArenaDtor(::google::protobuf::Arena* arena);
  365. private:
  366. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  367. return _internal_metadata_.arena();
  368. }
  369. inline void* MaybeArenaPtr() const {
  370. return _internal_metadata_.raw_arena_ptr();
  371. }
  372. public:
  373. ::google::protobuf::Metadata GetMetadata() const final;
  374. // nested types ----------------------------------------------------
  375. // accessors -------------------------------------------------------
  376. // int64 value = 1;
  377. void clear_value();
  378. static const int kValueFieldNumber = 1;
  379. ::google::protobuf::int64 value() const;
  380. void set_value(::google::protobuf::int64 value);
  381. // @@protoc_insertion_point(class_scope:google.protobuf.Int64Value)
  382. private:
  383. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  384. template <typename T> friend class ::google::protobuf::Arena::InternalHelper;
  385. typedef void InternalArenaConstructable_;
  386. typedef void DestructorSkippable_;
  387. ::google::protobuf::int64 value_;
  388. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  389. friend struct ::protobuf_google_2fprotobuf_2fwrappers_2eproto::TableStruct;
  390. };
  391. // -------------------------------------------------------------------
  392. class LIBPROTOBUF_EXPORT UInt64Value : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.UInt64Value) */ {
  393. public:
  394. UInt64Value();
  395. virtual ~UInt64Value();
  396. UInt64Value(const UInt64Value& from);
  397. inline UInt64Value& operator=(const UInt64Value& from) {
  398. CopyFrom(from);
  399. return *this;
  400. }
  401. #if LANG_CXX11
  402. UInt64Value(UInt64Value&& from) noexcept
  403. : UInt64Value() {
  404. *this = ::std::move(from);
  405. }
  406. inline UInt64Value& operator=(UInt64Value&& from) noexcept {
  407. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  408. if (this != &from) InternalSwap(&from);
  409. } else {
  410. CopyFrom(from);
  411. }
  412. return *this;
  413. }
  414. #endif
  415. inline ::google::protobuf::Arena* GetArena() const final {
  416. return GetArenaNoVirtual();
  417. }
  418. inline void* GetMaybeArenaPointer() const final {
  419. return MaybeArenaPtr();
  420. }
  421. static const ::google::protobuf::Descriptor* descriptor();
  422. static const UInt64Value& default_instance();
  423. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  424. static inline const UInt64Value* internal_default_instance() {
  425. return reinterpret_cast<const UInt64Value*>(
  426. &_UInt64Value_default_instance_);
  427. }
  428. static constexpr int kIndexInFileMessages =
  429. 3;
  430. void UnsafeArenaSwap(UInt64Value* other);
  431. void Swap(UInt64Value* other);
  432. friend void swap(UInt64Value& a, UInt64Value& b) {
  433. a.Swap(&b);
  434. }
  435. // implements Message ----------------------------------------------
  436. inline UInt64Value* New() const final {
  437. return CreateMaybeMessage<UInt64Value>(NULL);
  438. }
  439. UInt64Value* New(::google::protobuf::Arena* arena) const final {
  440. return CreateMaybeMessage<UInt64Value>(arena);
  441. }
  442. void CopyFrom(const ::google::protobuf::Message& from) final;
  443. void MergeFrom(const ::google::protobuf::Message& from) final;
  444. void CopyFrom(const UInt64Value& from);
  445. void MergeFrom(const UInt64Value& from);
  446. void Clear() final;
  447. bool IsInitialized() const final;
  448. size_t ByteSizeLong() const final;
  449. bool MergePartialFromCodedStream(
  450. ::google::protobuf::io::CodedInputStream* input) final;
  451. void SerializeWithCachedSizes(
  452. ::google::protobuf::io::CodedOutputStream* output) const final;
  453. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  454. bool deterministic, ::google::protobuf::uint8* target) const final;
  455. int GetCachedSize() const final { return _cached_size_.Get(); }
  456. private:
  457. void SharedCtor();
  458. void SharedDtor();
  459. void SetCachedSize(int size) const final;
  460. void InternalSwap(UInt64Value* other);
  461. protected:
  462. explicit UInt64Value(::google::protobuf::Arena* arena);
  463. private:
  464. static void ArenaDtor(void* object);
  465. inline void RegisterArenaDtor(::google::protobuf::Arena* arena);
  466. private:
  467. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  468. return _internal_metadata_.arena();
  469. }
  470. inline void* MaybeArenaPtr() const {
  471. return _internal_metadata_.raw_arena_ptr();
  472. }
  473. public:
  474. ::google::protobuf::Metadata GetMetadata() const final;
  475. // nested types ----------------------------------------------------
  476. // accessors -------------------------------------------------------
  477. // uint64 value = 1;
  478. void clear_value();
  479. static const int kValueFieldNumber = 1;
  480. ::google::protobuf::uint64 value() const;
  481. void set_value(::google::protobuf::uint64 value);
  482. // @@protoc_insertion_point(class_scope:google.protobuf.UInt64Value)
  483. private:
  484. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  485. template <typename T> friend class ::google::protobuf::Arena::InternalHelper;
  486. typedef void InternalArenaConstructable_;
  487. typedef void DestructorSkippable_;
  488. ::google::protobuf::uint64 value_;
  489. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  490. friend struct ::protobuf_google_2fprotobuf_2fwrappers_2eproto::TableStruct;
  491. };
  492. // -------------------------------------------------------------------
  493. class LIBPROTOBUF_EXPORT Int32Value : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.Int32Value) */ {
  494. public:
  495. Int32Value();
  496. virtual ~Int32Value();
  497. Int32Value(const Int32Value& from);
  498. inline Int32Value& operator=(const Int32Value& from) {
  499. CopyFrom(from);
  500. return *this;
  501. }
  502. #if LANG_CXX11
  503. Int32Value(Int32Value&& from) noexcept
  504. : Int32Value() {
  505. *this = ::std::move(from);
  506. }
  507. inline Int32Value& operator=(Int32Value&& from) noexcept {
  508. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  509. if (this != &from) InternalSwap(&from);
  510. } else {
  511. CopyFrom(from);
  512. }
  513. return *this;
  514. }
  515. #endif
  516. inline ::google::protobuf::Arena* GetArena() const final {
  517. return GetArenaNoVirtual();
  518. }
  519. inline void* GetMaybeArenaPointer() const final {
  520. return MaybeArenaPtr();
  521. }
  522. static const ::google::protobuf::Descriptor* descriptor();
  523. static const Int32Value& default_instance();
  524. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  525. static inline const Int32Value* internal_default_instance() {
  526. return reinterpret_cast<const Int32Value*>(
  527. &_Int32Value_default_instance_);
  528. }
  529. static constexpr int kIndexInFileMessages =
  530. 4;
  531. void UnsafeArenaSwap(Int32Value* other);
  532. void Swap(Int32Value* other);
  533. friend void swap(Int32Value& a, Int32Value& b) {
  534. a.Swap(&b);
  535. }
  536. // implements Message ----------------------------------------------
  537. inline Int32Value* New() const final {
  538. return CreateMaybeMessage<Int32Value>(NULL);
  539. }
  540. Int32Value* New(::google::protobuf::Arena* arena) const final {
  541. return CreateMaybeMessage<Int32Value>(arena);
  542. }
  543. void CopyFrom(const ::google::protobuf::Message& from) final;
  544. void MergeFrom(const ::google::protobuf::Message& from) final;
  545. void CopyFrom(const Int32Value& from);
  546. void MergeFrom(const Int32Value& from);
  547. void Clear() final;
  548. bool IsInitialized() const final;
  549. size_t ByteSizeLong() const final;
  550. bool MergePartialFromCodedStream(
  551. ::google::protobuf::io::CodedInputStream* input) final;
  552. void SerializeWithCachedSizes(
  553. ::google::protobuf::io::CodedOutputStream* output) const final;
  554. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  555. bool deterministic, ::google::protobuf::uint8* target) const final;
  556. int GetCachedSize() const final { return _cached_size_.Get(); }
  557. private:
  558. void SharedCtor();
  559. void SharedDtor();
  560. void SetCachedSize(int size) const final;
  561. void InternalSwap(Int32Value* other);
  562. protected:
  563. explicit Int32Value(::google::protobuf::Arena* arena);
  564. private:
  565. static void ArenaDtor(void* object);
  566. inline void RegisterArenaDtor(::google::protobuf::Arena* arena);
  567. private:
  568. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  569. return _internal_metadata_.arena();
  570. }
  571. inline void* MaybeArenaPtr() const {
  572. return _internal_metadata_.raw_arena_ptr();
  573. }
  574. public:
  575. ::google::protobuf::Metadata GetMetadata() const final;
  576. // nested types ----------------------------------------------------
  577. // accessors -------------------------------------------------------
  578. // int32 value = 1;
  579. void clear_value();
  580. static const int kValueFieldNumber = 1;
  581. ::google::protobuf::int32 value() const;
  582. void set_value(::google::protobuf::int32 value);
  583. // @@protoc_insertion_point(class_scope:google.protobuf.Int32Value)
  584. private:
  585. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  586. template <typename T> friend class ::google::protobuf::Arena::InternalHelper;
  587. typedef void InternalArenaConstructable_;
  588. typedef void DestructorSkippable_;
  589. ::google::protobuf::int32 value_;
  590. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  591. friend struct ::protobuf_google_2fprotobuf_2fwrappers_2eproto::TableStruct;
  592. };
  593. // -------------------------------------------------------------------
  594. class LIBPROTOBUF_EXPORT UInt32Value : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.UInt32Value) */ {
  595. public:
  596. UInt32Value();
  597. virtual ~UInt32Value();
  598. UInt32Value(const UInt32Value& from);
  599. inline UInt32Value& operator=(const UInt32Value& from) {
  600. CopyFrom(from);
  601. return *this;
  602. }
  603. #if LANG_CXX11
  604. UInt32Value(UInt32Value&& from) noexcept
  605. : UInt32Value() {
  606. *this = ::std::move(from);
  607. }
  608. inline UInt32Value& operator=(UInt32Value&& from) noexcept {
  609. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  610. if (this != &from) InternalSwap(&from);
  611. } else {
  612. CopyFrom(from);
  613. }
  614. return *this;
  615. }
  616. #endif
  617. inline ::google::protobuf::Arena* GetArena() const final {
  618. return GetArenaNoVirtual();
  619. }
  620. inline void* GetMaybeArenaPointer() const final {
  621. return MaybeArenaPtr();
  622. }
  623. static const ::google::protobuf::Descriptor* descriptor();
  624. static const UInt32Value& default_instance();
  625. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  626. static inline const UInt32Value* internal_default_instance() {
  627. return reinterpret_cast<const UInt32Value*>(
  628. &_UInt32Value_default_instance_);
  629. }
  630. static constexpr int kIndexInFileMessages =
  631. 5;
  632. void UnsafeArenaSwap(UInt32Value* other);
  633. void Swap(UInt32Value* other);
  634. friend void swap(UInt32Value& a, UInt32Value& b) {
  635. a.Swap(&b);
  636. }
  637. // implements Message ----------------------------------------------
  638. inline UInt32Value* New() const final {
  639. return CreateMaybeMessage<UInt32Value>(NULL);
  640. }
  641. UInt32Value* New(::google::protobuf::Arena* arena) const final {
  642. return CreateMaybeMessage<UInt32Value>(arena);
  643. }
  644. void CopyFrom(const ::google::protobuf::Message& from) final;
  645. void MergeFrom(const ::google::protobuf::Message& from) final;
  646. void CopyFrom(const UInt32Value& from);
  647. void MergeFrom(const UInt32Value& from);
  648. void Clear() final;
  649. bool IsInitialized() const final;
  650. size_t ByteSizeLong() const final;
  651. bool MergePartialFromCodedStream(
  652. ::google::protobuf::io::CodedInputStream* input) final;
  653. void SerializeWithCachedSizes(
  654. ::google::protobuf::io::CodedOutputStream* output) const final;
  655. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  656. bool deterministic, ::google::protobuf::uint8* target) const final;
  657. int GetCachedSize() const final { return _cached_size_.Get(); }
  658. private:
  659. void SharedCtor();
  660. void SharedDtor();
  661. void SetCachedSize(int size) const final;
  662. void InternalSwap(UInt32Value* other);
  663. protected:
  664. explicit UInt32Value(::google::protobuf::Arena* arena);
  665. private:
  666. static void ArenaDtor(void* object);
  667. inline void RegisterArenaDtor(::google::protobuf::Arena* arena);
  668. private:
  669. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  670. return _internal_metadata_.arena();
  671. }
  672. inline void* MaybeArenaPtr() const {
  673. return _internal_metadata_.raw_arena_ptr();
  674. }
  675. public:
  676. ::google::protobuf::Metadata GetMetadata() const final;
  677. // nested types ----------------------------------------------------
  678. // accessors -------------------------------------------------------
  679. // uint32 value = 1;
  680. void clear_value();
  681. static const int kValueFieldNumber = 1;
  682. ::google::protobuf::uint32 value() const;
  683. void set_value(::google::protobuf::uint32 value);
  684. // @@protoc_insertion_point(class_scope:google.protobuf.UInt32Value)
  685. private:
  686. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  687. template <typename T> friend class ::google::protobuf::Arena::InternalHelper;
  688. typedef void InternalArenaConstructable_;
  689. typedef void DestructorSkippable_;
  690. ::google::protobuf::uint32 value_;
  691. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  692. friend struct ::protobuf_google_2fprotobuf_2fwrappers_2eproto::TableStruct;
  693. };
  694. // -------------------------------------------------------------------
  695. class LIBPROTOBUF_EXPORT BoolValue : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.BoolValue) */ {
  696. public:
  697. BoolValue();
  698. virtual ~BoolValue();
  699. BoolValue(const BoolValue& from);
  700. inline BoolValue& operator=(const BoolValue& from) {
  701. CopyFrom(from);
  702. return *this;
  703. }
  704. #if LANG_CXX11
  705. BoolValue(BoolValue&& from) noexcept
  706. : BoolValue() {
  707. *this = ::std::move(from);
  708. }
  709. inline BoolValue& operator=(BoolValue&& from) noexcept {
  710. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  711. if (this != &from) InternalSwap(&from);
  712. } else {
  713. CopyFrom(from);
  714. }
  715. return *this;
  716. }
  717. #endif
  718. inline ::google::protobuf::Arena* GetArena() const final {
  719. return GetArenaNoVirtual();
  720. }
  721. inline void* GetMaybeArenaPointer() const final {
  722. return MaybeArenaPtr();
  723. }
  724. static const ::google::protobuf::Descriptor* descriptor();
  725. static const BoolValue& default_instance();
  726. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  727. static inline const BoolValue* internal_default_instance() {
  728. return reinterpret_cast<const BoolValue*>(
  729. &_BoolValue_default_instance_);
  730. }
  731. static constexpr int kIndexInFileMessages =
  732. 6;
  733. void UnsafeArenaSwap(BoolValue* other);
  734. void Swap(BoolValue* other);
  735. friend void swap(BoolValue& a, BoolValue& b) {
  736. a.Swap(&b);
  737. }
  738. // implements Message ----------------------------------------------
  739. inline BoolValue* New() const final {
  740. return CreateMaybeMessage<BoolValue>(NULL);
  741. }
  742. BoolValue* New(::google::protobuf::Arena* arena) const final {
  743. return CreateMaybeMessage<BoolValue>(arena);
  744. }
  745. void CopyFrom(const ::google::protobuf::Message& from) final;
  746. void MergeFrom(const ::google::protobuf::Message& from) final;
  747. void CopyFrom(const BoolValue& from);
  748. void MergeFrom(const BoolValue& from);
  749. void Clear() final;
  750. bool IsInitialized() const final;
  751. size_t ByteSizeLong() const final;
  752. bool MergePartialFromCodedStream(
  753. ::google::protobuf::io::CodedInputStream* input) final;
  754. void SerializeWithCachedSizes(
  755. ::google::protobuf::io::CodedOutputStream* output) const final;
  756. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  757. bool deterministic, ::google::protobuf::uint8* target) const final;
  758. int GetCachedSize() const final { return _cached_size_.Get(); }
  759. private:
  760. void SharedCtor();
  761. void SharedDtor();
  762. void SetCachedSize(int size) const final;
  763. void InternalSwap(BoolValue* other);
  764. protected:
  765. explicit BoolValue(::google::protobuf::Arena* arena);
  766. private:
  767. static void ArenaDtor(void* object);
  768. inline void RegisterArenaDtor(::google::protobuf::Arena* arena);
  769. private:
  770. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  771. return _internal_metadata_.arena();
  772. }
  773. inline void* MaybeArenaPtr() const {
  774. return _internal_metadata_.raw_arena_ptr();
  775. }
  776. public:
  777. ::google::protobuf::Metadata GetMetadata() const final;
  778. // nested types ----------------------------------------------------
  779. // accessors -------------------------------------------------------
  780. // bool value = 1;
  781. void clear_value();
  782. static const int kValueFieldNumber = 1;
  783. bool value() const;
  784. void set_value(bool value);
  785. // @@protoc_insertion_point(class_scope:google.protobuf.BoolValue)
  786. private:
  787. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  788. template <typename T> friend class ::google::protobuf::Arena::InternalHelper;
  789. typedef void InternalArenaConstructable_;
  790. typedef void DestructorSkippable_;
  791. bool value_;
  792. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  793. friend struct ::protobuf_google_2fprotobuf_2fwrappers_2eproto::TableStruct;
  794. };
  795. // -------------------------------------------------------------------
  796. class LIBPROTOBUF_EXPORT StringValue : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.StringValue) */ {
  797. public:
  798. StringValue();
  799. virtual ~StringValue();
  800. StringValue(const StringValue& from);
  801. inline StringValue& operator=(const StringValue& from) {
  802. CopyFrom(from);
  803. return *this;
  804. }
  805. #if LANG_CXX11
  806. StringValue(StringValue&& from) noexcept
  807. : StringValue() {
  808. *this = ::std::move(from);
  809. }
  810. inline StringValue& operator=(StringValue&& from) noexcept {
  811. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  812. if (this != &from) InternalSwap(&from);
  813. } else {
  814. CopyFrom(from);
  815. }
  816. return *this;
  817. }
  818. #endif
  819. inline ::google::protobuf::Arena* GetArena() const final {
  820. return GetArenaNoVirtual();
  821. }
  822. inline void* GetMaybeArenaPointer() const final {
  823. return MaybeArenaPtr();
  824. }
  825. static const ::google::protobuf::Descriptor* descriptor();
  826. static const StringValue& default_instance();
  827. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  828. static inline const StringValue* internal_default_instance() {
  829. return reinterpret_cast<const StringValue*>(
  830. &_StringValue_default_instance_);
  831. }
  832. static constexpr int kIndexInFileMessages =
  833. 7;
  834. void UnsafeArenaSwap(StringValue* other);
  835. void Swap(StringValue* other);
  836. friend void swap(StringValue& a, StringValue& b) {
  837. a.Swap(&b);
  838. }
  839. // implements Message ----------------------------------------------
  840. inline StringValue* New() const final {
  841. return CreateMaybeMessage<StringValue>(NULL);
  842. }
  843. StringValue* New(::google::protobuf::Arena* arena) const final {
  844. return CreateMaybeMessage<StringValue>(arena);
  845. }
  846. void CopyFrom(const ::google::protobuf::Message& from) final;
  847. void MergeFrom(const ::google::protobuf::Message& from) final;
  848. void CopyFrom(const StringValue& from);
  849. void MergeFrom(const StringValue& from);
  850. void Clear() final;
  851. bool IsInitialized() const final;
  852. size_t ByteSizeLong() const final;
  853. bool MergePartialFromCodedStream(
  854. ::google::protobuf::io::CodedInputStream* input) final;
  855. void SerializeWithCachedSizes(
  856. ::google::protobuf::io::CodedOutputStream* output) const final;
  857. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  858. bool deterministic, ::google::protobuf::uint8* target) const final;
  859. int GetCachedSize() const final { return _cached_size_.Get(); }
  860. private:
  861. void SharedCtor();
  862. void SharedDtor();
  863. void SetCachedSize(int size) const final;
  864. void InternalSwap(StringValue* other);
  865. protected:
  866. explicit StringValue(::google::protobuf::Arena* arena);
  867. private:
  868. static void ArenaDtor(void* object);
  869. inline void RegisterArenaDtor(::google::protobuf::Arena* arena);
  870. private:
  871. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  872. return _internal_metadata_.arena();
  873. }
  874. inline void* MaybeArenaPtr() const {
  875. return _internal_metadata_.raw_arena_ptr();
  876. }
  877. public:
  878. ::google::protobuf::Metadata GetMetadata() const final;
  879. // nested types ----------------------------------------------------
  880. // accessors -------------------------------------------------------
  881. // string value = 1;
  882. void clear_value();
  883. static const int kValueFieldNumber = 1;
  884. const ::std::string& value() const;
  885. void set_value(const ::std::string& value);
  886. #if LANG_CXX11
  887. void set_value(::std::string&& value);
  888. #endif
  889. void set_value(const char* value);
  890. void set_value(const char* value, size_t size);
  891. ::std::string* mutable_value();
  892. ::std::string* release_value();
  893. void set_allocated_value(::std::string* value);
  894. PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
  895. " string fields are deprecated and will be removed in a"
  896. " future release.")
  897. ::std::string* unsafe_arena_release_value();
  898. PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
  899. " string fields are deprecated and will be removed in a"
  900. " future release.")
  901. void unsafe_arena_set_allocated_value(
  902. ::std::string* value);
  903. // @@protoc_insertion_point(class_scope:google.protobuf.StringValue)
  904. private:
  905. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  906. template <typename T> friend class ::google::protobuf::Arena::InternalHelper;
  907. typedef void InternalArenaConstructable_;
  908. typedef void DestructorSkippable_;
  909. ::google::protobuf::internal::ArenaStringPtr value_;
  910. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  911. friend struct ::protobuf_google_2fprotobuf_2fwrappers_2eproto::TableStruct;
  912. };
  913. // -------------------------------------------------------------------
  914. class LIBPROTOBUF_EXPORT BytesValue : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.BytesValue) */ {
  915. public:
  916. BytesValue();
  917. virtual ~BytesValue();
  918. BytesValue(const BytesValue& from);
  919. inline BytesValue& operator=(const BytesValue& from) {
  920. CopyFrom(from);
  921. return *this;
  922. }
  923. #if LANG_CXX11
  924. BytesValue(BytesValue&& from) noexcept
  925. : BytesValue() {
  926. *this = ::std::move(from);
  927. }
  928. inline BytesValue& operator=(BytesValue&& from) noexcept {
  929. if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
  930. if (this != &from) InternalSwap(&from);
  931. } else {
  932. CopyFrom(from);
  933. }
  934. return *this;
  935. }
  936. #endif
  937. inline ::google::protobuf::Arena* GetArena() const final {
  938. return GetArenaNoVirtual();
  939. }
  940. inline void* GetMaybeArenaPointer() const final {
  941. return MaybeArenaPtr();
  942. }
  943. static const ::google::protobuf::Descriptor* descriptor();
  944. static const BytesValue& default_instance();
  945. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  946. static inline const BytesValue* internal_default_instance() {
  947. return reinterpret_cast<const BytesValue*>(
  948. &_BytesValue_default_instance_);
  949. }
  950. static constexpr int kIndexInFileMessages =
  951. 8;
  952. void UnsafeArenaSwap(BytesValue* other);
  953. void Swap(BytesValue* other);
  954. friend void swap(BytesValue& a, BytesValue& b) {
  955. a.Swap(&b);
  956. }
  957. // implements Message ----------------------------------------------
  958. inline BytesValue* New() const final {
  959. return CreateMaybeMessage<BytesValue>(NULL);
  960. }
  961. BytesValue* New(::google::protobuf::Arena* arena) const final {
  962. return CreateMaybeMessage<BytesValue>(arena);
  963. }
  964. void CopyFrom(const ::google::protobuf::Message& from) final;
  965. void MergeFrom(const ::google::protobuf::Message& from) final;
  966. void CopyFrom(const BytesValue& from);
  967. void MergeFrom(const BytesValue& from);
  968. void Clear() final;
  969. bool IsInitialized() const final;
  970. size_t ByteSizeLong() const final;
  971. bool MergePartialFromCodedStream(
  972. ::google::protobuf::io::CodedInputStream* input) final;
  973. void SerializeWithCachedSizes(
  974. ::google::protobuf::io::CodedOutputStream* output) const final;
  975. ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
  976. bool deterministic, ::google::protobuf::uint8* target) const final;
  977. int GetCachedSize() const final { return _cached_size_.Get(); }
  978. private:
  979. void SharedCtor();
  980. void SharedDtor();
  981. void SetCachedSize(int size) const final;
  982. void InternalSwap(BytesValue* other);
  983. protected:
  984. explicit BytesValue(::google::protobuf::Arena* arena);
  985. private:
  986. static void ArenaDtor(void* object);
  987. inline void RegisterArenaDtor(::google::protobuf::Arena* arena);
  988. private:
  989. inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
  990. return _internal_metadata_.arena();
  991. }
  992. inline void* MaybeArenaPtr() const {
  993. return _internal_metadata_.raw_arena_ptr();
  994. }
  995. public:
  996. ::google::protobuf::Metadata GetMetadata() const final;
  997. // nested types ----------------------------------------------------
  998. // accessors -------------------------------------------------------
  999. // bytes value = 1;
  1000. void clear_value();
  1001. static const int kValueFieldNumber = 1;
  1002. const ::std::string& value() const;
  1003. void set_value(const ::std::string& value);
  1004. #if LANG_CXX11
  1005. void set_value(::std::string&& value);
  1006. #endif
  1007. void set_value(const char* value);
  1008. void set_value(const void* value, size_t size);
  1009. ::std::string* mutable_value();
  1010. ::std::string* release_value();
  1011. void set_allocated_value(::std::string* value);
  1012. PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
  1013. " string fields are deprecated and will be removed in a"
  1014. " future release.")
  1015. ::std::string* unsafe_arena_release_value();
  1016. PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
  1017. " string fields are deprecated and will be removed in a"
  1018. " future release.")
  1019. void unsafe_arena_set_allocated_value(
  1020. ::std::string* value);
  1021. // @@protoc_insertion_point(class_scope:google.protobuf.BytesValue)
  1022. private:
  1023. ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  1024. template <typename T> friend class ::google::protobuf::Arena::InternalHelper;
  1025. typedef void InternalArenaConstructable_;
  1026. typedef void DestructorSkippable_;
  1027. ::google::protobuf::internal::ArenaStringPtr value_;
  1028. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  1029. friend struct ::protobuf_google_2fprotobuf_2fwrappers_2eproto::TableStruct;
  1030. };
  1031. // ===================================================================
  1032. // ===================================================================
  1033. #ifdef __GNUC__
  1034. #pragma GCC diagnostic push
  1035. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  1036. #endif // __GNUC__
  1037. // DoubleValue
  1038. // double value = 1;
  1039. inline void DoubleValue::clear_value() {
  1040. value_ = 0;
  1041. }
  1042. inline double DoubleValue::value() const {
  1043. // @@protoc_insertion_point(field_get:google.protobuf.DoubleValue.value)
  1044. return value_;
  1045. }
  1046. inline void DoubleValue::set_value(double value) {
  1047. value_ = value;
  1048. // @@protoc_insertion_point(field_set:google.protobuf.DoubleValue.value)
  1049. }
  1050. // -------------------------------------------------------------------
  1051. // FloatValue
  1052. // float value = 1;
  1053. inline void FloatValue::clear_value() {
  1054. value_ = 0;
  1055. }
  1056. inline float FloatValue::value() const {
  1057. // @@protoc_insertion_point(field_get:google.protobuf.FloatValue.value)
  1058. return value_;
  1059. }
  1060. inline void FloatValue::set_value(float value) {
  1061. value_ = value;
  1062. // @@protoc_insertion_point(field_set:google.protobuf.FloatValue.value)
  1063. }
  1064. // -------------------------------------------------------------------
  1065. // Int64Value
  1066. // int64 value = 1;
  1067. inline void Int64Value::clear_value() {
  1068. value_ = GOOGLE_LONGLONG(0);
  1069. }
  1070. inline ::google::protobuf::int64 Int64Value::value() const {
  1071. // @@protoc_insertion_point(field_get:google.protobuf.Int64Value.value)
  1072. return value_;
  1073. }
  1074. inline void Int64Value::set_value(::google::protobuf::int64 value) {
  1075. value_ = value;
  1076. // @@protoc_insertion_point(field_set:google.protobuf.Int64Value.value)
  1077. }
  1078. // -------------------------------------------------------------------
  1079. // UInt64Value
  1080. // uint64 value = 1;
  1081. inline void UInt64Value::clear_value() {
  1082. value_ = GOOGLE_ULONGLONG(0);
  1083. }
  1084. inline ::google::protobuf::uint64 UInt64Value::value() const {
  1085. // @@protoc_insertion_point(field_get:google.protobuf.UInt64Value.value)
  1086. return value_;
  1087. }
  1088. inline void UInt64Value::set_value(::google::protobuf::uint64 value) {
  1089. value_ = value;
  1090. // @@protoc_insertion_point(field_set:google.protobuf.UInt64Value.value)
  1091. }
  1092. // -------------------------------------------------------------------
  1093. // Int32Value
  1094. // int32 value = 1;
  1095. inline void Int32Value::clear_value() {
  1096. value_ = 0;
  1097. }
  1098. inline ::google::protobuf::int32 Int32Value::value() const {
  1099. // @@protoc_insertion_point(field_get:google.protobuf.Int32Value.value)
  1100. return value_;
  1101. }
  1102. inline void Int32Value::set_value(::google::protobuf::int32 value) {
  1103. value_ = value;
  1104. // @@protoc_insertion_point(field_set:google.protobuf.Int32Value.value)
  1105. }
  1106. // -------------------------------------------------------------------
  1107. // UInt32Value
  1108. // uint32 value = 1;
  1109. inline void UInt32Value::clear_value() {
  1110. value_ = 0u;
  1111. }
  1112. inline ::google::protobuf::uint32 UInt32Value::value() const {
  1113. // @@protoc_insertion_point(field_get:google.protobuf.UInt32Value.value)
  1114. return value_;
  1115. }
  1116. inline void UInt32Value::set_value(::google::protobuf::uint32 value) {
  1117. value_ = value;
  1118. // @@protoc_insertion_point(field_set:google.protobuf.UInt32Value.value)
  1119. }
  1120. // -------------------------------------------------------------------
  1121. // BoolValue
  1122. // bool value = 1;
  1123. inline void BoolValue::clear_value() {
  1124. value_ = false;
  1125. }
  1126. inline bool BoolValue::value() const {
  1127. // @@protoc_insertion_point(field_get:google.protobuf.BoolValue.value)
  1128. return value_;
  1129. }
  1130. inline void BoolValue::set_value(bool value) {
  1131. value_ = value;
  1132. // @@protoc_insertion_point(field_set:google.protobuf.BoolValue.value)
  1133. }
  1134. // -------------------------------------------------------------------
  1135. // StringValue
  1136. // string value = 1;
  1137. inline void StringValue::clear_value() {
  1138. value_.ClearToEmpty(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
  1139. }
  1140. inline const ::std::string& StringValue::value() const {
  1141. // @@protoc_insertion_point(field_get:google.protobuf.StringValue.value)
  1142. return value_.Get();
  1143. }
  1144. inline void StringValue::set_value(const ::std::string& value) {
  1145. value_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual());
  1146. // @@protoc_insertion_point(field_set:google.protobuf.StringValue.value)
  1147. }
  1148. #if LANG_CXX11
  1149. inline void StringValue::set_value(::std::string&& value) {
  1150. value_.Set(
  1151. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());
  1152. // @@protoc_insertion_point(field_set_rvalue:google.protobuf.StringValue.value)
  1153. }
  1154. #endif
  1155. inline void StringValue::set_value(const char* value) {
  1156. GOOGLE_DCHECK(value != NULL);
  1157. value_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
  1158. GetArenaNoVirtual());
  1159. // @@protoc_insertion_point(field_set_char:google.protobuf.StringValue.value)
  1160. }
  1161. inline void StringValue::set_value(const char* value,
  1162. size_t size) {
  1163. value_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(
  1164. reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());
  1165. // @@protoc_insertion_point(field_set_pointer:google.protobuf.StringValue.value)
  1166. }
  1167. inline ::std::string* StringValue::mutable_value() {
  1168. // @@protoc_insertion_point(field_mutable:google.protobuf.StringValue.value)
  1169. return value_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
  1170. }
  1171. inline ::std::string* StringValue::release_value() {
  1172. // @@protoc_insertion_point(field_release:google.protobuf.StringValue.value)
  1173. return value_.Release(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
  1174. }
  1175. inline void StringValue::set_allocated_value(::std::string* value) {
  1176. if (value != NULL) {
  1177. } else {
  1178. }
  1179. value_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value,
  1180. GetArenaNoVirtual());
  1181. // @@protoc_insertion_point(field_set_allocated:google.protobuf.StringValue.value)
  1182. }
  1183. inline ::std::string* StringValue::unsafe_arena_release_value() {
  1184. // @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.StringValue.value)
  1185. GOOGLE_DCHECK(GetArenaNoVirtual() != NULL);
  1186. return value_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1187. GetArenaNoVirtual());
  1188. }
  1189. inline void StringValue::unsafe_arena_set_allocated_value(
  1190. ::std::string* value) {
  1191. GOOGLE_DCHECK(GetArenaNoVirtual() != NULL);
  1192. if (value != NULL) {
  1193. } else {
  1194. }
  1195. value_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1196. value, GetArenaNoVirtual());
  1197. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.StringValue.value)
  1198. }
  1199. // -------------------------------------------------------------------
  1200. // BytesValue
  1201. // bytes value = 1;
  1202. inline void BytesValue::clear_value() {
  1203. value_.ClearToEmpty(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
  1204. }
  1205. inline const ::std::string& BytesValue::value() const {
  1206. // @@protoc_insertion_point(field_get:google.protobuf.BytesValue.value)
  1207. return value_.Get();
  1208. }
  1209. inline void BytesValue::set_value(const ::std::string& value) {
  1210. value_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual());
  1211. // @@protoc_insertion_point(field_set:google.protobuf.BytesValue.value)
  1212. }
  1213. #if LANG_CXX11
  1214. inline void BytesValue::set_value(::std::string&& value) {
  1215. value_.Set(
  1216. &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());
  1217. // @@protoc_insertion_point(field_set_rvalue:google.protobuf.BytesValue.value)
  1218. }
  1219. #endif
  1220. inline void BytesValue::set_value(const char* value) {
  1221. GOOGLE_DCHECK(value != NULL);
  1222. value_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
  1223. GetArenaNoVirtual());
  1224. // @@protoc_insertion_point(field_set_char:google.protobuf.BytesValue.value)
  1225. }
  1226. inline void BytesValue::set_value(const void* value,
  1227. size_t size) {
  1228. value_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(
  1229. reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());
  1230. // @@protoc_insertion_point(field_set_pointer:google.protobuf.BytesValue.value)
  1231. }
  1232. inline ::std::string* BytesValue::mutable_value() {
  1233. // @@protoc_insertion_point(field_mutable:google.protobuf.BytesValue.value)
  1234. return value_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
  1235. }
  1236. inline ::std::string* BytesValue::release_value() {
  1237. // @@protoc_insertion_point(field_release:google.protobuf.BytesValue.value)
  1238. return value_.Release(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
  1239. }
  1240. inline void BytesValue::set_allocated_value(::std::string* value) {
  1241. if (value != NULL) {
  1242. } else {
  1243. }
  1244. value_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value,
  1245. GetArenaNoVirtual());
  1246. // @@protoc_insertion_point(field_set_allocated:google.protobuf.BytesValue.value)
  1247. }
  1248. inline ::std::string* BytesValue::unsafe_arena_release_value() {
  1249. // @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.BytesValue.value)
  1250. GOOGLE_DCHECK(GetArenaNoVirtual() != NULL);
  1251. return value_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1252. GetArenaNoVirtual());
  1253. }
  1254. inline void BytesValue::unsafe_arena_set_allocated_value(
  1255. ::std::string* value) {
  1256. GOOGLE_DCHECK(GetArenaNoVirtual() != NULL);
  1257. if (value != NULL) {
  1258. } else {
  1259. }
  1260. value_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
  1261. value, GetArenaNoVirtual());
  1262. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.BytesValue.value)
  1263. }
  1264. #ifdef __GNUC__
  1265. #pragma GCC diagnostic pop
  1266. #endif // __GNUC__
  1267. // -------------------------------------------------------------------
  1268. // -------------------------------------------------------------------
  1269. // -------------------------------------------------------------------
  1270. // -------------------------------------------------------------------
  1271. // -------------------------------------------------------------------
  1272. // -------------------------------------------------------------------
  1273. // -------------------------------------------------------------------
  1274. // -------------------------------------------------------------------
  1275. // @@protoc_insertion_point(namespace_scope)
  1276. } // namespace protobuf
  1277. } // namespace google
  1278. // @@protoc_insertion_point(global_scope)
  1279. #endif // PROTOBUF_INCLUDED_google_2fprotobuf_2fwrappers_2eproto