wrappers.pb.h 58 KB

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