wrappers.pb.h 51 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509
  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