12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181 |
- // Generated by the protocol buffer compiler. DO NOT EDIT!
- // source: PostLAMessages.proto
- #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
- #include "PostLAMessages.pb.h"
- #include <algorithm>
- #include <google/protobuf/stubs/common.h>
- #include <google/protobuf/stubs/once.h>
- #include <google/protobuf/io/coded_stream.h>
- #include <google/protobuf/wire_format_lite_inl.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)
- namespace {
- const ::google::protobuf::Descriptor* ciphertext_data_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- ciphertext_data_reflection_ = NULL;
- const ::google::protobuf::Descriptor* extension_to_decryptor_msg_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- extension_to_decryptor_msg_reflection_ = NULL;
- const ::google::protobuf::Descriptor* decryptor_to_extension_msg_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- decryptor_to_extension_msg_reflection_ = NULL;
- const ::google::protobuf::Descriptor* mitigator_header_descriptor_ = NULL;
- const ::google::protobuf::internal::GeneratedMessageReflection*
- mitigator_header_reflection_ = NULL;
- } // namespace
- void protobuf_AssignDesc_PostLAMessages_2eproto() {
- protobuf_AddDesc_PostLAMessages_2eproto();
- const ::google::protobuf::FileDescriptor* file =
- ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName(
- "PostLAMessages.proto");
- GOOGLE_CHECK(file != NULL);
- ciphertext_data_descriptor_ = file->message_type(0);
- static const int ciphertext_data_offsets_[1] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ciphertext_data, field_),
- };
- ciphertext_data_reflection_ =
- new ::google::protobuf::internal::GeneratedMessageReflection(
- ciphertext_data_descriptor_,
- ciphertext_data::default_instance_,
- ciphertext_data_offsets_,
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ciphertext_data, _has_bits_[0]),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ciphertext_data, _unknown_fields_),
- -1,
- ::google::protobuf::DescriptorPool::generated_pool(),
- ::google::protobuf::MessageFactory::generated_factory(),
- sizeof(ciphertext_data));
- extension_to_decryptor_msg_descriptor_ = file->message_type(1);
- static const int extension_to_decryptor_msg_offsets_[2] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(extension_to_decryptor_msg, ciphertext_client_public_key_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(extension_to_decryptor_msg, fields_),
- };
- extension_to_decryptor_msg_reflection_ =
- new ::google::protobuf::internal::GeneratedMessageReflection(
- extension_to_decryptor_msg_descriptor_,
- extension_to_decryptor_msg::default_instance_,
- extension_to_decryptor_msg_offsets_,
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(extension_to_decryptor_msg, _has_bits_[0]),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(extension_to_decryptor_msg, _unknown_fields_),
- -1,
- ::google::protobuf::DescriptorPool::generated_pool(),
- ::google::protobuf::MessageFactory::generated_factory(),
- sizeof(extension_to_decryptor_msg));
- decryptor_to_extension_msg_descriptor_ = file->message_type(2);
- static const int decryptor_to_extension_msg_offsets_[1] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(decryptor_to_extension_msg, fields_),
- };
- decryptor_to_extension_msg_reflection_ =
- new ::google::protobuf::internal::GeneratedMessageReflection(
- decryptor_to_extension_msg_descriptor_,
- decryptor_to_extension_msg::default_instance_,
- decryptor_to_extension_msg_offsets_,
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(decryptor_to_extension_msg, _has_bits_[0]),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(decryptor_to_extension_msg, _unknown_fields_),
- -1,
- ::google::protobuf::DescriptorPool::generated_pool(),
- ::google::protobuf::MessageFactory::generated_factory(),
- sizeof(decryptor_to_extension_msg));
- mitigator_header_descriptor_ = file->message_type(3);
- static const int mitigator_header_offsets_[2] = {
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(mitigator_header, name_),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(mitigator_header, value_),
- };
- mitigator_header_reflection_ =
- new ::google::protobuf::internal::GeneratedMessageReflection(
- mitigator_header_descriptor_,
- mitigator_header::default_instance_,
- mitigator_header_offsets_,
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(mitigator_header, _has_bits_[0]),
- GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(mitigator_header, _unknown_fields_),
- -1,
- ::google::protobuf::DescriptorPool::generated_pool(),
- ::google::protobuf::MessageFactory::generated_factory(),
- sizeof(mitigator_header));
- }
- namespace {
- GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_);
- inline void protobuf_AssignDescriptorsOnce() {
- ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_,
- &protobuf_AssignDesc_PostLAMessages_2eproto);
- }
- void protobuf_RegisterTypes(const ::std::string&) {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- ciphertext_data_descriptor_, &ciphertext_data::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- extension_to_decryptor_msg_descriptor_, &extension_to_decryptor_msg::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- decryptor_to_extension_msg_descriptor_, &decryptor_to_extension_msg::default_instance());
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
- mitigator_header_descriptor_, &mitigator_header::default_instance());
- }
- } // namespace
- void protobuf_ShutdownFile_PostLAMessages_2eproto() {
- delete ciphertext_data::default_instance_;
- delete ciphertext_data_reflection_;
- delete extension_to_decryptor_msg::default_instance_;
- delete extension_to_decryptor_msg_reflection_;
- delete decryptor_to_extension_msg::default_instance_;
- delete decryptor_to_extension_msg_reflection_;
- delete mitigator_header::default_instance_;
- delete mitigator_header_reflection_;
- }
- void protobuf_AddDesc_PostLAMessages_2eproto() {
- static bool already_here = false;
- if (already_here) return;
- already_here = true;
- GOOGLE_PROTOBUF_VERIFY_VERSION;
- ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
- "\n\024PostLAMessages.proto\" \n\017ciphertext_dat"
- "a\022\r\n\005field\030\001 \002(\014\"d\n\032extension_to_decrypt"
- "or_msg\022$\n\034ciphertext_client_public_key\030\001"
- " \002(\014\022 \n\006fields\030\002 \003(\0132\020.ciphertext_data\">"
- "\n\032decryptor_to_extension_msg\022 \n\006fields\030\001"
- " \003(\0132\020.ciphertext_data\"/\n\020mitigator_head"
- "er\022\014\n\004name\030\001 \002(\014\022\r\n\005value\030\002 \002(\014", 271);
- ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
- "PostLAMessages.proto", &protobuf_RegisterTypes);
- ciphertext_data::default_instance_ = new ciphertext_data();
- extension_to_decryptor_msg::default_instance_ = new extension_to_decryptor_msg();
- decryptor_to_extension_msg::default_instance_ = new decryptor_to_extension_msg();
- mitigator_header::default_instance_ = new mitigator_header();
- ciphertext_data::default_instance_->InitAsDefaultInstance();
- extension_to_decryptor_msg::default_instance_->InitAsDefaultInstance();
- decryptor_to_extension_msg::default_instance_->InitAsDefaultInstance();
- mitigator_header::default_instance_->InitAsDefaultInstance();
- ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_PostLAMessages_2eproto);
- }
- // Force AddDescriptors() to be called at static initialization time.
- struct StaticDescriptorInitializer_PostLAMessages_2eproto {
- StaticDescriptorInitializer_PostLAMessages_2eproto() {
- protobuf_AddDesc_PostLAMessages_2eproto();
- }
- } static_descriptor_initializer_PostLAMessages_2eproto_;
- // ===================================================================
- #ifndef _MSC_VER
- const int ciphertext_data::kFieldFieldNumber;
- #endif // !_MSC_VER
- ciphertext_data::ciphertext_data()
- : ::google::protobuf::Message() {
- SharedCtor();
- // @@protoc_insertion_point(constructor:ciphertext_data)
- }
- void ciphertext_data::InitAsDefaultInstance() {
- }
- ciphertext_data::ciphertext_data(const ciphertext_data& from)
- : ::google::protobuf::Message() {
- SharedCtor();
- MergeFrom(from);
- // @@protoc_insertion_point(copy_constructor:ciphertext_data)
- }
- void ciphertext_data::SharedCtor() {
- ::google::protobuf::internal::GetEmptyString();
- _cached_size_ = 0;
- field_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- }
- ciphertext_data::~ciphertext_data() {
- // @@protoc_insertion_point(destructor:ciphertext_data)
- SharedDtor();
- }
- void ciphertext_data::SharedDtor() {
- if (field_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- delete field_;
- }
- if (this != default_instance_) {
- }
- }
- void ciphertext_data::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* ciphertext_data::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return ciphertext_data_descriptor_;
- }
- const ciphertext_data& ciphertext_data::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_PostLAMessages_2eproto();
- return *default_instance_;
- }
- ciphertext_data* ciphertext_data::default_instance_ = NULL;
- ciphertext_data* ciphertext_data::New() const {
- return new ciphertext_data;
- }
- void ciphertext_data::Clear() {
- if (has_field()) {
- if (field_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- field_->clear();
- }
- }
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- mutable_unknown_fields()->Clear();
- }
- bool ciphertext_data::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:ciphertext_data)
- for (;;) {
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // required bytes field = 1;
- case 1: {
- if (tag == 10) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
- input, this->mutable_field()));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectAtEnd()) goto success;
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0 ||
- ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormat::SkipField(
- input, tag, mutable_unknown_fields()));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:ciphertext_data)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:ciphertext_data)
- return false;
- #undef DO_
- }
- void ciphertext_data::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:ciphertext_data)
- // required bytes field = 1;
- if (has_field()) {
- ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
- 1, this->field(), output);
- }
- if (!unknown_fields().empty()) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- unknown_fields(), output);
- }
- // @@protoc_insertion_point(serialize_end:ciphertext_data)
- }
- ::google::protobuf::uint8* ciphertext_data::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // @@protoc_insertion_point(serialize_to_array_start:ciphertext_data)
- // required bytes field = 1;
- if (has_field()) {
- target =
- ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
- 1, this->field(), target);
- }
- if (!unknown_fields().empty()) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- unknown_fields(), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:ciphertext_data)
- return target;
- }
- int ciphertext_data::ByteSize() const {
- int total_size = 0;
- if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- // required bytes field = 1;
- if (has_field()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::BytesSize(
- this->field());
- }
- }
- if (!unknown_fields().empty()) {
- total_size +=
- ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
- unknown_fields());
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void ciphertext_data::MergeFrom(const ::google::protobuf::Message& from) {
- GOOGLE_CHECK_NE(&from, this);
- const ciphertext_data* source =
- ::google::protobuf::internal::dynamic_cast_if_available<const ciphertext_data*>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void ciphertext_data::MergeFrom(const ciphertext_data& from) {
- GOOGLE_CHECK_NE(&from, this);
- if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- if (from.has_field()) {
- set_field(from.field());
- }
- }
- mutable_unknown_fields()->MergeFrom(from.unknown_fields());
- }
- void ciphertext_data::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void ciphertext_data::CopyFrom(const ciphertext_data& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool ciphertext_data::IsInitialized() const {
- if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
- return true;
- }
- void ciphertext_data::Swap(ciphertext_data* other) {
- if (other != this) {
- std::swap(field_, other->field_);
- std::swap(_has_bits_[0], other->_has_bits_[0]);
- _unknown_fields_.Swap(&other->_unknown_fields_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- }
- ::google::protobuf::Metadata ciphertext_data::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = ciphertext_data_descriptor_;
- metadata.reflection = ciphertext_data_reflection_;
- return metadata;
- }
- // ===================================================================
- #ifndef _MSC_VER
- const int extension_to_decryptor_msg::kCiphertextClientPublicKeyFieldNumber;
- const int extension_to_decryptor_msg::kFieldsFieldNumber;
- #endif // !_MSC_VER
- extension_to_decryptor_msg::extension_to_decryptor_msg()
- : ::google::protobuf::Message() {
- SharedCtor();
- // @@protoc_insertion_point(constructor:extension_to_decryptor_msg)
- }
- void extension_to_decryptor_msg::InitAsDefaultInstance() {
- }
- extension_to_decryptor_msg::extension_to_decryptor_msg(const extension_to_decryptor_msg& from)
- : ::google::protobuf::Message() {
- SharedCtor();
- MergeFrom(from);
- // @@protoc_insertion_point(copy_constructor:extension_to_decryptor_msg)
- }
- void extension_to_decryptor_msg::SharedCtor() {
- ::google::protobuf::internal::GetEmptyString();
- _cached_size_ = 0;
- ciphertext_client_public_key_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- }
- extension_to_decryptor_msg::~extension_to_decryptor_msg() {
- // @@protoc_insertion_point(destructor:extension_to_decryptor_msg)
- SharedDtor();
- }
- void extension_to_decryptor_msg::SharedDtor() {
- if (ciphertext_client_public_key_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- delete ciphertext_client_public_key_;
- }
- if (this != default_instance_) {
- }
- }
- void extension_to_decryptor_msg::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* extension_to_decryptor_msg::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return extension_to_decryptor_msg_descriptor_;
- }
- const extension_to_decryptor_msg& extension_to_decryptor_msg::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_PostLAMessages_2eproto();
- return *default_instance_;
- }
- extension_to_decryptor_msg* extension_to_decryptor_msg::default_instance_ = NULL;
- extension_to_decryptor_msg* extension_to_decryptor_msg::New() const {
- return new extension_to_decryptor_msg;
- }
- void extension_to_decryptor_msg::Clear() {
- if (has_ciphertext_client_public_key()) {
- if (ciphertext_client_public_key_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- ciphertext_client_public_key_->clear();
- }
- }
- fields_.Clear();
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- mutable_unknown_fields()->Clear();
- }
- bool extension_to_decryptor_msg::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:extension_to_decryptor_msg)
- for (;;) {
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // required bytes ciphertext_client_public_key = 1;
- case 1: {
- if (tag == 10) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
- input, this->mutable_ciphertext_client_public_key()));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(18)) goto parse_fields;
- break;
- }
- // repeated .ciphertext_data fields = 2;
- case 2: {
- if (tag == 18) {
- parse_fields:
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
- input, add_fields()));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(18)) goto parse_fields;
- if (input->ExpectAtEnd()) goto success;
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0 ||
- ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormat::SkipField(
- input, tag, mutable_unknown_fields()));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:extension_to_decryptor_msg)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:extension_to_decryptor_msg)
- return false;
- #undef DO_
- }
- void extension_to_decryptor_msg::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:extension_to_decryptor_msg)
- // required bytes ciphertext_client_public_key = 1;
- if (has_ciphertext_client_public_key()) {
- ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
- 1, this->ciphertext_client_public_key(), output);
- }
- // repeated .ciphertext_data fields = 2;
- for (int i = 0; i < this->fields_size(); i++) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 2, this->fields(i), output);
- }
- if (!unknown_fields().empty()) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- unknown_fields(), output);
- }
- // @@protoc_insertion_point(serialize_end:extension_to_decryptor_msg)
- }
- ::google::protobuf::uint8* extension_to_decryptor_msg::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // @@protoc_insertion_point(serialize_to_array_start:extension_to_decryptor_msg)
- // required bytes ciphertext_client_public_key = 1;
- if (has_ciphertext_client_public_key()) {
- target =
- ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
- 1, this->ciphertext_client_public_key(), target);
- }
- // repeated .ciphertext_data fields = 2;
- for (int i = 0; i < this->fields_size(); i++) {
- target = ::google::protobuf::internal::WireFormatLite::
- WriteMessageNoVirtualToArray(
- 2, this->fields(i), target);
- }
- if (!unknown_fields().empty()) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- unknown_fields(), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:extension_to_decryptor_msg)
- return target;
- }
- int extension_to_decryptor_msg::ByteSize() const {
- int total_size = 0;
- if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- // required bytes ciphertext_client_public_key = 1;
- if (has_ciphertext_client_public_key()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::BytesSize(
- this->ciphertext_client_public_key());
- }
- }
- // repeated .ciphertext_data fields = 2;
- total_size += 1 * this->fields_size();
- for (int i = 0; i < this->fields_size(); i++) {
- total_size +=
- ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
- this->fields(i));
- }
- if (!unknown_fields().empty()) {
- total_size +=
- ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
- unknown_fields());
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void extension_to_decryptor_msg::MergeFrom(const ::google::protobuf::Message& from) {
- GOOGLE_CHECK_NE(&from, this);
- const extension_to_decryptor_msg* source =
- ::google::protobuf::internal::dynamic_cast_if_available<const extension_to_decryptor_msg*>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void extension_to_decryptor_msg::MergeFrom(const extension_to_decryptor_msg& from) {
- GOOGLE_CHECK_NE(&from, this);
- fields_.MergeFrom(from.fields_);
- if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- if (from.has_ciphertext_client_public_key()) {
- set_ciphertext_client_public_key(from.ciphertext_client_public_key());
- }
- }
- mutable_unknown_fields()->MergeFrom(from.unknown_fields());
- }
- void extension_to_decryptor_msg::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void extension_to_decryptor_msg::CopyFrom(const extension_to_decryptor_msg& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool extension_to_decryptor_msg::IsInitialized() const {
- if ((_has_bits_[0] & 0x00000001) != 0x00000001) return false;
- if (!::google::protobuf::internal::AllAreInitialized(this->fields())) return false;
- return true;
- }
- void extension_to_decryptor_msg::Swap(extension_to_decryptor_msg* other) {
- if (other != this) {
- std::swap(ciphertext_client_public_key_, other->ciphertext_client_public_key_);
- fields_.Swap(&other->fields_);
- std::swap(_has_bits_[0], other->_has_bits_[0]);
- _unknown_fields_.Swap(&other->_unknown_fields_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- }
- ::google::protobuf::Metadata extension_to_decryptor_msg::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = extension_to_decryptor_msg_descriptor_;
- metadata.reflection = extension_to_decryptor_msg_reflection_;
- return metadata;
- }
- // ===================================================================
- #ifndef _MSC_VER
- const int decryptor_to_extension_msg::kFieldsFieldNumber;
- #endif // !_MSC_VER
- decryptor_to_extension_msg::decryptor_to_extension_msg()
- : ::google::protobuf::Message() {
- SharedCtor();
- // @@protoc_insertion_point(constructor:decryptor_to_extension_msg)
- }
- void decryptor_to_extension_msg::InitAsDefaultInstance() {
- }
- decryptor_to_extension_msg::decryptor_to_extension_msg(const decryptor_to_extension_msg& from)
- : ::google::protobuf::Message() {
- SharedCtor();
- MergeFrom(from);
- // @@protoc_insertion_point(copy_constructor:decryptor_to_extension_msg)
- }
- void decryptor_to_extension_msg::SharedCtor() {
- _cached_size_ = 0;
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- }
- decryptor_to_extension_msg::~decryptor_to_extension_msg() {
- // @@protoc_insertion_point(destructor:decryptor_to_extension_msg)
- SharedDtor();
- }
- void decryptor_to_extension_msg::SharedDtor() {
- if (this != default_instance_) {
- }
- }
- void decryptor_to_extension_msg::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* decryptor_to_extension_msg::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return decryptor_to_extension_msg_descriptor_;
- }
- const decryptor_to_extension_msg& decryptor_to_extension_msg::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_PostLAMessages_2eproto();
- return *default_instance_;
- }
- decryptor_to_extension_msg* decryptor_to_extension_msg::default_instance_ = NULL;
- decryptor_to_extension_msg* decryptor_to_extension_msg::New() const {
- return new decryptor_to_extension_msg;
- }
- void decryptor_to_extension_msg::Clear() {
- fields_.Clear();
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- mutable_unknown_fields()->Clear();
- }
- bool decryptor_to_extension_msg::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:decryptor_to_extension_msg)
- for (;;) {
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // repeated .ciphertext_data fields = 1;
- case 1: {
- if (tag == 10) {
- parse_fields:
- DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
- input, add_fields()));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(10)) goto parse_fields;
- if (input->ExpectAtEnd()) goto success;
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0 ||
- ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormat::SkipField(
- input, tag, mutable_unknown_fields()));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:decryptor_to_extension_msg)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:decryptor_to_extension_msg)
- return false;
- #undef DO_
- }
- void decryptor_to_extension_msg::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:decryptor_to_extension_msg)
- // repeated .ciphertext_data fields = 1;
- for (int i = 0; i < this->fields_size(); i++) {
- ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
- 1, this->fields(i), output);
- }
- if (!unknown_fields().empty()) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- unknown_fields(), output);
- }
- // @@protoc_insertion_point(serialize_end:decryptor_to_extension_msg)
- }
- ::google::protobuf::uint8* decryptor_to_extension_msg::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // @@protoc_insertion_point(serialize_to_array_start:decryptor_to_extension_msg)
- // repeated .ciphertext_data fields = 1;
- for (int i = 0; i < this->fields_size(); i++) {
- target = ::google::protobuf::internal::WireFormatLite::
- WriteMessageNoVirtualToArray(
- 1, this->fields(i), target);
- }
- if (!unknown_fields().empty()) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- unknown_fields(), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:decryptor_to_extension_msg)
- return target;
- }
- int decryptor_to_extension_msg::ByteSize() const {
- int total_size = 0;
- // repeated .ciphertext_data fields = 1;
- total_size += 1 * this->fields_size();
- for (int i = 0; i < this->fields_size(); i++) {
- total_size +=
- ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
- this->fields(i));
- }
- if (!unknown_fields().empty()) {
- total_size +=
- ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
- unknown_fields());
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void decryptor_to_extension_msg::MergeFrom(const ::google::protobuf::Message& from) {
- GOOGLE_CHECK_NE(&from, this);
- const decryptor_to_extension_msg* source =
- ::google::protobuf::internal::dynamic_cast_if_available<const decryptor_to_extension_msg*>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void decryptor_to_extension_msg::MergeFrom(const decryptor_to_extension_msg& from) {
- GOOGLE_CHECK_NE(&from, this);
- fields_.MergeFrom(from.fields_);
- mutable_unknown_fields()->MergeFrom(from.unknown_fields());
- }
- void decryptor_to_extension_msg::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void decryptor_to_extension_msg::CopyFrom(const decryptor_to_extension_msg& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool decryptor_to_extension_msg::IsInitialized() const {
- if (!::google::protobuf::internal::AllAreInitialized(this->fields())) return false;
- return true;
- }
- void decryptor_to_extension_msg::Swap(decryptor_to_extension_msg* other) {
- if (other != this) {
- fields_.Swap(&other->fields_);
- std::swap(_has_bits_[0], other->_has_bits_[0]);
- _unknown_fields_.Swap(&other->_unknown_fields_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- }
- ::google::protobuf::Metadata decryptor_to_extension_msg::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = decryptor_to_extension_msg_descriptor_;
- metadata.reflection = decryptor_to_extension_msg_reflection_;
- return metadata;
- }
- // ===================================================================
- #ifndef _MSC_VER
- const int mitigator_header::kNameFieldNumber;
- const int mitigator_header::kValueFieldNumber;
- #endif // !_MSC_VER
- mitigator_header::mitigator_header()
- : ::google::protobuf::Message() {
- SharedCtor();
- // @@protoc_insertion_point(constructor:mitigator_header)
- }
- void mitigator_header::InitAsDefaultInstance() {
- }
- mitigator_header::mitigator_header(const mitigator_header& from)
- : ::google::protobuf::Message() {
- SharedCtor();
- MergeFrom(from);
- // @@protoc_insertion_point(copy_constructor:mitigator_header)
- }
- void mitigator_header::SharedCtor() {
- ::google::protobuf::internal::GetEmptyString();
- _cached_size_ = 0;
- name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- value_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- }
- mitigator_header::~mitigator_header() {
- // @@protoc_insertion_point(destructor:mitigator_header)
- SharedDtor();
- }
- void mitigator_header::SharedDtor() {
- if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- delete name_;
- }
- if (value_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- delete value_;
- }
- if (this != default_instance_) {
- }
- }
- void mitigator_header::SetCachedSize(int size) const {
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- }
- const ::google::protobuf::Descriptor* mitigator_header::descriptor() {
- protobuf_AssignDescriptorsOnce();
- return mitigator_header_descriptor_;
- }
- const mitigator_header& mitigator_header::default_instance() {
- if (default_instance_ == NULL) protobuf_AddDesc_PostLAMessages_2eproto();
- return *default_instance_;
- }
- mitigator_header* mitigator_header::default_instance_ = NULL;
- mitigator_header* mitigator_header::New() const {
- return new mitigator_header;
- }
- void mitigator_header::Clear() {
- if (_has_bits_[0 / 32] & 3) {
- if (has_name()) {
- if (name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- name_->clear();
- }
- }
- if (has_value()) {
- if (value_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
- value_->clear();
- }
- }
- }
- ::memset(_has_bits_, 0, sizeof(_has_bits_));
- mutable_unknown_fields()->Clear();
- }
- bool mitigator_header::MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) {
- #define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure
- ::google::protobuf::uint32 tag;
- // @@protoc_insertion_point(parse_start:mitigator_header)
- for (;;) {
- ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
- tag = p.first;
- if (!p.second) goto handle_unusual;
- switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
- // required bytes name = 1;
- case 1: {
- if (tag == 10) {
- DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
- input, this->mutable_name()));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectTag(18)) goto parse_value;
- break;
- }
- // required bytes value = 2;
- case 2: {
- if (tag == 18) {
- parse_value:
- DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
- input, this->mutable_value()));
- } else {
- goto handle_unusual;
- }
- if (input->ExpectAtEnd()) goto success;
- break;
- }
- default: {
- handle_unusual:
- if (tag == 0 ||
- ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
- ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
- goto success;
- }
- DO_(::google::protobuf::internal::WireFormat::SkipField(
- input, tag, mutable_unknown_fields()));
- break;
- }
- }
- }
- success:
- // @@protoc_insertion_point(parse_success:mitigator_header)
- return true;
- failure:
- // @@protoc_insertion_point(parse_failure:mitigator_header)
- return false;
- #undef DO_
- }
- void mitigator_header::SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const {
- // @@protoc_insertion_point(serialize_start:mitigator_header)
- // required bytes name = 1;
- if (has_name()) {
- ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
- 1, this->name(), output);
- }
- // required bytes value = 2;
- if (has_value()) {
- ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
- 2, this->value(), output);
- }
- if (!unknown_fields().empty()) {
- ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
- unknown_fields(), output);
- }
- // @@protoc_insertion_point(serialize_end:mitigator_header)
- }
- ::google::protobuf::uint8* mitigator_header::SerializeWithCachedSizesToArray(
- ::google::protobuf::uint8* target) const {
- // @@protoc_insertion_point(serialize_to_array_start:mitigator_header)
- // required bytes name = 1;
- if (has_name()) {
- target =
- ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
- 1, this->name(), target);
- }
- // required bytes value = 2;
- if (has_value()) {
- target =
- ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
- 2, this->value(), target);
- }
- if (!unknown_fields().empty()) {
- target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
- unknown_fields(), target);
- }
- // @@protoc_insertion_point(serialize_to_array_end:mitigator_header)
- return target;
- }
- int mitigator_header::ByteSize() const {
- int total_size = 0;
- if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- // required bytes name = 1;
- if (has_name()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::BytesSize(
- this->name());
- }
- // required bytes value = 2;
- if (has_value()) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::BytesSize(
- this->value());
- }
- }
- if (!unknown_fields().empty()) {
- total_size +=
- ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
- unknown_fields());
- }
- GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
- _cached_size_ = total_size;
- GOOGLE_SAFE_CONCURRENT_WRITES_END();
- return total_size;
- }
- void mitigator_header::MergeFrom(const ::google::protobuf::Message& from) {
- GOOGLE_CHECK_NE(&from, this);
- const mitigator_header* source =
- ::google::protobuf::internal::dynamic_cast_if_available<const mitigator_header*>(
- &from);
- if (source == NULL) {
- ::google::protobuf::internal::ReflectionOps::Merge(from, this);
- } else {
- MergeFrom(*source);
- }
- }
- void mitigator_header::MergeFrom(const mitigator_header& from) {
- GOOGLE_CHECK_NE(&from, this);
- if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
- if (from.has_name()) {
- set_name(from.name());
- }
- if (from.has_value()) {
- set_value(from.value());
- }
- }
- mutable_unknown_fields()->MergeFrom(from.unknown_fields());
- }
- void mitigator_header::CopyFrom(const ::google::protobuf::Message& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- void mitigator_header::CopyFrom(const mitigator_header& from) {
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- bool mitigator_header::IsInitialized() const {
- if ((_has_bits_[0] & 0x00000003) != 0x00000003) return false;
- return true;
- }
- void mitigator_header::Swap(mitigator_header* other) {
- if (other != this) {
- std::swap(name_, other->name_);
- std::swap(value_, other->value_);
- std::swap(_has_bits_[0], other->_has_bits_[0]);
- _unknown_fields_.Swap(&other->_unknown_fields_);
- std::swap(_cached_size_, other->_cached_size_);
- }
- }
- ::google::protobuf::Metadata mitigator_header::GetMetadata() const {
- protobuf_AssignDescriptorsOnce();
- ::google::protobuf::Metadata metadata;
- metadata.descriptor = mitigator_header_descriptor_;
- metadata.reflection = mitigator_header_reflection_;
- return metadata;
- }
- // @@protoc_insertion_point(namespace_scope)
- // @@protoc_insertion_point(global_scope)
|