wrappers.pb.cc 69 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: google/protobuf/wrappers.proto
  3. #include "google/protobuf/wrappers.pb.h"
  4. #include <algorithm>
  5. #include "google/protobuf/io/coded_stream.h"
  6. #include "google/protobuf/extension_set.h"
  7. #include "google/protobuf/wire_format_lite.h"
  8. #include "google/protobuf/descriptor.h"
  9. #include "google/protobuf/generated_message_reflection.h"
  10. #include "google/protobuf/reflection_ops.h"
  11. #include "google/protobuf/wire_format.h"
  12. // @@protoc_insertion_point(includes)
  13. // Must be included last.
  14. #include "google/protobuf/port_def.inc"
  15. PROTOBUF_PRAGMA_INIT_SEG
  16. namespace _pb = ::PROTOBUF_NAMESPACE_ID;
  17. namespace _pbi = ::PROTOBUF_NAMESPACE_ID::internal;
  18. PROTOBUF_NAMESPACE_OPEN
  19. PROTOBUF_CONSTEXPR DoubleValue::DoubleValue(
  20. ::_pbi::ConstantInitialized): _impl_{
  21. /*decltype(_impl_.value_)*/ 0
  22. , /*decltype(_impl_._cached_size_)*/{}} {}
  23. struct DoubleValueDefaultTypeInternal {
  24. PROTOBUF_CONSTEXPR DoubleValueDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  25. ~DoubleValueDefaultTypeInternal() {}
  26. union {
  27. DoubleValue _instance;
  28. };
  29. };
  30. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  31. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DoubleValueDefaultTypeInternal _DoubleValue_default_instance_;
  32. PROTOBUF_CONSTEXPR FloatValue::FloatValue(
  33. ::_pbi::ConstantInitialized): _impl_{
  34. /*decltype(_impl_.value_)*/ 0
  35. , /*decltype(_impl_._cached_size_)*/{}} {}
  36. struct FloatValueDefaultTypeInternal {
  37. PROTOBUF_CONSTEXPR FloatValueDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  38. ~FloatValueDefaultTypeInternal() {}
  39. union {
  40. FloatValue _instance;
  41. };
  42. };
  43. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  44. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FloatValueDefaultTypeInternal _FloatValue_default_instance_;
  45. PROTOBUF_CONSTEXPR Int64Value::Int64Value(
  46. ::_pbi::ConstantInitialized): _impl_{
  47. /*decltype(_impl_.value_)*/ ::int64_t{0}
  48. , /*decltype(_impl_._cached_size_)*/{}} {}
  49. struct Int64ValueDefaultTypeInternal {
  50. PROTOBUF_CONSTEXPR Int64ValueDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  51. ~Int64ValueDefaultTypeInternal() {}
  52. union {
  53. Int64Value _instance;
  54. };
  55. };
  56. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  57. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Int64ValueDefaultTypeInternal _Int64Value_default_instance_;
  58. PROTOBUF_CONSTEXPR UInt64Value::UInt64Value(
  59. ::_pbi::ConstantInitialized): _impl_{
  60. /*decltype(_impl_.value_)*/ ::uint64_t{0u}
  61. , /*decltype(_impl_._cached_size_)*/{}} {}
  62. struct UInt64ValueDefaultTypeInternal {
  63. PROTOBUF_CONSTEXPR UInt64ValueDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  64. ~UInt64ValueDefaultTypeInternal() {}
  65. union {
  66. UInt64Value _instance;
  67. };
  68. };
  69. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  70. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UInt64ValueDefaultTypeInternal _UInt64Value_default_instance_;
  71. PROTOBUF_CONSTEXPR Int32Value::Int32Value(
  72. ::_pbi::ConstantInitialized): _impl_{
  73. /*decltype(_impl_.value_)*/ 0
  74. , /*decltype(_impl_._cached_size_)*/{}} {}
  75. struct Int32ValueDefaultTypeInternal {
  76. PROTOBUF_CONSTEXPR Int32ValueDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  77. ~Int32ValueDefaultTypeInternal() {}
  78. union {
  79. Int32Value _instance;
  80. };
  81. };
  82. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  83. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Int32ValueDefaultTypeInternal _Int32Value_default_instance_;
  84. PROTOBUF_CONSTEXPR UInt32Value::UInt32Value(
  85. ::_pbi::ConstantInitialized): _impl_{
  86. /*decltype(_impl_.value_)*/ 0u
  87. , /*decltype(_impl_._cached_size_)*/{}} {}
  88. struct UInt32ValueDefaultTypeInternal {
  89. PROTOBUF_CONSTEXPR UInt32ValueDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  90. ~UInt32ValueDefaultTypeInternal() {}
  91. union {
  92. UInt32Value _instance;
  93. };
  94. };
  95. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  96. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UInt32ValueDefaultTypeInternal _UInt32Value_default_instance_;
  97. PROTOBUF_CONSTEXPR BoolValue::BoolValue(
  98. ::_pbi::ConstantInitialized): _impl_{
  99. /*decltype(_impl_.value_)*/ false
  100. , /*decltype(_impl_._cached_size_)*/{}} {}
  101. struct BoolValueDefaultTypeInternal {
  102. PROTOBUF_CONSTEXPR BoolValueDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  103. ~BoolValueDefaultTypeInternal() {}
  104. union {
  105. BoolValue _instance;
  106. };
  107. };
  108. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  109. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BoolValueDefaultTypeInternal _BoolValue_default_instance_;
  110. PROTOBUF_CONSTEXPR StringValue::StringValue(
  111. ::_pbi::ConstantInitialized): _impl_{
  112. /*decltype(_impl_.value_)*/ {
  113. &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
  114. }
  115. , /*decltype(_impl_._cached_size_)*/{}} {}
  116. struct StringValueDefaultTypeInternal {
  117. PROTOBUF_CONSTEXPR StringValueDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  118. ~StringValueDefaultTypeInternal() {}
  119. union {
  120. StringValue _instance;
  121. };
  122. };
  123. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  124. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StringValueDefaultTypeInternal _StringValue_default_instance_;
  125. PROTOBUF_CONSTEXPR BytesValue::BytesValue(
  126. ::_pbi::ConstantInitialized): _impl_{
  127. /*decltype(_impl_.value_)*/ {
  128. &::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized {}
  129. }
  130. , /*decltype(_impl_._cached_size_)*/{}} {}
  131. struct BytesValueDefaultTypeInternal {
  132. PROTOBUF_CONSTEXPR BytesValueDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  133. ~BytesValueDefaultTypeInternal() {}
  134. union {
  135. BytesValue _instance;
  136. };
  137. };
  138. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  139. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BytesValueDefaultTypeInternal _BytesValue_default_instance_;
  140. PROTOBUF_NAMESPACE_CLOSE
  141. static ::_pb::Metadata file_level_metadata_google_2fprotobuf_2fwrappers_2eproto[9];
  142. static constexpr const ::_pb::EnumDescriptor**
  143. file_level_enum_descriptors_google_2fprotobuf_2fwrappers_2eproto = nullptr;
  144. static constexpr const ::_pb::ServiceDescriptor**
  145. file_level_service_descriptors_google_2fprotobuf_2fwrappers_2eproto = nullptr;
  146. const ::uint32_t TableStruct_google_2fprotobuf_2fwrappers_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(
  147. protodesc_cold) = {
  148. ~0u, // no _has_bits_
  149. PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::DoubleValue, _internal_metadata_),
  150. ~0u, // no _extensions_
  151. ~0u, // no _oneof_case_
  152. ~0u, // no _weak_field_map_
  153. ~0u, // no _inlined_string_donated_
  154. ~0u, // no _split_
  155. ~0u, // no sizeof(Split)
  156. PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::DoubleValue, _impl_.value_),
  157. ~0u, // no _has_bits_
  158. PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::FloatValue, _internal_metadata_),
  159. ~0u, // no _extensions_
  160. ~0u, // no _oneof_case_
  161. ~0u, // no _weak_field_map_
  162. ~0u, // no _inlined_string_donated_
  163. ~0u, // no _split_
  164. ~0u, // no sizeof(Split)
  165. PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::FloatValue, _impl_.value_),
  166. ~0u, // no _has_bits_
  167. PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::Int64Value, _internal_metadata_),
  168. ~0u, // no _extensions_
  169. ~0u, // no _oneof_case_
  170. ~0u, // no _weak_field_map_
  171. ~0u, // no _inlined_string_donated_
  172. ~0u, // no _split_
  173. ~0u, // no sizeof(Split)
  174. PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::Int64Value, _impl_.value_),
  175. ~0u, // no _has_bits_
  176. PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::UInt64Value, _internal_metadata_),
  177. ~0u, // no _extensions_
  178. ~0u, // no _oneof_case_
  179. ~0u, // no _weak_field_map_
  180. ~0u, // no _inlined_string_donated_
  181. ~0u, // no _split_
  182. ~0u, // no sizeof(Split)
  183. PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::UInt64Value, _impl_.value_),
  184. ~0u, // no _has_bits_
  185. PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::Int32Value, _internal_metadata_),
  186. ~0u, // no _extensions_
  187. ~0u, // no _oneof_case_
  188. ~0u, // no _weak_field_map_
  189. ~0u, // no _inlined_string_donated_
  190. ~0u, // no _split_
  191. ~0u, // no sizeof(Split)
  192. PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::Int32Value, _impl_.value_),
  193. ~0u, // no _has_bits_
  194. PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::UInt32Value, _internal_metadata_),
  195. ~0u, // no _extensions_
  196. ~0u, // no _oneof_case_
  197. ~0u, // no _weak_field_map_
  198. ~0u, // no _inlined_string_donated_
  199. ~0u, // no _split_
  200. ~0u, // no sizeof(Split)
  201. PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::UInt32Value, _impl_.value_),
  202. ~0u, // no _has_bits_
  203. PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::BoolValue, _internal_metadata_),
  204. ~0u, // no _extensions_
  205. ~0u, // no _oneof_case_
  206. ~0u, // no _weak_field_map_
  207. ~0u, // no _inlined_string_donated_
  208. ~0u, // no _split_
  209. ~0u, // no sizeof(Split)
  210. PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::BoolValue, _impl_.value_),
  211. ~0u, // no _has_bits_
  212. PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::StringValue, _internal_metadata_),
  213. ~0u, // no _extensions_
  214. ~0u, // no _oneof_case_
  215. ~0u, // no _weak_field_map_
  216. ~0u, // no _inlined_string_donated_
  217. ~0u, // no _split_
  218. ~0u, // no sizeof(Split)
  219. PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::StringValue, _impl_.value_),
  220. ~0u, // no _has_bits_
  221. PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::BytesValue, _internal_metadata_),
  222. ~0u, // no _extensions_
  223. ~0u, // no _oneof_case_
  224. ~0u, // no _weak_field_map_
  225. ~0u, // no _inlined_string_donated_
  226. ~0u, // no _split_
  227. ~0u, // no sizeof(Split)
  228. PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::BytesValue, _impl_.value_),
  229. };
  230. static const ::_pbi::MigrationSchema
  231. schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
  232. { 0, -1, -1, sizeof(::PROTOBUF_NAMESPACE_ID::DoubleValue)},
  233. { 9, -1, -1, sizeof(::PROTOBUF_NAMESPACE_ID::FloatValue)},
  234. { 18, -1, -1, sizeof(::PROTOBUF_NAMESPACE_ID::Int64Value)},
  235. { 27, -1, -1, sizeof(::PROTOBUF_NAMESPACE_ID::UInt64Value)},
  236. { 36, -1, -1, sizeof(::PROTOBUF_NAMESPACE_ID::Int32Value)},
  237. { 45, -1, -1, sizeof(::PROTOBUF_NAMESPACE_ID::UInt32Value)},
  238. { 54, -1, -1, sizeof(::PROTOBUF_NAMESPACE_ID::BoolValue)},
  239. { 63, -1, -1, sizeof(::PROTOBUF_NAMESPACE_ID::StringValue)},
  240. { 72, -1, -1, sizeof(::PROTOBUF_NAMESPACE_ID::BytesValue)},
  241. };
  242. static const ::_pb::Message* const file_default_instances[] = {
  243. &::PROTOBUF_NAMESPACE_ID::_DoubleValue_default_instance_._instance,
  244. &::PROTOBUF_NAMESPACE_ID::_FloatValue_default_instance_._instance,
  245. &::PROTOBUF_NAMESPACE_ID::_Int64Value_default_instance_._instance,
  246. &::PROTOBUF_NAMESPACE_ID::_UInt64Value_default_instance_._instance,
  247. &::PROTOBUF_NAMESPACE_ID::_Int32Value_default_instance_._instance,
  248. &::PROTOBUF_NAMESPACE_ID::_UInt32Value_default_instance_._instance,
  249. &::PROTOBUF_NAMESPACE_ID::_BoolValue_default_instance_._instance,
  250. &::PROTOBUF_NAMESPACE_ID::_StringValue_default_instance_._instance,
  251. &::PROTOBUF_NAMESPACE_ID::_BytesValue_default_instance_._instance,
  252. };
  253. const char descriptor_table_protodef_google_2fprotobuf_2fwrappers_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
  254. "\n\036google/protobuf/wrappers.proto\022\017google"
  255. ".protobuf\"\034\n\013DoubleValue\022\r\n\005value\030\001 \001(\001\""
  256. "\033\n\nFloatValue\022\r\n\005value\030\001 \001(\002\"\033\n\nInt64Val"
  257. "ue\022\r\n\005value\030\001 \001(\003\"\034\n\013UInt64Value\022\r\n\005valu"
  258. "e\030\001 \001(\004\"\033\n\nInt32Value\022\r\n\005value\030\001 \001(\005\"\034\n\013"
  259. "UInt32Value\022\r\n\005value\030\001 \001(\r\"\032\n\tBoolValue\022"
  260. "\r\n\005value\030\001 \001(\010\"\034\n\013StringValue\022\r\n\005value\030\001"
  261. " \001(\t\"\033\n\nBytesValue\022\r\n\005value\030\001 \001(\014B\203\001\n\023co"
  262. "m.google.protobufB\rWrappersProtoP\001Z1goog"
  263. "le.golang.org/protobuf/types/known/wrapp"
  264. "erspb\370\001\001\242\002\003GPB\252\002\036Google.Protobuf.WellKno"
  265. "wnTypesb\006proto3"
  266. };
  267. static ::absl::once_flag descriptor_table_google_2fprotobuf_2fwrappers_2eproto_once;
  268. const ::_pbi::DescriptorTable descriptor_table_google_2fprotobuf_2fwrappers_2eproto = {
  269. false,
  270. false,
  271. 455,
  272. descriptor_table_protodef_google_2fprotobuf_2fwrappers_2eproto,
  273. "google/protobuf/wrappers.proto",
  274. &descriptor_table_google_2fprotobuf_2fwrappers_2eproto_once,
  275. nullptr,
  276. 0,
  277. 9,
  278. schemas,
  279. file_default_instances,
  280. TableStruct_google_2fprotobuf_2fwrappers_2eproto::offsets,
  281. file_level_metadata_google_2fprotobuf_2fwrappers_2eproto,
  282. file_level_enum_descriptors_google_2fprotobuf_2fwrappers_2eproto,
  283. file_level_service_descriptors_google_2fprotobuf_2fwrappers_2eproto,
  284. };
  285. // This function exists to be marked as weak.
  286. // It can significantly speed up compilation by breaking up LLVM's SCC
  287. // in the .pb.cc translation units. Large translation units see a
  288. // reduction of more than 35% of walltime for optimized builds. Without
  289. // the weak attribute all the messages in the file, including all the
  290. // vtables and everything they use become part of the same SCC through
  291. // a cycle like:
  292. // GetMetadata -> descriptor table -> default instances ->
  293. // vtables -> GetMetadata
  294. // By adding a weak function here we break the connection from the
  295. // individual vtables back into the descriptor table.
  296. PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_google_2fprotobuf_2fwrappers_2eproto_getter() {
  297. return &descriptor_table_google_2fprotobuf_2fwrappers_2eproto;
  298. }
  299. // Force running AddDescriptors() at dynamic initialization time.
  300. PROTOBUF_ATTRIBUTE_INIT_PRIORITY2
  301. static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_google_2fprotobuf_2fwrappers_2eproto(&descriptor_table_google_2fprotobuf_2fwrappers_2eproto);
  302. PROTOBUF_NAMESPACE_OPEN
  303. // ===================================================================
  304. class DoubleValue::_Internal {
  305. public:
  306. };
  307. DoubleValue::DoubleValue(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  308. : ::PROTOBUF_NAMESPACE_ID::Message(arena) {
  309. SharedCtor(arena);
  310. // @@protoc_insertion_point(arena_constructor:google.protobuf.DoubleValue)
  311. }
  312. DoubleValue::DoubleValue(const DoubleValue& from)
  313. : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) {
  314. _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(
  315. from._internal_metadata_);
  316. // @@protoc_insertion_point(copy_constructor:google.protobuf.DoubleValue)
  317. }
  318. inline void DoubleValue::SharedCtor(::_pb::Arena* arena) {
  319. (void)arena;
  320. new (&_impl_) Impl_{
  321. decltype(_impl_.value_) { 0 }
  322. , /*decltype(_impl_._cached_size_)*/{}
  323. };
  324. }
  325. DoubleValue::~DoubleValue() {
  326. // @@protoc_insertion_point(destructor:google.protobuf.DoubleValue)
  327. if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
  328. (void)arena;
  329. return;
  330. }
  331. SharedDtor();
  332. }
  333. inline void DoubleValue::SharedDtor() {
  334. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  335. }
  336. void DoubleValue::SetCachedSize(int size) const {
  337. _impl_._cached_size_.Set(size);
  338. }
  339. void DoubleValue::Clear() {
  340. // @@protoc_insertion_point(message_clear_start:google.protobuf.DoubleValue)
  341. ::uint32_t cached_has_bits = 0;
  342. // Prevent compiler warnings about cached_has_bits being unused
  343. (void) cached_has_bits;
  344. _impl_.value_ = 0;
  345. _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  346. }
  347. const char* DoubleValue::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  348. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  349. while (!ctx->Done(&ptr)) {
  350. ::uint32_t tag;
  351. ptr = ::_pbi::ReadTag(ptr, &tag);
  352. switch (tag >> 3) {
  353. // double value = 1;
  354. case 1:
  355. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 9)) {
  356. _impl_.value_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<double>(ptr);
  357. ptr += sizeof(double);
  358. } else {
  359. goto handle_unusual;
  360. }
  361. continue;
  362. default:
  363. goto handle_unusual;
  364. } // switch
  365. handle_unusual:
  366. if ((tag == 0) || ((tag & 7) == 4)) {
  367. CHK_(ptr);
  368. ctx->SetLastTag(tag);
  369. goto message_done;
  370. }
  371. ptr = UnknownFieldParse(
  372. tag,
  373. _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
  374. ptr, ctx);
  375. CHK_(ptr != nullptr);
  376. } // while
  377. message_done:
  378. return ptr;
  379. failure:
  380. ptr = nullptr;
  381. goto message_done;
  382. #undef CHK_
  383. }
  384. ::uint8_t* DoubleValue::_InternalSerialize(
  385. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  386. // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.DoubleValue)
  387. ::uint32_t cached_has_bits = 0;
  388. (void) cached_has_bits;
  389. // double value = 1;
  390. static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size.");
  391. double tmp_value = this->_internal_value();
  392. ::uint64_t raw_value;
  393. memcpy(&raw_value, &tmp_value, sizeof(tmp_value));
  394. if (raw_value != 0) {
  395. target = stream->EnsureSpace(target);
  396. target = ::_pbi::WireFormatLite::WriteDoubleToArray(
  397. 1, this->_internal_value(), target);
  398. }
  399. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  400. target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
  401. _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
  402. }
  403. // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.DoubleValue)
  404. return target;
  405. }
  406. ::size_t DoubleValue::ByteSizeLong() const {
  407. // @@protoc_insertion_point(message_byte_size_start:google.protobuf.DoubleValue)
  408. ::size_t total_size = 0;
  409. ::uint32_t cached_has_bits = 0;
  410. // Prevent compiler warnings about cached_has_bits being unused
  411. (void) cached_has_bits;
  412. // double value = 1;
  413. static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size.");
  414. double tmp_value = this->_internal_value();
  415. ::uint64_t raw_value;
  416. memcpy(&raw_value, &tmp_value, sizeof(tmp_value));
  417. if (raw_value != 0) {
  418. total_size += 9;
  419. }
  420. return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
  421. }
  422. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData DoubleValue::_class_data_ = {
  423. ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
  424. DoubleValue::MergeImpl
  425. };
  426. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DoubleValue::GetClassData() const { return &_class_data_; }
  427. void DoubleValue::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
  428. auto* const _this = static_cast<DoubleValue*>(&to_msg);
  429. auto& from = static_cast<const DoubleValue&>(from_msg);
  430. // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.DoubleValue)
  431. ABSL_DCHECK_NE(&from, _this);
  432. ::uint32_t cached_has_bits = 0;
  433. (void) cached_has_bits;
  434. static_assert(sizeof(::uint64_t) == sizeof(double), "Code assumes ::uint64_t and double are the same size.");
  435. double tmp_value = from._internal_value();
  436. ::uint64_t raw_value;
  437. memcpy(&raw_value, &tmp_value, sizeof(tmp_value));
  438. if (raw_value != 0) {
  439. _this->_internal_set_value(from._internal_value());
  440. }
  441. _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
  442. }
  443. void DoubleValue::CopyFrom(const DoubleValue& from) {
  444. // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.DoubleValue)
  445. if (&from == this) return;
  446. Clear();
  447. MergeFrom(from);
  448. }
  449. bool DoubleValue::IsInitialized() const {
  450. return true;
  451. }
  452. void DoubleValue::InternalSwap(DoubleValue* other) {
  453. using std::swap;
  454. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  455. swap(_impl_.value_, other->_impl_.value_);
  456. }
  457. ::PROTOBUF_NAMESPACE_ID::Metadata DoubleValue::GetMetadata() const {
  458. return ::_pbi::AssignDescriptors(
  459. &descriptor_table_google_2fprotobuf_2fwrappers_2eproto_getter, &descriptor_table_google_2fprotobuf_2fwrappers_2eproto_once,
  460. file_level_metadata_google_2fprotobuf_2fwrappers_2eproto[0]);
  461. }
  462. // ===================================================================
  463. class FloatValue::_Internal {
  464. public:
  465. };
  466. FloatValue::FloatValue(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  467. : ::PROTOBUF_NAMESPACE_ID::Message(arena) {
  468. SharedCtor(arena);
  469. // @@protoc_insertion_point(arena_constructor:google.protobuf.FloatValue)
  470. }
  471. FloatValue::FloatValue(const FloatValue& from)
  472. : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) {
  473. _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(
  474. from._internal_metadata_);
  475. // @@protoc_insertion_point(copy_constructor:google.protobuf.FloatValue)
  476. }
  477. inline void FloatValue::SharedCtor(::_pb::Arena* arena) {
  478. (void)arena;
  479. new (&_impl_) Impl_{
  480. decltype(_impl_.value_) { 0 }
  481. , /*decltype(_impl_._cached_size_)*/{}
  482. };
  483. }
  484. FloatValue::~FloatValue() {
  485. // @@protoc_insertion_point(destructor:google.protobuf.FloatValue)
  486. if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
  487. (void)arena;
  488. return;
  489. }
  490. SharedDtor();
  491. }
  492. inline void FloatValue::SharedDtor() {
  493. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  494. }
  495. void FloatValue::SetCachedSize(int size) const {
  496. _impl_._cached_size_.Set(size);
  497. }
  498. void FloatValue::Clear() {
  499. // @@protoc_insertion_point(message_clear_start:google.protobuf.FloatValue)
  500. ::uint32_t cached_has_bits = 0;
  501. // Prevent compiler warnings about cached_has_bits being unused
  502. (void) cached_has_bits;
  503. _impl_.value_ = 0;
  504. _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  505. }
  506. const char* FloatValue::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  507. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  508. while (!ctx->Done(&ptr)) {
  509. ::uint32_t tag;
  510. ptr = ::_pbi::ReadTag(ptr, &tag);
  511. switch (tag >> 3) {
  512. // float value = 1;
  513. case 1:
  514. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 13)) {
  515. _impl_.value_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr);
  516. ptr += sizeof(float);
  517. } else {
  518. goto handle_unusual;
  519. }
  520. continue;
  521. default:
  522. goto handle_unusual;
  523. } // switch
  524. handle_unusual:
  525. if ((tag == 0) || ((tag & 7) == 4)) {
  526. CHK_(ptr);
  527. ctx->SetLastTag(tag);
  528. goto message_done;
  529. }
  530. ptr = UnknownFieldParse(
  531. tag,
  532. _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
  533. ptr, ctx);
  534. CHK_(ptr != nullptr);
  535. } // while
  536. message_done:
  537. return ptr;
  538. failure:
  539. ptr = nullptr;
  540. goto message_done;
  541. #undef CHK_
  542. }
  543. ::uint8_t* FloatValue::_InternalSerialize(
  544. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  545. // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.FloatValue)
  546. ::uint32_t cached_has_bits = 0;
  547. (void) cached_has_bits;
  548. // float value = 1;
  549. static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size.");
  550. float tmp_value = this->_internal_value();
  551. ::uint32_t raw_value;
  552. memcpy(&raw_value, &tmp_value, sizeof(tmp_value));
  553. if (raw_value != 0) {
  554. target = stream->EnsureSpace(target);
  555. target = ::_pbi::WireFormatLite::WriteFloatToArray(
  556. 1, this->_internal_value(), target);
  557. }
  558. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  559. target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
  560. _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
  561. }
  562. // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.FloatValue)
  563. return target;
  564. }
  565. ::size_t FloatValue::ByteSizeLong() const {
  566. // @@protoc_insertion_point(message_byte_size_start:google.protobuf.FloatValue)
  567. ::size_t total_size = 0;
  568. ::uint32_t cached_has_bits = 0;
  569. // Prevent compiler warnings about cached_has_bits being unused
  570. (void) cached_has_bits;
  571. // float value = 1;
  572. static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size.");
  573. float tmp_value = this->_internal_value();
  574. ::uint32_t raw_value;
  575. memcpy(&raw_value, &tmp_value, sizeof(tmp_value));
  576. if (raw_value != 0) {
  577. total_size += 5;
  578. }
  579. return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
  580. }
  581. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData FloatValue::_class_data_ = {
  582. ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
  583. FloatValue::MergeImpl
  584. };
  585. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*FloatValue::GetClassData() const { return &_class_data_; }
  586. void FloatValue::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
  587. auto* const _this = static_cast<FloatValue*>(&to_msg);
  588. auto& from = static_cast<const FloatValue&>(from_msg);
  589. // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.FloatValue)
  590. ABSL_DCHECK_NE(&from, _this);
  591. ::uint32_t cached_has_bits = 0;
  592. (void) cached_has_bits;
  593. static_assert(sizeof(::uint32_t) == sizeof(float), "Code assumes ::uint32_t and float are the same size.");
  594. float tmp_value = from._internal_value();
  595. ::uint32_t raw_value;
  596. memcpy(&raw_value, &tmp_value, sizeof(tmp_value));
  597. if (raw_value != 0) {
  598. _this->_internal_set_value(from._internal_value());
  599. }
  600. _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
  601. }
  602. void FloatValue::CopyFrom(const FloatValue& from) {
  603. // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.FloatValue)
  604. if (&from == this) return;
  605. Clear();
  606. MergeFrom(from);
  607. }
  608. bool FloatValue::IsInitialized() const {
  609. return true;
  610. }
  611. void FloatValue::InternalSwap(FloatValue* other) {
  612. using std::swap;
  613. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  614. swap(_impl_.value_, other->_impl_.value_);
  615. }
  616. ::PROTOBUF_NAMESPACE_ID::Metadata FloatValue::GetMetadata() const {
  617. return ::_pbi::AssignDescriptors(
  618. &descriptor_table_google_2fprotobuf_2fwrappers_2eproto_getter, &descriptor_table_google_2fprotobuf_2fwrappers_2eproto_once,
  619. file_level_metadata_google_2fprotobuf_2fwrappers_2eproto[1]);
  620. }
  621. // ===================================================================
  622. class Int64Value::_Internal {
  623. public:
  624. };
  625. Int64Value::Int64Value(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  626. : ::PROTOBUF_NAMESPACE_ID::Message(arena) {
  627. SharedCtor(arena);
  628. // @@protoc_insertion_point(arena_constructor:google.protobuf.Int64Value)
  629. }
  630. Int64Value::Int64Value(const Int64Value& from)
  631. : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) {
  632. _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(
  633. from._internal_metadata_);
  634. // @@protoc_insertion_point(copy_constructor:google.protobuf.Int64Value)
  635. }
  636. inline void Int64Value::SharedCtor(::_pb::Arena* arena) {
  637. (void)arena;
  638. new (&_impl_) Impl_{
  639. decltype(_impl_.value_) { ::int64_t{0} }
  640. , /*decltype(_impl_._cached_size_)*/{}
  641. };
  642. }
  643. Int64Value::~Int64Value() {
  644. // @@protoc_insertion_point(destructor:google.protobuf.Int64Value)
  645. if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
  646. (void)arena;
  647. return;
  648. }
  649. SharedDtor();
  650. }
  651. inline void Int64Value::SharedDtor() {
  652. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  653. }
  654. void Int64Value::SetCachedSize(int size) const {
  655. _impl_._cached_size_.Set(size);
  656. }
  657. void Int64Value::Clear() {
  658. // @@protoc_insertion_point(message_clear_start:google.protobuf.Int64Value)
  659. ::uint32_t cached_has_bits = 0;
  660. // Prevent compiler warnings about cached_has_bits being unused
  661. (void) cached_has_bits;
  662. _impl_.value_ = ::int64_t{0};
  663. _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  664. }
  665. const char* Int64Value::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  666. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  667. while (!ctx->Done(&ptr)) {
  668. ::uint32_t tag;
  669. ptr = ::_pbi::ReadTag(ptr, &tag);
  670. switch (tag >> 3) {
  671. // int64 value = 1;
  672. case 1:
  673. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
  674. _impl_.value_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
  675. CHK_(ptr);
  676. } else {
  677. goto handle_unusual;
  678. }
  679. continue;
  680. default:
  681. goto handle_unusual;
  682. } // switch
  683. handle_unusual:
  684. if ((tag == 0) || ((tag & 7) == 4)) {
  685. CHK_(ptr);
  686. ctx->SetLastTag(tag);
  687. goto message_done;
  688. }
  689. ptr = UnknownFieldParse(
  690. tag,
  691. _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
  692. ptr, ctx);
  693. CHK_(ptr != nullptr);
  694. } // while
  695. message_done:
  696. return ptr;
  697. failure:
  698. ptr = nullptr;
  699. goto message_done;
  700. #undef CHK_
  701. }
  702. ::uint8_t* Int64Value::_InternalSerialize(
  703. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  704. // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Int64Value)
  705. ::uint32_t cached_has_bits = 0;
  706. (void) cached_has_bits;
  707. // int64 value = 1;
  708. if (this->_internal_value() != 0) {
  709. target = stream->EnsureSpace(target);
  710. target = ::_pbi::WireFormatLite::WriteInt64ToArray(
  711. 1, this->_internal_value(), target);
  712. }
  713. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  714. target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
  715. _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
  716. }
  717. // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.Int64Value)
  718. return target;
  719. }
  720. ::size_t Int64Value::ByteSizeLong() const {
  721. // @@protoc_insertion_point(message_byte_size_start:google.protobuf.Int64Value)
  722. ::size_t total_size = 0;
  723. ::uint32_t cached_has_bits = 0;
  724. // Prevent compiler warnings about cached_has_bits being unused
  725. (void) cached_has_bits;
  726. // int64 value = 1;
  727. if (this->_internal_value() != 0) {
  728. total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
  729. this->_internal_value());
  730. }
  731. return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
  732. }
  733. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Int64Value::_class_data_ = {
  734. ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
  735. Int64Value::MergeImpl
  736. };
  737. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Int64Value::GetClassData() const { return &_class_data_; }
  738. void Int64Value::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
  739. auto* const _this = static_cast<Int64Value*>(&to_msg);
  740. auto& from = static_cast<const Int64Value&>(from_msg);
  741. // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.Int64Value)
  742. ABSL_DCHECK_NE(&from, _this);
  743. ::uint32_t cached_has_bits = 0;
  744. (void) cached_has_bits;
  745. if (from._internal_value() != 0) {
  746. _this->_internal_set_value(from._internal_value());
  747. }
  748. _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
  749. }
  750. void Int64Value::CopyFrom(const Int64Value& from) {
  751. // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.Int64Value)
  752. if (&from == this) return;
  753. Clear();
  754. MergeFrom(from);
  755. }
  756. bool Int64Value::IsInitialized() const {
  757. return true;
  758. }
  759. void Int64Value::InternalSwap(Int64Value* other) {
  760. using std::swap;
  761. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  762. swap(_impl_.value_, other->_impl_.value_);
  763. }
  764. ::PROTOBUF_NAMESPACE_ID::Metadata Int64Value::GetMetadata() const {
  765. return ::_pbi::AssignDescriptors(
  766. &descriptor_table_google_2fprotobuf_2fwrappers_2eproto_getter, &descriptor_table_google_2fprotobuf_2fwrappers_2eproto_once,
  767. file_level_metadata_google_2fprotobuf_2fwrappers_2eproto[2]);
  768. }
  769. // ===================================================================
  770. class UInt64Value::_Internal {
  771. public:
  772. };
  773. UInt64Value::UInt64Value(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  774. : ::PROTOBUF_NAMESPACE_ID::Message(arena) {
  775. SharedCtor(arena);
  776. // @@protoc_insertion_point(arena_constructor:google.protobuf.UInt64Value)
  777. }
  778. UInt64Value::UInt64Value(const UInt64Value& from)
  779. : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) {
  780. _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(
  781. from._internal_metadata_);
  782. // @@protoc_insertion_point(copy_constructor:google.protobuf.UInt64Value)
  783. }
  784. inline void UInt64Value::SharedCtor(::_pb::Arena* arena) {
  785. (void)arena;
  786. new (&_impl_) Impl_{
  787. decltype(_impl_.value_) { ::uint64_t{0u} }
  788. , /*decltype(_impl_._cached_size_)*/{}
  789. };
  790. }
  791. UInt64Value::~UInt64Value() {
  792. // @@protoc_insertion_point(destructor:google.protobuf.UInt64Value)
  793. if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
  794. (void)arena;
  795. return;
  796. }
  797. SharedDtor();
  798. }
  799. inline void UInt64Value::SharedDtor() {
  800. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  801. }
  802. void UInt64Value::SetCachedSize(int size) const {
  803. _impl_._cached_size_.Set(size);
  804. }
  805. void UInt64Value::Clear() {
  806. // @@protoc_insertion_point(message_clear_start:google.protobuf.UInt64Value)
  807. ::uint32_t cached_has_bits = 0;
  808. // Prevent compiler warnings about cached_has_bits being unused
  809. (void) cached_has_bits;
  810. _impl_.value_ = ::uint64_t{0u};
  811. _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  812. }
  813. const char* UInt64Value::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  814. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  815. while (!ctx->Done(&ptr)) {
  816. ::uint32_t tag;
  817. ptr = ::_pbi::ReadTag(ptr, &tag);
  818. switch (tag >> 3) {
  819. // uint64 value = 1;
  820. case 1:
  821. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
  822. _impl_.value_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
  823. CHK_(ptr);
  824. } else {
  825. goto handle_unusual;
  826. }
  827. continue;
  828. default:
  829. goto handle_unusual;
  830. } // switch
  831. handle_unusual:
  832. if ((tag == 0) || ((tag & 7) == 4)) {
  833. CHK_(ptr);
  834. ctx->SetLastTag(tag);
  835. goto message_done;
  836. }
  837. ptr = UnknownFieldParse(
  838. tag,
  839. _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
  840. ptr, ctx);
  841. CHK_(ptr != nullptr);
  842. } // while
  843. message_done:
  844. return ptr;
  845. failure:
  846. ptr = nullptr;
  847. goto message_done;
  848. #undef CHK_
  849. }
  850. ::uint8_t* UInt64Value::_InternalSerialize(
  851. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  852. // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.UInt64Value)
  853. ::uint32_t cached_has_bits = 0;
  854. (void) cached_has_bits;
  855. // uint64 value = 1;
  856. if (this->_internal_value() != 0) {
  857. target = stream->EnsureSpace(target);
  858. target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
  859. 1, this->_internal_value(), target);
  860. }
  861. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  862. target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
  863. _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
  864. }
  865. // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.UInt64Value)
  866. return target;
  867. }
  868. ::size_t UInt64Value::ByteSizeLong() const {
  869. // @@protoc_insertion_point(message_byte_size_start:google.protobuf.UInt64Value)
  870. ::size_t total_size = 0;
  871. ::uint32_t cached_has_bits = 0;
  872. // Prevent compiler warnings about cached_has_bits being unused
  873. (void) cached_has_bits;
  874. // uint64 value = 1;
  875. if (this->_internal_value() != 0) {
  876. total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
  877. this->_internal_value());
  878. }
  879. return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
  880. }
  881. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData UInt64Value::_class_data_ = {
  882. ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
  883. UInt64Value::MergeImpl
  884. };
  885. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*UInt64Value::GetClassData() const { return &_class_data_; }
  886. void UInt64Value::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
  887. auto* const _this = static_cast<UInt64Value*>(&to_msg);
  888. auto& from = static_cast<const UInt64Value&>(from_msg);
  889. // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.UInt64Value)
  890. ABSL_DCHECK_NE(&from, _this);
  891. ::uint32_t cached_has_bits = 0;
  892. (void) cached_has_bits;
  893. if (from._internal_value() != 0) {
  894. _this->_internal_set_value(from._internal_value());
  895. }
  896. _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
  897. }
  898. void UInt64Value::CopyFrom(const UInt64Value& from) {
  899. // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.UInt64Value)
  900. if (&from == this) return;
  901. Clear();
  902. MergeFrom(from);
  903. }
  904. bool UInt64Value::IsInitialized() const {
  905. return true;
  906. }
  907. void UInt64Value::InternalSwap(UInt64Value* other) {
  908. using std::swap;
  909. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  910. swap(_impl_.value_, other->_impl_.value_);
  911. }
  912. ::PROTOBUF_NAMESPACE_ID::Metadata UInt64Value::GetMetadata() const {
  913. return ::_pbi::AssignDescriptors(
  914. &descriptor_table_google_2fprotobuf_2fwrappers_2eproto_getter, &descriptor_table_google_2fprotobuf_2fwrappers_2eproto_once,
  915. file_level_metadata_google_2fprotobuf_2fwrappers_2eproto[3]);
  916. }
  917. // ===================================================================
  918. class Int32Value::_Internal {
  919. public:
  920. };
  921. Int32Value::Int32Value(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  922. : ::PROTOBUF_NAMESPACE_ID::Message(arena) {
  923. SharedCtor(arena);
  924. // @@protoc_insertion_point(arena_constructor:google.protobuf.Int32Value)
  925. }
  926. Int32Value::Int32Value(const Int32Value& from)
  927. : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) {
  928. _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(
  929. from._internal_metadata_);
  930. // @@protoc_insertion_point(copy_constructor:google.protobuf.Int32Value)
  931. }
  932. inline void Int32Value::SharedCtor(::_pb::Arena* arena) {
  933. (void)arena;
  934. new (&_impl_) Impl_{
  935. decltype(_impl_.value_) { 0 }
  936. , /*decltype(_impl_._cached_size_)*/{}
  937. };
  938. }
  939. Int32Value::~Int32Value() {
  940. // @@protoc_insertion_point(destructor:google.protobuf.Int32Value)
  941. if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
  942. (void)arena;
  943. return;
  944. }
  945. SharedDtor();
  946. }
  947. inline void Int32Value::SharedDtor() {
  948. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  949. }
  950. void Int32Value::SetCachedSize(int size) const {
  951. _impl_._cached_size_.Set(size);
  952. }
  953. void Int32Value::Clear() {
  954. // @@protoc_insertion_point(message_clear_start:google.protobuf.Int32Value)
  955. ::uint32_t cached_has_bits = 0;
  956. // Prevent compiler warnings about cached_has_bits being unused
  957. (void) cached_has_bits;
  958. _impl_.value_ = 0;
  959. _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  960. }
  961. const char* Int32Value::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  962. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  963. while (!ctx->Done(&ptr)) {
  964. ::uint32_t tag;
  965. ptr = ::_pbi::ReadTag(ptr, &tag);
  966. switch (tag >> 3) {
  967. // int32 value = 1;
  968. case 1:
  969. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
  970. _impl_.value_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
  971. CHK_(ptr);
  972. } else {
  973. goto handle_unusual;
  974. }
  975. continue;
  976. default:
  977. goto handle_unusual;
  978. } // switch
  979. handle_unusual:
  980. if ((tag == 0) || ((tag & 7) == 4)) {
  981. CHK_(ptr);
  982. ctx->SetLastTag(tag);
  983. goto message_done;
  984. }
  985. ptr = UnknownFieldParse(
  986. tag,
  987. _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
  988. ptr, ctx);
  989. CHK_(ptr != nullptr);
  990. } // while
  991. message_done:
  992. return ptr;
  993. failure:
  994. ptr = nullptr;
  995. goto message_done;
  996. #undef CHK_
  997. }
  998. ::uint8_t* Int32Value::_InternalSerialize(
  999. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  1000. // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Int32Value)
  1001. ::uint32_t cached_has_bits = 0;
  1002. (void) cached_has_bits;
  1003. // int32 value = 1;
  1004. if (this->_internal_value() != 0) {
  1005. target = stream->EnsureSpace(target);
  1006. target = ::_pbi::WireFormatLite::WriteInt32ToArray(
  1007. 1, this->_internal_value(), target);
  1008. }
  1009. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  1010. target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
  1011. _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
  1012. }
  1013. // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.Int32Value)
  1014. return target;
  1015. }
  1016. ::size_t Int32Value::ByteSizeLong() const {
  1017. // @@protoc_insertion_point(message_byte_size_start:google.protobuf.Int32Value)
  1018. ::size_t total_size = 0;
  1019. ::uint32_t cached_has_bits = 0;
  1020. // Prevent compiler warnings about cached_has_bits being unused
  1021. (void) cached_has_bits;
  1022. // int32 value = 1;
  1023. if (this->_internal_value() != 0) {
  1024. total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
  1025. this->_internal_value());
  1026. }
  1027. return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
  1028. }
  1029. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Int32Value::_class_data_ = {
  1030. ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
  1031. Int32Value::MergeImpl
  1032. };
  1033. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Int32Value::GetClassData() const { return &_class_data_; }
  1034. void Int32Value::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
  1035. auto* const _this = static_cast<Int32Value*>(&to_msg);
  1036. auto& from = static_cast<const Int32Value&>(from_msg);
  1037. // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.Int32Value)
  1038. ABSL_DCHECK_NE(&from, _this);
  1039. ::uint32_t cached_has_bits = 0;
  1040. (void) cached_has_bits;
  1041. if (from._internal_value() != 0) {
  1042. _this->_internal_set_value(from._internal_value());
  1043. }
  1044. _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
  1045. }
  1046. void Int32Value::CopyFrom(const Int32Value& from) {
  1047. // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.Int32Value)
  1048. if (&from == this) return;
  1049. Clear();
  1050. MergeFrom(from);
  1051. }
  1052. bool Int32Value::IsInitialized() const {
  1053. return true;
  1054. }
  1055. void Int32Value::InternalSwap(Int32Value* other) {
  1056. using std::swap;
  1057. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  1058. swap(_impl_.value_, other->_impl_.value_);
  1059. }
  1060. ::PROTOBUF_NAMESPACE_ID::Metadata Int32Value::GetMetadata() const {
  1061. return ::_pbi::AssignDescriptors(
  1062. &descriptor_table_google_2fprotobuf_2fwrappers_2eproto_getter, &descriptor_table_google_2fprotobuf_2fwrappers_2eproto_once,
  1063. file_level_metadata_google_2fprotobuf_2fwrappers_2eproto[4]);
  1064. }
  1065. // ===================================================================
  1066. class UInt32Value::_Internal {
  1067. public:
  1068. };
  1069. UInt32Value::UInt32Value(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  1070. : ::PROTOBUF_NAMESPACE_ID::Message(arena) {
  1071. SharedCtor(arena);
  1072. // @@protoc_insertion_point(arena_constructor:google.protobuf.UInt32Value)
  1073. }
  1074. UInt32Value::UInt32Value(const UInt32Value& from)
  1075. : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) {
  1076. _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(
  1077. from._internal_metadata_);
  1078. // @@protoc_insertion_point(copy_constructor:google.protobuf.UInt32Value)
  1079. }
  1080. inline void UInt32Value::SharedCtor(::_pb::Arena* arena) {
  1081. (void)arena;
  1082. new (&_impl_) Impl_{
  1083. decltype(_impl_.value_) { 0u }
  1084. , /*decltype(_impl_._cached_size_)*/{}
  1085. };
  1086. }
  1087. UInt32Value::~UInt32Value() {
  1088. // @@protoc_insertion_point(destructor:google.protobuf.UInt32Value)
  1089. if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
  1090. (void)arena;
  1091. return;
  1092. }
  1093. SharedDtor();
  1094. }
  1095. inline void UInt32Value::SharedDtor() {
  1096. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  1097. }
  1098. void UInt32Value::SetCachedSize(int size) const {
  1099. _impl_._cached_size_.Set(size);
  1100. }
  1101. void UInt32Value::Clear() {
  1102. // @@protoc_insertion_point(message_clear_start:google.protobuf.UInt32Value)
  1103. ::uint32_t cached_has_bits = 0;
  1104. // Prevent compiler warnings about cached_has_bits being unused
  1105. (void) cached_has_bits;
  1106. _impl_.value_ = 0u;
  1107. _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  1108. }
  1109. const char* UInt32Value::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  1110. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  1111. while (!ctx->Done(&ptr)) {
  1112. ::uint32_t tag;
  1113. ptr = ::_pbi::ReadTag(ptr, &tag);
  1114. switch (tag >> 3) {
  1115. // uint32 value = 1;
  1116. case 1:
  1117. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
  1118. _impl_.value_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
  1119. CHK_(ptr);
  1120. } else {
  1121. goto handle_unusual;
  1122. }
  1123. continue;
  1124. default:
  1125. goto handle_unusual;
  1126. } // switch
  1127. handle_unusual:
  1128. if ((tag == 0) || ((tag & 7) == 4)) {
  1129. CHK_(ptr);
  1130. ctx->SetLastTag(tag);
  1131. goto message_done;
  1132. }
  1133. ptr = UnknownFieldParse(
  1134. tag,
  1135. _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
  1136. ptr, ctx);
  1137. CHK_(ptr != nullptr);
  1138. } // while
  1139. message_done:
  1140. return ptr;
  1141. failure:
  1142. ptr = nullptr;
  1143. goto message_done;
  1144. #undef CHK_
  1145. }
  1146. ::uint8_t* UInt32Value::_InternalSerialize(
  1147. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  1148. // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.UInt32Value)
  1149. ::uint32_t cached_has_bits = 0;
  1150. (void) cached_has_bits;
  1151. // uint32 value = 1;
  1152. if (this->_internal_value() != 0) {
  1153. target = stream->EnsureSpace(target);
  1154. target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
  1155. 1, this->_internal_value(), target);
  1156. }
  1157. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  1158. target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
  1159. _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
  1160. }
  1161. // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.UInt32Value)
  1162. return target;
  1163. }
  1164. ::size_t UInt32Value::ByteSizeLong() const {
  1165. // @@protoc_insertion_point(message_byte_size_start:google.protobuf.UInt32Value)
  1166. ::size_t total_size = 0;
  1167. ::uint32_t cached_has_bits = 0;
  1168. // Prevent compiler warnings about cached_has_bits being unused
  1169. (void) cached_has_bits;
  1170. // uint32 value = 1;
  1171. if (this->_internal_value() != 0) {
  1172. total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
  1173. this->_internal_value());
  1174. }
  1175. return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
  1176. }
  1177. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData UInt32Value::_class_data_ = {
  1178. ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
  1179. UInt32Value::MergeImpl
  1180. };
  1181. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*UInt32Value::GetClassData() const { return &_class_data_; }
  1182. void UInt32Value::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
  1183. auto* const _this = static_cast<UInt32Value*>(&to_msg);
  1184. auto& from = static_cast<const UInt32Value&>(from_msg);
  1185. // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.UInt32Value)
  1186. ABSL_DCHECK_NE(&from, _this);
  1187. ::uint32_t cached_has_bits = 0;
  1188. (void) cached_has_bits;
  1189. if (from._internal_value() != 0) {
  1190. _this->_internal_set_value(from._internal_value());
  1191. }
  1192. _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
  1193. }
  1194. void UInt32Value::CopyFrom(const UInt32Value& from) {
  1195. // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.UInt32Value)
  1196. if (&from == this) return;
  1197. Clear();
  1198. MergeFrom(from);
  1199. }
  1200. bool UInt32Value::IsInitialized() const {
  1201. return true;
  1202. }
  1203. void UInt32Value::InternalSwap(UInt32Value* other) {
  1204. using std::swap;
  1205. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  1206. swap(_impl_.value_, other->_impl_.value_);
  1207. }
  1208. ::PROTOBUF_NAMESPACE_ID::Metadata UInt32Value::GetMetadata() const {
  1209. return ::_pbi::AssignDescriptors(
  1210. &descriptor_table_google_2fprotobuf_2fwrappers_2eproto_getter, &descriptor_table_google_2fprotobuf_2fwrappers_2eproto_once,
  1211. file_level_metadata_google_2fprotobuf_2fwrappers_2eproto[5]);
  1212. }
  1213. // ===================================================================
  1214. class BoolValue::_Internal {
  1215. public:
  1216. };
  1217. BoolValue::BoolValue(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  1218. : ::PROTOBUF_NAMESPACE_ID::Message(arena) {
  1219. SharedCtor(arena);
  1220. // @@protoc_insertion_point(arena_constructor:google.protobuf.BoolValue)
  1221. }
  1222. BoolValue::BoolValue(const BoolValue& from)
  1223. : ::PROTOBUF_NAMESPACE_ID::Message(), _impl_(from._impl_) {
  1224. _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(
  1225. from._internal_metadata_);
  1226. // @@protoc_insertion_point(copy_constructor:google.protobuf.BoolValue)
  1227. }
  1228. inline void BoolValue::SharedCtor(::_pb::Arena* arena) {
  1229. (void)arena;
  1230. new (&_impl_) Impl_{
  1231. decltype(_impl_.value_) { false }
  1232. , /*decltype(_impl_._cached_size_)*/{}
  1233. };
  1234. }
  1235. BoolValue::~BoolValue() {
  1236. // @@protoc_insertion_point(destructor:google.protobuf.BoolValue)
  1237. if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
  1238. (void)arena;
  1239. return;
  1240. }
  1241. SharedDtor();
  1242. }
  1243. inline void BoolValue::SharedDtor() {
  1244. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  1245. }
  1246. void BoolValue::SetCachedSize(int size) const {
  1247. _impl_._cached_size_.Set(size);
  1248. }
  1249. void BoolValue::Clear() {
  1250. // @@protoc_insertion_point(message_clear_start:google.protobuf.BoolValue)
  1251. ::uint32_t cached_has_bits = 0;
  1252. // Prevent compiler warnings about cached_has_bits being unused
  1253. (void) cached_has_bits;
  1254. _impl_.value_ = false;
  1255. _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  1256. }
  1257. const char* BoolValue::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  1258. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  1259. while (!ctx->Done(&ptr)) {
  1260. ::uint32_t tag;
  1261. ptr = ::_pbi::ReadTag(ptr, &tag);
  1262. switch (tag >> 3) {
  1263. // bool value = 1;
  1264. case 1:
  1265. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
  1266. _impl_.value_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
  1267. CHK_(ptr);
  1268. } else {
  1269. goto handle_unusual;
  1270. }
  1271. continue;
  1272. default:
  1273. goto handle_unusual;
  1274. } // switch
  1275. handle_unusual:
  1276. if ((tag == 0) || ((tag & 7) == 4)) {
  1277. CHK_(ptr);
  1278. ctx->SetLastTag(tag);
  1279. goto message_done;
  1280. }
  1281. ptr = UnknownFieldParse(
  1282. tag,
  1283. _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
  1284. ptr, ctx);
  1285. CHK_(ptr != nullptr);
  1286. } // while
  1287. message_done:
  1288. return ptr;
  1289. failure:
  1290. ptr = nullptr;
  1291. goto message_done;
  1292. #undef CHK_
  1293. }
  1294. ::uint8_t* BoolValue::_InternalSerialize(
  1295. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  1296. // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.BoolValue)
  1297. ::uint32_t cached_has_bits = 0;
  1298. (void) cached_has_bits;
  1299. // bool value = 1;
  1300. if (this->_internal_value() != 0) {
  1301. target = stream->EnsureSpace(target);
  1302. target = ::_pbi::WireFormatLite::WriteBoolToArray(
  1303. 1, this->_internal_value(), target);
  1304. }
  1305. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  1306. target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
  1307. _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
  1308. }
  1309. // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.BoolValue)
  1310. return target;
  1311. }
  1312. ::size_t BoolValue::ByteSizeLong() const {
  1313. // @@protoc_insertion_point(message_byte_size_start:google.protobuf.BoolValue)
  1314. ::size_t total_size = 0;
  1315. ::uint32_t cached_has_bits = 0;
  1316. // Prevent compiler warnings about cached_has_bits being unused
  1317. (void) cached_has_bits;
  1318. // bool value = 1;
  1319. if (this->_internal_value() != 0) {
  1320. total_size += 2;
  1321. }
  1322. return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
  1323. }
  1324. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData BoolValue::_class_data_ = {
  1325. ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
  1326. BoolValue::MergeImpl
  1327. };
  1328. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*BoolValue::GetClassData() const { return &_class_data_; }
  1329. void BoolValue::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
  1330. auto* const _this = static_cast<BoolValue*>(&to_msg);
  1331. auto& from = static_cast<const BoolValue&>(from_msg);
  1332. // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.BoolValue)
  1333. ABSL_DCHECK_NE(&from, _this);
  1334. ::uint32_t cached_has_bits = 0;
  1335. (void) cached_has_bits;
  1336. if (from._internal_value() != 0) {
  1337. _this->_internal_set_value(from._internal_value());
  1338. }
  1339. _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
  1340. }
  1341. void BoolValue::CopyFrom(const BoolValue& from) {
  1342. // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.BoolValue)
  1343. if (&from == this) return;
  1344. Clear();
  1345. MergeFrom(from);
  1346. }
  1347. bool BoolValue::IsInitialized() const {
  1348. return true;
  1349. }
  1350. void BoolValue::InternalSwap(BoolValue* other) {
  1351. using std::swap;
  1352. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  1353. swap(_impl_.value_, other->_impl_.value_);
  1354. }
  1355. ::PROTOBUF_NAMESPACE_ID::Metadata BoolValue::GetMetadata() const {
  1356. return ::_pbi::AssignDescriptors(
  1357. &descriptor_table_google_2fprotobuf_2fwrappers_2eproto_getter, &descriptor_table_google_2fprotobuf_2fwrappers_2eproto_once,
  1358. file_level_metadata_google_2fprotobuf_2fwrappers_2eproto[6]);
  1359. }
  1360. // ===================================================================
  1361. class StringValue::_Internal {
  1362. public:
  1363. };
  1364. StringValue::StringValue(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  1365. : ::PROTOBUF_NAMESPACE_ID::Message(arena) {
  1366. SharedCtor(arena);
  1367. // @@protoc_insertion_point(arena_constructor:google.protobuf.StringValue)
  1368. }
  1369. StringValue::StringValue(const StringValue& from)
  1370. : ::PROTOBUF_NAMESPACE_ID::Message() {
  1371. StringValue* const _this = this; (void)_this;
  1372. new (&_impl_) Impl_{
  1373. decltype(_impl_.value_) {}
  1374. , /*decltype(_impl_._cached_size_)*/{}};
  1375. _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
  1376. _impl_.value_.InitDefault();
  1377. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  1378. _impl_.value_.Set("", GetArenaForAllocation());
  1379. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  1380. if (!from._internal_value().empty()) {
  1381. _this->_impl_.value_.Set(from._internal_value(), _this->GetArenaForAllocation());
  1382. }
  1383. // @@protoc_insertion_point(copy_constructor:google.protobuf.StringValue)
  1384. }
  1385. inline void StringValue::SharedCtor(::_pb::Arena* arena) {
  1386. (void)arena;
  1387. new (&_impl_) Impl_{
  1388. decltype(_impl_.value_) {}
  1389. , /*decltype(_impl_._cached_size_)*/{}
  1390. };
  1391. _impl_.value_.InitDefault();
  1392. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  1393. _impl_.value_.Set("", GetArenaForAllocation());
  1394. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  1395. }
  1396. StringValue::~StringValue() {
  1397. // @@protoc_insertion_point(destructor:google.protobuf.StringValue)
  1398. if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
  1399. (void)arena;
  1400. return;
  1401. }
  1402. SharedDtor();
  1403. }
  1404. inline void StringValue::SharedDtor() {
  1405. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  1406. _impl_.value_.Destroy();
  1407. }
  1408. void StringValue::SetCachedSize(int size) const {
  1409. _impl_._cached_size_.Set(size);
  1410. }
  1411. void StringValue::Clear() {
  1412. // @@protoc_insertion_point(message_clear_start:google.protobuf.StringValue)
  1413. ::uint32_t cached_has_bits = 0;
  1414. // Prevent compiler warnings about cached_has_bits being unused
  1415. (void) cached_has_bits;
  1416. _impl_.value_.ClearToEmpty();
  1417. _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  1418. }
  1419. const char* StringValue::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  1420. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  1421. while (!ctx->Done(&ptr)) {
  1422. ::uint32_t tag;
  1423. ptr = ::_pbi::ReadTag(ptr, &tag);
  1424. switch (tag >> 3) {
  1425. // string value = 1;
  1426. case 1:
  1427. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
  1428. auto str = _internal_mutable_value();
  1429. ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
  1430. CHK_(ptr);
  1431. CHK_(::_pbi::VerifyUTF8(str, "google.protobuf.StringValue.value"));
  1432. } else {
  1433. goto handle_unusual;
  1434. }
  1435. continue;
  1436. default:
  1437. goto handle_unusual;
  1438. } // switch
  1439. handle_unusual:
  1440. if ((tag == 0) || ((tag & 7) == 4)) {
  1441. CHK_(ptr);
  1442. ctx->SetLastTag(tag);
  1443. goto message_done;
  1444. }
  1445. ptr = UnknownFieldParse(
  1446. tag,
  1447. _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
  1448. ptr, ctx);
  1449. CHK_(ptr != nullptr);
  1450. } // while
  1451. message_done:
  1452. return ptr;
  1453. failure:
  1454. ptr = nullptr;
  1455. goto message_done;
  1456. #undef CHK_
  1457. }
  1458. ::uint8_t* StringValue::_InternalSerialize(
  1459. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  1460. // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.StringValue)
  1461. ::uint32_t cached_has_bits = 0;
  1462. (void) cached_has_bits;
  1463. // string value = 1;
  1464. if (!this->_internal_value().empty()) {
  1465. const std::string& _s = this->_internal_value();
  1466. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
  1467. _s.data(), static_cast<int>(_s.length()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, "google.protobuf.StringValue.value");
  1468. target = stream->WriteStringMaybeAliased(1, _s, target);
  1469. }
  1470. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  1471. target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
  1472. _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
  1473. }
  1474. // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.StringValue)
  1475. return target;
  1476. }
  1477. ::size_t StringValue::ByteSizeLong() const {
  1478. // @@protoc_insertion_point(message_byte_size_start:google.protobuf.StringValue)
  1479. ::size_t total_size = 0;
  1480. ::uint32_t cached_has_bits = 0;
  1481. // Prevent compiler warnings about cached_has_bits being unused
  1482. (void) cached_has_bits;
  1483. // string value = 1;
  1484. if (!this->_internal_value().empty()) {
  1485. total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
  1486. this->_internal_value());
  1487. }
  1488. return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
  1489. }
  1490. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData StringValue::_class_data_ = {
  1491. ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
  1492. StringValue::MergeImpl
  1493. };
  1494. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*StringValue::GetClassData() const { return &_class_data_; }
  1495. void StringValue::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
  1496. auto* const _this = static_cast<StringValue*>(&to_msg);
  1497. auto& from = static_cast<const StringValue&>(from_msg);
  1498. // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.StringValue)
  1499. ABSL_DCHECK_NE(&from, _this);
  1500. ::uint32_t cached_has_bits = 0;
  1501. (void) cached_has_bits;
  1502. if (!from._internal_value().empty()) {
  1503. _this->_internal_set_value(from._internal_value());
  1504. }
  1505. _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
  1506. }
  1507. void StringValue::CopyFrom(const StringValue& from) {
  1508. // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.StringValue)
  1509. if (&from == this) return;
  1510. Clear();
  1511. MergeFrom(from);
  1512. }
  1513. bool StringValue::IsInitialized() const {
  1514. return true;
  1515. }
  1516. void StringValue::InternalSwap(StringValue* other) {
  1517. using std::swap;
  1518. auto* lhs_arena = GetArenaForAllocation();
  1519. auto* rhs_arena = other->GetArenaForAllocation();
  1520. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  1521. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.value_, lhs_arena,
  1522. &other->_impl_.value_, rhs_arena);
  1523. }
  1524. ::PROTOBUF_NAMESPACE_ID::Metadata StringValue::GetMetadata() const {
  1525. return ::_pbi::AssignDescriptors(
  1526. &descriptor_table_google_2fprotobuf_2fwrappers_2eproto_getter, &descriptor_table_google_2fprotobuf_2fwrappers_2eproto_once,
  1527. file_level_metadata_google_2fprotobuf_2fwrappers_2eproto[7]);
  1528. }
  1529. // ===================================================================
  1530. class BytesValue::_Internal {
  1531. public:
  1532. };
  1533. BytesValue::BytesValue(::PROTOBUF_NAMESPACE_ID::Arena* arena)
  1534. : ::PROTOBUF_NAMESPACE_ID::Message(arena) {
  1535. SharedCtor(arena);
  1536. // @@protoc_insertion_point(arena_constructor:google.protobuf.BytesValue)
  1537. }
  1538. BytesValue::BytesValue(const BytesValue& from)
  1539. : ::PROTOBUF_NAMESPACE_ID::Message() {
  1540. BytesValue* const _this = this; (void)_this;
  1541. new (&_impl_) Impl_{
  1542. decltype(_impl_.value_) {}
  1543. , /*decltype(_impl_._cached_size_)*/{}};
  1544. _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
  1545. _impl_.value_.InitDefault();
  1546. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  1547. _impl_.value_.Set("", GetArenaForAllocation());
  1548. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  1549. if (!from._internal_value().empty()) {
  1550. _this->_impl_.value_.Set(from._internal_value(), _this->GetArenaForAllocation());
  1551. }
  1552. // @@protoc_insertion_point(copy_constructor:google.protobuf.BytesValue)
  1553. }
  1554. inline void BytesValue::SharedCtor(::_pb::Arena* arena) {
  1555. (void)arena;
  1556. new (&_impl_) Impl_{
  1557. decltype(_impl_.value_) {}
  1558. , /*decltype(_impl_._cached_size_)*/{}
  1559. };
  1560. _impl_.value_.InitDefault();
  1561. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  1562. _impl_.value_.Set("", GetArenaForAllocation());
  1563. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  1564. }
  1565. BytesValue::~BytesValue() {
  1566. // @@protoc_insertion_point(destructor:google.protobuf.BytesValue)
  1567. if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
  1568. (void)arena;
  1569. return;
  1570. }
  1571. SharedDtor();
  1572. }
  1573. inline void BytesValue::SharedDtor() {
  1574. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  1575. _impl_.value_.Destroy();
  1576. }
  1577. void BytesValue::SetCachedSize(int size) const {
  1578. _impl_._cached_size_.Set(size);
  1579. }
  1580. void BytesValue::Clear() {
  1581. // @@protoc_insertion_point(message_clear_start:google.protobuf.BytesValue)
  1582. ::uint32_t cached_has_bits = 0;
  1583. // Prevent compiler warnings about cached_has_bits being unused
  1584. (void) cached_has_bits;
  1585. _impl_.value_.ClearToEmpty();
  1586. _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
  1587. }
  1588. const char* BytesValue::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
  1589. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  1590. while (!ctx->Done(&ptr)) {
  1591. ::uint32_t tag;
  1592. ptr = ::_pbi::ReadTag(ptr, &tag);
  1593. switch (tag >> 3) {
  1594. // bytes value = 1;
  1595. case 1:
  1596. if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
  1597. auto str = _internal_mutable_value();
  1598. ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
  1599. CHK_(ptr);
  1600. } else {
  1601. goto handle_unusual;
  1602. }
  1603. continue;
  1604. default:
  1605. goto handle_unusual;
  1606. } // switch
  1607. handle_unusual:
  1608. if ((tag == 0) || ((tag & 7) == 4)) {
  1609. CHK_(ptr);
  1610. ctx->SetLastTag(tag);
  1611. goto message_done;
  1612. }
  1613. ptr = UnknownFieldParse(
  1614. tag,
  1615. _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
  1616. ptr, ctx);
  1617. CHK_(ptr != nullptr);
  1618. } // while
  1619. message_done:
  1620. return ptr;
  1621. failure:
  1622. ptr = nullptr;
  1623. goto message_done;
  1624. #undef CHK_
  1625. }
  1626. ::uint8_t* BytesValue::_InternalSerialize(
  1627. ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  1628. // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.BytesValue)
  1629. ::uint32_t cached_has_bits = 0;
  1630. (void) cached_has_bits;
  1631. // bytes value = 1;
  1632. if (!this->_internal_value().empty()) {
  1633. const std::string& _s = this->_internal_value();
  1634. target = stream->WriteBytesMaybeAliased(1, _s, target);
  1635. }
  1636. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  1637. target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
  1638. _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
  1639. }
  1640. // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.BytesValue)
  1641. return target;
  1642. }
  1643. ::size_t BytesValue::ByteSizeLong() const {
  1644. // @@protoc_insertion_point(message_byte_size_start:google.protobuf.BytesValue)
  1645. ::size_t total_size = 0;
  1646. ::uint32_t cached_has_bits = 0;
  1647. // Prevent compiler warnings about cached_has_bits being unused
  1648. (void) cached_has_bits;
  1649. // bytes value = 1;
  1650. if (!this->_internal_value().empty()) {
  1651. total_size += 1 + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize(
  1652. this->_internal_value());
  1653. }
  1654. return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
  1655. }
  1656. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData BytesValue::_class_data_ = {
  1657. ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
  1658. BytesValue::MergeImpl
  1659. };
  1660. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*BytesValue::GetClassData() const { return &_class_data_; }
  1661. void BytesValue::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
  1662. auto* const _this = static_cast<BytesValue*>(&to_msg);
  1663. auto& from = static_cast<const BytesValue&>(from_msg);
  1664. // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.BytesValue)
  1665. ABSL_DCHECK_NE(&from, _this);
  1666. ::uint32_t cached_has_bits = 0;
  1667. (void) cached_has_bits;
  1668. if (!from._internal_value().empty()) {
  1669. _this->_internal_set_value(from._internal_value());
  1670. }
  1671. _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
  1672. }
  1673. void BytesValue::CopyFrom(const BytesValue& from) {
  1674. // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.BytesValue)
  1675. if (&from == this) return;
  1676. Clear();
  1677. MergeFrom(from);
  1678. }
  1679. bool BytesValue::IsInitialized() const {
  1680. return true;
  1681. }
  1682. void BytesValue::InternalSwap(BytesValue* other) {
  1683. using std::swap;
  1684. auto* lhs_arena = GetArenaForAllocation();
  1685. auto* rhs_arena = other->GetArenaForAllocation();
  1686. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  1687. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.value_, lhs_arena,
  1688. &other->_impl_.value_, rhs_arena);
  1689. }
  1690. ::PROTOBUF_NAMESPACE_ID::Metadata BytesValue::GetMetadata() const {
  1691. return ::_pbi::AssignDescriptors(
  1692. &descriptor_table_google_2fprotobuf_2fwrappers_2eproto_getter, &descriptor_table_google_2fprotobuf_2fwrappers_2eproto_once,
  1693. file_level_metadata_google_2fprotobuf_2fwrappers_2eproto[8]);
  1694. }
  1695. // @@protoc_insertion_point(namespace_scope)
  1696. PROTOBUF_NAMESPACE_CLOSE
  1697. PROTOBUF_NAMESPACE_OPEN
  1698. template<> PROTOBUF_NOINLINE ::PROTOBUF_NAMESPACE_ID::DoubleValue*
  1699. Arena::CreateMaybeMessage< ::PROTOBUF_NAMESPACE_ID::DoubleValue >(Arena* arena) {
  1700. return Arena::CreateMessageInternal< ::PROTOBUF_NAMESPACE_ID::DoubleValue >(arena);
  1701. }
  1702. template<> PROTOBUF_NOINLINE ::PROTOBUF_NAMESPACE_ID::FloatValue*
  1703. Arena::CreateMaybeMessage< ::PROTOBUF_NAMESPACE_ID::FloatValue >(Arena* arena) {
  1704. return Arena::CreateMessageInternal< ::PROTOBUF_NAMESPACE_ID::FloatValue >(arena);
  1705. }
  1706. template<> PROTOBUF_NOINLINE ::PROTOBUF_NAMESPACE_ID::Int64Value*
  1707. Arena::CreateMaybeMessage< ::PROTOBUF_NAMESPACE_ID::Int64Value >(Arena* arena) {
  1708. return Arena::CreateMessageInternal< ::PROTOBUF_NAMESPACE_ID::Int64Value >(arena);
  1709. }
  1710. template<> PROTOBUF_NOINLINE ::PROTOBUF_NAMESPACE_ID::UInt64Value*
  1711. Arena::CreateMaybeMessage< ::PROTOBUF_NAMESPACE_ID::UInt64Value >(Arena* arena) {
  1712. return Arena::CreateMessageInternal< ::PROTOBUF_NAMESPACE_ID::UInt64Value >(arena);
  1713. }
  1714. template<> PROTOBUF_NOINLINE ::PROTOBUF_NAMESPACE_ID::Int32Value*
  1715. Arena::CreateMaybeMessage< ::PROTOBUF_NAMESPACE_ID::Int32Value >(Arena* arena) {
  1716. return Arena::CreateMessageInternal< ::PROTOBUF_NAMESPACE_ID::Int32Value >(arena);
  1717. }
  1718. template<> PROTOBUF_NOINLINE ::PROTOBUF_NAMESPACE_ID::UInt32Value*
  1719. Arena::CreateMaybeMessage< ::PROTOBUF_NAMESPACE_ID::UInt32Value >(Arena* arena) {
  1720. return Arena::CreateMessageInternal< ::PROTOBUF_NAMESPACE_ID::UInt32Value >(arena);
  1721. }
  1722. template<> PROTOBUF_NOINLINE ::PROTOBUF_NAMESPACE_ID::BoolValue*
  1723. Arena::CreateMaybeMessage< ::PROTOBUF_NAMESPACE_ID::BoolValue >(Arena* arena) {
  1724. return Arena::CreateMessageInternal< ::PROTOBUF_NAMESPACE_ID::BoolValue >(arena);
  1725. }
  1726. template<> PROTOBUF_NOINLINE ::PROTOBUF_NAMESPACE_ID::StringValue*
  1727. Arena::CreateMaybeMessage< ::PROTOBUF_NAMESPACE_ID::StringValue >(Arena* arena) {
  1728. return Arena::CreateMessageInternal< ::PROTOBUF_NAMESPACE_ID::StringValue >(arena);
  1729. }
  1730. template<> PROTOBUF_NOINLINE ::PROTOBUF_NAMESPACE_ID::BytesValue*
  1731. Arena::CreateMaybeMessage< ::PROTOBUF_NAMESPACE_ID::BytesValue >(Arena* arena) {
  1732. return Arena::CreateMessageInternal< ::PROTOBUF_NAMESPACE_ID::BytesValue >(arena);
  1733. }
  1734. PROTOBUF_NAMESPACE_CLOSE
  1735. // @@protoc_insertion_point(global_scope)
  1736. #include "google/protobuf/port_undef.inc"