PostLAMessages.pb.cc 47 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: PostLAMessages.proto
  3. #include "PostLAMessages.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. #include <google/protobuf/port_def.inc>
  14. extern PROTOBUF_INTERNAL_EXPORT_PostLAMessages_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_ciphertext_client_data_field_PostLAMessages_2eproto;
  15. class ciphertext_client_data_fieldDefaultTypeInternal {
  16. public:
  17. ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<ciphertext_client_data_field> _instance;
  18. } _ciphertext_client_data_field_default_instance_;
  19. class extension_to_decryptor_enclosed_msgDefaultTypeInternal {
  20. public:
  21. ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<extension_to_decryptor_enclosed_msg> _instance;
  22. } _extension_to_decryptor_enclosed_msg_default_instance_;
  23. class extension_to_decryptor_ciphertext_msgDefaultTypeInternal {
  24. public:
  25. ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<extension_to_decryptor_ciphertext_msg> _instance;
  26. } _extension_to_decryptor_ciphertext_msg_default_instance_;
  27. class decryptor_to_extension_msg_tDefaultTypeInternal {
  28. public:
  29. ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<decryptor_to_extension_msg_t> _instance;
  30. } _decryptor_to_extension_msg_t_default_instance_;
  31. static void InitDefaultsscc_info_ciphertext_client_data_field_PostLAMessages_2eproto() {
  32. GOOGLE_PROTOBUF_VERIFY_VERSION;
  33. {
  34. void* ptr = &::_ciphertext_client_data_field_default_instance_;
  35. new (ptr) ::ciphertext_client_data_field();
  36. ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
  37. }
  38. ::ciphertext_client_data_field::InitAsDefaultInstance();
  39. }
  40. ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_ciphertext_client_data_field_PostLAMessages_2eproto =
  41. {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsscc_info_ciphertext_client_data_field_PostLAMessages_2eproto}, {}};
  42. static void InitDefaultsscc_info_decryptor_to_extension_msg_t_PostLAMessages_2eproto() {
  43. GOOGLE_PROTOBUF_VERIFY_VERSION;
  44. {
  45. void* ptr = &::_decryptor_to_extension_msg_t_default_instance_;
  46. new (ptr) ::decryptor_to_extension_msg_t();
  47. ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
  48. }
  49. ::decryptor_to_extension_msg_t::InitAsDefaultInstance();
  50. }
  51. ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_decryptor_to_extension_msg_t_PostLAMessages_2eproto =
  52. {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsscc_info_decryptor_to_extension_msg_t_PostLAMessages_2eproto}, {
  53. &scc_info_ciphertext_client_data_field_PostLAMessages_2eproto.base,}};
  54. static void InitDefaultsscc_info_extension_to_decryptor_ciphertext_msg_PostLAMessages_2eproto() {
  55. GOOGLE_PROTOBUF_VERIFY_VERSION;
  56. {
  57. void* ptr = &::_extension_to_decryptor_ciphertext_msg_default_instance_;
  58. new (ptr) ::extension_to_decryptor_ciphertext_msg();
  59. ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
  60. }
  61. ::extension_to_decryptor_ciphertext_msg::InitAsDefaultInstance();
  62. }
  63. ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_extension_to_decryptor_ciphertext_msg_PostLAMessages_2eproto =
  64. {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsscc_info_extension_to_decryptor_ciphertext_msg_PostLAMessages_2eproto}, {}};
  65. static void InitDefaultsscc_info_extension_to_decryptor_enclosed_msg_PostLAMessages_2eproto() {
  66. GOOGLE_PROTOBUF_VERIFY_VERSION;
  67. {
  68. void* ptr = &::_extension_to_decryptor_enclosed_msg_default_instance_;
  69. new (ptr) ::extension_to_decryptor_enclosed_msg();
  70. ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
  71. }
  72. ::extension_to_decryptor_enclosed_msg::InitAsDefaultInstance();
  73. }
  74. ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_extension_to_decryptor_enclosed_msg_PostLAMessages_2eproto =
  75. {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsscc_info_extension_to_decryptor_enclosed_msg_PostLAMessages_2eproto}, {
  76. &scc_info_ciphertext_client_data_field_PostLAMessages_2eproto.base,}};
  77. static ::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_PostLAMessages_2eproto[4];
  78. static constexpr ::PROTOBUF_NAMESPACE_ID::EnumDescriptor const** file_level_enum_descriptors_PostLAMessages_2eproto = nullptr;
  79. static constexpr ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor const** file_level_service_descriptors_PostLAMessages_2eproto = nullptr;
  80. const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_PostLAMessages_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
  81. ~0u, // no _has_bits_
  82. PROTOBUF_FIELD_OFFSET(::ciphertext_client_data_field, _internal_metadata_),
  83. ~0u, // no _extensions_
  84. ~0u, // no _oneof_case_
  85. ~0u, // no _weak_field_map_
  86. PROTOBUF_FIELD_OFFSET(::ciphertext_client_data_field, bytes_),
  87. ~0u, // no _has_bits_
  88. PROTOBUF_FIELD_OFFSET(::extension_to_decryptor_enclosed_msg, _internal_metadata_),
  89. ~0u, // no _extensions_
  90. ~0u, // no _oneof_case_
  91. ~0u, // no _weak_field_map_
  92. PROTOBUF_FIELD_OFFSET(::extension_to_decryptor_enclosed_msg, ciphertext_client_public_key_),
  93. PROTOBUF_FIELD_OFFSET(::extension_to_decryptor_enclosed_msg, ciphertext_fields_),
  94. ~0u, // no _has_bits_
  95. PROTOBUF_FIELD_OFFSET(::extension_to_decryptor_ciphertext_msg, _internal_metadata_),
  96. ~0u, // no _extensions_
  97. ~0u, // no _oneof_case_
  98. ~0u, // no _weak_field_map_
  99. PROTOBUF_FIELD_OFFSET(::extension_to_decryptor_ciphertext_msg, bytes_),
  100. ~0u, // no _has_bits_
  101. PROTOBUF_FIELD_OFFSET(::decryptor_to_extension_msg_t, _internal_metadata_),
  102. ~0u, // no _extensions_
  103. ~0u, // no _oneof_case_
  104. ~0u, // no _weak_field_map_
  105. PROTOBUF_FIELD_OFFSET(::decryptor_to_extension_msg_t, ciphertext_fields_),
  106. };
  107. static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
  108. { 0, -1, sizeof(::ciphertext_client_data_field)},
  109. { 6, -1, sizeof(::extension_to_decryptor_enclosed_msg)},
  110. { 13, -1, sizeof(::extension_to_decryptor_ciphertext_msg)},
  111. { 19, -1, sizeof(::decryptor_to_extension_msg_t)},
  112. };
  113. static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = {
  114. reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::_ciphertext_client_data_field_default_instance_),
  115. reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::_extension_to_decryptor_enclosed_msg_default_instance_),
  116. reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::_extension_to_decryptor_ciphertext_msg_default_instance_),
  117. reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::_decryptor_to_extension_msg_t_default_instance_),
  118. };
  119. const char descriptor_table_protodef_PostLAMessages_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) =
  120. "\n\024PostLAMessages.proto\"-\n\034ciphertext_cli"
  121. "ent_data_field\022\r\n\005bytes\030\001 \003(\014\"\205\001\n#extens"
  122. "ion_to_decryptor_enclosed_msg\022$\n\034ciphert"
  123. "ext_client_public_key\030\001 \003(\014\0228\n\021ciphertex"
  124. "t_fields\030\002 \003(\0132\035.ciphertext_client_data_"
  125. "field\"6\n%extension_to_decryptor_cipherte"
  126. "xt_msg\022\r\n\005bytes\030\001 \003(\014\"X\n\034decryptor_to_ex"
  127. "tension_msg_t\0228\n\021ciphertext_fields\030\001 \003(\013"
  128. "2\035.ciphertext_client_data_fieldb\006proto3"
  129. ;
  130. static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_PostLAMessages_2eproto_deps[1] = {
  131. };
  132. static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_PostLAMessages_2eproto_sccs[4] = {
  133. &scc_info_ciphertext_client_data_field_PostLAMessages_2eproto.base,
  134. &scc_info_decryptor_to_extension_msg_t_PostLAMessages_2eproto.base,
  135. &scc_info_extension_to_decryptor_ciphertext_msg_PostLAMessages_2eproto.base,
  136. &scc_info_extension_to_decryptor_enclosed_msg_PostLAMessages_2eproto.base,
  137. };
  138. static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_PostLAMessages_2eproto_once;
  139. static bool descriptor_table_PostLAMessages_2eproto_initialized = false;
  140. const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_PostLAMessages_2eproto = {
  141. &descriptor_table_PostLAMessages_2eproto_initialized, descriptor_table_protodef_PostLAMessages_2eproto, "PostLAMessages.proto", 359,
  142. &descriptor_table_PostLAMessages_2eproto_once, descriptor_table_PostLAMessages_2eproto_sccs, descriptor_table_PostLAMessages_2eproto_deps, 4, 0,
  143. schemas, file_default_instances, TableStruct_PostLAMessages_2eproto::offsets,
  144. file_level_metadata_PostLAMessages_2eproto, 4, file_level_enum_descriptors_PostLAMessages_2eproto, file_level_service_descriptors_PostLAMessages_2eproto,
  145. };
  146. // Force running AddDescriptors() at dynamic initialization time.
  147. static bool dynamic_init_dummy_PostLAMessages_2eproto = ( ::PROTOBUF_NAMESPACE_ID::internal::AddDescriptors(&descriptor_table_PostLAMessages_2eproto), true);
  148. // ===================================================================
  149. void ciphertext_client_data_field::InitAsDefaultInstance() {
  150. }
  151. class ciphertext_client_data_field::_Internal {
  152. public:
  153. };
  154. ciphertext_client_data_field::ciphertext_client_data_field()
  155. : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) {
  156. SharedCtor();
  157. // @@protoc_insertion_point(constructor:ciphertext_client_data_field)
  158. }
  159. ciphertext_client_data_field::ciphertext_client_data_field(const ciphertext_client_data_field& from)
  160. : ::PROTOBUF_NAMESPACE_ID::Message(),
  161. _internal_metadata_(nullptr),
  162. bytes_(from.bytes_) {
  163. _internal_metadata_.MergeFrom(from._internal_metadata_);
  164. // @@protoc_insertion_point(copy_constructor:ciphertext_client_data_field)
  165. }
  166. void ciphertext_client_data_field::SharedCtor() {
  167. ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_ciphertext_client_data_field_PostLAMessages_2eproto.base);
  168. }
  169. ciphertext_client_data_field::~ciphertext_client_data_field() {
  170. // @@protoc_insertion_point(destructor:ciphertext_client_data_field)
  171. SharedDtor();
  172. }
  173. void ciphertext_client_data_field::SharedDtor() {
  174. }
  175. void ciphertext_client_data_field::SetCachedSize(int size) const {
  176. _cached_size_.Set(size);
  177. }
  178. const ciphertext_client_data_field& ciphertext_client_data_field::default_instance() {
  179. ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_ciphertext_client_data_field_PostLAMessages_2eproto.base);
  180. return *internal_default_instance();
  181. }
  182. void ciphertext_client_data_field::Clear() {
  183. // @@protoc_insertion_point(message_clear_start:ciphertext_client_data_field)
  184. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  185. // Prevent compiler warnings about cached_has_bits being unused
  186. (void) cached_has_bits;
  187. bytes_.Clear();
  188. _internal_metadata_.Clear();
  189. }
  190. #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
  191. const char* ciphertext_client_data_field::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
  192. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  193. while (!ctx->Done(&ptr)) {
  194. ::PROTOBUF_NAMESPACE_ID::uint32 tag;
  195. ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
  196. CHK_(ptr);
  197. switch (tag >> 3) {
  198. // repeated bytes bytes = 1;
  199. case 1:
  200. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
  201. ptr -= 1;
  202. do {
  203. ptr += 1;
  204. ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(add_bytes(), ptr, ctx);
  205. CHK_(ptr);
  206. if (!ctx->DataAvailable(ptr)) break;
  207. } while (::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<::PROTOBUF_NAMESPACE_ID::uint8>(ptr) == 10);
  208. } else goto handle_unusual;
  209. continue;
  210. default: {
  211. handle_unusual:
  212. if ((tag & 7) == 4 || tag == 0) {
  213. ctx->SetLastTag(tag);
  214. goto success;
  215. }
  216. ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx);
  217. CHK_(ptr != nullptr);
  218. continue;
  219. }
  220. } // switch
  221. } // while
  222. success:
  223. return ptr;
  224. failure:
  225. ptr = nullptr;
  226. goto success;
  227. #undef CHK_
  228. }
  229. #else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
  230. bool ciphertext_client_data_field::MergePartialFromCodedStream(
  231. ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) {
  232. #define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure
  233. ::PROTOBUF_NAMESPACE_ID::uint32 tag;
  234. // @@protoc_insertion_point(parse_start:ciphertext_client_data_field)
  235. for (;;) {
  236. ::std::pair<::PROTOBUF_NAMESPACE_ID::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
  237. tag = p.first;
  238. if (!p.second) goto handle_unusual;
  239. switch (::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  240. // repeated bytes bytes = 1;
  241. case 1: {
  242. if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (10 & 0xFF)) {
  243. DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadBytes(
  244. input, this->add_bytes()));
  245. } else {
  246. goto handle_unusual;
  247. }
  248. break;
  249. }
  250. default: {
  251. handle_unusual:
  252. if (tag == 0) {
  253. goto success;
  254. }
  255. DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SkipField(
  256. input, tag, _internal_metadata_.mutable_unknown_fields()));
  257. break;
  258. }
  259. }
  260. }
  261. success:
  262. // @@protoc_insertion_point(parse_success:ciphertext_client_data_field)
  263. return true;
  264. failure:
  265. // @@protoc_insertion_point(parse_failure:ciphertext_client_data_field)
  266. return false;
  267. #undef DO_
  268. }
  269. #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
  270. ::PROTOBUF_NAMESPACE_ID::uint8* ciphertext_client_data_field::InternalSerializeWithCachedSizesToArray(
  271. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  272. // @@protoc_insertion_point(serialize_to_array_start:ciphertext_client_data_field)
  273. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  274. (void) cached_has_bits;
  275. // repeated bytes bytes = 1;
  276. for (auto it = this->bytes().pointer_begin(),
  277. end = this->bytes().pointer_end(); it < end; ++it) {
  278. const auto& s = **it;
  279. target = stream->WriteBytes(1, s, target);
  280. }
  281. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  282. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
  283. _internal_metadata_.unknown_fields(), target, stream);
  284. }
  285. // @@protoc_insertion_point(serialize_to_array_end:ciphertext_client_data_field)
  286. return target;
  287. }
  288. size_t ciphertext_client_data_field::ByteSizeLong() const {
  289. // @@protoc_insertion_point(message_byte_size_start:ciphertext_client_data_field)
  290. size_t total_size = 0;
  291. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  292. // Prevent compiler warnings about cached_has_bits being unused
  293. (void) cached_has_bits;
  294. // repeated bytes bytes = 1;
  295. total_size += 1 *
  296. ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->bytes_size());
  297. for (int i = 0, n = this->bytes_size(); i < n; i++) {
  298. total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize(
  299. this->bytes(i));
  300. }
  301. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  302. return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
  303. _internal_metadata_, total_size, &_cached_size_);
  304. }
  305. int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
  306. SetCachedSize(cached_size);
  307. return total_size;
  308. }
  309. void ciphertext_client_data_field::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
  310. // @@protoc_insertion_point(generalized_merge_from_start:ciphertext_client_data_field)
  311. GOOGLE_DCHECK_NE(&from, this);
  312. const ciphertext_client_data_field* source =
  313. ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<ciphertext_client_data_field>(
  314. &from);
  315. if (source == nullptr) {
  316. // @@protoc_insertion_point(generalized_merge_from_cast_fail:ciphertext_client_data_field)
  317. ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
  318. } else {
  319. // @@protoc_insertion_point(generalized_merge_from_cast_success:ciphertext_client_data_field)
  320. MergeFrom(*source);
  321. }
  322. }
  323. void ciphertext_client_data_field::MergeFrom(const ciphertext_client_data_field& from) {
  324. // @@protoc_insertion_point(class_specific_merge_from_start:ciphertext_client_data_field)
  325. GOOGLE_DCHECK_NE(&from, this);
  326. _internal_metadata_.MergeFrom(from._internal_metadata_);
  327. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  328. (void) cached_has_bits;
  329. bytes_.MergeFrom(from.bytes_);
  330. }
  331. void ciphertext_client_data_field::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
  332. // @@protoc_insertion_point(generalized_copy_from_start:ciphertext_client_data_field)
  333. if (&from == this) return;
  334. Clear();
  335. MergeFrom(from);
  336. }
  337. void ciphertext_client_data_field::CopyFrom(const ciphertext_client_data_field& from) {
  338. // @@protoc_insertion_point(class_specific_copy_from_start:ciphertext_client_data_field)
  339. if (&from == this) return;
  340. Clear();
  341. MergeFrom(from);
  342. }
  343. bool ciphertext_client_data_field::IsInitialized() const {
  344. return true;
  345. }
  346. void ciphertext_client_data_field::InternalSwap(ciphertext_client_data_field* other) {
  347. using std::swap;
  348. _internal_metadata_.Swap(&other->_internal_metadata_);
  349. bytes_.InternalSwap(CastToBase(&other->bytes_));
  350. }
  351. ::PROTOBUF_NAMESPACE_ID::Metadata ciphertext_client_data_field::GetMetadata() const {
  352. return GetMetadataStatic();
  353. }
  354. // ===================================================================
  355. void extension_to_decryptor_enclosed_msg::InitAsDefaultInstance() {
  356. }
  357. class extension_to_decryptor_enclosed_msg::_Internal {
  358. public:
  359. };
  360. extension_to_decryptor_enclosed_msg::extension_to_decryptor_enclosed_msg()
  361. : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) {
  362. SharedCtor();
  363. // @@protoc_insertion_point(constructor:extension_to_decryptor_enclosed_msg)
  364. }
  365. extension_to_decryptor_enclosed_msg::extension_to_decryptor_enclosed_msg(const extension_to_decryptor_enclosed_msg& from)
  366. : ::PROTOBUF_NAMESPACE_ID::Message(),
  367. _internal_metadata_(nullptr),
  368. ciphertext_client_public_key_(from.ciphertext_client_public_key_),
  369. ciphertext_fields_(from.ciphertext_fields_) {
  370. _internal_metadata_.MergeFrom(from._internal_metadata_);
  371. // @@protoc_insertion_point(copy_constructor:extension_to_decryptor_enclosed_msg)
  372. }
  373. void extension_to_decryptor_enclosed_msg::SharedCtor() {
  374. ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_extension_to_decryptor_enclosed_msg_PostLAMessages_2eproto.base);
  375. }
  376. extension_to_decryptor_enclosed_msg::~extension_to_decryptor_enclosed_msg() {
  377. // @@protoc_insertion_point(destructor:extension_to_decryptor_enclosed_msg)
  378. SharedDtor();
  379. }
  380. void extension_to_decryptor_enclosed_msg::SharedDtor() {
  381. }
  382. void extension_to_decryptor_enclosed_msg::SetCachedSize(int size) const {
  383. _cached_size_.Set(size);
  384. }
  385. const extension_to_decryptor_enclosed_msg& extension_to_decryptor_enclosed_msg::default_instance() {
  386. ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_extension_to_decryptor_enclosed_msg_PostLAMessages_2eproto.base);
  387. return *internal_default_instance();
  388. }
  389. void extension_to_decryptor_enclosed_msg::Clear() {
  390. // @@protoc_insertion_point(message_clear_start:extension_to_decryptor_enclosed_msg)
  391. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  392. // Prevent compiler warnings about cached_has_bits being unused
  393. (void) cached_has_bits;
  394. ciphertext_client_public_key_.Clear();
  395. ciphertext_fields_.Clear();
  396. _internal_metadata_.Clear();
  397. }
  398. #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
  399. const char* extension_to_decryptor_enclosed_msg::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
  400. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  401. while (!ctx->Done(&ptr)) {
  402. ::PROTOBUF_NAMESPACE_ID::uint32 tag;
  403. ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
  404. CHK_(ptr);
  405. switch (tag >> 3) {
  406. // repeated bytes ciphertext_client_public_key = 1;
  407. case 1:
  408. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
  409. ptr -= 1;
  410. do {
  411. ptr += 1;
  412. ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(add_ciphertext_client_public_key(), ptr, ctx);
  413. CHK_(ptr);
  414. if (!ctx->DataAvailable(ptr)) break;
  415. } while (::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<::PROTOBUF_NAMESPACE_ID::uint8>(ptr) == 10);
  416. } else goto handle_unusual;
  417. continue;
  418. // repeated .ciphertext_client_data_field ciphertext_fields = 2;
  419. case 2:
  420. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
  421. ptr -= 1;
  422. do {
  423. ptr += 1;
  424. ptr = ctx->ParseMessage(add_ciphertext_fields(), ptr);
  425. CHK_(ptr);
  426. if (!ctx->DataAvailable(ptr)) break;
  427. } while (::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<::PROTOBUF_NAMESPACE_ID::uint8>(ptr) == 18);
  428. } else goto handle_unusual;
  429. continue;
  430. default: {
  431. handle_unusual:
  432. if ((tag & 7) == 4 || tag == 0) {
  433. ctx->SetLastTag(tag);
  434. goto success;
  435. }
  436. ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx);
  437. CHK_(ptr != nullptr);
  438. continue;
  439. }
  440. } // switch
  441. } // while
  442. success:
  443. return ptr;
  444. failure:
  445. ptr = nullptr;
  446. goto success;
  447. #undef CHK_
  448. }
  449. #else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
  450. bool extension_to_decryptor_enclosed_msg::MergePartialFromCodedStream(
  451. ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) {
  452. #define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure
  453. ::PROTOBUF_NAMESPACE_ID::uint32 tag;
  454. // @@protoc_insertion_point(parse_start:extension_to_decryptor_enclosed_msg)
  455. for (;;) {
  456. ::std::pair<::PROTOBUF_NAMESPACE_ID::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
  457. tag = p.first;
  458. if (!p.second) goto handle_unusual;
  459. switch (::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  460. // repeated bytes ciphertext_client_public_key = 1;
  461. case 1: {
  462. if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (10 & 0xFF)) {
  463. DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadBytes(
  464. input, this->add_ciphertext_client_public_key()));
  465. } else {
  466. goto handle_unusual;
  467. }
  468. break;
  469. }
  470. // repeated .ciphertext_client_data_field ciphertext_fields = 2;
  471. case 2: {
  472. if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (18 & 0xFF)) {
  473. DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadMessage(
  474. input, add_ciphertext_fields()));
  475. } else {
  476. goto handle_unusual;
  477. }
  478. break;
  479. }
  480. default: {
  481. handle_unusual:
  482. if (tag == 0) {
  483. goto success;
  484. }
  485. DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SkipField(
  486. input, tag, _internal_metadata_.mutable_unknown_fields()));
  487. break;
  488. }
  489. }
  490. }
  491. success:
  492. // @@protoc_insertion_point(parse_success:extension_to_decryptor_enclosed_msg)
  493. return true;
  494. failure:
  495. // @@protoc_insertion_point(parse_failure:extension_to_decryptor_enclosed_msg)
  496. return false;
  497. #undef DO_
  498. }
  499. #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
  500. ::PROTOBUF_NAMESPACE_ID::uint8* extension_to_decryptor_enclosed_msg::InternalSerializeWithCachedSizesToArray(
  501. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  502. // @@protoc_insertion_point(serialize_to_array_start:extension_to_decryptor_enclosed_msg)
  503. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  504. (void) cached_has_bits;
  505. // repeated bytes ciphertext_client_public_key = 1;
  506. for (auto it = this->ciphertext_client_public_key().pointer_begin(),
  507. end = this->ciphertext_client_public_key().pointer_end(); it < end; ++it) {
  508. const auto& s = **it;
  509. target = stream->WriteBytes(1, s, target);
  510. }
  511. // repeated .ciphertext_client_data_field ciphertext_fields = 2;
  512. for (auto it = this->ciphertext_fields().pointer_begin(),
  513. end = this->ciphertext_fields().pointer_end(); it < end; ++it) {
  514. stream->EnsureSpace(&target);
  515. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  516. InternalWriteMessageToArray(2, **it, target, stream);
  517. }
  518. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  519. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
  520. _internal_metadata_.unknown_fields(), target, stream);
  521. }
  522. // @@protoc_insertion_point(serialize_to_array_end:extension_to_decryptor_enclosed_msg)
  523. return target;
  524. }
  525. size_t extension_to_decryptor_enclosed_msg::ByteSizeLong() const {
  526. // @@protoc_insertion_point(message_byte_size_start:extension_to_decryptor_enclosed_msg)
  527. size_t total_size = 0;
  528. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  529. // Prevent compiler warnings about cached_has_bits being unused
  530. (void) cached_has_bits;
  531. // repeated bytes ciphertext_client_public_key = 1;
  532. total_size += 1 *
  533. ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->ciphertext_client_public_key_size());
  534. for (int i = 0, n = this->ciphertext_client_public_key_size(); i < n; i++) {
  535. total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize(
  536. this->ciphertext_client_public_key(i));
  537. }
  538. // repeated .ciphertext_client_data_field ciphertext_fields = 2;
  539. {
  540. unsigned int count = static_cast<unsigned int>(this->ciphertext_fields_size());
  541. total_size += 1UL * count;
  542. for (unsigned int i = 0; i < count; i++) {
  543. total_size +=
  544. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  545. this->ciphertext_fields(static_cast<int>(i)));
  546. }
  547. }
  548. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  549. return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
  550. _internal_metadata_, total_size, &_cached_size_);
  551. }
  552. int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
  553. SetCachedSize(cached_size);
  554. return total_size;
  555. }
  556. void extension_to_decryptor_enclosed_msg::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
  557. // @@protoc_insertion_point(generalized_merge_from_start:extension_to_decryptor_enclosed_msg)
  558. GOOGLE_DCHECK_NE(&from, this);
  559. const extension_to_decryptor_enclosed_msg* source =
  560. ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<extension_to_decryptor_enclosed_msg>(
  561. &from);
  562. if (source == nullptr) {
  563. // @@protoc_insertion_point(generalized_merge_from_cast_fail:extension_to_decryptor_enclosed_msg)
  564. ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
  565. } else {
  566. // @@protoc_insertion_point(generalized_merge_from_cast_success:extension_to_decryptor_enclosed_msg)
  567. MergeFrom(*source);
  568. }
  569. }
  570. void extension_to_decryptor_enclosed_msg::MergeFrom(const extension_to_decryptor_enclosed_msg& from) {
  571. // @@protoc_insertion_point(class_specific_merge_from_start:extension_to_decryptor_enclosed_msg)
  572. GOOGLE_DCHECK_NE(&from, this);
  573. _internal_metadata_.MergeFrom(from._internal_metadata_);
  574. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  575. (void) cached_has_bits;
  576. ciphertext_client_public_key_.MergeFrom(from.ciphertext_client_public_key_);
  577. ciphertext_fields_.MergeFrom(from.ciphertext_fields_);
  578. }
  579. void extension_to_decryptor_enclosed_msg::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
  580. // @@protoc_insertion_point(generalized_copy_from_start:extension_to_decryptor_enclosed_msg)
  581. if (&from == this) return;
  582. Clear();
  583. MergeFrom(from);
  584. }
  585. void extension_to_decryptor_enclosed_msg::CopyFrom(const extension_to_decryptor_enclosed_msg& from) {
  586. // @@protoc_insertion_point(class_specific_copy_from_start:extension_to_decryptor_enclosed_msg)
  587. if (&from == this) return;
  588. Clear();
  589. MergeFrom(from);
  590. }
  591. bool extension_to_decryptor_enclosed_msg::IsInitialized() const {
  592. return true;
  593. }
  594. void extension_to_decryptor_enclosed_msg::InternalSwap(extension_to_decryptor_enclosed_msg* other) {
  595. using std::swap;
  596. _internal_metadata_.Swap(&other->_internal_metadata_);
  597. ciphertext_client_public_key_.InternalSwap(CastToBase(&other->ciphertext_client_public_key_));
  598. CastToBase(&ciphertext_fields_)->InternalSwap(CastToBase(&other->ciphertext_fields_));
  599. }
  600. ::PROTOBUF_NAMESPACE_ID::Metadata extension_to_decryptor_enclosed_msg::GetMetadata() const {
  601. return GetMetadataStatic();
  602. }
  603. // ===================================================================
  604. void extension_to_decryptor_ciphertext_msg::InitAsDefaultInstance() {
  605. }
  606. class extension_to_decryptor_ciphertext_msg::_Internal {
  607. public:
  608. };
  609. extension_to_decryptor_ciphertext_msg::extension_to_decryptor_ciphertext_msg()
  610. : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) {
  611. SharedCtor();
  612. // @@protoc_insertion_point(constructor:extension_to_decryptor_ciphertext_msg)
  613. }
  614. extension_to_decryptor_ciphertext_msg::extension_to_decryptor_ciphertext_msg(const extension_to_decryptor_ciphertext_msg& from)
  615. : ::PROTOBUF_NAMESPACE_ID::Message(),
  616. _internal_metadata_(nullptr),
  617. bytes_(from.bytes_) {
  618. _internal_metadata_.MergeFrom(from._internal_metadata_);
  619. // @@protoc_insertion_point(copy_constructor:extension_to_decryptor_ciphertext_msg)
  620. }
  621. void extension_to_decryptor_ciphertext_msg::SharedCtor() {
  622. ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_extension_to_decryptor_ciphertext_msg_PostLAMessages_2eproto.base);
  623. }
  624. extension_to_decryptor_ciphertext_msg::~extension_to_decryptor_ciphertext_msg() {
  625. // @@protoc_insertion_point(destructor:extension_to_decryptor_ciphertext_msg)
  626. SharedDtor();
  627. }
  628. void extension_to_decryptor_ciphertext_msg::SharedDtor() {
  629. }
  630. void extension_to_decryptor_ciphertext_msg::SetCachedSize(int size) const {
  631. _cached_size_.Set(size);
  632. }
  633. const extension_to_decryptor_ciphertext_msg& extension_to_decryptor_ciphertext_msg::default_instance() {
  634. ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_extension_to_decryptor_ciphertext_msg_PostLAMessages_2eproto.base);
  635. return *internal_default_instance();
  636. }
  637. void extension_to_decryptor_ciphertext_msg::Clear() {
  638. // @@protoc_insertion_point(message_clear_start:extension_to_decryptor_ciphertext_msg)
  639. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  640. // Prevent compiler warnings about cached_has_bits being unused
  641. (void) cached_has_bits;
  642. bytes_.Clear();
  643. _internal_metadata_.Clear();
  644. }
  645. #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
  646. const char* extension_to_decryptor_ciphertext_msg::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
  647. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  648. while (!ctx->Done(&ptr)) {
  649. ::PROTOBUF_NAMESPACE_ID::uint32 tag;
  650. ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
  651. CHK_(ptr);
  652. switch (tag >> 3) {
  653. // repeated bytes bytes = 1;
  654. case 1:
  655. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
  656. ptr -= 1;
  657. do {
  658. ptr += 1;
  659. ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(add_bytes(), ptr, ctx);
  660. CHK_(ptr);
  661. if (!ctx->DataAvailable(ptr)) break;
  662. } while (::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<::PROTOBUF_NAMESPACE_ID::uint8>(ptr) == 10);
  663. } else goto handle_unusual;
  664. continue;
  665. default: {
  666. handle_unusual:
  667. if ((tag & 7) == 4 || tag == 0) {
  668. ctx->SetLastTag(tag);
  669. goto success;
  670. }
  671. ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx);
  672. CHK_(ptr != nullptr);
  673. continue;
  674. }
  675. } // switch
  676. } // while
  677. success:
  678. return ptr;
  679. failure:
  680. ptr = nullptr;
  681. goto success;
  682. #undef CHK_
  683. }
  684. #else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
  685. bool extension_to_decryptor_ciphertext_msg::MergePartialFromCodedStream(
  686. ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) {
  687. #define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure
  688. ::PROTOBUF_NAMESPACE_ID::uint32 tag;
  689. // @@protoc_insertion_point(parse_start:extension_to_decryptor_ciphertext_msg)
  690. for (;;) {
  691. ::std::pair<::PROTOBUF_NAMESPACE_ID::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
  692. tag = p.first;
  693. if (!p.second) goto handle_unusual;
  694. switch (::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  695. // repeated bytes bytes = 1;
  696. case 1: {
  697. if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (10 & 0xFF)) {
  698. DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadBytes(
  699. input, this->add_bytes()));
  700. } else {
  701. goto handle_unusual;
  702. }
  703. break;
  704. }
  705. default: {
  706. handle_unusual:
  707. if (tag == 0) {
  708. goto success;
  709. }
  710. DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SkipField(
  711. input, tag, _internal_metadata_.mutable_unknown_fields()));
  712. break;
  713. }
  714. }
  715. }
  716. success:
  717. // @@protoc_insertion_point(parse_success:extension_to_decryptor_ciphertext_msg)
  718. return true;
  719. failure:
  720. // @@protoc_insertion_point(parse_failure:extension_to_decryptor_ciphertext_msg)
  721. return false;
  722. #undef DO_
  723. }
  724. #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
  725. ::PROTOBUF_NAMESPACE_ID::uint8* extension_to_decryptor_ciphertext_msg::InternalSerializeWithCachedSizesToArray(
  726. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  727. // @@protoc_insertion_point(serialize_to_array_start:extension_to_decryptor_ciphertext_msg)
  728. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  729. (void) cached_has_bits;
  730. // repeated bytes bytes = 1;
  731. for (auto it = this->bytes().pointer_begin(),
  732. end = this->bytes().pointer_end(); it < end; ++it) {
  733. const auto& s = **it;
  734. target = stream->WriteBytes(1, s, target);
  735. }
  736. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  737. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
  738. _internal_metadata_.unknown_fields(), target, stream);
  739. }
  740. // @@protoc_insertion_point(serialize_to_array_end:extension_to_decryptor_ciphertext_msg)
  741. return target;
  742. }
  743. size_t extension_to_decryptor_ciphertext_msg::ByteSizeLong() const {
  744. // @@protoc_insertion_point(message_byte_size_start:extension_to_decryptor_ciphertext_msg)
  745. size_t total_size = 0;
  746. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  747. // Prevent compiler warnings about cached_has_bits being unused
  748. (void) cached_has_bits;
  749. // repeated bytes bytes = 1;
  750. total_size += 1 *
  751. ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->bytes_size());
  752. for (int i = 0, n = this->bytes_size(); i < n; i++) {
  753. total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize(
  754. this->bytes(i));
  755. }
  756. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  757. return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
  758. _internal_metadata_, total_size, &_cached_size_);
  759. }
  760. int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
  761. SetCachedSize(cached_size);
  762. return total_size;
  763. }
  764. void extension_to_decryptor_ciphertext_msg::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
  765. // @@protoc_insertion_point(generalized_merge_from_start:extension_to_decryptor_ciphertext_msg)
  766. GOOGLE_DCHECK_NE(&from, this);
  767. const extension_to_decryptor_ciphertext_msg* source =
  768. ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<extension_to_decryptor_ciphertext_msg>(
  769. &from);
  770. if (source == nullptr) {
  771. // @@protoc_insertion_point(generalized_merge_from_cast_fail:extension_to_decryptor_ciphertext_msg)
  772. ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
  773. } else {
  774. // @@protoc_insertion_point(generalized_merge_from_cast_success:extension_to_decryptor_ciphertext_msg)
  775. MergeFrom(*source);
  776. }
  777. }
  778. void extension_to_decryptor_ciphertext_msg::MergeFrom(const extension_to_decryptor_ciphertext_msg& from) {
  779. // @@protoc_insertion_point(class_specific_merge_from_start:extension_to_decryptor_ciphertext_msg)
  780. GOOGLE_DCHECK_NE(&from, this);
  781. _internal_metadata_.MergeFrom(from._internal_metadata_);
  782. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  783. (void) cached_has_bits;
  784. bytes_.MergeFrom(from.bytes_);
  785. }
  786. void extension_to_decryptor_ciphertext_msg::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
  787. // @@protoc_insertion_point(generalized_copy_from_start:extension_to_decryptor_ciphertext_msg)
  788. if (&from == this) return;
  789. Clear();
  790. MergeFrom(from);
  791. }
  792. void extension_to_decryptor_ciphertext_msg::CopyFrom(const extension_to_decryptor_ciphertext_msg& from) {
  793. // @@protoc_insertion_point(class_specific_copy_from_start:extension_to_decryptor_ciphertext_msg)
  794. if (&from == this) return;
  795. Clear();
  796. MergeFrom(from);
  797. }
  798. bool extension_to_decryptor_ciphertext_msg::IsInitialized() const {
  799. return true;
  800. }
  801. void extension_to_decryptor_ciphertext_msg::InternalSwap(extension_to_decryptor_ciphertext_msg* other) {
  802. using std::swap;
  803. _internal_metadata_.Swap(&other->_internal_metadata_);
  804. bytes_.InternalSwap(CastToBase(&other->bytes_));
  805. }
  806. ::PROTOBUF_NAMESPACE_ID::Metadata extension_to_decryptor_ciphertext_msg::GetMetadata() const {
  807. return GetMetadataStatic();
  808. }
  809. // ===================================================================
  810. void decryptor_to_extension_msg_t::InitAsDefaultInstance() {
  811. }
  812. class decryptor_to_extension_msg_t::_Internal {
  813. public:
  814. };
  815. decryptor_to_extension_msg_t::decryptor_to_extension_msg_t()
  816. : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) {
  817. SharedCtor();
  818. // @@protoc_insertion_point(constructor:decryptor_to_extension_msg_t)
  819. }
  820. decryptor_to_extension_msg_t::decryptor_to_extension_msg_t(const decryptor_to_extension_msg_t& from)
  821. : ::PROTOBUF_NAMESPACE_ID::Message(),
  822. _internal_metadata_(nullptr),
  823. ciphertext_fields_(from.ciphertext_fields_) {
  824. _internal_metadata_.MergeFrom(from._internal_metadata_);
  825. // @@protoc_insertion_point(copy_constructor:decryptor_to_extension_msg_t)
  826. }
  827. void decryptor_to_extension_msg_t::SharedCtor() {
  828. ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_decryptor_to_extension_msg_t_PostLAMessages_2eproto.base);
  829. }
  830. decryptor_to_extension_msg_t::~decryptor_to_extension_msg_t() {
  831. // @@protoc_insertion_point(destructor:decryptor_to_extension_msg_t)
  832. SharedDtor();
  833. }
  834. void decryptor_to_extension_msg_t::SharedDtor() {
  835. }
  836. void decryptor_to_extension_msg_t::SetCachedSize(int size) const {
  837. _cached_size_.Set(size);
  838. }
  839. const decryptor_to_extension_msg_t& decryptor_to_extension_msg_t::default_instance() {
  840. ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_decryptor_to_extension_msg_t_PostLAMessages_2eproto.base);
  841. return *internal_default_instance();
  842. }
  843. void decryptor_to_extension_msg_t::Clear() {
  844. // @@protoc_insertion_point(message_clear_start:decryptor_to_extension_msg_t)
  845. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  846. // Prevent compiler warnings about cached_has_bits being unused
  847. (void) cached_has_bits;
  848. ciphertext_fields_.Clear();
  849. _internal_metadata_.Clear();
  850. }
  851. #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
  852. const char* decryptor_to_extension_msg_t::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
  853. #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
  854. while (!ctx->Done(&ptr)) {
  855. ::PROTOBUF_NAMESPACE_ID::uint32 tag;
  856. ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
  857. CHK_(ptr);
  858. switch (tag >> 3) {
  859. // repeated .ciphertext_client_data_field ciphertext_fields = 1;
  860. case 1:
  861. if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
  862. ptr -= 1;
  863. do {
  864. ptr += 1;
  865. ptr = ctx->ParseMessage(add_ciphertext_fields(), ptr);
  866. CHK_(ptr);
  867. if (!ctx->DataAvailable(ptr)) break;
  868. } while (::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<::PROTOBUF_NAMESPACE_ID::uint8>(ptr) == 10);
  869. } else goto handle_unusual;
  870. continue;
  871. default: {
  872. handle_unusual:
  873. if ((tag & 7) == 4 || tag == 0) {
  874. ctx->SetLastTag(tag);
  875. goto success;
  876. }
  877. ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx);
  878. CHK_(ptr != nullptr);
  879. continue;
  880. }
  881. } // switch
  882. } // while
  883. success:
  884. return ptr;
  885. failure:
  886. ptr = nullptr;
  887. goto success;
  888. #undef CHK_
  889. }
  890. #else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
  891. bool decryptor_to_extension_msg_t::MergePartialFromCodedStream(
  892. ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) {
  893. #define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure
  894. ::PROTOBUF_NAMESPACE_ID::uint32 tag;
  895. // @@protoc_insertion_point(parse_start:decryptor_to_extension_msg_t)
  896. for (;;) {
  897. ::std::pair<::PROTOBUF_NAMESPACE_ID::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
  898. tag = p.first;
  899. if (!p.second) goto handle_unusual;
  900. switch (::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  901. // repeated .ciphertext_client_data_field ciphertext_fields = 1;
  902. case 1: {
  903. if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (10 & 0xFF)) {
  904. DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadMessage(
  905. input, add_ciphertext_fields()));
  906. } else {
  907. goto handle_unusual;
  908. }
  909. break;
  910. }
  911. default: {
  912. handle_unusual:
  913. if (tag == 0) {
  914. goto success;
  915. }
  916. DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SkipField(
  917. input, tag, _internal_metadata_.mutable_unknown_fields()));
  918. break;
  919. }
  920. }
  921. }
  922. success:
  923. // @@protoc_insertion_point(parse_success:decryptor_to_extension_msg_t)
  924. return true;
  925. failure:
  926. // @@protoc_insertion_point(parse_failure:decryptor_to_extension_msg_t)
  927. return false;
  928. #undef DO_
  929. }
  930. #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
  931. ::PROTOBUF_NAMESPACE_ID::uint8* decryptor_to_extension_msg_t::InternalSerializeWithCachedSizesToArray(
  932. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
  933. // @@protoc_insertion_point(serialize_to_array_start:decryptor_to_extension_msg_t)
  934. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  935. (void) cached_has_bits;
  936. // repeated .ciphertext_client_data_field ciphertext_fields = 1;
  937. for (auto it = this->ciphertext_fields().pointer_begin(),
  938. end = this->ciphertext_fields().pointer_end(); it < end; ++it) {
  939. stream->EnsureSpace(&target);
  940. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
  941. InternalWriteMessageToArray(1, **it, target, stream);
  942. }
  943. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  944. target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
  945. _internal_metadata_.unknown_fields(), target, stream);
  946. }
  947. // @@protoc_insertion_point(serialize_to_array_end:decryptor_to_extension_msg_t)
  948. return target;
  949. }
  950. size_t decryptor_to_extension_msg_t::ByteSizeLong() const {
  951. // @@protoc_insertion_point(message_byte_size_start:decryptor_to_extension_msg_t)
  952. size_t total_size = 0;
  953. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  954. // Prevent compiler warnings about cached_has_bits being unused
  955. (void) cached_has_bits;
  956. // repeated .ciphertext_client_data_field ciphertext_fields = 1;
  957. {
  958. unsigned int count = static_cast<unsigned int>(this->ciphertext_fields_size());
  959. total_size += 1UL * count;
  960. for (unsigned int i = 0; i < count; i++) {
  961. total_size +=
  962. ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
  963. this->ciphertext_fields(static_cast<int>(i)));
  964. }
  965. }
  966. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  967. return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
  968. _internal_metadata_, total_size, &_cached_size_);
  969. }
  970. int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
  971. SetCachedSize(cached_size);
  972. return total_size;
  973. }
  974. void decryptor_to_extension_msg_t::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
  975. // @@protoc_insertion_point(generalized_merge_from_start:decryptor_to_extension_msg_t)
  976. GOOGLE_DCHECK_NE(&from, this);
  977. const decryptor_to_extension_msg_t* source =
  978. ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<decryptor_to_extension_msg_t>(
  979. &from);
  980. if (source == nullptr) {
  981. // @@protoc_insertion_point(generalized_merge_from_cast_fail:decryptor_to_extension_msg_t)
  982. ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
  983. } else {
  984. // @@protoc_insertion_point(generalized_merge_from_cast_success:decryptor_to_extension_msg_t)
  985. MergeFrom(*source);
  986. }
  987. }
  988. void decryptor_to_extension_msg_t::MergeFrom(const decryptor_to_extension_msg_t& from) {
  989. // @@protoc_insertion_point(class_specific_merge_from_start:decryptor_to_extension_msg_t)
  990. GOOGLE_DCHECK_NE(&from, this);
  991. _internal_metadata_.MergeFrom(from._internal_metadata_);
  992. ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
  993. (void) cached_has_bits;
  994. ciphertext_fields_.MergeFrom(from.ciphertext_fields_);
  995. }
  996. void decryptor_to_extension_msg_t::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
  997. // @@protoc_insertion_point(generalized_copy_from_start:decryptor_to_extension_msg_t)
  998. if (&from == this) return;
  999. Clear();
  1000. MergeFrom(from);
  1001. }
  1002. void decryptor_to_extension_msg_t::CopyFrom(const decryptor_to_extension_msg_t& from) {
  1003. // @@protoc_insertion_point(class_specific_copy_from_start:decryptor_to_extension_msg_t)
  1004. if (&from == this) return;
  1005. Clear();
  1006. MergeFrom(from);
  1007. }
  1008. bool decryptor_to_extension_msg_t::IsInitialized() const {
  1009. return true;
  1010. }
  1011. void decryptor_to_extension_msg_t::InternalSwap(decryptor_to_extension_msg_t* other) {
  1012. using std::swap;
  1013. _internal_metadata_.Swap(&other->_internal_metadata_);
  1014. CastToBase(&ciphertext_fields_)->InternalSwap(CastToBase(&other->ciphertext_fields_));
  1015. }
  1016. ::PROTOBUF_NAMESPACE_ID::Metadata decryptor_to_extension_msg_t::GetMetadata() const {
  1017. return GetMetadataStatic();
  1018. }
  1019. // @@protoc_insertion_point(namespace_scope)
  1020. PROTOBUF_NAMESPACE_OPEN
  1021. template<> PROTOBUF_NOINLINE ::ciphertext_client_data_field* Arena::CreateMaybeMessage< ::ciphertext_client_data_field >(Arena* arena) {
  1022. return Arena::CreateInternal< ::ciphertext_client_data_field >(arena);
  1023. }
  1024. template<> PROTOBUF_NOINLINE ::extension_to_decryptor_enclosed_msg* Arena::CreateMaybeMessage< ::extension_to_decryptor_enclosed_msg >(Arena* arena) {
  1025. return Arena::CreateInternal< ::extension_to_decryptor_enclosed_msg >(arena);
  1026. }
  1027. template<> PROTOBUF_NOINLINE ::extension_to_decryptor_ciphertext_msg* Arena::CreateMaybeMessage< ::extension_to_decryptor_ciphertext_msg >(Arena* arena) {
  1028. return Arena::CreateInternal< ::extension_to_decryptor_ciphertext_msg >(arena);
  1029. }
  1030. template<> PROTOBUF_NOINLINE ::decryptor_to_extension_msg_t* Arena::CreateMaybeMessage< ::decryptor_to_extension_msg_t >(Arena* arena) {
  1031. return Arena::CreateInternal< ::decryptor_to_extension_msg_t >(arena);
  1032. }
  1033. PROTOBUF_NAMESPACE_CLOSE
  1034. // @@protoc_insertion_point(global_scope)
  1035. #include <google/protobuf/port_undef.inc>