|
@@ -0,0 +1,1049 @@
|
|
|
+// 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/io/zero_copy_stream_impl_lite.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,}};
|
|
|
+
|
|
|
+
|
|
|
+// ===================================================================
|
|
|
+
|
|
|
+void ciphertext_client_data_field::InitAsDefaultInstance() {
|
|
|
+}
|
|
|
+class ciphertext_client_data_field::_Internal {
|
|
|
+ public:
|
|
|
+};
|
|
|
+
|
|
|
+ciphertext_client_data_field::ciphertext_client_data_field()
|
|
|
+ : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _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::MessageLite(),
|
|
|
+ _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;
|
|
|
+ ::PROTOBUF_NAMESPACE_ID::internal::LiteUnknownFieldSetter unknown_fields_setter(
|
|
|
+ &_internal_metadata_);
|
|
|
+ ::PROTOBUF_NAMESPACE_ID::io::StringOutputStream unknown_fields_output(
|
|
|
+ unknown_fields_setter.buffer());
|
|
|
+ ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream unknown_fields_stream(
|
|
|
+ &unknown_fields_output, false);
|
|
|
+ // @@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::WireFormatLite::SkipField(
|
|
|
+ input, tag, &unknown_fields_stream));
|
|
|
+ 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 = stream->WriteRaw(_internal_metadata_.unknown_fields().data(),
|
|
|
+ static_cast<int>(_internal_metadata_.unknown_fields().size()), target);
|
|
|
+ }
|
|
|
+ // @@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())) {
|
|
|
+ total_size += _internal_metadata_.unknown_fields().size();
|
|
|
+ }
|
|
|
+ int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
|
|
|
+ SetCachedSize(cached_size);
|
|
|
+ return total_size;
|
|
|
+}
|
|
|
+
|
|
|
+void ciphertext_client_data_field::CheckTypeAndMergeFrom(
|
|
|
+ const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
|
|
|
+ MergeFrom(*::PROTOBUF_NAMESPACE_ID::internal::DownCast<const ciphertext_client_data_field*>(
|
|
|
+ &from));
|
|
|
+}
|
|
|
+
|
|
|
+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 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_));
|
|
|
+}
|
|
|
+
|
|
|
+std::string ciphertext_client_data_field::GetTypeName() const {
|
|
|
+ return "ciphertext_client_data_field";
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+// ===================================================================
|
|
|
+
|
|
|
+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::MessageLite(), _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::MessageLite(),
|
|
|
+ _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;
|
|
|
+ ::PROTOBUF_NAMESPACE_ID::internal::LiteUnknownFieldSetter unknown_fields_setter(
|
|
|
+ &_internal_metadata_);
|
|
|
+ ::PROTOBUF_NAMESPACE_ID::io::StringOutputStream unknown_fields_output(
|
|
|
+ unknown_fields_setter.buffer());
|
|
|
+ ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream unknown_fields_stream(
|
|
|
+ &unknown_fields_output, false);
|
|
|
+ // @@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::WireFormatLite::SkipField(
|
|
|
+ input, tag, &unknown_fields_stream));
|
|
|
+ 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 = stream->WriteRaw(_internal_metadata_.unknown_fields().data(),
|
|
|
+ static_cast<int>(_internal_metadata_.unknown_fields().size()), target);
|
|
|
+ }
|
|
|
+ // @@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())) {
|
|
|
+ total_size += _internal_metadata_.unknown_fields().size();
|
|
|
+ }
|
|
|
+ int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
|
|
|
+ SetCachedSize(cached_size);
|
|
|
+ return total_size;
|
|
|
+}
|
|
|
+
|
|
|
+void extension_to_decryptor_enclosed_msg::CheckTypeAndMergeFrom(
|
|
|
+ const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
|
|
|
+ MergeFrom(*::PROTOBUF_NAMESPACE_ID::internal::DownCast<const extension_to_decryptor_enclosed_msg*>(
|
|
|
+ &from));
|
|
|
+}
|
|
|
+
|
|
|
+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 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_));
|
|
|
+}
|
|
|
+
|
|
|
+std::string extension_to_decryptor_enclosed_msg::GetTypeName() const {
|
|
|
+ return "extension_to_decryptor_enclosed_msg";
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+// ===================================================================
|
|
|
+
|
|
|
+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::MessageLite(), _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::MessageLite(),
|
|
|
+ _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;
|
|
|
+ ::PROTOBUF_NAMESPACE_ID::internal::LiteUnknownFieldSetter unknown_fields_setter(
|
|
|
+ &_internal_metadata_);
|
|
|
+ ::PROTOBUF_NAMESPACE_ID::io::StringOutputStream unknown_fields_output(
|
|
|
+ unknown_fields_setter.buffer());
|
|
|
+ ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream unknown_fields_stream(
|
|
|
+ &unknown_fields_output, false);
|
|
|
+ // @@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::WireFormatLite::SkipField(
|
|
|
+ input, tag, &unknown_fields_stream));
|
|
|
+ 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 = stream->WriteRaw(_internal_metadata_.unknown_fields().data(),
|
|
|
+ static_cast<int>(_internal_metadata_.unknown_fields().size()), target);
|
|
|
+ }
|
|
|
+ // @@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())) {
|
|
|
+ total_size += _internal_metadata_.unknown_fields().size();
|
|
|
+ }
|
|
|
+ int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
|
|
|
+ SetCachedSize(cached_size);
|
|
|
+ return total_size;
|
|
|
+}
|
|
|
+
|
|
|
+void extension_to_decryptor_ciphertext_msg::CheckTypeAndMergeFrom(
|
|
|
+ const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
|
|
|
+ MergeFrom(*::PROTOBUF_NAMESPACE_ID::internal::DownCast<const extension_to_decryptor_ciphertext_msg*>(
|
|
|
+ &from));
|
|
|
+}
|
|
|
+
|
|
|
+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 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_));
|
|
|
+}
|
|
|
+
|
|
|
+std::string extension_to_decryptor_ciphertext_msg::GetTypeName() const {
|
|
|
+ return "extension_to_decryptor_ciphertext_msg";
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+// ===================================================================
|
|
|
+
|
|
|
+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::MessageLite(), _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::MessageLite(),
|
|
|
+ _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;
|
|
|
+ ::PROTOBUF_NAMESPACE_ID::internal::LiteUnknownFieldSetter unknown_fields_setter(
|
|
|
+ &_internal_metadata_);
|
|
|
+ ::PROTOBUF_NAMESPACE_ID::io::StringOutputStream unknown_fields_output(
|
|
|
+ unknown_fields_setter.buffer());
|
|
|
+ ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream unknown_fields_stream(
|
|
|
+ &unknown_fields_output, false);
|
|
|
+ // @@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::WireFormatLite::SkipField(
|
|
|
+ input, tag, &unknown_fields_stream));
|
|
|
+ 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 = stream->WriteRaw(_internal_metadata_.unknown_fields().data(),
|
|
|
+ static_cast<int>(_internal_metadata_.unknown_fields().size()), target);
|
|
|
+ }
|
|
|
+ // @@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())) {
|
|
|
+ total_size += _internal_metadata_.unknown_fields().size();
|
|
|
+ }
|
|
|
+ int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
|
|
|
+ SetCachedSize(cached_size);
|
|
|
+ return total_size;
|
|
|
+}
|
|
|
+
|
|
|
+void decryptor_to_extension_msg_t::CheckTypeAndMergeFrom(
|
|
|
+ const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) {
|
|
|
+ MergeFrom(*::PROTOBUF_NAMESPACE_ID::internal::DownCast<const decryptor_to_extension_msg_t*>(
|
|
|
+ &from));
|
|
|
+}
|
|
|
+
|
|
|
+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 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_));
|
|
|
+}
|
|
|
+
|
|
|
+std::string decryptor_to_extension_msg_t::GetTypeName() const {
|
|
|
+ return "decryptor_to_extension_msg_t";
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+// @@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>
|