1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171 |
- // Generated by the protocol buffer compiler. DO NOT EDIT!
- // source: PostLAMessages.proto
- #include "PostLAMessages.pb.h"
- #include <algorithm>
- #include <google/protobuf/io/coded_stream.h>
- #include <google/protobuf/extension_set.h>
- #include <google/protobuf/wire_format_lite.h>
- #include <google/protobuf/descriptor.h>
- #include <google/protobuf/generated_message_reflection.h>
- #include <google/protobuf/reflection_ops.h>
- #include <google/protobuf/wire_format.h>
- // @@protoc_insertion_point(includes)
- #include <google/protobuf/port_def.inc>
- extern PROTOBUF_INTERNAL_EXPORT_PostLAMessages_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_ciphertext_client_data_field_PostLAMessages_2eproto;
- class ciphertext_client_data_fieldDefaultTypeInternal {
- public:
- ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<ciphertext_client_data_field> _instance;
- } _ciphertext_client_data_field_default_instance_;
- class extension_to_decryptor_enclosed_msgDefaultTypeInternal {
- public:
- ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<extension_to_decryptor_enclosed_msg> _instance;
- } _extension_to_decryptor_enclosed_msg_default_instance_;
- class extension_to_decryptor_ciphertext_msgDefaultTypeInternal {
- public:
- ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<extension_to_decryptor_ciphertext_msg> _instance;
- } _extension_to_decryptor_ciphertext_msg_default_instance_;
- class decryptor_to_extension_msg_tDefaultTypeInternal {
- public:
- ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<decryptor_to_extension_msg_t> _instance;
- } _decryptor_to_extension_msg_t_default_instance_;
- static void InitDefaultsscc_info_ciphertext_client_data_field_PostLAMessages_2eproto() {
- GOOGLE_PROTOBUF_VERIFY_VERSION;
- {
- void* ptr = &::_ciphertext_client_data_field_default_instance_;
- new (ptr) ::ciphertext_client_data_field();
- ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
- }
- ::ciphertext_client_data_field::InitAsDefaultInstance();
- }
- ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_ciphertext_client_data_field_PostLAMessages_2eproto =
- {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsscc_info_ciphertext_client_data_field_PostLAMessages_2eproto}, {}};
- static void InitDefaultsscc_info_decryptor_to_extension_msg_t_PostLAMessages_2eproto() {
- GOOGLE_PROTOBUF_VERIFY_VERSION;
- {
- void* ptr = &::_decryptor_to_extension_msg_t_default_instance_;
- new (ptr) ::decryptor_to_extension_msg_t();
- ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
- }
- ::decryptor_to_extension_msg_t::InitAsDefaultInstance();
- }
- ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_decryptor_to_extension_msg_t_PostLAMessages_2eproto =
- {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsscc_info_decryptor_to_extension_msg_t_PostLAMessages_2eproto}, {
- &scc_info_ciphertext_client_data_field_PostLAMessages_2eproto.base,}};
- static void InitDefaultsscc_info_extension_to_decryptor_ciphertext_msg_PostLAMessages_2eproto() {
- GOOGLE_PROTOBUF_VERIFY_VERSION;
- {
- void* ptr = &::_extension_to_decryptor_ciphertext_msg_default_instance_;
- new (ptr) ::extension_to_decryptor_ciphertext_msg();
- ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
- }
- ::extension_to_decryptor_ciphertext_msg::InitAsDefaultInstance();
- }
- ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_extension_to_decryptor_ciphertext_msg_PostLAMessages_2eproto =
- {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsscc_info_extension_to_decryptor_ciphertext_msg_PostLAMessages_2eproto}, {}};
- static void InitDefaultsscc_info_extension_to_decryptor_enclosed_msg_PostLAMessages_2eproto() {
- GOOGLE_PROTOBUF_VERIFY_VERSION;
- {
- void* ptr = &::_extension_to_decryptor_enclosed_msg_default_instance_;
- new (ptr) ::extension_to_decryptor_enclosed_msg();
- ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
- }
- ::extension_to_decryptor_enclosed_msg::InitAsDefaultInstance();
- }
- ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_extension_to_decryptor_enclosed_msg_PostLAMessages_2eproto =
- {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsscc_info_extension_to_decryptor_enclosed_msg_PostLAMessages_2eproto}, {
- &scc_info_ciphertext_client_data_field_PostLAMessages_2eproto.base,}};
- static ::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_PostLAMessages_2eproto[4];
- static constexpr ::PROTOBUF_NAMESPACE_ID::EnumDescriptor const** file_level_enum_descriptors_PostLAMessages_2eproto = nullptr;
- static constexpr ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor const** file_level_service_descriptors_PostLAMessages_2eproto = nullptr;
- const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_PostLAMessages_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
- ~0u, // no _has_bits_
- PROTOBUF_FIELD_OFFSET(::ciphertext_client_data_field, _internal_metadata_),
- ~0u, // no _extensions_
- ~0u, // no _oneof_case_
- ~0u, // no _weak_field_map_
- PROTOBUF_FIELD_OFFSET(::ciphertext_client_data_field, bytes_),
- ~0u, // no _has_bits_
- PROTOBUF_FIELD_OFFSET(::extension_to_decryptor_enclosed_msg, _internal_metadata_),
- ~0u, // no _extensions_
- ~0u, // no _oneof_case_
- ~0u, // no _weak_field_map_
- PROTOBUF_FIELD_OFFSET(::extension_to_decryptor_enclosed_msg, ciphertext_client_public_key_),
- PROTOBUF_FIELD_OFFSET(::extension_to_decryptor_enclosed_msg, ciphertext_fields_),
- ~0u, // no _has_bits_
- PROTOBUF_FIELD_OFFSET(::extension_to_decryptor_ciphertext_msg, _internal_metadata_),
- ~0u, // no _extensions_
- ~0u, // no _oneof_case_
- ~0u, // no _weak_field_map_
- PROTOBUF_FIELD_OFFSET(::extension_to_decryptor_ciphertext_msg, bytes_),
- ~0u, // no _has_bits_
- PROTOBUF_FIELD_OFFSET(::decryptor_to_extension_msg_t, _internal_metadata_),
- ~0u, // no _extensions_
- ~0u, // no _oneof_case_
- ~0u, // no _weak_field_map_
- PROTOBUF_FIELD_OFFSET(::decryptor_to_extension_msg_t, ciphertext_fields_),
- };
- static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
- { 0, -1, sizeof(::ciphertext_client_data_field)},
- { 6, -1, sizeof(::extension_to_decryptor_enclosed_msg)},
- { 13, -1, sizeof(::extension_to_decryptor_ciphertext_msg)},
- { 19, -1, sizeof(::decryptor_to_extension_msg_t)},
- };
- static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = {
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::_ciphertext_client_data_field_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::_extension_to_decryptor_enclosed_msg_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::_extension_to_decryptor_ciphertext_msg_default_instance_),
- reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::_decryptor_to_extension_msg_t_default_instance_),
- };
- const char descriptor_table_protodef_PostLAMessages_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) =
- "\n\024PostLAMessages.proto\"-\n\034ciphertext_cli"
- "ent_data_field\022\r\n\005bytes\030\001 \003(\014\"\205\001\n#extens"
- "ion_to_decryptor_enclosed_msg\022$\n\034ciphert"
- "ext_client_public_key\030\001 \003(\014\0228\n\021ciphertex"
- "t_fields\030\002 \003(\0132\035.ciphertext_client_data_"
- "field\"6\n%extension_to_decryptor_cipherte"
- "xt_msg\022\r\n\005bytes\030\001 \003(\014\"X\n\034decryptor_to_ex"
- "tension_msg_t\0228\n\021ciphertext_fields\030\001 \003(\013"
- "2\035.ciphertext_client_data_fieldb\006proto3"
- ;
- static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_PostLAMessages_2eproto_deps[1] = {
- };
- static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_PostLAMessages_2eproto_sccs[4] = {
- &scc_info_ciphertext_client_data_field_PostLAMessages_2eproto.base,
- &scc_info_decryptor_to_extension_msg_t_PostLAMessages_2eproto.base,
- &scc_info_extension_to_decryptor_ciphertext_msg_PostLAMessages_2eproto.base,
- &scc_info_extension_to_decryptor_enclosed_msg_PostLAMessages_2eproto.base,
- };
- static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_PostLAMessages_2eproto_once;
- static bool descriptor_table_PostLAMessages_2eproto_initialized = false;
- const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_PostLAMessages_2eproto = {
- &descriptor_table_PostLAMessages_2eproto_initialized, descriptor_table_protodef_PostLAMessages_2eproto, "PostLAMessages.proto", 359,
- &descriptor_table_PostLAMessages_2eproto_once, descriptor_table_PostLAMessages_2eproto_sccs, descriptor_table_PostLAMessages_2eproto_deps, 4, 0,
- schemas, file_default_instances, TableStruct_PostLAMessages_2eproto::offsets,
- file_level_metadata_PostLAMessages_2eproto, 4, file_level_enum_descriptors_PostLAMessages_2eproto, file_level_service_descriptors_PostLAMessages_2eproto,
- };
- // Force running AddDescriptors() at dynamic initialization time.
- static bool dynamic_init_dummy_PostLAMessages_2eproto = ( ::PROTOBUF_NAMESPACE_ID::internal::AddDescriptors(&descriptor_table_PostLAMessages_2eproto), true);
- // ===================================================================
- void ciphertext_client_data_field::InitAsDefaultInstance() {
- }
- class ciphertext_client_data_field::_Internal {
- public:
- };
- ciphertext_client_data_field::ciphertext_client_data_field()
- : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) {
- SharedCtor();
- // @@protoc_insertion_point(constructor:ciphertext_client_data_field)
- }
- ciphertext_client_data_field::ciphertext_client_data_field(const ciphertext_client_data_field& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _internal_metadata_(nullptr),
- bytes_(from.bytes_) {
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- // @@protoc_insertion_point(copy_constructor:ciphertext_client_data_field)
- }
- void ciphertext_client_data_field::SharedCtor() {
- ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_ciphertext_client_data_field_PostLAMessages_2eproto.base);
- }
- ciphertext_client_data_field::~ciphertext_client_data_field() {
- // @@protoc_insertion_point(destructor:ciphertext_client_data_field)
- SharedDtor();
- }
- void ciphertext_client_data_field::SharedDtor() {
- }
- void ciphertext_client_data_field::SetCachedSize(int size) const {
- _cached_size_.Set(size);
- }
- const ciphertext_client_data_field& ciphertext_client_data_field::default_instance() {
- ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_ciphertext_client_data_field_PostLAMessages_2eproto.base);
- return *internal_default_instance();
- }
- void ciphertext_client_data_field::Clear() {
- // @@protoc_insertion_point(message_clear_start:ciphertext_client_data_field)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- bytes_.Clear();
- _internal_metadata_.Clear();
- }
- #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
- const char* ciphertext_client_data_field::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
- CHK_(ptr);
- switch (tag >> 3) {
- // repeated bytes bytes = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
- ptr -= 1;
- do {
- ptr += 1;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(add_bytes(), ptr, ctx);
- CHK_(ptr);
- if (!ctx->DataAvailable(ptr)) break;
- } while (::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<::PROTOBUF_NAMESPACE_ID::uint8>(ptr) == 10);
- } else goto handle_unusual;
- continue;
- default: {
- handle_unusual:
- if ((tag & 7) == 4 || tag == 0) {
- ctx->SetLastTag(tag);
- goto success;
- }
- ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx);
- CHK_(ptr != nullptr);
- continue;
- }
- } // switch
- } // while
- success:
- return ptr;
- failure:
- ptr = nullptr;
- goto success;
- #undef CHK_
- }
- #else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
- bool ciphertext_client_data_field::MergePartialFromCodedStream(
- ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- // @@protoc_insertion_point(parse_start:ciphertext_client_data_field)
- for (;;) {
- ::std::pair<::PROTOBUF_NAMESPACE_ID::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // repeated bytes bytes = 1;
- case 1: {
- if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (10 & 0xFF)) {
- DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadBytes(
- input, this->add_bytes()));
- } else {
- goto handle_unusual;
- }
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0) {
- goto success;
- }
- DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SkipField(
- input, tag, _internal_metadata_.mutable_unknown_fields()));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:ciphertext_client_data_field)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:ciphertext_client_data_field)
- return false;
- #undef DO_
- }
- #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
- ::PROTOBUF_NAMESPACE_ID::uint8* ciphertext_client_data_field::InternalSerializeWithCachedSizesToArray(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:ciphertext_client_data_field)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- // repeated bytes bytes = 1;
- for (auto it = this->bytes().pointer_begin(),
- end = this->bytes().pointer_end(); it < end; ++it) {
- const auto& s = **it;
- target = stream->WriteBytes(1, s, target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
- _internal_metadata_.unknown_fields(), target, stream);
- }
- // @@protoc_insertion_point(serialize_to_array_end:ciphertext_client_data_field)
- return target;
- }
- size_t ciphertext_client_data_field::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:ciphertext_client_data_field)
- size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // repeated bytes bytes = 1;
- total_size += 1 *
- ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->bytes_size());
- for (int i = 0, n = this->bytes_size(); i < n; i++) {
- total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize(
- this->bytes(i));
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
- _internal_metadata_, total_size, &_cached_size_);
- }
- int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void ciphertext_client_data_field::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- // @@protoc_insertion_point(generalized_merge_from_start:ciphertext_client_data_field)
- GOOGLE_DCHECK_NE(&from, this);
- const ciphertext_client_data_field* source =
- ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<ciphertext_client_data_field>(
- &from);
- if (source == nullptr) {
- // @@protoc_insertion_point(generalized_merge_from_cast_fail:ciphertext_client_data_field)
- ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
- } else {
- // @@protoc_insertion_point(generalized_merge_from_cast_success:ciphertext_client_data_field)
- MergeFrom(*source);
- }
- }
- void ciphertext_client_data_field::MergeFrom(const ciphertext_client_data_field& from) {
- // @@protoc_insertion_point(class_specific_merge_from_start:ciphertext_client_data_field)
- GOOGLE_DCHECK_NE(&from, this);
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- bytes_.MergeFrom(from.bytes_);
- }
- void ciphertext_client_data_field::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- // @@protoc_insertion_point(generalized_copy_from_start:ciphertext_client_data_field)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void ciphertext_client_data_field::CopyFrom(const ciphertext_client_data_field& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:ciphertext_client_data_field)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool ciphertext_client_data_field::IsInitialized() const {
- return true;
- }
- void ciphertext_client_data_field::InternalSwap(ciphertext_client_data_field* other) {
- using std::swap;
- _internal_metadata_.Swap(&other->_internal_metadata_);
- bytes_.InternalSwap(CastToBase(&other->bytes_));
- }
- ::PROTOBUF_NAMESPACE_ID::Metadata ciphertext_client_data_field::GetMetadata() const {
- return GetMetadataStatic();
- }
- // ===================================================================
- void extension_to_decryptor_enclosed_msg::InitAsDefaultInstance() {
- }
- class extension_to_decryptor_enclosed_msg::_Internal {
- public:
- };
- extension_to_decryptor_enclosed_msg::extension_to_decryptor_enclosed_msg()
- : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) {
- SharedCtor();
- // @@protoc_insertion_point(constructor:extension_to_decryptor_enclosed_msg)
- }
- extension_to_decryptor_enclosed_msg::extension_to_decryptor_enclosed_msg(const extension_to_decryptor_enclosed_msg& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _internal_metadata_(nullptr),
- ciphertext_client_public_key_(from.ciphertext_client_public_key_),
- ciphertext_fields_(from.ciphertext_fields_) {
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- // @@protoc_insertion_point(copy_constructor:extension_to_decryptor_enclosed_msg)
- }
- void extension_to_decryptor_enclosed_msg::SharedCtor() {
- ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_extension_to_decryptor_enclosed_msg_PostLAMessages_2eproto.base);
- }
- extension_to_decryptor_enclosed_msg::~extension_to_decryptor_enclosed_msg() {
- // @@protoc_insertion_point(destructor:extension_to_decryptor_enclosed_msg)
- SharedDtor();
- }
- void extension_to_decryptor_enclosed_msg::SharedDtor() {
- }
- void extension_to_decryptor_enclosed_msg::SetCachedSize(int size) const {
- _cached_size_.Set(size);
- }
- const extension_to_decryptor_enclosed_msg& extension_to_decryptor_enclosed_msg::default_instance() {
- ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_extension_to_decryptor_enclosed_msg_PostLAMessages_2eproto.base);
- return *internal_default_instance();
- }
- void extension_to_decryptor_enclosed_msg::Clear() {
- // @@protoc_insertion_point(message_clear_start:extension_to_decryptor_enclosed_msg)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- ciphertext_client_public_key_.Clear();
- ciphertext_fields_.Clear();
- _internal_metadata_.Clear();
- }
- #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
- const char* extension_to_decryptor_enclosed_msg::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
- CHK_(ptr);
- switch (tag >> 3) {
- // repeated bytes ciphertext_client_public_key = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
- ptr -= 1;
- do {
- ptr += 1;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(add_ciphertext_client_public_key(), ptr, ctx);
- CHK_(ptr);
- if (!ctx->DataAvailable(ptr)) break;
- } while (::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<::PROTOBUF_NAMESPACE_ID::uint8>(ptr) == 10);
- } else goto handle_unusual;
- continue;
- // repeated .ciphertext_client_data_field ciphertext_fields = 2;
- case 2:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
- ptr -= 1;
- do {
- ptr += 1;
- ptr = ctx->ParseMessage(add_ciphertext_fields(), ptr);
- CHK_(ptr);
- if (!ctx->DataAvailable(ptr)) break;
- } while (::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<::PROTOBUF_NAMESPACE_ID::uint8>(ptr) == 18);
- } else goto handle_unusual;
- continue;
- default: {
- handle_unusual:
- if ((tag & 7) == 4 || tag == 0) {
- ctx->SetLastTag(tag);
- goto success;
- }
- ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx);
- CHK_(ptr != nullptr);
- continue;
- }
- } // switch
- } // while
- success:
- return ptr;
- failure:
- ptr = nullptr;
- goto success;
- #undef CHK_
- }
- #else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
- bool extension_to_decryptor_enclosed_msg::MergePartialFromCodedStream(
- ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- // @@protoc_insertion_point(parse_start:extension_to_decryptor_enclosed_msg)
- for (;;) {
- ::std::pair<::PROTOBUF_NAMESPACE_ID::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // repeated bytes ciphertext_client_public_key = 1;
- case 1: {
- if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (10 & 0xFF)) {
- DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadBytes(
- input, this->add_ciphertext_client_public_key()));
- } else {
- goto handle_unusual;
- }
- break;
- }
- // repeated .ciphertext_client_data_field ciphertext_fields = 2;
- case 2: {
- if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (18 & 0xFF)) {
- DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadMessage(
- input, add_ciphertext_fields()));
- } else {
- goto handle_unusual;
- }
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0) {
- goto success;
- }
- DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SkipField(
- input, tag, _internal_metadata_.mutable_unknown_fields()));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:extension_to_decryptor_enclosed_msg)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:extension_to_decryptor_enclosed_msg)
- return false;
- #undef DO_
- }
- #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
- ::PROTOBUF_NAMESPACE_ID::uint8* extension_to_decryptor_enclosed_msg::InternalSerializeWithCachedSizesToArray(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:extension_to_decryptor_enclosed_msg)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- // repeated bytes ciphertext_client_public_key = 1;
- for (auto it = this->ciphertext_client_public_key().pointer_begin(),
- end = this->ciphertext_client_public_key().pointer_end(); it < end; ++it) {
- const auto& s = **it;
- target = stream->WriteBytes(1, s, target);
- }
- // repeated .ciphertext_client_data_field ciphertext_fields = 2;
- for (auto it = this->ciphertext_fields().pointer_begin(),
- end = this->ciphertext_fields().pointer_end(); it < end; ++it) {
- stream->EnsureSpace(&target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessageToArray(2, **it, target, stream);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
- _internal_metadata_.unknown_fields(), target, stream);
- }
- // @@protoc_insertion_point(serialize_to_array_end:extension_to_decryptor_enclosed_msg)
- return target;
- }
- size_t extension_to_decryptor_enclosed_msg::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:extension_to_decryptor_enclosed_msg)
- size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // repeated bytes ciphertext_client_public_key = 1;
- total_size += 1 *
- ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->ciphertext_client_public_key_size());
- for (int i = 0, n = this->ciphertext_client_public_key_size(); i < n; i++) {
- total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize(
- this->ciphertext_client_public_key(i));
- }
- // repeated .ciphertext_client_data_field ciphertext_fields = 2;
- {
- unsigned int count = static_cast<unsigned int>(this->ciphertext_fields_size());
- total_size += 1UL * count;
- for (unsigned int i = 0; i < count; i++) {
- total_size +=
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- this->ciphertext_fields(static_cast<int>(i)));
- }
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
- _internal_metadata_, total_size, &_cached_size_);
- }
- int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void extension_to_decryptor_enclosed_msg::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- // @@protoc_insertion_point(generalized_merge_from_start:extension_to_decryptor_enclosed_msg)
- GOOGLE_DCHECK_NE(&from, this);
- const extension_to_decryptor_enclosed_msg* source =
- ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<extension_to_decryptor_enclosed_msg>(
- &from);
- if (source == nullptr) {
- // @@protoc_insertion_point(generalized_merge_from_cast_fail:extension_to_decryptor_enclosed_msg)
- ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
- } else {
- // @@protoc_insertion_point(generalized_merge_from_cast_success:extension_to_decryptor_enclosed_msg)
- MergeFrom(*source);
- }
- }
- void extension_to_decryptor_enclosed_msg::MergeFrom(const extension_to_decryptor_enclosed_msg& from) {
- // @@protoc_insertion_point(class_specific_merge_from_start:extension_to_decryptor_enclosed_msg)
- GOOGLE_DCHECK_NE(&from, this);
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- ciphertext_client_public_key_.MergeFrom(from.ciphertext_client_public_key_);
- ciphertext_fields_.MergeFrom(from.ciphertext_fields_);
- }
- void extension_to_decryptor_enclosed_msg::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- // @@protoc_insertion_point(generalized_copy_from_start:extension_to_decryptor_enclosed_msg)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void extension_to_decryptor_enclosed_msg::CopyFrom(const extension_to_decryptor_enclosed_msg& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:extension_to_decryptor_enclosed_msg)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool extension_to_decryptor_enclosed_msg::IsInitialized() const {
- return true;
- }
- void extension_to_decryptor_enclosed_msg::InternalSwap(extension_to_decryptor_enclosed_msg* other) {
- using std::swap;
- _internal_metadata_.Swap(&other->_internal_metadata_);
- ciphertext_client_public_key_.InternalSwap(CastToBase(&other->ciphertext_client_public_key_));
- CastToBase(&ciphertext_fields_)->InternalSwap(CastToBase(&other->ciphertext_fields_));
- }
- ::PROTOBUF_NAMESPACE_ID::Metadata extension_to_decryptor_enclosed_msg::GetMetadata() const {
- return GetMetadataStatic();
- }
- // ===================================================================
- void extension_to_decryptor_ciphertext_msg::InitAsDefaultInstance() {
- }
- class extension_to_decryptor_ciphertext_msg::_Internal {
- public:
- };
- extension_to_decryptor_ciphertext_msg::extension_to_decryptor_ciphertext_msg()
- : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) {
- SharedCtor();
- // @@protoc_insertion_point(constructor:extension_to_decryptor_ciphertext_msg)
- }
- extension_to_decryptor_ciphertext_msg::extension_to_decryptor_ciphertext_msg(const extension_to_decryptor_ciphertext_msg& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _internal_metadata_(nullptr),
- bytes_(from.bytes_) {
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- // @@protoc_insertion_point(copy_constructor:extension_to_decryptor_ciphertext_msg)
- }
- void extension_to_decryptor_ciphertext_msg::SharedCtor() {
- ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_extension_to_decryptor_ciphertext_msg_PostLAMessages_2eproto.base);
- }
- extension_to_decryptor_ciphertext_msg::~extension_to_decryptor_ciphertext_msg() {
- // @@protoc_insertion_point(destructor:extension_to_decryptor_ciphertext_msg)
- SharedDtor();
- }
- void extension_to_decryptor_ciphertext_msg::SharedDtor() {
- }
- void extension_to_decryptor_ciphertext_msg::SetCachedSize(int size) const {
- _cached_size_.Set(size);
- }
- const extension_to_decryptor_ciphertext_msg& extension_to_decryptor_ciphertext_msg::default_instance() {
- ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_extension_to_decryptor_ciphertext_msg_PostLAMessages_2eproto.base);
- return *internal_default_instance();
- }
- void extension_to_decryptor_ciphertext_msg::Clear() {
- // @@protoc_insertion_point(message_clear_start:extension_to_decryptor_ciphertext_msg)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- bytes_.Clear();
- _internal_metadata_.Clear();
- }
- #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
- const char* extension_to_decryptor_ciphertext_msg::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
- CHK_(ptr);
- switch (tag >> 3) {
- // repeated bytes bytes = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
- ptr -= 1;
- do {
- ptr += 1;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(add_bytes(), ptr, ctx);
- CHK_(ptr);
- if (!ctx->DataAvailable(ptr)) break;
- } while (::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<::PROTOBUF_NAMESPACE_ID::uint8>(ptr) == 10);
- } else goto handle_unusual;
- continue;
- default: {
- handle_unusual:
- if ((tag & 7) == 4 || tag == 0) {
- ctx->SetLastTag(tag);
- goto success;
- }
- ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx);
- CHK_(ptr != nullptr);
- continue;
- }
- } // switch
- } // while
- success:
- return ptr;
- failure:
- ptr = nullptr;
- goto success;
- #undef CHK_
- }
- #else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
- bool extension_to_decryptor_ciphertext_msg::MergePartialFromCodedStream(
- ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- // @@protoc_insertion_point(parse_start:extension_to_decryptor_ciphertext_msg)
- for (;;) {
- ::std::pair<::PROTOBUF_NAMESPACE_ID::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // repeated bytes bytes = 1;
- case 1: {
- if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (10 & 0xFF)) {
- DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadBytes(
- input, this->add_bytes()));
- } else {
- goto handle_unusual;
- }
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0) {
- goto success;
- }
- DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SkipField(
- input, tag, _internal_metadata_.mutable_unknown_fields()));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:extension_to_decryptor_ciphertext_msg)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:extension_to_decryptor_ciphertext_msg)
- return false;
- #undef DO_
- }
- #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
- ::PROTOBUF_NAMESPACE_ID::uint8* extension_to_decryptor_ciphertext_msg::InternalSerializeWithCachedSizesToArray(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:extension_to_decryptor_ciphertext_msg)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- // repeated bytes bytes = 1;
- for (auto it = this->bytes().pointer_begin(),
- end = this->bytes().pointer_end(); it < end; ++it) {
- const auto& s = **it;
- target = stream->WriteBytes(1, s, target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
- _internal_metadata_.unknown_fields(), target, stream);
- }
- // @@protoc_insertion_point(serialize_to_array_end:extension_to_decryptor_ciphertext_msg)
- return target;
- }
- size_t extension_to_decryptor_ciphertext_msg::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:extension_to_decryptor_ciphertext_msg)
- size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // repeated bytes bytes = 1;
- total_size += 1 *
- ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->bytes_size());
- for (int i = 0, n = this->bytes_size(); i < n; i++) {
- total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize(
- this->bytes(i));
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
- _internal_metadata_, total_size, &_cached_size_);
- }
- int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void extension_to_decryptor_ciphertext_msg::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- // @@protoc_insertion_point(generalized_merge_from_start:extension_to_decryptor_ciphertext_msg)
- GOOGLE_DCHECK_NE(&from, this);
- const extension_to_decryptor_ciphertext_msg* source =
- ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<extension_to_decryptor_ciphertext_msg>(
- &from);
- if (source == nullptr) {
- // @@protoc_insertion_point(generalized_merge_from_cast_fail:extension_to_decryptor_ciphertext_msg)
- ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
- } else {
- // @@protoc_insertion_point(generalized_merge_from_cast_success:extension_to_decryptor_ciphertext_msg)
- MergeFrom(*source);
- }
- }
- void extension_to_decryptor_ciphertext_msg::MergeFrom(const extension_to_decryptor_ciphertext_msg& from) {
- // @@protoc_insertion_point(class_specific_merge_from_start:extension_to_decryptor_ciphertext_msg)
- GOOGLE_DCHECK_NE(&from, this);
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- bytes_.MergeFrom(from.bytes_);
- }
- void extension_to_decryptor_ciphertext_msg::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- // @@protoc_insertion_point(generalized_copy_from_start:extension_to_decryptor_ciphertext_msg)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void extension_to_decryptor_ciphertext_msg::CopyFrom(const extension_to_decryptor_ciphertext_msg& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:extension_to_decryptor_ciphertext_msg)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool extension_to_decryptor_ciphertext_msg::IsInitialized() const {
- return true;
- }
- void extension_to_decryptor_ciphertext_msg::InternalSwap(extension_to_decryptor_ciphertext_msg* other) {
- using std::swap;
- _internal_metadata_.Swap(&other->_internal_metadata_);
- bytes_.InternalSwap(CastToBase(&other->bytes_));
- }
- ::PROTOBUF_NAMESPACE_ID::Metadata extension_to_decryptor_ciphertext_msg::GetMetadata() const {
- return GetMetadataStatic();
- }
- // ===================================================================
- void decryptor_to_extension_msg_t::InitAsDefaultInstance() {
- }
- class decryptor_to_extension_msg_t::_Internal {
- public:
- };
- decryptor_to_extension_msg_t::decryptor_to_extension_msg_t()
- : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) {
- SharedCtor();
- // @@protoc_insertion_point(constructor:decryptor_to_extension_msg_t)
- }
- decryptor_to_extension_msg_t::decryptor_to_extension_msg_t(const decryptor_to_extension_msg_t& from)
- : ::PROTOBUF_NAMESPACE_ID::Message(),
- _internal_metadata_(nullptr),
- ciphertext_fields_(from.ciphertext_fields_) {
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- // @@protoc_insertion_point(copy_constructor:decryptor_to_extension_msg_t)
- }
- void decryptor_to_extension_msg_t::SharedCtor() {
- ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_decryptor_to_extension_msg_t_PostLAMessages_2eproto.base);
- }
- decryptor_to_extension_msg_t::~decryptor_to_extension_msg_t() {
- // @@protoc_insertion_point(destructor:decryptor_to_extension_msg_t)
- SharedDtor();
- }
- void decryptor_to_extension_msg_t::SharedDtor() {
- }
- void decryptor_to_extension_msg_t::SetCachedSize(int size) const {
- _cached_size_.Set(size);
- }
- const decryptor_to_extension_msg_t& decryptor_to_extension_msg_t::default_instance() {
- ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_decryptor_to_extension_msg_t_PostLAMessages_2eproto.base);
- return *internal_default_instance();
- }
- void decryptor_to_extension_msg_t::Clear() {
- // @@protoc_insertion_point(message_clear_start:decryptor_to_extension_msg_t)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- ciphertext_fields_.Clear();
- _internal_metadata_.Clear();
- }
- #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
- const char* decryptor_to_extension_msg_t::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
- #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
- while (!ctx->Done(&ptr)) {
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
- CHK_(ptr);
- switch (tag >> 3) {
- // repeated .ciphertext_client_data_field ciphertext_fields = 1;
- case 1:
- if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
- ptr -= 1;
- do {
- ptr += 1;
- ptr = ctx->ParseMessage(add_ciphertext_fields(), ptr);
- CHK_(ptr);
- if (!ctx->DataAvailable(ptr)) break;
- } while (::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<::PROTOBUF_NAMESPACE_ID::uint8>(ptr) == 10);
- } else goto handle_unusual;
- continue;
- default: {
- handle_unusual:
- if ((tag & 7) == 4 || tag == 0) {
- ctx->SetLastTag(tag);
- goto success;
- }
- ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx);
- CHK_(ptr != nullptr);
- continue;
- }
- } // switch
- } // while
- success:
- return ptr;
- failure:
- ptr = nullptr;
- goto success;
- #undef CHK_
- }
- #else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
- bool decryptor_to_extension_msg_t::MergePartialFromCodedStream(
- ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure
- ::PROTOBUF_NAMESPACE_ID::uint32 tag;
- // @@protoc_insertion_point(parse_start:decryptor_to_extension_msg_t)
- for (;;) {
- ::std::pair<::PROTOBUF_NAMESPACE_ID::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // repeated .ciphertext_client_data_field ciphertext_fields = 1;
- case 1: {
- if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (10 & 0xFF)) {
- DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadMessage(
- input, add_ciphertext_fields()));
- } else {
- goto handle_unusual;
- }
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0) {
- goto success;
- }
- DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SkipField(
- input, tag, _internal_metadata_.mutable_unknown_fields()));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:decryptor_to_extension_msg_t)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:decryptor_to_extension_msg_t)
- return false;
- #undef DO_
- }
- #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
- ::PROTOBUF_NAMESPACE_ID::uint8* decryptor_to_extension_msg_t::InternalSerializeWithCachedSizesToArray(
- ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:decryptor_to_extension_msg_t)
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- // repeated .ciphertext_client_data_field ciphertext_fields = 1;
- for (auto it = this->ciphertext_fields().pointer_begin(),
- end = this->ciphertext_fields().pointer_end(); it < end; ++it) {
- stream->EnsureSpace(&target);
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
- InternalWriteMessageToArray(1, **it, target, stream);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
- _internal_metadata_.unknown_fields(), target, stream);
- }
- // @@protoc_insertion_point(serialize_to_array_end:decryptor_to_extension_msg_t)
- return target;
- }
- size_t decryptor_to_extension_msg_t::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:decryptor_to_extension_msg_t)
- size_t total_size = 0;
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // repeated .ciphertext_client_data_field ciphertext_fields = 1;
- {
- unsigned int count = static_cast<unsigned int>(this->ciphertext_fields_size());
- total_size += 1UL * count;
- for (unsigned int i = 0; i < count; i++) {
- total_size +=
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
- this->ciphertext_fields(static_cast<int>(i)));
- }
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
- _internal_metadata_, total_size, &_cached_size_);
- }
- int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
- SetCachedSize(cached_size);
- return total_size;
- }
- void decryptor_to_extension_msg_t::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- // @@protoc_insertion_point(generalized_merge_from_start:decryptor_to_extension_msg_t)
- GOOGLE_DCHECK_NE(&from, this);
- const decryptor_to_extension_msg_t* source =
- ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<decryptor_to_extension_msg_t>(
- &from);
- if (source == nullptr) {
- // @@protoc_insertion_point(generalized_merge_from_cast_fail:decryptor_to_extension_msg_t)
- ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
- } else {
- // @@protoc_insertion_point(generalized_merge_from_cast_success:decryptor_to_extension_msg_t)
- MergeFrom(*source);
- }
- }
- void decryptor_to_extension_msg_t::MergeFrom(const decryptor_to_extension_msg_t& from) {
- // @@protoc_insertion_point(class_specific_merge_from_start:decryptor_to_extension_msg_t)
- GOOGLE_DCHECK_NE(&from, this);
- _internal_metadata_.MergeFrom(from._internal_metadata_);
- ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
- (void) cached_has_bits;
- ciphertext_fields_.MergeFrom(from.ciphertext_fields_);
- }
- void decryptor_to_extension_msg_t::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
- // @@protoc_insertion_point(generalized_copy_from_start:decryptor_to_extension_msg_t)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void decryptor_to_extension_msg_t::CopyFrom(const decryptor_to_extension_msg_t& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:decryptor_to_extension_msg_t)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool decryptor_to_extension_msg_t::IsInitialized() const {
- return true;
- }
- void decryptor_to_extension_msg_t::InternalSwap(decryptor_to_extension_msg_t* other) {
- using std::swap;
- _internal_metadata_.Swap(&other->_internal_metadata_);
- CastToBase(&ciphertext_fields_)->InternalSwap(CastToBase(&other->ciphertext_fields_));
- }
- ::PROTOBUF_NAMESPACE_ID::Metadata decryptor_to_extension_msg_t::GetMetadata() const {
- return GetMetadataStatic();
- }
- // @@protoc_insertion_point(namespace_scope)
- PROTOBUF_NAMESPACE_OPEN
- template<> PROTOBUF_NOINLINE ::ciphertext_client_data_field* Arena::CreateMaybeMessage< ::ciphertext_client_data_field >(Arena* arena) {
- return Arena::CreateInternal< ::ciphertext_client_data_field >(arena);
- }
- template<> PROTOBUF_NOINLINE ::extension_to_decryptor_enclosed_msg* Arena::CreateMaybeMessage< ::extension_to_decryptor_enclosed_msg >(Arena* arena) {
- return Arena::CreateInternal< ::extension_to_decryptor_enclosed_msg >(arena);
- }
- template<> PROTOBUF_NOINLINE ::extension_to_decryptor_ciphertext_msg* Arena::CreateMaybeMessage< ::extension_to_decryptor_ciphertext_msg >(Arena* arena) {
- return Arena::CreateInternal< ::extension_to_decryptor_ciphertext_msg >(arena);
- }
- template<> PROTOBUF_NOINLINE ::decryptor_to_extension_msg_t* Arena::CreateMaybeMessage< ::decryptor_to_extension_msg_t >(Arena* arena) {
- return Arena::CreateInternal< ::decryptor_to_extension_msg_t >(arena);
- }
- PROTOBUF_NAMESPACE_CLOSE
- // @@protoc_insertion_point(global_scope)
- #include <google/protobuf/port_undef.inc>
|